/* One Day Tracker — Marketing site shared styles
   Token system inherited from the app: dark UI, violet accent, DM Sans + DM Mono */

:root {
    --bg: #09090b;
    --bg2: #121214;
    --bg3: #1a1a24;
    --bg4: #232333;
    --border: #262636;
    --border-soft: #1d1d2a;
    --text: #f4f4f7;
    --text2: #9ea1b0;
    --text3: #5a5c66;
    --accent: #6d5ae6;
    --accent2: #4f3fd0;
    --accent-soft: rgba(109, 90, 230, 0.12);
    --green: #2ec47e;
    --orange: #e69512;
    --red: #e53855;
    --planned: #6d5ae6;
    --actual: #2ec47e;
    --max-w: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.mono { font-family: 'DM Mono', monospace; }

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { letter-spacing: -0.02em; font-weight: 600; }

/* ---------- NAV ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
}
.site-nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-logo {
    font-size: 1.15em;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo span { color: var(--accent); }
.site-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.9em;
    color: var(--text2);
}
.site-links a { text-decoration: none; transition: color 0.15s; }
.site-links a:hover { color: var(--text); }
.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    transition: background 0.15s;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--accent2); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
    .site-links { display: none; }
    .nav-toggle { display: block; }
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95em;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent2); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 30px; font-size: 1.02em; }

/* ---------- SECTIONS ---------- */
section { padding: 88px 0; }
.section-border-top { border-top: 1px solid var(--border-soft); }
.eyebrow {
    font-size: 0.78em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 14px;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: 2em; margin-bottom: 14px; }
.section-head p { color: var(--text2); font-size: 1.05em; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- HERO ---------- */
.hero {
    padding: 76px 0 70px;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero h1 {
    font-size: 3.1em;
    line-height: 1.07;
    margin-bottom: 22px;
}
.hero h1 em {
    font-style: normal;
    color: var(--accent);
}
.hero p.lead {
    font-size: 1.15em;
    color: var(--text2);
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-ctas { display: flex; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.hero-fineprint { font-size: 0.82em; color: var(--text3); display: flex; align-items: center; gap: 8px; }
.hero-fineprint i { color: var(--green); }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2em; }
}

/* ---------- SIGNATURE: planned vs actual demo ---------- */
.pa-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.pa-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 22px;
}
.pa-card-head h3 { font-size: 0.95em; color: var(--text2); font-weight: 500; }
.pa-card-head .pa-date { font-size: 0.8em; color: var(--text3); font-family: 'DM Mono', monospace; }
.pa-row { margin-bottom: 18px; }
.pa-row-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.82em;
    color: var(--text2);
    margin-bottom: 7px;
}
.pa-row-label .task { color: var(--text); font-weight: 500; }
.pa-track {
    position: relative;
    height: 22px;
    background: var(--bg3);
    border-radius: 6px;
    overflow: hidden;
}
.pa-bar {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    font-size: 0.72em;
    font-family: 'DM Mono', monospace;
    color: white;
    padding-left: 8px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pa-bar.planned { background: var(--planned); opacity: 0.55; }
.pa-bar.actual { background: var(--actual); margin-top: 26px; }
.pa-row-tracks { position: relative; height: 52px; }
.pa-row-tracks .pa-track { position: absolute; width: 100%; height: 20px; }
.pa-row-tracks .pa-track.t-planned { top: 0; }
.pa-row-tracks .pa-track.t-actual { top: 28px; }
.pa-legend { display: flex; gap: 18px; margin-top: 20px; font-size: 0.78em; color: var(--text2); }
.pa-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pa-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pa-dot.planned { background: var(--planned); }
.pa-dot.actual { background: var(--actual); }
.pa-verdict {
    margin-top: 18px;
    padding: 12px 14px;
    background: var(--accent-soft);
    border-radius: 8px;
    font-size: 0.82em;
    color: var(--text2);
}
.pa-verdict strong { color: var(--text); }

/* ---------- LOGO / TRUST STRIP ---------- */
.trust-strip {
    padding: 28px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
    font-size: 0.85em;
    color: var(--text3);
}
.trust-strip-inner span { display: flex; align-items: center; gap: 7px; }
.trust-strip-inner i { color: var(--green); }

/* ---------- FEATURE GRID ---------- */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feat-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px;
    transition: border-color 0.15s, transform 0.15s;
}
.feat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.feat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    margin-bottom: 16px;
}
.feat-card h3 { font-size: 1.05em; margin-bottom: 8px; }
.feat-card p { font-size: 0.9em; color: var(--text2); }

@media (max-width: 860px) {
    .feat-grid { grid-template-columns: 1fr; }
}

/* ---------- COMPARISON TABLE ---------- */
.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 0.92em; min-width: 600px; }
table.cmp th, table.cmp td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); }
table.cmp thead th { color: var(--text2); font-weight: 600; font-size: 0.85em; background: var(--bg2); }
table.cmp thead th.us { color: var(--accent); }
table.cmp tbody td:first-child { color: var(--text2); }
table.cmp tbody td.us { color: var(--text); font-weight: 600; }
table.cmp tbody td.us i { color: var(--green); margin-right: 6px; }
table.cmp tbody td.no i { color: var(--text3); margin-right: 6px; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp tbody td.other { color: var(--text3); }

/* ---------- PRICING ---------- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.price-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
}
.price-card.featured {
    border-color: var(--accent);
    background: linear-gradient(160deg, var(--bg2), var(--bg4));
    position: relative;
}
.price-badge {
    position: absolute;
    top: -12px;
    left: 28px;
    background: var(--accent);
    color: white;
    font-size: 0.72em;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}
.price-name { font-size: 0.9em; color: var(--text2); margin-bottom: 6px; }
.price-amount { font-size: 2.6em; font-weight: 600; font-family: 'DM Mono', monospace; margin-bottom: 4px; }
.price-amount span { font-size: 0.45em; color: var(--text2); font-family: 'DM Sans', sans-serif; font-weight: 400; }
.price-sub { font-size: 0.85em; color: var(--text3); margin-bottom: 24px; }
.price-feat { list-style: none; font-size: 0.88em; color: var(--text2); display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.price-feat li { display: flex; align-items: flex-start; gap: 9px; }
.price-feat i { color: var(--green); margin-top: 3px; flex-shrink: 0; }
.price-feat i.cross { color: var(--text3); }

@media (max-width: 860px) {
    .price-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-item {
    border-bottom: 1px solid var(--border-soft);
    padding: 22px 0;
}
.faq-item summary {
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.3em;
    color: var(--text3);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text2); margin-top: 14px; font-size: 0.92em; line-height: 1.7; max-width: 640px; }

/* ---------- CTA BAND ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    color: white;
}
.cta-band h2 { font-size: 1.9em; margin-bottom: 12px; }
.cta-band p { opacity: 0.85; margin-bottom: 28px; font-size: 1.05em; }
.cta-band .btn-primary { background: white; color: var(--accent); }
.cta-band .btn-primary:hover { background: #f0eefe; }

/* ---------- FOOTER ---------- */
.site-footer {
    border-top: 1px solid var(--border-soft);
    padding: 56px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}
.footer-brand .site-logo { display: inline-block; margin-bottom: 12px; }
.footer-brand p { color: var(--text3); font-size: 0.85em; max-width: 260px; line-height: 1.7; }
.footer-col h4 { font-size: 0.8em; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text2); text-decoration: none; font-size: 0.9em; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border-soft);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82em;
    color: var(--text3);
}
.footer-bottom a { color: var(--accent); text-decoration: none; }

@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- MISC ---------- */
.tag-pill {
    display: inline-block;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: 0.78em;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'DM Mono', monospace;
}
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 860px) {
    .two-col { grid-template-columns: 1fr; }
}
