:root {
    --auth-bg: #fdf2f8;
    --form-width: 400px;
    --transition-speed: 0.4s;

    /* Unified Brand Palette - overrides landing.css purple-blue with teal */
    --lander-blue: #147b8d;
    --lander-dark: #0c4a6e;
    --accent-teal: #10b981;
    --accent-purple: #147b8d;
    --text-muted: #475569;
    --border-color: rgba(0,0,0,0.06);
}
body, html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-color, #f8fafc);
    overflow-x: hidden;
}

.auth-page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.auth-wrapper {
    display: flex;
    min-height: calc(100vh - 72px);
    width: 100%;
    margin-top: 72px; /* Push down to avoid overlap with fixed header */
}

/* Left Side - Image Section */
.auth-visual {
    flex: 0 0 100%;
    position: relative;
    background: url('../images/auth_bg.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 80px;
    text-align: center;
}

.auth-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(12, 74, 110, 0.7), rgba(20, 123, 141, 0.7)), url('../images/auth_bg.png');
    z-index: 1;
}

.visual-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.visual-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.visual-content p {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    max-width: 650px;
    margin: 0 auto;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 40px;
    border-radius: 20px;
    margin-top: 60px;
    gap: 30px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

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

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
}


/* Right Side - Form Section */
.auth-form-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: #f8fafc;
}

.auth-form-container::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    top: -50%;
    left: -50%;
    pointer-events: none;
}

/* Header Styling (Global Nav) */
.global-nav {
    width: 100%;
    background: rgba(255, 255, 255, 0.85); /* Translucent background */
    backdrop-filter: blur(15px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 12px 0; /* Slightly tighter padding */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%; /* Relative padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand img {
    height: 60px;
}

.nav-brand span {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lander-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--lander-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-auth-btn {
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-auth-btn.login-link {
    color: #1e293b;
    background: transparent;
    border: 1.5px solid #e2e8f0;
}

.nav-auth-btn.register-link {
    background: linear-gradient(135deg, #0c4a6e 0%, #147b8d 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(12, 74, 110, 0.2);
}

.nav-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.nav-auth-btn.register-link:hover {
    box-shadow: 0 12px 25px rgba(12, 74, 110, 0.3);
}

/* Pricing Styles */
.pricing-section {
    padding: 100px 5%;
    background: #f8fafc;
}

.pricing-split-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
}

.pricing-image-side {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.pricing-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pricing-image-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
}

.pricing-content-side {
    padding: 60px 80px 60px 0;
}

.unified-pricing-box {
    background: #f8fafc;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 35px;
    border: 1px solid #e2e8f0;
}

.pricing-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-indicator {
    width: 40px;
    height: 40px;
    background: var(--lander-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 15px rgba(20, 123, 141, 0.2);
}

.step-info h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
}

.step-info p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 15px;
}

.step-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lander-blue);
}

.step-price span {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.pricing-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 25px 0;
}

.mandatory-note {
    font-size: 0.9rem;
    color: #f59e0b;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1024px) {
    .pricing-split-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .pricing-content-side {
        padding: 60px 40px;
    }
    
    .pricing-image-side {
        min-height: 350px;
    }
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    transform: scale(1.05);
    z-index: 2;
    border: 2px solid #6366f1;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #f1f5f9;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6366f1;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.pricing-header p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 30px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 40px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 10px;
}

.price .amount {
    font-size: 4rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.price .period {
    font-size: 0.85rem;
    color: #64748b;
    text-align: left;
    margin-left: 10px;
    margin-top: 15px;
    line-height: 1.4;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    color: #475569;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-features li i {
    font-size: 0.9rem;
    color: #10b981;
}

.pricing-features li i.inactive {
    color: #cbd5e1;
}

.btn-pricing {
    width: 100%;
    padding: 18px;
    background: #1e293b;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    transition: all 0.3s;
}

.btn-pricing:hover {
    background: #0f172a;
    transform: translateY(-2px);
}

.btn-pricing.btn-purple {
    background: #6366f1;
}

.btn-pricing.btn-purple:hover {
    background: #4f46e5;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

@media (max-width: 1024px) {
    .pricing-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

/* Premium Footer Styling */
.footer-cta-wrapper {
    padding: 0 10%;
    margin-top: 60px; /* Reduced from 80px */
    position: relative;
    z-index: 10;
}

.footer-cta-bar {
    background: linear-gradient(90deg, #147b8d 0%, #10b981 100%); /* Vibrant teal to emerald gradient */
    padding: 20px 40px; /* Reduced from 30px 50px */
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-text {
    font-size: 1.2rem; /* Reduced from 1.5rem */
    font-weight: 700;
    color: #ffffff; /* White text for better contrast on teal */
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-cta-footer {
    background: #1e293b;
    color: white;
    padding: 14px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cta-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-phone {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.site-footer {
    background: linear-gradient(165deg, #0c4a6e 0%, #147b8d 100%); /* Deep teal gradient */
    color: #cbd5e1;
    padding: 60px 10% 25px; /* Reduced from 80px 10% 30px */
    margin-top: -40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 40px; /* Reduced from 60px */
    padding-bottom: 35px; /* Reduced from 50px */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px; /* Reduced from 30px */
}

.footer-logo img {
    height: 38px; /* Reduced from 45px */
}

.footer-logo span {
    font-size: 1.3rem; /* Reduced from 1.5rem */
    font-weight: 800;
    color: white;
}

.footer-about {
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem; /* Reduced from 1.05rem */
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #6366f1;
    border-color: #6366f1;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-size: 1rem; /* Reduced from 1.1rem */
    margin-bottom: 15px; /* Reduced from 25px */
    font-weight: 700;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 15px;
}

.footer-links-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links-list a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact-link {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-top: 5px;
}

.badge-free {
    background: #fbbf24;
    color: #000;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 10px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 18px; /* Reduced from 15px 20px */
    color: white;
    outline: none;
    min-width: 0;
}

.newsletter-form button {
    background: var(--lander-blue);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    flex-shrink: 0; /* Prevent button from disappearing */
    white-space: nowrap;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #475569;
}

.newsletter-note {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-bottom {
    padding-top: 25px; /* Reduced from 40px */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-nav {
    display: flex;
    gap: 30px;
}

.footer-bottom-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-bottom-nav a:hover {
    color: #dbeafe;
}

.footer-copyright {
    color: #ffffff !important;
    font-size: 0.95rem;
}

.footer-copyright a {
    color: #ffffff !important;
    text-decoration: none;
}

/* ============================================================
   Enhanced Hover Effects (Inspired by Crafto elearning demo)
   ============================================================ */

/* Product Section - Image Zoom & Card Lift */
.product-item {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-12px);
}

.product-image-container {
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.product-image-container img {
    transition: transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
    width: 100%;
    display: block;
}

.product-item:hover .product-image-container img {
    transform: scale(1.12);
}

.product-info h3 {
    transition: color 0.3s ease;
}

.product-item:hover .product-info h3 {
    color: #147b8d;
}

/* Feature Item - Card Glow & Icon Spin */
.feature-item {
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.feature-item:hover {
    background: #ffffff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    border-color: rgba(20, 123, 141, 0.12);
}

.feature-icon {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(8deg);
    /* No background fill - keeps icon clearly visible */
}

.feature-item h3 {
    transition: color 0.3s ease;
}

.feature-item:hover h3 {
    color: #147b8d;
}

/* Pricing Card subtle lift enhancement */
.pricing-card {
    cursor: default;
}

/* Promo pill image hover */
.pill-image-wrap img {
    transition: transform 1.5s ease;
}

.pill-visual:hover .pill-image-wrap img {
    transform: scale(1.08);
}

/* About section image hover */
.about-image img {
    transition: transform 0.8s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   Text Hover Effects (Crafto-style)
   ============================================================ */

/* Section headings - subtle lift on hover */
.section-header h2 {
    transition: color 0.3s ease;
    cursor: default;
}

.section-header h2:hover {
    color: #147b8d;
}

/* Benefit steps - text slides up slightly on hover */
.benefit-step {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.benefit-step:hover {
    transform: translateX(8px);
}

.benefit-step h3 {
    transition: color 0.3s ease;
}

.benefit-step:hover h3 {
    color: #147b8d;
}

.benefit-step .step-desc {
    transition: color 0.3s ease;
}

.benefit-step:hover .step-desc {
    color: #334155;
}

/* Animated underline for all plain links */
.footer-links-list a,
.footer-bottom-nav a {
    position: relative;
    display: inline-block;
}

.footer-links-list a::after,
.footer-bottom-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.footer-links-list a:hover::after,
.footer-bottom-nav a:hover::after {
    width: 100%;
}

/* Testimonial text glow on hover */
.testimonial-box {
    transition: transform 0.4s ease;
}

.testimonial-box:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    transition: color 0.3s ease;
}

.testimonial-box:hover .testimonial-text {
    color: var(--lander-blue);
}

/* Pricing card heading text hover */
.pricing-header h3 {
    transition: color 0.3s ease;
}

.pricing-card:hover .pricing-header h3 {
    color: #147b8d;
}

/* Promo heading - word-by-word feel via letter-spacing */
.promo-heading {
    transition: letter-spacing 0.4s ease, color 0.3s ease;
}

.promo-heading:hover {
    letter-spacing: -1.5px;
    color: #147b8d;
}

/* Hero headline text hover */
.hero-title {
    transition: opacity 0.3s ease;
}

.hero-title:hover {
    opacity: 0.85;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-cta-bar {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}


.btn-dark-pill {
    background: #1e293b;
    color: white !important;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-dark-pill:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-box {
    width: 100%;
    max-width: var(--form-width);
    background: transparent;
    padding: 0;
    transition: all var(--transition-speed) ease;
    z-index: 5;
}

.logo-wrap {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease backwards;
}

.logo-wrap img {
    height: 48px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

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



.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
    outline: none;
}

.input-group input:focus,
.input-group select:focus {
    background: #ffffff;
    border-color: #147b8d;
    outline: none;
    box-shadow: 0 0 0 4px rgba(20, 123, 141, 0.1);
}

.input-group input::placeholder {
    color: #94a3b8;
}

.input-group input:focus {
    background: #ffffff;
    border-color: #147b8d;
    outline: none;
    box-shadow: 0 0 0 4px rgba(20, 123, 141, 0.1);
}

.reg-page {
    display: none;
}

.reg-page.active {
    display: block;
    animation: slideIn 0.4s ease;
}

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

.submit-btn {
    width: 100%;
    padding: 16px;
    border: none;
    background: linear-gradient(135deg, #147b8d 0%, #0c4a6e 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    box-shadow: 0 10px 25px -5px rgba(20, 123, 141, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(20, 123, 141, 0.5);
    filter: brightness(1.1);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.features-section {
    padding: 100px 10%;
    background: #fff;
}

/* Footer Styling */
.auth-footer-main {
    width: 100%;
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(165deg, #0c4a6e 0%, #147b8d 100%);
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
}

.auth-footer a {
    color: #147b8d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: #1ab8db;
    text-decoration: underline;
}

/* Multi-page Registration styling */
.register-pages {
    overflow: hidden;
    position: relative;
}

.reg-page {
    display: none;
}

.reg-page.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .visual-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }

    .nav-container {
        padding: 0 20px;
    }

    .auth-visual {
        padding: 80px 20px;
    }

    .visual-content h1 {
        font-size: 2.5rem;
    }

    .visual-content p {
        font-size: 1.1rem;
    }

    .hero-cta-wrap a {
        width: 100%;
        padding: 15px 30px !important;
        font-size: 1rem !important;
    }
    
    .nav-brand span {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem !important;
    }
}

/* Benefits Split Section Styling - Refined */
.benefits-split {
    padding: 120px 10% 40px;
    background: #ffffff;
}

.benefits-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: flex-start;
}

.benefit-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 35px;
}

.benefit-badge i {
    width: 45px;
    height: 45px;
    background: #eab308;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(234, 179, 8, 0.3);
}

.main-heading {
    font-size: 3.8rem; /* Decreased from 4.8rem */
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.btn-dark-pill {
    background: #232323;
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dark-pill:hover {
    background: #000000;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.experts-mention {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.expert-avatars {
    display: flex;
}

.expert-avatars img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 4px solid white;
    margin-right: -20px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experts-mention p {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.experts-mention span {
    color: #1e293b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Steps Styling - Final Refinement */
.benefits-right {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 20px;
}

.benefit-step {
    position: relative;
    padding-left: 0;
    transition: all 0.4s ease;
}

/* Staggering the steps */
.benefit-step:nth-child(2) {
    margin-left: 120px; /* More offset to the right */
}

.benefit-step:nth-child(3) {
    margin-left: 40px; /* Increased slight offset */
}

.step-num {
    font-size: 10rem;
    font-weight: 900;
    color: #f0f4f8; /* Slightly darker for visibility */
    line-height: 1;
    position: absolute;
    left: -30px;
    top: -60px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.6rem; /* Decreased from 2rem */
    font-weight: 800;
    color: #333333;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.step-desc {
    font-size: 0.95rem; /* Decreased from 1.1rem */
    color: #64748b;
    line-height: 1.6;
    max-width: 320px;
    font-weight: 500;
}

.step-line {
    width: 60px;
    height: 4px;
    background: #eab308;
    margin-top: 25px;
}

@media (max-width: 1024px) {
    .benefits-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .benefits-left h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .benefits-left h2 {
        font-size: 2.2rem;
    }
    
    .step-num {
        font-size: 3.5rem;
    }
}
/* Trust & Testimonials Section Styling */
.trust-section {
    padding: 100px 10%;
    background: linear-gradient(165deg, #0c4a6e 0%, #147b8d 100%);
    color: white;
}

.trust-container {
    max-width: 1300px;
    margin: 0 auto;
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #eab308;
    margin-bottom: 25px;
}

.trust-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
}

.trust-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 450px;
}

.trust-stat-box {
    display: flex;
    align-items: center;
    gap: 25px;
}

.trust-big {
    font-size: 5rem;
    font-weight: 900;
    color: white;
}

.trust-stat-info p {
    font-size: 1.1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

/* Testimonial Card Styling */
.testimonial-box {
    background: white;
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    color: #1e293b;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.testimonial-image-wrap {
    flex: 0 0 45%;
    position: relative;
}

.testimonial-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    right: -25px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    color: #1e293b;
}

.nav-btn:hover {
    background: #eab308;
    color: white;
    transform: scale(1.1);
}

.testimonial-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.star-rating {
    color: #eab308;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 30px;
    color: #1e293b;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.95rem;
    color: #64748b;
}

/* Partner Bar Styling */
.partner-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

.partner-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-logo img {
    height: 35px;
    filter: brightness(0) invert(1) opacity(0.6);
    transition: all 0.3s;
}

.partner-logo img:hover {
    filter: brightness(0) invert(1) opacity(1);
    transform: translateY(-5px);
}

@media (max-width: 1024px) {
    .trust-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .testimonial-box {
        flex-direction: column;
    }
    
    .testimonial-image-wrap {
        height: 300px;
    }
    
    .slider-nav {
        right: 20px;
        bottom: -25px;
    }
}
/* Empowerment Promo Section Styling */
.promo-section {
    padding: 100px 10%;
    background: #ffffff;
}

.promo-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.promo-heading {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1e293b;
    letter-spacing: -2px;
}

.promo-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pill-visual {
    position: relative;
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-radius: 100px;
    padding: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    transition: transform 0.3s ease;
}

.pill-visual:hover {
    transform: translateY(-5px);
}

.pill-image-wrap {
    width: 70%;
    height: 100%;
    border-radius: 90px;
    overflow: hidden;
}

.pill-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pill-play-btn {
    width: 70px;
    height: 70px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: absolute;
    right: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.pill-play-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.1);
}

.promo-subtext {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 400px;
}

@media (max-width: 1024px) {
    .promo-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .promo-heading {
        font-size: 2.8rem;
    }
    
    .promo-subtext {
        margin: 0 auto;
    }
    
    .pill-visual {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* =============================================================
   GLOBAL DESIGN HARMONY OVERRIDES
   Makes all sections feel unified and cohesive
   ============================================================= */

/* Consistent section header typography */
.section-header h2 {
    font-size: 2.8rem !important;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
}

/* Section backgrounds */
.features-section { background: #ffffff !important; }
.about-lander     { background: #ffffff !important; }
.products-section { background: #f8fafc !important; }
.pricing-section  { background: #f8fafc !important; }
.promo-section    { background: #ffffff !important; }

/* Consistent section padding - reduced to remove excess whitespace */
.features-section,
.about-lander,
.products-section,
.promo-section,
.pricing-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Section header - tighter spacing */
.section-header {
    padding-top: 0 !important;
    padding-bottom: 40px !important;
}

/* Feature icon consistent with teal brand */
.feature-icon {
    border-color: #147b8d !important;
    color: #147b8d !important;
}

/* btn-blue consistent with brand teal */
.btn-blue,
.btn-lander.btn-blue {
    background: linear-gradient(135deg, #0c4a6e 0%, #147b8d 100%) !important;
    border: none;
    color: white !important;
}

/* Uniform border-radius = 20px across all cards */
.feature-item,
.product-item,
.pricing-card,
.about-image img {
    border-radius: 20px;
}

/* =============================================================
   PREMIUM ANIMATIONS
   ============================================================= */

/* --- Keyframe Definitions --- */
@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-18px); }
}

@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(20, 123, 141, 0.4); }
    50%       { box-shadow: 0 0 0 16px rgba(20, 123, 141, 0); }
}

@keyframes gradientShift {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}

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

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

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

@keyframes rotateSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes borderPulse {
    0%, 100% { border-color: rgba(20,123,141,0.2); }
    50%       { border-color: rgba(20,123,141,0.8); }
}

/* --- Scroll Reveal Base Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for child elements */
.stagger-1 { transition-delay: 0.1s !important; }
.stagger-2 { transition-delay: 0.2s !important; }
.stagger-3 { transition-delay: 0.3s !important; }
.stagger-4 { transition-delay: 0.4s !important; }

/* --- Floating Pill Visual --- */
.pill-visual {
    animation: floatY 4s ease-in-out infinite;
}

/* --- Pulsing Register CTA Button --- */
.nav-auth-btn.register-link {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

/* --- Animated Gradient Section Headings --- */
.section-header h2,
.promo-heading,
.trust-header h2 {
    background: linear-gradient(270deg, #0c4a6e, #147b8d, #10b981, #0c4a6e);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

/* Feature icon - no shimmer overlay (keeps icon visible) */
.feature-icon {
    position: relative;
}

/* --- Scroll Progress Bar --- */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #147b8d, #10b981);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* --- Pricing popular card border pulse --- */
.pricing-card.popular {
    animation: borderPulse 2s ease-in-out infinite;
}

/* --- Trust badge bounce --- */
.trust-badge {
    display: inline-block;
    animation: floatY 3s ease-in-out infinite;
}
