/* ═══════════════════════════════════════════════════════════════════════════════
   UNPACKED — Landing Page Styles
   Uses tokens.css as foundation
   ═══════════════════════════════════════════════════════════════════════════════ */

@import url('/static/tokens.css');

/* ─── Navigation ─── */
nav {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(249, 247, 244, 0.95);
    border-bottom: 1px solid var(--color-border-light);
    backdrop-filter: blur(12px);
}
nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.logo {
    font-weight: var(--font-extrabold);
    font-size: var(--text-lg);
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-mark {
    width: 22px;
    height: 22px;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nav-links {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}
.nav-links a:hover { color: var(--color-text); }
.nav-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-cta);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-weight: var(--font-semibold) !important;
    font-size: var(--text-sm) !important;
    text-decoration: none;
    transition: background var(--transition-fast);
}
.nav-wa:hover { background: var(--color-cta-hover); }

/* ─── Hero ─── */
.hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
    border-bottom: 1px solid var(--color-border-light);
}
.hero h1 {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    font-weight: var(--font-extrabold);
    letter-spacing: -0.03em;
    line-height: var(--leading-tight);
    margin-bottom: var(--space-md);
    max-width: 720px;
}
.hero h1 em { font-style: normal; color: var(--color-accent); }
.hero p {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-lg);
}
.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}
.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    font-size: var(--text-2xl);
    font-weight: var(--font-extrabold);
    font-family: var(--font-mono);
    color: var(--color-primary);
}
.hero-stat-label { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 2px; }

/* ─── Trust Bar ─── */
.trust-bar {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    text-align: center;
}
.trust-bar p {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-md);
}
.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
}
.trust-logo {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-muted);
    padding: 4px 12px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
}

/* ─── Pricing Calculator ─── */
.calc-wrap {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    padding: var(--space-lg);
    max-width: 500px;
}
.calc-wrap .label { margin-bottom: 4px; }
.calc-wrap .input { margin-bottom: var(--space-md); }
.calc-result {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: #F0EDE6;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
}
.calc-result .row { display: flex; justify-content: space-between; padding: 4px 0; }
.calc-result .total {
    font-weight: var(--font-bold);
    font-size: var(--text-base);
    color: var(--color-primary);
    border-top: 1px solid var(--color-border);
    margin-top: 4px;
    padding-top: 8px;
}
.calc-notice {
    margin-top: var(--space-md);
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: var(--text-sm);
    display: none;
}
.calc-notice.bulk { background: var(--color-success-bg); border: 1px solid var(--color-success-border); color: var(--color-success); }
.calc-notice.weight { background: var(--color-warning-bg); border: 1px solid var(--color-warning-border); color: var(--color-warning); }

/* ─── Comparison Table ─── */
.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.diff-head {
    padding: var(--space-md);
    font-weight: var(--font-bold);
    font-size: var(--text-sm);
    text-align: center;
}
.diff-them { background: #F0EDE6; border-bottom: 1px solid var(--color-border); }
.diff-us { background: var(--color-bg-card); border-bottom: 1px solid var(--color-border-light); }
.diff-row {
    padding: var(--space-md);
    font-size: var(--text-sm);
    border-top: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.diff-row:first-of-type { border-top: none; }
.diff-us .diff-row { padding-left: var(--space-lg); }
.diff-them .diff-row { padding-right: var(--space-lg); }
.diff-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 2px;
}
.tag-win { background: var(--color-success-bg); color: var(--color-success); }

/* ─── How It Works ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    font-size: var(--text-sm);
    font-weight: var(--font-extrabold);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid var(--color-border-light); padding: var(--space-md) 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-q::after { content: '+'; font-size: var(--text-xl); color: var(--color-text-muted); }
.faq-item details[open] .faq-q::after { content: '−'; color: var(--color-accent); }
.faq-a {
    margin-top: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    padding-right: var(--space-xl);
}
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* ─── CTA Section ─── */
.cta-section {
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: var(--space-3xl) 0;
}
.cta-section h2 {
    font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-md);
}
.cta-section p {
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
    font-size: var(--text-lg);
}
.cta-section .btn-primary { background: var(--color-accent); border-color: var(--color-accent); }
.cta-section .btn-primary:hover { background: var(--color-accent-light); }
.cta-section .btn-secondary { border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-section .btn-secondary:hover { border-color: rgba(255,255,255,0.6); }

/* ─── Footer ─── */
footer {
    border-top: 1px solid var(--color-border-light);
    padding: var(--space-lg) 0;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-align: center;
}
footer a { color: var(--color-text-muted); text-decoration: none; }
footer a:hover { color: var(--color-text); }
footer .links { display: flex; justify-content: center; gap: var(--space-lg); margin-bottom: var(--space-md); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .grid-2, .grid-3, .steps-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .diff-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: var(--space-lg); }
    .nav-links { gap: var(--space-md); }
    section { padding: var(--space-2xl) 0; }
    .calc-wrap { max-width: 100%; }
}