/* ============================================================
   denschQ – Landing Page
   Accent: #9D174D (Berry) on white
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
html {
    --accent: #9D174D;
    --accent-hover: #831843;
    --accent-pressed: #701A3C;
    --accent-light: #DB2777;
    --accent-lighter: #F472B6;
    --accent-tint: rgba(157,23,77,0.08);
    --accent-tint-strong: rgba(157,23,77,0.15);
    --accent-glow: rgba(157,23,77,0.25);
    --accent-shadow: rgba(157,23,77,0.40);
    --complement: #179D6D;
    --complement-light: #34D399;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-white: #ffffff;
    --bg-light: #f5f5f7;
    --bg-page: #fafafa;
    --border: rgba(0, 0, 0, 0.08);
    --success: #16A34A;
    --success-tint: #F0FDF4;
    --warning: #D97706;
    --warning-tint: #FFFBEB;
    --error: #EF4444;
    --error-tint: #FEF2F2;
    --info: #3B82F6;
    --info-tint: #EFF6FF;
}

/* ── Dark Mode ───────────────────────────────────────────── */
html[data-mode="dark"] {
    --bg-page: #0D0D0D;
    --bg-white: #161616;
    --bg-light: #1C1C1E;
    --text-primary: #F0F0F0;
    --text-secondary: #8E8E93;
    --border: rgba(255,255,255,0.08);
    --accent-tint: rgba(157,23,77,0.15);
    --accent-tint-strong: rgba(157,23,77,0.25);
    --success: #22C55E;
    --success-tint: rgba(34,197,94,0.12);
    --warning: #FBBF24;
    --warning-tint: rgba(251,191,36,0.12);
    --error: #EF4444;
    --error-tint: rgba(239,68,68,0.12);
    --info: #60A5FA;
    --info-tint: rgba(96,165,250,0.12);
}
html[data-mode="dark"] body { background: #0D0D0D; color: #F0F0F0; }
html[data-mode="dark"] .landing-nav { background: rgba(13,13,13,0.80); border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .nav-logo { color: #F0F0F0; }
html[data-mode="dark"] .nav-links a { color: #F0F0F0; }
html[data-mode="dark"] .hero { background: #0D0D0D; }
html[data-mode="dark"] .hero-headline { color: #F0F0F0; }
html[data-mode="dark"] .section-white { background: #0D0D0D; }
html[data-mode="dark"] .section-gray { background: #111111; }
html[data-mode="dark"] .feature-card { background: #1C1C1E; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .feature-card h3 { color: #F0F0F0; }
html[data-mode="dark"] .feature-icon { background: #252528; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .section-headline { color: #F0F0F0; }
html[data-mode="dark"] .pricing { background: #111111; }
html[data-mode="dark"] .pricing__card { background: #1C1C1E; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .pricing__card--featured { box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
html[data-mode="dark"] .pricing__name { color: var(--accent-light); }
html[data-mode="dark"] .pricing__price { color: #F0F0F0; }
html[data-mode="dark"] .pricing__features li { color: rgba(255,255,255,0.7); }
html[data-mode="dark"] .pricing__badge { background: #F0F0F0; color: #0D0D0D; }
html[data-mode="dark"] .lp-footer { background: #111111; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .footer-logo { color: #F0F0F0; }
html[data-mode="dark"] .footer-col h4 { color: #F0F0F0; }
html[data-mode="dark"] .footer-col a { color: #8E8E93; }
html[data-mode="dark"] .footer-col a:hover { color: #F0F0F0; }
html[data-mode="dark"] .footer-bottom p { color: rgba(255,255,255,0.4); }
html[data-mode="dark"] .btn-pill-secondary { border-color: rgba(255,255,255,0.15); color: var(--accent-light); }
html[data-mode="dark"] .btn-pill-secondary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
html[data-mode="dark"] .privacy-panel { background: #111111; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .priv-pill { border-color: rgba(255,255,255,0.08); color: #8E8E93; }
html[data-mode="dark"] .priv-pill:hover { background: rgba(255,255,255,0.04); color: #F0F0F0; }
html[data-mode="dark"] .priv-info { background: rgba(255,255,255,0.03); }
html[data-mode="dark"] .priv-vis-stat { color: #F0F0F0; }
html[data-mode="dark"] .priv-vis-label { color: #F0F0F0; }
html[data-mode="dark"] .app-features li { color: #F0F0F0; }
html[data-mode="dark"] .iphone-frame { box-shadow: 0 24px 80px rgba(0,0,0,0.4); }
html[data-mode="dark"] [data-glow] { background: linear-gradient(180deg, #48484a, #48484a); -webkit-background-clip: text; background-clip: text; }
html[data-mode="dark"] [data-glow].glow-active { background: linear-gradient(180deg, #f5f5f7 30%, #86868b 100%); -webkit-background-clip: text; background-clip: text; }
html[data-mode="dark"] .login-page { background: #0D0D0D; }
html[data-mode="dark"] .login-card { background: #161616; border-color: rgba(255,255,255,0.06); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
html[data-mode="dark"] .login-logo { color: #F0F0F0; }
html[data-mode="dark"] .login-input { background: #1C1C1E; border-color: rgba(255,255,255,0.10); color: #F0F0F0; }
html[data-mode="dark"] .login-links a { color: #8E8E93; }
@media (prefers-color-scheme: dark) {
    html:not([data-mode="light"]) {
        --bg-page: #0D0D0D; --bg-white: #161616; --bg-light: #1C1C1E;
        --text-primary: #F0F0F0; --text-secondary: #8E8E93;
        --border: rgba(255,255,255,0.08);
    }
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ── Light Theme Glow ────────────────────────────────────── */
[data-glow] {
    background: linear-gradient(180deg, #c4c4c6 0%, #c4c4c6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 1.2s ease;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
}
[data-glow].glow-active {
    background: linear-gradient(180deg, #1d1d1f 30%, #48484a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Nav ──────────────────────────────────────────────────── */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    height: 48px;
}
.landing-nav-inner {
    max-width: 980px; margin: 0 auto; padding: 0 22px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 1.15rem; font-weight: 700; color: #1d1d1f; text-decoration: none; letter-spacing: -0.02em; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.75rem; font-weight: 400; color: #1d1d1f; text-decoration: none; opacity: 0.8; transition: opacity 0.2s; padding: 8px 12px; }
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta { background: var(--accent); color: #fff; padding: 6px 16px; border-radius: 980px; font-weight: 500; opacity: 1; transition: background 0.2s; }
.nav-links .nav-cta:hover { opacity: 0.85; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 980px; font-size: 1.05rem; font-weight: 500; text-decoration: none; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; border: none; text-align: center; }
.btn-pill-primary { background: var(--accent); color: #fff; }
.btn-pill-primary:hover { background: var(--accent-hover); }
.btn-pill-secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-pill-secondary:hover { background: var(--accent); color: #fff; }
.btn-pill-lg { padding: 14px 32px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; background: var(--bg-white); }
.hero-inner { max-width: 720px; }
.hero-eyebrow { font-size: 0.875rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.hero-headline { font-size: clamp(3rem, 9vw, 6rem); font-weight: 700; line-height: 1.0; letter-spacing: -0.04em; color: var(--text-primary); margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 400; line-height: 1.5; color: var(--text-secondary); max-width: 44ch; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-note { font-size: 13px; color: var(--text-secondary); }
.hero-note a { color: var(--accent); font-weight: 500; text-decoration: none; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 120px 0; }
.section-white { background: var(--bg-white); }
.section-gray { background: var(--bg-light); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-eyebrow { font-size: 0.875rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.section-headline { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; color: var(--text-primary); margin-bottom: 16px; }
.section-sub { font-size: 1.25rem; color: var(--text-secondary); line-height: 1.5; }

/* ── Features Carousel ───────────────────────────────────── */
.features-grid {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding: 0 max(24px, calc((100vw - 980px) / 2 + 24px));
}
.features-grid::-webkit-scrollbar { display: none; }
.feature-card {
    flex: 0 0 min(85vw, 680px); scroll-snap-align: center;
    background: var(--bg-light); border: 1px solid var(--border); border-radius: 24px;
    padding: 48px 44px; min-height: 420px; display: flex; flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover { transform: scale(0.985); }
.feature-icon {
    width: 72px; height: 72px; background: var(--bg-white); border: 1px solid var(--border);
    border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.feature-card h3 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--text-primary); margin-bottom: 12px; letter-spacing: -0.025em; line-height: 1.1; }
.feature-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.65; max-width: 420px; }

/* ── CTA Section ─────────────────────────────────────────── */
.section-cta { background: var(--accent); text-align: center; padding: 120px 0; }
.cta-content h2 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; color: #fff; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 16px; }
.cta-content p { font-size: 1.25rem; color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-filled-white { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 980px; font-size: 1.05rem; font-weight: 500; background: #fff; color: #1d1d1f; text-decoration: none; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); }
.btn-filled-white:hover { background: rgba(255,255,255,0.9); transform: scale(1.02); }
.btn-outline-white { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 980px; font-size: 1.05rem; font-weight: 500; background: transparent; color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.3); text-decoration: none; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.6); }

/* ── Footer ──────────────────────────────────────────────── */
.lp-footer { background: #f5f5f7; border-top: 1px solid rgba(0,0,0,0.08); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-size: 18px; font-weight: 700; color: #1d1d1f; margin-bottom: 12px; letter-spacing: -0.02em; }
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 14px; color: #86868b; line-height: 1.6; max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: #1d1d1f; margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: #86868b; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #1d1d1f; }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.08); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: #86868b; }
.footer-heart { font-size: 11px; color: rgba(0,0,0,0.2); margin-top: 6px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { min-height: auto; padding: 120px 24px 80px; }
    .hero-headline { font-size: clamp(2.5rem, 8vw, 3.5rem); }
    .section { padding: 80px 0; }
    .feature-card { padding: 36px 28px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn-pill-lg { width: 100%; max-width: 320px; }
    .section-cta { padding: 80px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
    .hero-headline { font-size: 36px; }
    .section-headline { font-size: 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
