/* ================================================
   Landing Page Styles
   ================================================ */

/* ─── Layout ───────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 800px;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(108, 92, 231, 0.12);
    color: var(--primary-light);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ─── Navbar ───────────────────────────────────── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 51, 90, 0.3);
    transition: all var(--transition-normal);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ─── Hero ──────────────────────────────────────── */
.hero {
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-glow-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.12) 0%, transparent 65%);
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 65%);
    bottom: -100px;
    right: -100px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.4rem;
    background: var(--dark-800);
    border: 1px solid var(--dark-600);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

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

.hero-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--dark-600);
}

/* ─── Dashboard Mockup ─────────────────────────── */
.hero-mockup {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
    perspective: 1200px;
}

.mockup-window {
    background: var(--dark-800);
    border: 1px solid var(--dark-600);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 80px rgba(108, 92, 231, 0.1);
    transform: rotateX(4deg);
    transition: transform 0.5s ease;
    max-width: 1000px;
    margin: 0 auto;
}

.mockup-window:hover {
    transform: rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.25rem;
    background: var(--dark-900);
    border-bottom: 1px solid var(--dark-700);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #E17055; }
.mockup-dots span:nth-child(2) { background: #FDCB6E; }
.mockup-dots span:nth-child(3) { background: #00B894; }

.mockup-url {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--dark-800);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-sm);
}

.mockup-body {
    display: flex;
    min-height: 300px;
}

.mockup-sidebar {
    width: 60px;
    background: var(--dark-900);
    border-right: 1px solid var(--dark-700);
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-nav-item {
    height: 8px;
    background: var(--dark-700);
    border-radius: 4px;
}

.mockup-nav-item.active {
    background: var(--primary);
}

.mockup-content {
    flex: 1;
    padding: 1.5rem;
}

.mockup-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mockup-stat-card {
    background: var(--dark-750);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.mockup-stat-label {
    height: 8px;
    width: 60%;
    background: var(--dark-600);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.mockup-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.mockup-stat-bar {
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 1s ease;
}

.mockup-stat-bar.green { background: var(--success); }
.mockup-stat-bar.cyan { background: var(--accent); }

.mockup-chart {
    background: var(--dark-750);
    border-radius: var(--radius-md);
    padding: 1rem;
    height: 140px;
    display: flex;
    align-items: flex-end;
}

.mockup-chart-svg {
    width: 100%;
    height: 100%;
}

/* ─── Problem Section ──────────────────────────── */
.section-problem {
    background: var(--dark-800);
    border-top: 1px solid var(--dark-700);
    border-bottom: 1px solid var(--dark-700);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.problem-card {
    background: var(--dark-900);
    border: 1px solid var(--dark-600);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.problem-card:hover {
    border-color: var(--dark-500);
    transform: translateY(-4px);
}

.problem-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.problem-icon-time {
    background: var(--danger-bg);
    color: var(--danger);
}

.problem-icon-money {
    background: var(--warning-bg);
    color: var(--warning);
}

.problem-icon-leads {
    background: var(--info-bg);
    color: var(--info);
}

.problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ─── Steps ────────────────────────────────────── */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

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

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 1.25rem;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--dark-800);
    border: 1px solid var(--dark-600);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--primary-light);
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

/* ─── Features ─────────────────────────────────── */
.section-features {
    background: var(--dark-800);
    border-top: 1px solid var(--dark-700);
    border-bottom: 1px solid var(--dark-700);
}

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

.feature-card {
    background: var(--dark-900);
    border: 1px solid var(--dark-600);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon-1 { background: rgba(108, 92, 231, 0.15); color: var(--primary-light); }
.feature-icon-2 { background: rgba(0, 210, 255, 0.12); color: var(--accent); }
.feature-icon-3 { background: var(--success-bg); color: var(--success); }
.feature-icon-4 { background: var(--warning-bg); color: var(--warning); }
.feature-icon-5 { background: var(--info-bg); color: var(--info); }
.feature-icon-6 { background: var(--danger-bg); color: var(--danger); }

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ─── ROI ──────────────────────────────────────── */
.roi-card {
    background: var(--dark-800);
    border: 1px solid var(--dark-600);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
}

.roi-content {
    margin-bottom: 2.5rem;
}

.roi-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

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

.roi-comparison {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.roi-column {
    flex: 1;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: left;
}

.roi-without {
    background: rgba(225, 112, 85, 0.06);
    border: 1px solid rgba(225, 112, 85, 0.15);
}

.roi-with {
    background: rgba(0, 184, 148, 0.06);
    border: 1px solid rgba(0, 184, 148, 0.15);
}

.roi-column h3 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.roi-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.roi-column li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.roi-label {
    color: var(--text-secondary);
}

.roi-value {
    font-weight: 700;
}

.roi-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-muted);
}

/* ─── Pricing ──────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--dark-800);
    border: 1px solid var(--dark-600);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    border-color: var(--dark-500);
    transform: translateY(-4px);
}

.pricing-card-popular {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(108, 92, 231, 0.12);
    transform: scale(1.04);
}

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

.pricing-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 1rem;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-features li svg {
    flex-shrink: 0;
}

/* ─── FAQ ──────────────────────────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--dark-800);
    border: 1px solid var(--dark-600);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item.open {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ─── CTA Section ──────────────────────────────── */
.section-cta {
    padding: 4rem 0 6rem;
}

.cta-card {
    background: var(--dark-800);
    border: 1px solid var(--dark-600);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 65%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}

.cta-card > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta-actions {
    position: relative;
    margin-bottom: 1rem;
}

.cta-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
}

/* ─── Footer ───────────────────────────────────── */
.landing-footer {
    background: var(--dark-800);
    border-top: 1px solid var(--dark-700);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--dark-700);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ─── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.75rem; }
    .section-header h2 { font-size: 2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card-popular { transform: scale(1); }
    .pricing-card-popular:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-mobile-toggle { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-900);
        border-bottom: 1px solid var(--dark-700);
        padding: 1rem 1.5rem;
        gap: 1rem;
    }

    .hero { padding: 8rem 0 3rem; }
    .hero-title { font-size: 2.25rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-cta { flex-direction: column; }
    .hero-stats { gap: 1.25rem; }
    .hero-stat-value { font-size: 1.2rem; }

    .problem-grid { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-connector { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    .roi-comparison { flex-direction: column; }
    .roi-vs {
        padding: 1rem 0;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .section { padding: 4rem 0; }
    .cta-card { padding: 3rem 1.5rem; }
    .cta-card h2 { font-size: 1.75rem; }

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

@media (max-width: 480px) {
    .hero-title { font-size: 1.85rem; }
    .section-header h2 { font-size: 1.6rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
