/* Landing Page Styles */

/* Header */
.landing-header {
    background: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.landing-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.landing-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(1.3) contrast(1.1);
}

.landing-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.landing-nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

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

.landing-nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.landing-signin-btn {
    padding: 10px 24px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(10, 37, 64, 0.3);
}

.hero-icon {
    font-size: 120px;
    color: white;
}

/* Button Styles */
.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

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

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

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

.btn-white:hover {
    background: #f1f5f9;
}

/* Section Styling */
.section-header-landing {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-landing {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--card-background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--background-color);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon .material-icons {
    font-size: 32px;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--background-color);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: var(--border-color);
    margin-top: 32px;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--card-background);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-text .section-title-landing {
    text-align: left;
    margin-bottom: 24px;
}

.benefits-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 32px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--text-primary);
}

.benefits-list .material-icons {
    color: var(--success-color);
    font-size: 24px;
}

.benefits-image {
    display: flex;
    justify-content: center;
}

.benefits-image-wrapper {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(10, 37, 64, 0.2);
}

.benefits-image-wrapper .material-icons {
    font-size: 100px;
    color: white;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5c 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* Footer */
.landing-footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .landing-logo-text {
    color: white;
}

.footer-brand .landing-logo-img {
    filter: brightness(1.0) contrast(1.9);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image-wrapper {
        width: 200px;
        height: 200px;
    }

    .hero-icon {
        font-size: 80px;
    }

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

    .benefits-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .benefits-text .section-title-landing {
        text-align: center;
    }

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

    .benefits-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .landing-nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

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

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .section-title-landing {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .benefits-image-wrapper {
        width: 200px;
        height: 200px;
    }

    .benefits-image-wrapper .material-icons {
        font-size: 70px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-image-wrapper {
        width: 160px;
        height: 160px;
    }

    .hero-icon {
        font-size: 60px;
    }

    .feature-card {
        padding: 24px;
    }

    .step {
        max-width: 100%;
        padding: 0 16px;
    }
}

/* =================================
   DARK MODE FOR LANDING PAGE
   ================================= */

[data-theme="dark"] .landing-header {
    background: var(--card-background);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .landing-logo-text {
    color: var(--text-primary);
}

[data-theme="dark"] .landing-logo-img {
    filter: brightness(1.3) contrast(2.3);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .hero-title {
    color: var(--text-primary);
}

[data-theme="dark"] .hero-stat-value {
    color: var(--accent-color);
}

[data-theme="dark"] .hero-image-wrapper {
    background: linear-gradient(135deg, #1e3a5f 0%, var(--accent-color) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .features {
    background: var(--card-background);
}

[data-theme="dark"] .feature-card {
    background: var(--background-color);
}

[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .feature-icon {
    background: linear-gradient(135deg, #1e3a5f 0%, var(--accent-color) 100%);
}

[data-theme="dark"] .feature-title {
    color: var(--text-primary);
}

[data-theme="dark"] .how-it-works {
    background: var(--background-color);
}

[data-theme="dark"] .step-number {
    background: var(--accent-color);
}

[data-theme="dark"] .step-title {
    color: var(--text-primary);
}

[data-theme="dark"] .step-connector {
    background: var(--border-color);
}

[data-theme="dark"] .benefits {
    background: var(--card-background);
}

[data-theme="dark"] .benefits-list li {
    color: var(--text-primary);
}

[data-theme="dark"] .benefits-image-wrapper {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1e3a5f 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .cta {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

[data-theme="dark"] .landing-footer {
    background: #0a0f1a;
}

[data-theme="dark"] .section-title-landing {
    color: var(--text-primary);
}

/* Theme toggle on landing page */
.landing-nav .theme-toggle {
    margin-left: 16px;
}
