/* ============================================
   LANDING PAGE — Public-facing homepage
   ============================================ */

/* ---- Security Banner ---- */
.security-banner {
    background: var(--primary-darker);
    color: rgba(255,255,255,0.9);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.security-banner a {
    color: var(--primary-light);
    font-weight: 600;
    white-space: nowrap;
}

.security-banner a:hover {
    color: white;
}

/* ---- Top Utility Bar ---- */
.top-bar {
    background: #F8FAF9;
    border-bottom: 1px solid var(--border-light);
    padding: 0 40px;
}

.top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 36px;
}

.top-bar-links {
    display: flex;
    gap: 24px;
}

.top-bar-links a {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.top-bar-links a:hover {
    color: var(--primary);
}

/* ---- Main Nav ---- */
.landing-nav {
    background: white;
    border-bottom: 1px solid var(--border-light);
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.landing-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(13,159,110,0.25);
}

.landing-logo-text {
    line-height: 1.15;
}

.logo-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-accent {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.logo-tagline {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.nav-link {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    background: var(--primary-ghost);
    color: var(--primary);
}

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

.btn-nav-login {
    padding: 9px 22px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    transition: all var(--transition-fast);
}

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

.btn-nav-signup {
    padding: 9px 22px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--primary);
    color: white;
    transition: all var(--transition-fast);
}

.btn-nav-signup:hover {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 14px rgba(13,159,110,0.35);
}

/* ---- Hero Section ---- */
.hero-section {
    background: linear-gradient(180deg, #F0FDF4 0%, #E6F9EE 40%, #F8FAF9 100%);
    padding: 50px 40px 60px;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 36px;
    align-items: start;
}

/* Login Card */
.hero-login-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.8);
    animation: fadeIn 0.5s ease;
}

.hero-login-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-login-icon {
    font-size: 1.4rem;
}

.hero-login-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-login-header p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-input-wrapper {
    position: relative;
}

.hero-input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    background: var(--bg-input);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    font-family: var(--font);
}

.hero-input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,159,110,0.1);
    outline: none;
    background: white;
}

.hero-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.hero-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    pointer-events: none;
}

.hero-eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 2px;
}

.hero-eye-btn:hover {
    color: var(--text-primary);
}

.hero-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.hero-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.hero-forgot {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
}

.hero-forgot:hover {
    color: var(--primary-dark);
}

.btn-hero-login {
    padding: 13px;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-hero-login:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(13,159,110,0.35);
}

.btn-hero-login:active {
    transform: scale(0.98);
}

.hero-signup-text {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.hero-signup-text a {
    color: var(--primary);
}

/* Promo Card */
.hero-promo-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 36px;
    animation: fadeIn 0.6s ease;
    min-height: 340px;
}

.hero-promo-content {
    flex: 1;
}

.promo-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    background: var(--primary-ghost);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.hero-promo-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.hero-promo-content p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.promo-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-promo {
    padding: 12px 26px;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.btn-promo:hover {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 14px rgba(13,159,110,0.3);
}

.btn-promo-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-ghost);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all var(--transition-fast);
}

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

/* Card Mockup */
.hero-promo-visual {
    flex-shrink: 0;
}

.promo-card-mockup {
    width: 240px;
    height: 155px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 50%, #047857 100%);
    padding: 22px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(6,78,59,0.35);
    transform: rotate(-3deg);
    transition: transform var(--transition-base);
}

.promo-card-mockup:hover {
    transform: rotate(0deg) scale(1.03);
}

.promo-card-mockup::before {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.promo-card-mockup::after {
    content: '';
    position: absolute;
    left: -20px;
    bottom: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(245,158,11,0.15);
}

.promo-card-chip {
    width: 32px;
    height: 24px;
    border-radius: 5px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    margin-bottom: 18px;
    position: relative;
}

.promo-card-chip::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
}

.promo-card-number {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.promo-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.6rem;
    position: relative;
    z-index: 1;
}

.promo-card-bottom span {
    opacity: 0.6;
    display: block;
    margin-bottom: 2px;
    letter-spacing: 0.05em;
}

.promo-card-bottom strong {
    font-size: 0.7rem;
}

.promo-card-brand {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

/* ---- Features Bar ---- */
.features-bar {
    background: white;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 0 40px;
}

.features-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.feature-bar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.feature-bar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-bar-icon.green { background: #D1FAE5; color: #065F46; }
.feature-bar-icon.emerald { background: var(--primary-ghost); color: var(--primary); }
.feature-bar-icon.gold { background: #FEF3C7; color: #92400E; }

.feature-bar-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-bar-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 1px 0 3px;
}

.feature-bar-content a {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

.feature-bar-content a:hover {
    color: var(--primary-dark);
}

.feature-bar-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    margin: 0 20px;
    flex-shrink: 0;
}

/* ---- Services Section ---- */
.services-section {
    padding: 70px 40px;
    background: var(--bg-body);
}

.services-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 44px;
}

.services-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.services-header h2 span {
    color: var(--primary);
}

.services-header p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 30px 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--primary-lighter);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    transition: gap var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-link:hover {
    gap: 8px;
    color: var(--primary-dark);
}

/* ---- Trust Section ---- */
.trust-section {
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 50%, #047857 100%);
}

.trust-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-stat {
    text-align: center;
    color: white;
}

.trust-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.trust-stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 500;
}

/* ---- CTA Section ---- */
.cta-section {
    padding: 70px 40px;
    background: white;
    text-align: center;
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.cta-inner p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.btn-cta-primary {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.btn-cta-primary:hover {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 14px rgba(13,159,110,0.35);
}

.btn-cta-secondary {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1.5px solid var(--primary);
    transition: all var(--transition-fast);
}

.btn-cta-secondary:hover {
    background: var(--primary-ghost);
    color: var(--primary-dark);
}

/* ---- Footer ---- */
.landing-footer {
    background: #0A1F16;
    padding: 50px 40px 0;
    color: rgba(255,255,255,0.7);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.5);
}

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

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    padding: 5px 0;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
}

.footer-bottom-links a:hover {
    color: rgba(255,255,255,0.7);
}

/* ---- Chat Widget (Landing version) ---- */
.chat-widget-landing {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(13,159,110,0.4);
    transition: all var(--transition-base);
    z-index: 1000;
}

.chat-widget-landing:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(13,159,110,0.45);
}

.chat-widget-landing span {
    font-size: 1rem;
}

/* ---- Scroll Animations ---- */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.scroll-animate:nth-child(3) { transition-delay: 0.2s; }
.scroll-animate:nth-child(4) { transition-delay: 0.3s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-promo-card {
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-stats {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .landing-nav {
        padding: 0 16px;
    }

    .landing-nav-inner {
        height: 56px;
    }

    .nav-actions .btn-nav-login {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .nav-actions .btn-nav-signup {
        display: none;
    }

    .features-bar-inner {
        flex-direction: column;
        gap: 16px;
    }

    .features-bar {
        padding: 0 16px;
    }

    .feature-bar-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .hero-section {
        padding: 24px 16px 32px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-login-card {
        padding: 24px 20px;
        order: 1;
    }

    .hero-promo-card {
        padding: 24px 20px;
        order: 2;
        flex-direction: column;
        gap: 20px;
    }

    .hero-promo-content h1 {
        font-size: 1.5rem;
    }

    .hero-promo-visual {
        display: flex;
        justify-content: center;
    }

    .promo-card-mockup {
        width: 220px;
        height: 140px;
        padding: 18px;
        transform: rotate(0deg);
    }

    .services-section {
        padding: 40px 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .services-header h2 {
        font-size: 1.5rem;
    }

    .trust-section {
        padding: 36px 16px;
    }

    .trust-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .trust-stat-value {
        font-size: 1.8rem;
    }

    .cta-section {
        padding: 40px 16px;
    }

    .cta-inner h2 {
        font-size: 1.4rem;
    }

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

    .landing-footer {
        padding: 36px 16px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .security-banner {
        font-size: 0.7rem;
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .chat-widget-landing {
        bottom: 16px;
        right: 16px;
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}
