/* ---- Base ---- */
:root {
    --bg: #0a0f0d;
    --bg-2: #111714;
    --surface: #161e1a;
    --surface-2: #1f2a25;
    --border: #283832;
    --text: #f3f6f4;
    --text-dim: #aab6af;
    --text-muted: #6e7d75;
    --green: #23A05A;
    --green-2: #4FB286;
    --green-deep: #0A8454;
    --green-soft: rgba(35,160,90,0.12);
    --shadow-1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 60px -20px rgba(0,0,0,0.6);
    --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Nav ---- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,15,13,0.72);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 17px;
}
.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nav-links {
    display: flex;
    gap: 28px;
    font-size: 14px;
    color: var(--text-dim);
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
    background: var(--green);
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    transition: background .15s ease;
}
.nav-cta:hover { background: var(--green-2); }

@media (max-width: 720px) {
    .nav-links { display: none; }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, background .12s ease, color .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-dim); }
.btn.big { padding: 18px 28px; font-size: 16px; }

/* ---- Hero ---- */
.hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(900px 400px at 20% -10%, rgba(35,160,90,0.25), transparent 60%),
        radial-gradient(700px 500px at 80% 10%, rgba(10,132,84,0.18), transparent 60%),
        linear-gradient(180deg, #0a0f0d 0%, #0c1411 100%);
}
.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
}
.badge {
    display: inline-block;
    color: var(--green-2);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--green-soft);
    border: 1px solid rgba(35,160,90,0.3);
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 64px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0 0 18px;
}
.hero-accent {
    background: linear-gradient(120deg, var(--green-2) 0%, var(--green) 60%, #88C9A1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    font-size: 19px;
    color: var(--text-dim);
    margin: 0 auto 36px;
    max-width: 640px;
}
.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero-meta {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}
.hero-stat .num {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.hero-stat .lbl {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

@media (max-width: 720px) {
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 42px; }
    .hero-sub { font-size: 16px; }
    .hero-meta { gap: 24px; }
}

/* ---- Mockup row ---- */
.mockup-row {
    padding: 0 0 100px;
    position: relative;
}
.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
}
.phone {
    background: linear-gradient(160deg, #1a2520 0%, #0e1411 100%);
    border-radius: 38px;
    padding: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-1);
    aspect-ratio: 9 / 16;
}
.phone-screen {
    border-radius: 26px;
    padding: 14px 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

/* ----- Phone 1: Dashboard (iOS light) ----- */
.phone-screen.light {
    background: #F2F2F7;
    color: #111;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
}
.ph-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 4px 6px 10px;
    border-bottom: 0.5px solid rgba(60,60,67,0.12);
}
.ph-nav-brand {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #111;
}
.ph-leaf {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    object-fit: cover;
    display: block;
}
.ph-streak-chip {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #E5E5EA;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 500;
    color: #111;
}
.ph-streak-chip .ph-flame { font-size: 9px; }

.ph-greet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 4px;
}
.ph-greet-text { display: flex; flex-direction: column; gap: 2px; }
.ph-greeting {
    font-size: 16px;
    font-weight: 500;
    color: #111;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.ph-chev {
    color: #C7C7CC;
    font-size: 16px;
    line-height: 1;
}
.ph-subcount {
    font-size: 10px;
    color: #8E8E93;
}
.ph-ring-big {
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
}
.ph-ring-big svg { position: absolute; inset: 0; }
.ph-ring-pct {
    position: relative;
    font-size: 10px;
    font-weight: 500;
    color: #111;
}

.ph-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 0 4px;
}
.ph-tile {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 8px 4px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 0.5px 0 rgba(60,60,67,0.08);
}
.ph-tile-icon {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-size: 11px;
}
.ph-tile-label {
    font-size: 9px;
    color: #111;
    font-weight: 500;
}
.ph-tile-meta {
    font-size: 8px;
    color: #8E8E93;
    font-weight: 500;
}
.ph-tile-meta.done { color: #34C759; font-size: 9px; }

.ph-tasks-head {
    font-size: 11px;
    font-weight: 500;
    color: #111;
    padding: 4px 6px 0;
}
.ph-tasks-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 4px 0;
    margin: 0 4px;
    border: 0.5px solid rgba(60,60,67,0.1);
}
.ph-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 0.5px solid rgba(60,60,67,0.08);
}
.ph-row:last-child { border-bottom: none; }
.ph-row-icon {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-size: 11px;
    flex-shrink: 0;
}
.ph-row-body { flex: 1; min-width: 0; }
.ph-row-title {
    font-size: 10px;
    font-weight: 500;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ph-row-sub {
    font-size: 9px;
    color: #8E8E93;
    margin-top: 1px;
}
.ph-row-ring { flex-shrink: 0; }
.ph-row-ring svg { display: block; }
.ph-row-chev {
    color: #C7C7CC;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
}

/* ----- Phone 2: Shield (brand dark green, matches ShieldConfigurationExtension) ----- */
.phone-screen.shield {
    background: #085041;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 22px;
    gap: 0;
}
.shield-icon {
    color: #FFFFFF;
    margin-bottom: 18px;
    opacity: 0.95;
}
.shield-icon svg { display: block; }
.shield-title {
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.shield-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    max-width: 220px;
    line-height: 1.4;
    margin-bottom: 14px;
}
.shield-quote {
    font-size: 11px;
    font-style: italic;
    color: rgba(255,255,255,0.78);
    max-width: 220px;
    line-height: 1.5;
    margin-bottom: 24px;
}
.shield-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 220px;
}
.shield-btn {
    border: none;
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.shield-btn.primary { background: #FFFFFF; color: #085041; }
.shield-btn.ghost {
    background: transparent;
    color: rgba(255,255,255,0.75);
    border: none;
    font-weight: 500;
}

@media (max-width: 720px) {
    .mockup-grid { grid-template-columns: 1fr; max-width: 320px; }
    .mockup-row { padding-bottom: 60px; }
}

/* ---- Sections ---- */
.section {
    padding: 96px 0;
}
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
    color: var(--green-2);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
}
h2 {
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 0 0 14px;
}
.section-head p {
    color: var(--text-dim);
    font-size: 17px;
    margin: 0;
}

@media (max-width: 720px) {
    .section { padding: 64px 0; }
    h2 { font-size: 30px; }
    .section-head p { font-size: 15px; }
}

/* ---- Feature grid ---- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform .15s ease, border-color .15s ease;
}
.feature:hover {
    transform: translateY(-2px);
    border-color: rgba(35,160,90,0.45);
}
.feature-icon {
    width: 42px; height: 42px;
    background: var(--green-soft);
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 20px;
    margin-bottom: 14px;
}
.feature h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.feature p {
    margin: 0;
    color: var(--text-dim);
    font-size: 14px;
}

/* ---- Steps ---- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
}
.step-num {
    width: 36px; height: 36px;
    border-radius: 999px;
    background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
    color: white;
    display: grid; place-items: center;
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* ---- Pricing ---- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .price-grid { grid-template-columns: 1fr; } }
.price {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}
.price.recommended {
    border-color: var(--green);
    background: linear-gradient(180deg, rgba(35,160,90,0.08), var(--surface) 40%);
}
.price-recommended {
    position: absolute; top: -12px; left: 24px;
    background: var(--green); color: white;
    padding: 4px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase;
}
.price-head { display: flex; flex-direction: column; gap: 6px; }
.price-name { font-size: 14px; color: var(--text-dim); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.price-tag { display: flex; align-items: baseline; gap: 6px; }
.price-tag .num { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.price-tag .per { font-size: 13px; color: var(--text-muted); }
.price-badge {
    display: inline-block;
    background: var(--green-soft);
    color: var(--green-2);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    align-self: flex-start;
}
.price-badge.muted { background: var(--surface-2); color: var(--text-dim); }
.price-badge.save { background: rgba(255,170,30,0.14); color: #ffaa1e; }
.price-badge.ever { background: rgba(140,90,255,0.14); color: #b89bff; }
.price ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.price ul li {
    font-size: 13px;
    color: var(--text-dim);
    padding-left: 22px;
    position: relative;
}
.price ul li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 0;
    color: var(--green-2);
    font-weight: 800;
}

/* ---- FAQ ---- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 12px;
}
.faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq summary::after {
    content: '+';
    font-size: 22px;
    color: var(--text-muted);
    margin-left: 12px;
    transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
    margin: 14px 0 0;
    color: var(--text-dim);
    font-size: 14px;
}

/* ---- CTA strip ---- */
.cta-strip {
    padding: 80px 0;
    background: radial-gradient(800px 400px at 50% 0%, rgba(35,160,90,0.25), transparent 70%), var(--bg-2);
    border-top: 1px solid var(--border);
    text-align: center;
}
.cta-inner h2 { font-size: 38px; margin-bottom: 10px; }
.cta-inner p { color: var(--text-dim); margin: 0 0 26px; font-size: 17px; }

/* ---- Footer ---- */
.footer {
    background: #07100c;
    border-top: 1px solid var(--border);
    padding: 56px 0 40px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 40px;
}
@media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
.foot-brand .copy { color: var(--text-muted); font-size: 12px; margin: 12px 0 0; }
.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.foot-cols a {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    padding: 4px 0;
}
.foot-cols a:hover { color: var(--text); }
.foot-head {
    font-size: 12px;
    color: var(--text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
