/* Landing page styles */

.ln-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header ────────────────────────────────── */
.ln-header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 14px 0;
}
.ln-header .ln-container { display: flex; align-items: center; justify-content: space-between;}
.ln-nav { display: flex; gap: 22px; margin-right: auto; }
.ln-nav a { color: var(--text-2); font-weight: 500; font-size: .9rem; }
.ln-nav a:hover { color: var(--brand-dark); }
.ln-cta { display: flex; gap: 8px; }

/* ── Hero ──────────────────────────────────── */
.ln-hero {
    padding: 60px 0 100px;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(34,197,94,.15), transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(34,197,94,.10), transparent 50%);
    position: relative;
    overflow: hidden;
}

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

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--brand-light);
    color: var(--brand-darker);
    border-radius: var(--r-full);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 18px;
    border: 1px solid var(--green-200);
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 18px;
}
.hero-accent {
    background: linear-gradient(120deg, var(--green-500), var(--green-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-text p { color: var(--text-2); font-size: 1.1rem; line-height: 1.8; margin-bottom: 28px; max-width: 540px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-trust { display: flex; gap: 36px; flex-wrap: wrap; }
.trust-stat strong { font-size: 1.6rem; font-weight: 800; display: block; color: var(--brand-darker); }
.trust-stat span { color: var(--text-3); font-size: .85rem; }

/* Hero visual: dashboard mockup */
.hero-visual { position: relative; }
.dash-mock {
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    display: grid;
    grid-template-columns: 80px 1fr;
    height: 380px;
    transform: rotate(-1deg);
    transition: transform .3s;
}
.dash-mock:hover { transform: rotate(0deg); }
.dash-mock-side {
    background: var(--sidebar-bg);
    position: relative;
}
.dash-mock-side::before, .dash-mock-side::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,.06);
}
.dash-mock-side::before { top: 70px; background: linear-gradient(90deg, rgba(74,222,128,.25), rgba(74,222,128,.10)); }
.dash-mock-side::after  { top: 110px; }

.dash-mock-main { padding: 26px; }
.mock-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.mock-stat {
    background: var(--surface-2);
    padding: 14px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
}
.mock-stat .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-bottom: 6px; }
.mock-stat .dot.g { background: var(--green-500); }
.mock-stat .dot.b { background: #3b82f6; }
.mock-stat .dot.o { background: #f97316; }
.mock-stat strong { display: block; font-size: 1.3rem; font-weight: 800; }
.mock-stat span { font-size: .7rem; color: var(--text-3); }

.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 180px;
    padding: 12px;
    background: var(--surface-2);
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
}
.mock-chart .bar {
    flex: 1;
    background: linear-gradient(to top, var(--green-500), var(--green-300));
    border-radius: 4px 4px 0 0;
    animation: barfill 1.4s ease-out backwards;
}
@keyframes barfill { from { height: 0 !important; } }
.mock-chart .bar:nth-child(1) { animation-delay: .05s; }
.mock-chart .bar:nth-child(2) { animation-delay: .12s; }
.mock-chart .bar:nth-child(3) { animation-delay: .19s; }
.mock-chart .bar:nth-child(4) { animation-delay: .26s; }
.mock-chart .bar:nth-child(5) { animation-delay: .33s; }
.mock-chart .bar:nth-child(6) { animation-delay: .4s; }
.mock-chart .bar:nth-child(7) { animation-delay: .47s; }

/* ── Sections ──────────────────────────────── */
.ln-section { padding: 80px 0; }
.ln-section-alt { background: var(--surface-2); }

.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 12px 0 8px; }
.section-head p { color: var(--text-3); font-size: 1.05rem; }

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.fc-icon {
    width: 50px; height: 50px;
    border-radius: var(--r-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.fc-icon.ic-green  { background: var(--green-100); color: var(--green-700); }
.fc-icon.ic-blue   { background: #dbeafe; color: #1e40af; }
.fc-icon.ic-orange { background: #ffedd5; color: #c2410c; }
.fc-icon.ic-purple { background: #ede9fe; color: #6d28d9; }
.fc-icon.ic-pink   { background: #fce7f3; color: #be185d; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-3); margin: 0; line-height: 1.7; }

/* Tools (steps) */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    counter-reset: step;
}
.tool-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 26px;
    position: relative;
}
.tool-step {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--green-400), var(--green-600));
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 14px;
    box-shadow: var(--shadow-green);
}
.tool-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tool-card p { color: var(--text-3); margin: 0; line-height: 1.7; font-size: .92rem; }

/* Plans (public) */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch;
}
.plan-card-public {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 26px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.plan-card-public:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card-public.featured {
    border-color: var(--brand);
    box-shadow: var(--shadow-green);
    transform: translateY(-8px);
}
.plan-badge {
    position: absolute;
    top: -12px; right: 24px;
    background: linear-gradient(120deg, var(--green-500), var(--green-700));
    color: #fff;
    padding: 5px 14px;
    border-radius: var(--r-full);
    font-size: .75rem;
    font-weight: 700;
    box-shadow: var(--shadow-green);
}
.plan-card-public h3 { font-size: 1.2rem; margin: 0 0 6px; }
.plan-desc { color: var(--text-3); font-size: .85rem; margin-bottom: 18px; min-height: 36px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.plan-currency { font-size: 1.1rem; color: var(--text-3); }
.plan-amount { font-size: 2.6rem; font-weight: 800; color: var(--text); line-height: 1; }
.plan-period { color: var(--text-3); font-size: .85rem; }
.plan-features { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan-features li { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--text-2); }
.plan-features li svg { color: var(--green-500); flex-shrink: 0; }

/* Updates */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.update-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 22px;
}
.update-type { margin-bottom: 12px; }
.update-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.update-card p { color: var(--text-3); margin: 0 0 14px; font-size: .9rem; }
.update-date { color: var(--text-mute); font-size: .8rem; }

/* CTA section */
.ln-cta-section {
    padding: 60px 0 100px;
}
.cta-box {
    background:
        radial-gradient(circle at top right, rgba(74,222,128,.4), transparent 50%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.3), transparent 50%),
        linear-gradient(135deg, var(--green-700), var(--green-900));
    color: #fff;
    border-radius: var(--r-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-box h2 { color: #fff; font-size: 2rem; margin-bottom: 12px; }
.cta-box p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 28px; }
.cta-box .hero-actions { justify-content: center; }
.cta-box .btn-secondary { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.25); }
.cta-box .btn-secondary:hover { background: rgba(255,255,255,.25); }

/* Footer */
.ln-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: .95rem; margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--text-3); font-size: .9rem; margin-bottom: 6px; }
.footer-grid a:hover { color: var(--brand-dark); }
.footer-copy { text-align: center; color: var(--text-mute); font-size: .85rem; }

@media (max-width: 900px) {
    .ln-nav { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .ln-section { padding: 50px 0; }
    .ln-hero { padding: 40px 0 60px; }
    .cta-box { padding: 40px 24px; }
    .cta-box h2 { font-size: 1.5rem; }
}

@media (max-width: 600px) {
    .ln-container { padding: 0 16px; }
    .ln-header { padding: 10px 0; }
    .ln-header .ln-container {justify-content: space-between; }
    .ln-cta { gap: 6px; }
    .ln-cta .btn { padding: 7px 12px; font-size: .82rem; }
    .ln-hero { padding: 28px 0 40px; }
    .hero-text p { font-size: .95rem; margin-bottom: 22px; }
    .hero-actions { gap: 8px; margin-bottom: 24px; }
    .hero-trust { gap: 22px; }
    .trust-stat strong { font-size: 1.3rem; }
    .section-head { margin-bottom: 28px; }
    .feature-grid, .tools-grid, .plans-grid, .updates-grid { gap: 14px; }
    .feature-card, .tool-card, .plan-card-public, .update-card { padding: 20px; }
    .plan-amount { font-size: 2rem; }
    .ln-cta-section { padding: 30px 0 50px; }
    .cta-box { padding: 32px 18px; border-radius: var(--r-lg); }
    .cta-box h2 { font-size: 1.3rem; }
    .cta-box p { font-size: .95rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .ln-footer { padding: 30px 0 18px; }
}

@media (max-width: 420px) {
    .ln-header .logo-row .brand-text { font-size: 1.1rem; }
    .ln-cta .btn { padding: 6px 10px; font-size: .78rem; }
    .hero-pill { font-size: .72rem; padding: 5px 12px; }
}
