/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

/* ── Variables ── */
:root {
    --bg:          #080808;
    --surface:     #111111;
    --surface-2:   #191919;
    --border:      #212121;
    --accent:      #3de07a;
    --accent-dim:  rgba(61, 224, 122, 0.10);
    --text:        #f0f0f0;
    --muted:       #888888;
    --radius:      14px;
    --radius-sm:   8px;
    --max-w:       1100px;
    --nav-h:       64px;
    --ease:        0.18s ease;
}

/* ── Base ── */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.8; }

/* ── Nav ── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}
.nav-logo img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--ease);
    text-decoration: none;
}
.nav-links a:hover { color: var(--text); opacity: 1; }
.nav-cta {
    background: var(--accent) !important;
    color: #000 !important;
    padding: 7px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: opacity var(--ease), transform 0.15s ease;
}
.nav-cta:hover { opacity: 0.9 !important; transform: translateY(-1px); }

/* ── Container ── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Section labels & titles ── */
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 18px;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.75;
}

/* ═══════════════════════════════════════════════
   HOMEPAGE
═══════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
    text-align: center;
    padding: 108px 40px 96px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(61, 224, 122, 0.07) 0%, transparent 62%);
    pointer-events: none;
}
.hero-icon {
    width: 116px;
    height: 116px;
    border-radius: 28px;
    margin: 0 auto 36px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 12px 48px rgba(0,0,0,0.7),
        0 0 80px rgba(61, 224, 122, 0.10);
}
.hero h1 {
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.08;
    margin-bottom: 22px;
    background: linear-gradient(165deg, #ffffff 45%, rgba(255,255,255,0.55));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 44px;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.appstore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text);
    color: #000;
    padding: 13px 26px;
    border-radius: 13px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.15s ease, opacity 0.15s ease;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.appstore-btn:hover { transform: translateY(-2px); opacity: 0.92; }
.appstore-btn svg { flex-shrink: 0; }
.hero-platform {
    font-size: 0.8rem;
    color: #555;
}

/* ── Features ── */
.features-section {
    padding: 88px 0;
    border-top: 1px solid var(--border);
}
.features-header {
    text-align: center;
    margin-bottom: 64px;
}
.features-header .section-sub { margin: 0 auto; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: border-color var(--ease), transform 0.15s ease;
}
.feature-card:hover {
    border-color: rgba(61, 224, 122, 0.28);
    transform: translateY(-3px);
}
.feature-icon {
    font-size: 1.9rem;
    margin-bottom: 18px;
    display: block;
}
.feature-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    letter-spacing: -0.015em;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── Screenshots ── */
.screenshots-section {
    padding: 88px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.screenshots-header { margin-bottom: 64px; }
.screenshots-header .section-sub { margin: 0 auto; }

.screenshots-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}
.phone-mockup { width: 210px; flex-shrink: 0; }
.phone-frame {
    background: #151515;
    border-radius: 38px;
    border: 2px solid #2a2a2a;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.03);
}
.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
    color: #333;
    font-size: 0.78rem;
    flex-direction: column;
    gap: 8px;
}
.phone-caption {
    margin-top: 16px;
    font-size: 0.83rem;
    color: var(--muted);
    font-weight: 500;
}

/* ── Pricing ── */
.pricing-section {
    padding: 88px 0;
    border-top: 1px solid var(--border);
}
.pricing-header {
    text-align: center;
    margin-bottom: 64px;
}
.pricing-header .section-sub { margin: 0 auto; }

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 740px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
}
.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(160deg, rgba(61,224,122,0.04) 0%, var(--surface) 50%);
    position: relative;
}
.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 999px;
    white-space: nowrap;
}
.pricing-card h3 {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}
.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1;
}
.pricing-price sup {
    font-size: 1.3rem;
    vertical-align: super;
    font-weight: 700;
    letter-spacing: 0;
}
.pricing-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 28px;
}
.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 28px;
}
.pricing-features li {
    font-size: 0.88rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.pricing-features li.na { opacity: 0.35; }
.pricing-features li.na::before { content: '—'; color: #555; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 13px 24px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.15s ease;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    border: none;
    letter-spacing: -0.01em;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); }
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(61,224,122,0.35);
}
.btn-outline:hover { background: var(--accent-dim); opacity: 1; }

/* ═══════════════════════════════════════════════
   SUBPAGE SHARED
═══════════════════════════════════════════════ */

.page-hero {
    padding: 72px 40px 60px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -80px;
    width: 600px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(61, 224, 122, 0.055) 0%, transparent 65%);
    pointer-events: none;
}
.page-hero .container { position: relative; }

.breadcrumb {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color var(--ease);
}
.breadcrumb a:hover { color: var(--accent); opacity: 1; }
.breadcrumb span { color: #333; }

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}
.page-hero p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 500px;
    line-height: 1.7;
}

/* Content pages (privacy, support body text) */
.content-page { padding: 64px 0 96px; }
.content-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 40px;
}
.content-inner h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 44px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.content-inner p, .content-inner li {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.78;
    margin-bottom: 10px;
}
.content-inner ul, .content-inner ol {
    padding-left: 20px;
    margin-bottom: 14px;
}
.content-inner hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 44px 0;
}
.content-inner a { color: var(--accent); }

/* ── Footer ── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 44px 40px;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
}
.footer-logo img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
}
.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: 0.83rem;
    color: var(--muted);
    text-decoration: none;
    transition: color var(--ease);
}
.footer-links a:hover { color: var(--text); opacity: 1; }
.footer-copy {
    font-size: 0.78rem;
    color: #444;
}

/* ═══════════════════════════════════════════════
   PRESS PAGE
═══════════════════════════════════════════════ */

.press-layout {
    padding: 64px 0 96px;
}
.press-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.press-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.press-body p, .press-body li {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 10px;
}
.press-body ul { padding-left: 20px; }
.press-body h2:first-child { margin-top: 0; }

.press-sidebar {}
.fact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 24px 12px;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    margin-bottom: 20px;
}
.fact-card h3 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 16px;
}
.fact-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}
.fact-row:last-child { border-bottom: none; padding-bottom: 12px; }
.fact-label {
    font-size: 0.8rem;
    color: var(--muted);
    flex-shrink: 0;
}
.fact-value {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
    text-align: right;
}
.press-contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}
.press-contact-card p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.5;
}
.press-contact-card .btn { width: 100%; font-size: 0.88rem; padding: 10px 16px; }

/* ═══════════════════════════════════════════════
   SUPPORT PAGE
═══════════════════════════════════════════════ */

.support-layout { padding: 64px 0 96px; }
.support-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    align-items: start;
}

.faq-section-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    margin-top: 48px;
    color: var(--text);
}
.faq-section-title:first-child { margin-top: 0; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background: var(--surface);
    border: none;
    padding: 16px 18px;
    text-align: left;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background var(--ease);
    font-family: inherit;
    letter-spacing: -0.01em;
}
.faq-question:hover { background: var(--surface-2); }
.faq-chevron {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    color: var(--muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 0 18px 16px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.72;
}
.faq-item.open .faq-answer { display: block; }

.support-sidebar {}
.support-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
}
.support-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.support-card p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.6;
}
.support-card .btn { padding: 10px 16px; font-size: 0.88rem; }

/* ═══════════════════════════════════════════════
   CHANGELOG PAGE
═══════════════════════════════════════════════ */

.changelog-layout { padding: 64px 0 96px; }
.changelog-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px;
}
.changelog-entry {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 36px;
    padding: 44px 0;
    border-bottom: 1px solid var(--border);
}
.changelog-entry:first-child { padding-top: 0; }
.changelog-entry:last-child { border-bottom: none; }

.cl-meta { text-align: right; padding-top: 2px; }
.cl-version {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.cl-date {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 5px;
    line-height: 1.5;
}
.cl-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 8px;
}
.cl-badge.initial { background: var(--accent-dim); color: var(--accent); }

.cl-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}
.cl-tagline {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.6;
}
.cl-group { margin-bottom: 20px; }
.cl-group-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 10px;
}
.cl-items {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.cl-items li {
    font-size: 0.9rem;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.55;
}
.cl-items li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .press-grid { grid-template-columns: 1fr; }
    .fact-card { position: static; }
    .support-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .site-nav { padding: 0 20px; }
    .nav-links li:not(:last-child) { display: none; }
    .container { padding: 0 20px; }
    .hero { padding: 72px 20px 64px; }
    .page-hero { padding: 48px 20px 44px; }
    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .screenshots-row { gap: 14px; }
    .phone-mockup { width: 160px; }
    .footer-inner { flex-direction: column; gap: 20px; }
    .footer-copy { text-align: left; }
    .content-inner { padding: 0 20px; }
    .changelog-inner { padding: 0 20px; }
    .changelog-entry { grid-template-columns: 1fr; gap: 10px; }
    .cl-meta { text-align: left; display: flex; align-items: center; gap: 12px; }
    .cl-date { margin-top: 0; }
}
@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .screenshots-row { flex-direction: column; align-items: center; }
    .phone-mockup { width: 190px; }
}
