/* Root Variables */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #FF8C42;
    --dark-bg: #1A1A1A;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-gray: #666666;
    --border-color: #E5E5E5;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.logo h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FFF5F2 0%, #FFE5D9 100%);
}

.hero h2 {
    margin-top: 0;
    margin-bottom: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: var(--text-dark);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: block;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-image img.animate-drop {
    animation: dropBounce 2s ease-out forwards;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--light-bg);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.step-card.shake {
    animation: shake 0.5s ease-in-out;
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.step-number {
    position: absolute;
    top: -12px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.step-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-card p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--light-bg);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

.feature-text h2 {
    color: var(--primary-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.feature-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.feature-image .placeholder-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: block;
    object-fit: cover;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-image img.animate-drop {
    animation: dropBounce 2s ease-out forwards;
}

@keyframes dropBounce {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
    65% {
        transform: translateY(-5px);
    }
    80% {
        transform: translateY(3px);
    }
    95% {
        transform: translateY(-2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem 1rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-info h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content > p {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.cta-forms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-card h3 {
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signup-form input {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.signup-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.signup-form button {
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
    color: var(--white);
    padding: 4rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    max-width: 350px;
}

.footer-logo {
    height: 70px;
    width: auto;
    max-width: 220px;
    margin-bottom: 1rem;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255, 107, 53, 0.3));
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-section p {
    color: #CCCCCC;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.85rem;
}

.footer-section a {
    color: #AAAAAA;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
    min-width: 24px;
}

.contact-list a {
    color: #AAAAAA;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--primary-color);
    transform: none;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    color: #AAAAAA;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design */

/* Tablet breakpoint - ADDED for better steps-grid display */
@media (max-width: 1200px) and (min-width: 969px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
    }
}

@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .logo-img {
        height: 45px;
        max-width: 150px;
    }

    .footer-logo {
        height: 60px;
        max-width: 180px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content,
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-row-reverse {
        direction: ltr;
    }

    .steps-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-forms {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section h4::after {
        left: 0;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .how-it-works,
    .features,
    .benefits,
    .testimonials,
    .cta-section {
        padding: 3rem 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section ul {
        padding: 0;
    }

    .contact-list li {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.cta-buttons .btn {
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--white) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn:hover {
    transform: translateY(10px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.4);
    background: var(--white) !important;
    animation: bounceEffect 0.6s ease;
}

@keyframes bounceEffect {
    0% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(12px);
    }
    60% {
        transform: translateY(8px);
    }
    80% {
        transform: translateY(11px);
    }
    100% {
        transform: translateY(10px);
    }
}

.btn-icon {
    font-size: 1.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: 2rem auto;
    padding: 2rem 2rem 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-content-single {
    overflow-y: auto;
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    z-index: 10;
}

.modal-close:hover {
    background: #ff4757;
    color: white;
    transform: rotate(90deg) scale(1.1);
    border-color: #ff4757;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

.modal-content h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-right: 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.75rem;
}

/* Modal backdrop hint */
.modal::before {
    content: 'Click outside to close';
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    opacity: 0.6;
    pointer-events: none;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 0.6; }
}

/* Single-Page Form Styles */
.modal-content-single {
    max-width: 500px;
    padding: 1rem;
}

.modal-content-single h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.single-page-form {
    max-height: calc(90vh - 90px);
    overflow-y: auto;
    padding-right: 0.75rem;
    padding-left: 0.5rem;
}

.single-page-form::-webkit-scrollbar {
    width: 5px;
}

.single-page-form::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 3px;
}

.single-page-form::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.single-page-form::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.single-page-form .form-section {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.single-page-form .form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0.4rem;
}

.single-page-form h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.single-page-form .form-group {
    margin-bottom: 0.5rem;
}

.single-page-form label {
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
}

.single-page-form input,
.single-page-form select,
.single-page-form textarea {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
}

.single-page-form .form-row {
    gap: 0.5rem;
}

.single-page-form .field-hint {
    font-size: 0.65rem;
    margin-top: 0.1rem;
}

.single-page-form .radio-label,
.single-page-form .checkbox-label {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    gap: 0.35rem;
}

.single-page-form .radio-group,
.single-page-form .checkbox-group {
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.single-page-form .terms-checkbox {
    padding: 0.5rem;
}

.single-page-form .terms-checkbox span {
    font-size: 0.75rem;
    line-height: 1.3;
}

.form-actions {
    margin-top: 0.75rem;
    padding-top: 0.6rem;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-block:hover::before {
    left: 100%;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Stepper Styles */
.stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 0 10px;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.stepper .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    flex-shrink: 0;
}

.stepper .step.active .step-number {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.stepper .step.completed .step-number {
    background: #4CAF50;
    color: var(--white);
    border-color: #4CAF50;
}

.stepper .step.completed .step-number::after {
    content: '✓';
}

.stepper .step-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
    max-width: 100px;
    word-wrap: break-word;
}

.stepper .step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Form Styles */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInStep 0.4s ease;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-step h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Required field indicator */
.form-group label[for] {
    position: relative;
}

input:required,
select:required,
textarea:required {
    border-left: 3px solid #FFB84D;
}

input:required:valid,
select:required:valid,
textarea:required:valid {
    border-left: 3px solid #4CAF50;
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
}

.field-hint.error {
    color: #f44336;
}

.field-hint.success {
    color: #4CAF50;
}

/* Radio and Checkbox Styles */
.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.radio-label:hover,
.checkbox-label:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 53, 0.05);
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + span,
.checkbox-label input[type="checkbox"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.terms-checkbox {
    border: none;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.terms-checkbox span {
    font-size: 0.95rem;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.form-navigation .btn {
    flex: 1;
    max-width: 200px;
}

/* Review Section */
.review-section {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.review-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    font-weight: 500;
    color: var(--text-dark);
}

.review-value {
    color: var(--text-gray);
    text-align: right;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Button Loading State */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Form Input Error State */
input.error,
select.error,
textarea.error {
    border-color: #f44336 !important;
    animation: shake-input 0.3s ease;
}

@keyframes shake-input {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Success State for Inputs */
input.success,
select.success,
textarea.success {
    border-color: #4CAF50 !important;
}

/* Enhanced Field Hints */
.field-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.field-hint.error {
    color: #f44336;
    font-weight: 500;
}

.field-hint.success {
    color: #4CAF50;
    font-weight: 500;
}

/* Form Submission Overlay */
.form-submitting {
    pointer-events: none;
    opacity: 0.6;
}

/* Congratulations Popup */
.congrats-popup {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease;
}

.congrats-popup.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.congrats-popup-content {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideUp 0.4s ease;
    text-align: center;
}

.congrats-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.congrats-close:hover {
    background: #4CAF50;
    color: white;
    transform: rotate(90deg) scale(1.1);
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.congrats-close:active {
    transform: rotate(90deg) scale(0.95);
}

.congrats-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.congrats-popup-content h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.congrats-popup-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Mobile Responsive for Modals */
@media (max-width: 968px) {
    .modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .stepper {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stepper .step-label {
        font-size: 0.75rem;
    }

    .stepper .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
        min-width: auto;
    }

    .checkbox-group {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .modal-content {
        padding: 1.5rem 1rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .stepper::before {
        display: none;
    }

    .stepper .step {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
    }

    .stepper .step-label {
        text-align: left;
    }

    .form-navigation {
        flex-direction: column;
    }

    .form-navigation .btn {
        max-width: none;
        width: 100%;
    }
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: all;
    transform: translateX(400px);
    animation: slideIn 0.3s ease forwards;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-orange);
}

.toast.success::before {
    background: #4CAF50;
}

.toast.error::before {
    background: #f44336;
}

.toast.warning::before {
    background: #ff9800;
}

.toast.info::before {
    background: #2196F3;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.toast.success .toast-icon {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.toast.error .toast-icon {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.toast.warning .toast-icon {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.toast.info .toast-icon {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.toast-message {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    white-space: pre-line;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.hiding {
    animation: slideOut 0.3s ease forwards;
}

/* Mobile responsiveness for toast */
@media (max-width: 640px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }

    .toast {
        min-width: auto;
        width: 100%;
        transform: translateY(-100px);
    }

    @keyframes slideIn {
        to {
            transform: translateY(0);
        }
    }

    @keyframes slideOut {
        from {
            transform: translateY(0);
            opacity: 1;
        }
        to {
            transform: translateY(-100px);
            opacity: 0;
        }
    }
}

/* ========== LOADING SPINNER ========== */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
}

.spinner-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner-container {
    background: white;
    border-radius: 20px;
    padding: 50px 60px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.spinner {
    width: 70px;
    height: 70px;
    border: 5px solid rgba(255, 107, 53, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner-text {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
}

/* ========== WINTER TIRE OFFER BUTTON ========== */
/* Winter-themed glossy button with snow effect */
#heroGetStarted,
#navGetStarted {
    position: relative;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #2E5F8F 100%);
    color: white;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4),
                inset 0 -2px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: winterGlow 3s ease-in-out infinite;
}

/* Glossy overlay effect */
#heroGetStarted::before,
#navGetStarted::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    animation: glossyShine 3s ease-in-out infinite;
}

/* Realistic white snowflakes effect */
#heroGetStarted::after,
#navGetStarted::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, white 1px, transparent 1px),
        radial-gradient(circle, white 1.5px, transparent 1.5px),
        radial-gradient(circle, white 0.8px, transparent 0.8px),
        radial-gradient(circle, white 1.2px, transparent 1.2px);
    background-size: 50px 50px, 80px 80px, 60px 60px, 90px 90px;
    background-position: 0 0, 40px 20px, 20px 40px, 60px 10px;
    animation: snowfall 15s linear infinite;
    opacity: 0.8;
    pointer-events: none;
    overflow: hidden;
}

@keyframes winterGlow {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.4),
                    inset 0 -2px 6px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 8px 30px rgba(74, 144, 226, 0.6),
                    0 0 40px rgba(135, 206, 250, 0.5),
                    inset 0 1px 0 rgba(255, 255, 255, 0.5),
                    inset 0 -2px 8px rgba(0, 0, 0, 0.2);
    }
}

@keyframes glossyShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

@keyframes snowfall {
    0% {
        background-position: 0 0, 40px 20px, 20px 40px, 60px 10px;
        opacity: 0.8;
    }
    100% {
        background-position: 0 200px, 40px 220px, 20px 240px, 60px 210px;
        opacity: 0.8;
    }
}

/* Hover effect for winter button */
#heroGetStarted:hover,
#navGetStarted:hover {
    background: linear-gradient(135deg, #5BA3F5 0%, #4A90E2 50%, #357ABD 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.6),
                0 0 50px rgba(135, 206, 250, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.5),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2);
    animation: winterPulse 0.8s ease-in-out infinite;
}

@keyframes winterPulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1);
    }
}

/* Ice crystal sparkle effect on hover */
#heroGetStarted:active,
#navGetStarted:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                inset 0 -2px 6px rgba(0, 0, 0, 0.3);
}

/* ========== WINTER OFFER BANNER ========== */
.winter-offer-banner {
    position: relative;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #2E5F8F 100%);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: winterBannerGlow 3s ease-in-out infinite;
}

/* Animated snowfall background */
.winter-offer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.6) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(255, 255, 255, 0.7) 0.8px, transparent 0.8px);
    background-size: 80px 80px, 120px 120px, 100px 100px;
    background-position: 0 0, 40px 20px, 20px 60px;
    animation: bannerSnowfall 20s linear infinite;
    opacity: 0.3;
    pointer-events: none;
}

/* Glossy shine effect */
.winter-offer-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: bannerShine 4s ease-in-out infinite;
    pointer-events: none;
}

.winter-offer-content {
    position: relative;
    z-index: 1;
}

.winter-offer-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
                 0 0 20px rgba(135, 206, 250, 0.5);
    letter-spacing: 0.5px;
    animation: titlePulse 2s ease-in-out infinite;
}

.winter-offer-subtitle {
    margin: 10px 0 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
}

/* Animations */
@keyframes winterBannerGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(74, 144, 226, 0.6),
                    0 0 40px rgba(135, 206, 250, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes bannerSnowfall {
    0% {
        background-position: 0 0, 40px 20px, 20px 60px;
    }
    100% {
        background-position: 0 300px, 40px 320px, 20px 360px;
    }
}

@keyframes bannerShine {
    0% {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    100% {
        transform: translate(50%, 50%) rotate(45deg);
    }
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}
