/* ═══════════════════════════════════════════════════════════════
   CameraAiPro - Landing Page Styles
   ═══════════════════════════════════════════════════════════════ */

/* ─── Material Icon Helpers ───────────────────────────────────── */

.mi-problem {
    font-size: 3rem;
    color: var(--primary);
}

.mi-feature {
    font-size: 2.8rem;
    color: var(--primary);
}

.mi-check {
    font-size: 1.1rem;
    color: var(--success);
    vertical-align: middle;
    margin-right: 4px;
}

.nav-logo-icon {
    font-size: 1.6rem;
    color: var(--primary);
}

/* ─── Navigation ──────────────────────────────────────────────── */

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.nav-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.btn-primary {
    color: #fff !important;
}

.btn-nav {
    padding: 8px 20px !important;
    font-size: 0.9rem !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* ─── Hero ────────────────────────────────────────────────────── */

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #2563eb 100%);
    color: white;
    padding: 140px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-cta {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #60a5fa;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ─── Sections ────────────────────────────────────────────────── */

.section {
    padding: 80px 0;
}

.section-light {
    background: #f8fafc;
}

.section-white {
    background: #fff;
}

.section-dark {
    background: #0f172a;
    color: white;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.section-dark .section-title {
    color: #fff;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Problem Section ─────────────────────────────────────────── */

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.problem-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.problem-card:hover {
    transform: translateY(-4px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text);
}

.problem-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ─── Features ────────────────────────────────────────────────── */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.feature-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ─── Steps (How it works) ────────────────────────────────────── */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.step-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    font-size: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.step-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ─── Pricing ─────────────────────────────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-featured {
    border-color: var(--primary);
    transform: scale(1.04);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-plan {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.pricing-period {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
    text-align: left;
}

.pricing-features li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text);
}

/* ─── Download / Install ──────────────────────────────────────── */

.download-content {
    max-width: 700px;
    margin: 0 auto;
}

.download-steps {
    border-radius: 16px;
    padding: 32px;
}

.download-steps h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--text);
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.install-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.install-step-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 2px;
}

.install-step strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.install-step p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 0 8px;
    line-height: 1.5;
}

.download-cta {
    text-align: center;
    margin-top: 32px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.download-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    font-size: 1rem;
}

/* ─── CTA Section ─────────────────────────────────────────────── */

.section-cta {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.section-cta h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-cta p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 32px;
}

.btn-lg {
    padding: 16px 40px !important;
    font-size: 1.2rem !important;
}

/* ─── Footer ──────────────────────────────────────────────────── */

.landing-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 0.8rem;
    margin-top: 8px;
}

/* ─── Responsive ──────────────────────────────────────────────── */

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-item {
        min-width: 100px;
    }

    .problem-grid,
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-cta h2 {
        font-size: 1.4rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .download-steps {
        padding: 24px 16px;
    }
}
