/* Premium Landing Page Styles */
:root {
    --landing-primary: #0f172a;
    --landing-accent: #3b82f6;
    /* Brighter blue */
    --landing-accent-hover: #2563eb;
    --landing-bg: #f8fafc;
    --landing-surface: #ffffff;
    --landing-text-main: #334155;
    --landing-text-muted: #64748b;
    --landing-card-border: rgba(226, 232, 240, 0.8);
    --landing-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --landing-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --landing-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.025);
}

body.landing-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--landing-text-main);
    line-height: 1.6;
    background-color: var(--landing-bg);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Header - Glassmorphism */
.landing-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 5%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--landing-primary);
    text-decoration: none;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-login {
    background: var(--landing-accent);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 9999px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.25);
    border: 2px solid transparent;
}

.btn-login:hover {
    background: var(--landing-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(59, 130, 246, 0.35);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/landing/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-hero {
    padding: 1rem 3.5rem;
    font-size: 1.25rem;
    border-radius: 50px;
}

.trust-indicators {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.9;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Stats Section */
.stats-section {
    background: var(--landing-primary);
    color: white;
    padding: 4rem 0;
    position: relative;
    z-index: 10;
    margin-top: -2rem;
    /* Overlap hero slightly */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #60a5fa;
    /* Light blue */
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Common Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--landing-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--landing-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

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

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--landing-card-border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--landing-shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-image-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover .feature-image {
    transform: scale(1.08);
    /* Gentle zoom */
}

.feature-content {
    padding: 2.5rem;
}

.feature-icon-small {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: #eff6ff;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--landing-accent);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--landing-primary);
}

.feature-content p {
    color: var(--landing-text-muted);
    font-size: 1.05rem;
    margin: 0;
}

/* Steps Section */
.steps-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--landing-accent);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.step-arrow {
    font-size: 2rem;
    color: #cbd5e1;
    align-self: center;
    margin-top: -2rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--landing-primary);
}

/* Testimonials */
.testimonials-section {
    padding: 8rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 16px;
    position: relative;
    border: 1px solid var(--landing-card-border);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testim-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--landing-text-main);
    margin-bottom: 1.5rem;
}

.testim-author {
    font-weight: 700;
    color: var(--landing-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* FAQ */
.faq-section {
    padding: 6rem 0;
    background: #f1f5f9;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--landing-shadow-sm);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--landing-shadow-md);
}

.faq-question {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    color: var(--landing-primary);
}

.faq-answer {
    color: var(--landing-text-muted);
    margin: 0;
}

/* Problem vs Solution (Why Us) */
.problem-section {
    padding: 8rem 0;
    background: #f1f5f9;
}

.comparison-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .comparison-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .comparison-vs {
        position: static;
        width: 50px;
        height: 50px;
        margin: -1rem auto;
        transform: none;
        z-index: 10;
        font-size: 0.9rem;
    }
}

.comparison-card {
    flex: 1;
    padding: 3rem;
    border-radius: 20px;
    position: relative;
}

.old-way {
    background: #e2e8f0;
    color: #64748b;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-right: 4rem;
}

.new-way {
    background: white;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    z-index: 5;
    padding-left: 4rem;
    transform: scale(1.05);
    border: 2px solid var(--landing-accent);
}

@media (max-width: 900px) {

    .old-way,
    .new-way {
        border-radius: 20px;
        padding: 2.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .new-way {
        transform: none;
    }
}

.comparison-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.old-way .comparison-title {
    color: #475569;
}

.new-way .comparison-title {
    color: var(--landing-primary);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comparison-vs {
    width: 60px;
    height: 60px;
    background: var(--landing-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.5);
}

.badge-recommended {
    position: absolute;
    top: -15px;
    right: 30px;
    background: #10b981;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

/* CTA Footer */
.cta-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white !important;
}

.cta-section p {
    color: #94a3b8 !important;
}

.landing-footer {
    background: #020617;
    /* Very dark slate */
    color: #64748b;
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .step-arrow {
        display: none;
    }

    .hero-section {
        height: auto;
        padding: 8rem 0 4rem;
    }

    .features-section,
    .steps-section,
    .testimonials-section,
    .faq-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}