        /* Hero Section */
        .hero {
            padding: calc(var(--nav-h, 80px) + 8px) 1.5rem 3rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            //justify-content: center;
            align-items: center;
            text-align: center;
            background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
        }
        
        .hero h1 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        
        .gradient-text {
            background: var(--gradient);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .hero p {
            font-size: 1.125rem;
            color: var(--gray);
            margin-bottom: 2rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .hero-cta {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            align-items: center;
            margin-bottom: 2rem;
        }
        
        .xbtn-primary {
            background: var(--gradient);
            color: var(--white);
            padding: 1rem 2rem;
            border-radius: 2rem;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.125rem;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
        }
        
        .xbtn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
        }
        
        .xbtn-secondary {
            color: var(--dark);
            padding: 1rem 2rem;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .trust-badges {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            gap: 3rem;
            margin-top: 3rem;
            padding: 1.5rem;
            width: 100%;
            max-width: 600px;
        }

        .trust-badge {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.875rem;
            transition: transform 0.3s ease;
            flex: 1;
        }

        .trust-badge:hover {
            transform: translateY(-5px);
        }

        .trust-icon {
            width: 64px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
            border-radius: 18px;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08),
                        0 2px 6px rgba(0, 0, 0, 0.04),
                        inset 0 1px 0 rgba(255, 255, 255, 0.9);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .trust-icon::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 18px;
            padding: 2px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .trust-badge:hover .trust-icon {
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12),
                        0 4px 12px rgba(0, 0, 0, 0.06),
                        inset 0 1px 0 rgba(255, 255, 255, 1);
            transform: scale(1.08);
        }

        .trust-badge:hover .trust-icon::before {
            opacity: 1;
        }

        .trust-badge span {
            font-size: 1.05rem;
            font-weight: 700;
            color: #1e293b;
            text-align: center;
            letter-spacing: -0.01em;
            line-height: 1.4;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: none;
            word-break: keep-all;
        }

        /* Individual icon animations */
        .star-icon svg {
            animation: starPulse 3s ease-in-out infinite;
            filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.3));
        }

        @keyframes starPulse {
            0%, 100% {
                opacity: 1;
                transform: scale(1) rotate(0deg);
            }
            50% {
                opacity: 0.9;
                transform: scale(1.05) rotate(-5deg);
            }
        }

        .download-icon svg {
            animation: downloadBounce 2.5s ease-in-out infinite;
            filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
        }

        @keyframes downloadBounce {
            0%, 100% { transform: translateY(0); }
            25% { transform: translateY(-4px); }
            50% { transform: translateY(0); }
            75% { transform: translateY(-2px); }
        }

        .shield-icon svg {
            animation: shieldGlow 3s ease-in-out infinite;
            filter: drop-shadow(0 2px 6px rgba(16, 185, 129, 0.35));
        }

        @keyframes shieldGlow {
            0%, 100% {
                filter: drop-shadow(0 2px 6px rgba(16, 185, 129, 0.35));
            }
            50% {
                filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.5));
            }
        }

        /* Hover effects for individual icons */
        .trust-badge:hover .star-icon svg {
            animation: starSpin 0.6s ease-in-out;
        }

        @keyframes starSpin {
            0% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.15) rotate(180deg); }
            100% { transform: scale(1) rotate(360deg); }
        }

        .trust-badge:hover .download-icon svg {
            animation: downloadPulse 0.6s ease-in-out;
        }

        @keyframes downloadPulse {
            0%, 100% { transform: translateY(0) scale(1); }
            50% { transform: translateY(-6px) scale(1.1); }
        }

        .trust-badge:hover .shield-icon svg {
            animation: shieldExpand 0.6s ease-in-out;
        }

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

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .trust-badges {
                gap: 1.5rem;
                margin-top: 0;
                padding: 1rem 0.5rem;
            }

            .trust-icon {
                width: 56px;
                height: 56px;
                border-radius: 16px;
            }

            .trust-badge span {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 500px) {
            .trust-badges {
                gap: 1rem;
                padding: 1rem 0.25rem;
            }

            .trust-icon {
                width: 48px;
                height: 48px;
            }

            .trust-badge span {
                font-size: 0.75rem;
            }
        }

        @media (max-width: 420px) {
            .trust-badges {
                gap: 0.75rem;
                margin-top: 2rem;
                padding: 0.75rem 0.25rem;
            }

            .trust-badge {
                gap: 0.5rem;
            }

            .trust-icon {
                width: 40px;
                height: 40px;
                border-radius: 12px;
            }

            .trust-icon svg {
                width: 18px;
                height: 18px;
            }

            .trust-badge span {
                font-size: 0.65rem;
                font-weight: 600;
                line-height: 1.3;
            }
        }
        
        /* Search Section */
        .search-section {
            padding: 2rem 1.5rem;
            background: var(--white);
        }
        
        .search-container {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .search-box {
            position: relative;
            width: 100%;
        }
        
        .search-input {
            width: 100%;
            padding: 1rem 1rem 1rem 3rem;
            border: 2px solid var(--light-gray);
            border-radius: 2rem;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--primary);
        }
        
        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }
        
        .popular-destinations {
            margin-top: 1rem;
            text-align: center;
        }
        
        .destination-pills {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 0.5rem;
        }
        
        .pill {
            background: var(--light-gray);
            padding: 0.5rem 1rem;
            border-radius: 1rem;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .pill:hover {
            background: var(--primary);
            color: var(--white);
        }
        
        /* Features Section */
        .features {
            padding: 1rem 1rem;
            background: #fafbfc;
        }
        
        .features-grid {
            /*max-width: 1200px;
            */
            width: 100%;
            margin: 0 auto;
            display: grid;
            gap: 2rem;
        }
        
        .dash-grid {
            /*max-width: 1200px;
            */
            width: 100%;
            margin: 0 auto;
            display: grid;
            gap: 2rem;
        }
        
        .feature-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 1rem;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        
        .feature-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient);
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 1.5rem;
        }
        
        .feature-card h3 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }
        
        .feature-card p {
            color: var(--gray);
            font-size: 0.95rem;
        }
        
        /* How It Works */
        .how-it-works {
            padding: 1rem 1rem;
            background: var(--white);
            text-align: center;
        }
        
        
        .section-subtitle {
            color: var(--gray);
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .steps {
            max-width: 800px;
            margin: 0 auto;
            display: grid;
            gap: 2rem;
            padding: 1rem;
        }
        
        .step {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            text-align: left;
        }
        
        .step-number {
            width: 40px;
            height: 40px;
            background: var(--gradient);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            flex-shrink: 0;
        }
        
        .step-content h3 {
            margin-bottom: 0.5rem;
            font-size: 1.125rem;
            color: var(--dark);
        }

        .step-content p {
            color: var(--gray);
            font-size: 0.95rem;
        }
        
        /* Pricing Section */
        .pricing {
            padding: 4rem 1.5rem;
            background: #fafbfc;
            text-align: center;
        }
        
        .pricing-grid {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            gap: 1.5rem;
            margin-top: 3rem;
        }
        
        .pricing-card {
            background: var(--white);
            border-radius: 1rem;
            padding: 2rem;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }
        
        .pricing-card.popular {
            border: 2px solid var(--primary);
        }
        
        .popular-badge {
            position: absolute;
            top: 1rem;
            right: -2rem;
            background: var(--primary);
            color: var(--white);
            padding: 0.25rem 3rem;
            transform: rotate(45deg);
            font-size: 0.75rem;
            font-weight: 600;
        }
        
        .plan-name {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .plan-price {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .plan-price span {
            font-size: 1rem;
            color: var(--gray);
            font-weight: 400;
        }
        
        .plan-features {
            list-style: none;
            margin: 1.5rem 0;
        }
        
        .plan-features li {
            padding: 0.5rem 0;
            color: var(--gray);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .plan-features li::before {
            content: "✓";
            color: var(--primary);
            font-weight: 700;
        }
        
        .plan-button {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid var(--primary);
            border-radius: 2rem;
            background: transparent;
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .plan-button:hover {
            background: var(--primary);
            color: var(--white);
        }
        
        .pricing-card.popular .plan-button {
            background: var(--primary);
            color: var(--white);
        }
        
        .pricing-card.popular .plan-button:hover {
            background: var(--primary-dark);
        }




.main-content {
    padding-top: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
}

.main-middle {
    //padding-top: 6rem;
    min-height: 10vh;
    display: flex;
    align: center;
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
}

.auth-container {
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 680px;
    overflow: hidden;
}

/* Tabs */
.auth-tabs {
    display: flex;
    background: var(--light-gray);
    margin: 1.5rem 1.5rem 0;
    border-radius: 0.75rem;
    padding: 0.25rem;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 0.875rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 0.95rem;
}

.auth-tab.active {
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow);
}

/* Form Container */
.form-container {
    padding: 2rem 1.5rem;
    
    position: relative;
    min-height: 350px;
}

.auth-form {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    position: absolute;
    top: 2rem;
    left: 1.5rem;
    right: 1.5rem;
    pointer-events: none;
}

.auth-form.active {
    opacity: 1;
    transform: translateY(0);
    position: static;
    pointer-events: all;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--light-gray);
    color: var(--dark);
}

.form-input::placeholder {
    color: var(--gray);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input.error {
    border-color: var(--error);
}

/* Password Toggle */
.password-group {
    position: relative;
    display: flex;
    align-content: center;
    justify-content: space-between;
    text-align: justify;
}

.password-toggle {
    //position: absolute;
   // right: 0px;
    //top: 50%;
    //transform: translateY(-50%);
    padding-left: 10px !important;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
    padding: 0;
}

.password-toggle:hover {
    color: var(--dark);
}

/* Remember Me Toggle */
.toggle-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
                justify-content: space-between;

}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: var(--success);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch.off {
    background: var(--border);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch:not(.off)::after {
    transform: translateX(24px);
}

.toggle-label {
    color: var(--dark);
    font-size: 0.95rem;
    cursor: pointer;
    margin-left: 10px;
    flex-wrap: nowrap;
}


.checkbox-group {
            display: flex;
            margin-bottom: 20px;
            padding: 16px;
            background: #fefefe;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        
        .checkbox-group:hover {
            border-color: #d1d5db;
        }
        
        .checkbox-group.required {
            border-color: #fbbf24;
            background: #fffbeb;
        }
        
        .checkbox-wrapper {
            position: relative;
            margin-right: 14px;
            margin-top: 2px;
        }
        
        input[type="checkbox"] {
            width: 20px;
            height: 20px;
            cursor: pointer;
            accent-color: #6366f1;
        }
        
        .checkbox-label {
            font-size: 14px;
            color: #374151;
            line-height: 1.5;
            cursor: pointer;
        }
        
        .required-asterisk {
            color: #ef4444;
            font-weight: bold;
        }
/* Checkbox 
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    margin-top: 0.125rem;
}

.checkbox-label {
    font-size: 0.95rem;
    color: var(--dark);
    cursor: pointer;
    line-height: 1.4;
}/*

/* Links */
.forgot-password {
    text-align: right;
/*    margin-bottom: 1.5rem;
 */   color: #6366f1;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.forgot-password span {

    color: var(--gray);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.forgot-password a {
    color: var(--gray);
    text-decoration: underline;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}


.forgot-password a:hover {
    color: var(--primary);
}

 .help-text {
            font-size: 12px;
            color: #6b7280;
            margin-top: 8px;
            line-height: 1.4;
        }
        
/* Success/Verification Message */
.message-box {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.message-box.success {
    border-color: var(--success);
    background: #f0fdf4;
}

.message-box.verifying {
    border-color: var(--primary);
    background: #f8fafc;
}

.message-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 0.875rem;
}

.message-icon.success {
    background: var(--success);
}

.message-icon.verifying {
    background: var(--primary);
}

.message-text {
    font-weight: 500;
    color: var(--dark);
    text-align: justify;
}

.cloudflare-branding {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.75rem;
    color: var(--gray);
}

.cloudflare-logo {
    font-weight: bold;
    color: #f38020;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.cloudflare-links {
    display: flex;
    gap: 0.5rem;
}

.cloudflare-links a {
    color: var(--gray);
    text-decoration: underline;
}

.add-plan-card {
            background: #fff;
            border: 2px dashed #d1d1d6;
            border-radius: 12px;
            padding: 32px 20px;
            margin-bottom: 16px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .add-plan-card:hover {
            border-color: #007aff;
            background: #f8f9ff;
        }

        .add-plan-icon {
            font-size: 48px;
            color: #8e8e93;
            margin-bottom: 12px;
            transition: color 0.2s ease;
        }

        .add-plan-card:hover .add-plan-icon {
            color: #007aff;
        }

        .add-plan-title {
            font-size: 18px;
            font-weight: 600;
            color: #1d1d1f;
            margin-bottom: 8px;
        }

        .add-plan-subtitle {
            font-size: 15px;
            color: #8e8e93;
            line-height: 1.4;
        }

/* Buttons */
.btn-auth-primary {
    /*background: var(--dark);*/
     background: #007aff;
    color: white;
    /*color: var(--white);*/
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.btn-auth-primary:hover {
    background: #0056cc;
    transform: translateY(-1px);
}

.btn-auth-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-auth-secondary {
    color: var(--gray);
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    width: 100%;
    padding: 0.75rem;
    transition: color 0.3s ease;
}

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

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--gray);
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.divider span {
    padding: 0 1rem;
    background: var(--white);
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    width: 56px;
    height: 56px;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.social-btn.apple {
    background: #000;
}

.social-btn.facebook {
    background: #1877f2;
}



.social-btn.google {
    background: var(--white);
}

/* Loading Spinner */
.loading-dots {
    display: inline-flex;
    gap: 0.25rem;
    align-items: center;
}

.loading-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    background-color: azure;
    border-radius: 50%;
    animation: loadingDots 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }


        
        /* Footer */
        footer {
            background: var(--dark);
            color: var(--white);
            padding: 3rem 1.5rem 2rem;
            text-align: center;
        }
        
        .footer-content {
            /*max-width: 1200px;
            */margin: 0 auto;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 3rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        @media (max-width: 768px) {
            .footer-links {
                gap: 0.75rem 1.25rem;
                max-width: 90%;
                margin-left: auto;
                margin-right: auto;
            }
        }
        
        .footer-links a {
            color: var(--white);
            text-decoration: none;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }
        
        .footer-links a:hover {
            opacity: 1;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .social-link {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .social-link:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .copyright {
            opacity: 0.6;
            font-size: 0.875rem;
        }
        
        /* Responsive Design */
        @media (max-width: 900px) {
    .auth-container {
        max-width: 420px;
    }

    /* Phones: .hero already pads 1.5rem, don't stack .main-middle's 1rem on top,
       and never let the auth card's min-content push the page wider than the viewport */
    .main-middle {
        padding-left: 0;
        padding-right: 0;
    }
    .main-middle .hero {
        width: 100%;
        min-width: 0;
    }
    .auth-container {
        min-width: 0;
    }
    .toggle-label {
        white-space: nowrap;
    }
    .toggle-group {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }
    
    
    .auth-form {
        left: 2rem;
        right: 2rem;
    }
}
 
 
        @media (max-width: 480px) {
    .form-container {
        padding: 1.5rem 1rem;
    }
    .auth-tabs {
        margin: 1rem 1rem 0;
    }
    .auth-form {
        left: 1rem;
        right: 1rem;
    }
    .toggle-label {
        font-size: 0.875rem;
        margin-left: 8px;
    }
    .forgot-password {
        font-size: 13px;
    }
    .toggle-group {
        gap: 0.5rem;
    }
}

         @media (min-width: 450px) {

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

         }
 
 
        
        @media (min-width: 850px) {
            .nav-menu {
                display: flex;
                gap: 2rem;
                align-items: center;
            }
            
            .nav-menu a {
                color: var(--dark);
                text-decoration: none;
                font-weight: 500;
                transition: color 0.3s ease;
            }
            
            .nav-menu a:hover {
                color: var(--primary);
            }
            
            .hero h1 {
                font-size: 3.5rem;
            }
            
            .hero-cta {
                flex-direction: row;
                justify-content: center;
            }
            
            .features-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .dash-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .pricing-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        /* Animations */
        /* Start above 0 opacity on purpose: Chrome only records LCP for an element that
           animates from opacity:0 once the animation ENDS, which added ~0.6-1s to the
           home/plans/login LCP. From 0.5 the first paint counts and the fade still reads. */
        @keyframes fadeInUp {
            from {
                opacity: 0.5;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .fade-in-up {
            animation: fadeInUp 0.6s ease-out;
        }


@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0);
    } 40% {
        transform: scale(1);
    }
}


/* ---------- Auth providers (Google / Apple / Passkeys) ---------- */
.provider-block { margin-top: 0.5rem; }
.provider-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.provider-buttons .g_id_signin { display: flex; justify-content: center; width: 100%; max-width: 320px; }
.provider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 320px;
    height: 44px;
    padding: 0 1rem;
    border: 1px solid #dadce0;
    border-radius: 4px;
    background: var(--white);
    color: #1f1f1f;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.provider-btn:hover { background: #f7f8f8; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.provider-btn:active { transform: scale(0.99); }
.provider-btn.provider-apple { background: #000; color: #fff; border-color: #000; }
.provider-btn.provider-apple:hover { background: #1a1a1a; }
.provider-btn.provider-passkey svg { color: var(--primary); }
.provider-error {
    margin: 0.5rem 0;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    font-size: 0.9rem;
    text-align: center;
}
