:root {
    --lp-primary: #2563eb;
    --lp-primary-dark: #1d4ed8;
    --lp-accent: #7c3aed;
    --lp-dark: #0f172a;
    --lp-dark-2: #1e293b;
    --lp-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --lp-gradient-soft: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(124,58,237,0.12) 100%);
    --lp-radius: 16px;
    --lp-shadow: 0 4px 24px rgba(15,23,42,0.08);
    --lp-shadow-lg: 0 24px 64px rgba(15,23,42,0.12);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #1e293b;
    overflow-x: hidden;
}

/* ── Navbar ── */
.landing-nav {
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s;
}

.landing-nav.scrolled {
    background: rgba(15,23,42,0.97);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.landing-nav .navbar-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-nav .brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--lp-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.landing-nav .nav-link {
    color: #94a3b8 !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem !important;
    transition: color 0.2s;
}

.landing-nav .nav-link:hover { color: #fff !important; }

.landing-nav .navbar-toggler-icon {
    filter: invert(1);
}

.btn-nav-outline {
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-nav-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
    color: #fff !important;
}

.btn-nav-primary {
    background: var(--lp-gradient);
    border: none;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-nav-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.4);
    color: #fff !important;
}

/* ── Hero ── */
.hero {
    position: relative;
    background: var(--lp-dark);
    color: #fff;
    padding: 7.5rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(147,197,253,0.25);
    color: #93c5fd;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--lp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .lead {
    color: #94a3b8;
    font-size: 1.15rem;
    line-height: 1.65;
    max-width: 520px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.btn-hero-primary {
    background: var(--lp-gradient);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-hero-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37,99,235,0.4);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stats strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero-stats span {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
    display: block;
}

/* Dashboard mockup */
.hero-dashboard {
    position: relative;
    perspective: 1200px;
}

.dashboard-frame {
    background: #1e293b;
    border-radius: 20px;
    border: 1px solid #334155;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
    transform: rotateY(-4deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.dashboard-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 1.25rem;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.dashboard-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-topbar span:nth-child(1) { background: #ef4444; }
.dashboard-topbar span:nth-child(2) { background: #eab308; }
.dashboard-topbar span:nth-child(3) { background: #22c55e; }

.dashboard-url {
    flex: 1;
    margin-left: 0.75rem;
    background: #1e293b;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    color: #64748b;
}

.dashboard-body { padding: 1.25rem; }

.dash-row { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }

.dash-stat {
    flex: 1;
    background: #0f172a;
    border-radius: 10px;
    padding: 0.85rem;
    border: 1px solid #334155;
}

.dash-stat label {
    display: block;
    font-size: 0.65rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.dash-stat strong {
    font-size: 1.25rem;
    color: #fff;
}

.dash-stat small {
    font-size: 0.7rem;
    color: #4ade80;
}

.dash-chart {
    background: #0f172a;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #334155;
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.dash-bar {
    flex: 1;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
    animation: barGrow 1s ease-out backwards;
}

.dash-bar:nth-child(1) { height: 45%; animation-delay: 0.1s; }
.dash-bar:nth-child(2) { height: 65%; animation-delay: 0.2s; }
.dash-bar:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.dash-bar:nth-child(4) { height: 80%; animation-delay: 0.4s; }
.dash-bar:nth-child(5) { height: 70%; animation-delay: 0.5s; }
.dash-bar:nth-child(6) { height: 90%; animation-delay: 0.6s; }
.dash-bar:nth-child(7) { height: 85%; animation-delay: 0.7s; }

@keyframes barGrow {
    from { height: 0; opacity: 0; }
}

.floating-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    animation: float 4s ease-in-out infinite;
}

.floating-card i { font-size: 1.1rem; }
.floating-card.rank { top: 10%; right: -20px; color: #16a34a; }
.floating-card.rank i { color: #16a34a; }
.floating-card.review { bottom: 15%; left: -30px; animation-delay: -2s; }
.floating-card.review i { color: #eab308; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ── Trust bar ── */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 2rem 0;
}

.trust-bar p {
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0.6;
}

.trust-logos span {
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: -0.02em;
}

/* ── Sections ── */
.section { padding: 5.5rem 0; }
.section-dark { background: #f8fafc; }

.section-label {
    display: inline-block;
    background: var(--lp-gradient-soft);
    color: var(--lp-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ── How it works ── */
.steps-row { margin-top: 3rem; }

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lp-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.step-card h5 { font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { color: #64748b; font-size: 0.9rem; margin: 0; }

/* ── Features ── */
.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--lp-radius);
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-lg);
    border-color: #cbd5e1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--lp-gradient-soft);
    color: var(--lp-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.feature-card h5 { font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: #64748b; font-size: 0.9rem; line-height: 1.6; margin: 0; }

.feature-tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--lp-primary);
    background: #eff6ff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* ── Comparison ── */
.compare-table {
    background: #fff;
    border-radius: var(--lp-radius);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: var(--lp-shadow);
}

.compare-table table { margin: 0; }
.compare-table th {
    background: #f8fafc;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.compare-table td {
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    vertical-align: middle;
}

.compare-table tr:not(:last-child) td { border-bottom: 1px solid #f1f5f9; }

.compare-table .us { background: #eff6ff; font-weight: 600; color: var(--lp-primary); }
.compare-table .check { color: #22c55e; }
.compare-table .cross { color: #ef4444; }

/* ── Modules ── */
.module-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.module-pill {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.module-pill:hover {
    border-color: var(--lp-primary);
    background: #eff6ff;
    color: var(--lp-primary);
}

.module-pill i { color: #22c55e; margin-right: 0.35rem; }

/* ── Testimonials ── */
.testimonial-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--lp-radius);
    padding: 1.75rem;
    height: 100%;
}

.testimonial-stars { color: #eab308; margin-bottom: 1rem; font-size: 0.9rem; }

.testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lp-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: #64748b; }

/* ── Pricing ── */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.pricing-toggle span { font-size: 0.9rem; color: #64748b; font-weight: 500; }
.pricing-toggle .active { color: #1e293b; font-weight: 700; }

.save-badge {
    background: #dcfce7;
    color: #16a34a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.pricing-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

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

.pricing-card.featured {
    border-color: var(--lp-primary);
    box-shadow: 0 24px 64px rgba(37,99,235,0.15);
    transform: scale(1.03);
}

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

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

.pricing-card h4 { font-weight: 700; margin-bottom: 0.25rem; }

.price {
    font-size: 2.75rem;
    font-weight: 800;
    margin: 0.75rem 0;
    letter-spacing: -0.02em;
}

.price .currency { font-size: 1.5rem; vertical-align: super; }
.price small { font-size: 1rem; font-weight: 400; color: #64748b; }

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.45rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.pricing-features i { color: #22c55e; margin-top: 2px; flex-shrink: 0; }

.btn-pricing {
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-pricing-primary {
    background: var(--lp-gradient);
    border: none;
    color: #fff;
}

.btn-pricing-primary:hover {
    color: #fff;
    box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

.btn-pricing-outline {
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #334155;
}

.btn-pricing-outline:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
    background: #eff6ff;
}

/* ── FAQ ── */
.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question:hover { background: #f8fafc; }

.faq-question i { color: #94a3b8; transition: transform 0.2s; }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }

.faq-answer {
    padding: 0 1.25rem 1.1rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── CTA ── */
.cta-section {
    position: relative;
    background: var(--lp-gradient);
    color: #fff;
    padding: 5.5rem 0;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section .lead { opacity: 0.9; max-width: 520px; margin: 0 auto 2rem; }

.btn-cta-light {
    background: #fff;
    color: var(--lp-primary);
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cta-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    color: var(--lp-primary-dark);
}

/* ── Footer ── */
.landing-footer {
    background: var(--lp-dark);
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-desc { font-size: 0.9rem; line-height: 1.6; max-width: 280px; }

.footer-col h6 {
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 3rem;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: #64748b; font-size: 1.1rem; transition: color 0.2s; }
.footer-social a:hover { color: #fff; }

/* ── Utilities ── */
.btn-primary { background: var(--lp-primary); border-color: var(--lp-primary); }
.btn-primary:hover { background: var(--lp-primary-dark); border-color: var(--lp-primary-dark); }

@media (max-width: 991px) {
    .hero { padding-top: 6rem; min-height: auto; }
    .hero-dashboard { margin-top: 2rem; }
    .dashboard-frame { transform: none; }
    .floating-card { display: none; }
    .pricing-card.featured { transform: none; }
}
