:root {
    --bg:           #0F0F0F;
    --card-bg:      #181818;
    --border:       rgba(255, 255, 255, 0.08);
    --text:         #F1F1F1;
    --muted:        #AAAAAA;
    --accent:       #4ade80;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Glass card ──────────────────────────────────────────── */
.glass-card {
    background: rgba(24, 24, 24, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}
.btn-sm  { padding: 8px 18px;  font-size: 14px; }
.btn-lg  { padding: 14px 28px; font-size: 16px; }

.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.06); }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: 68px;
    border-bottom: 1px solid var(--border);
    background: rgba(15, 15, 15, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
}
.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.4px;
}
.logo img { border-radius: 6px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: 148px 0 96px; position: relative; overflow: hidden; }
.hero::before {
    content: '';
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 720px; height: 720px;
    background: radial-gradient(circle, rgba(255,255,255,0.035) 0%, transparent 65%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 54px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}
.highlight {
    background: linear-gradient(130deg, #fff 0%, #777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content > p {
    font-size: 17px;
    color: var(--muted);
    max-width: 460px;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.trusted-by { font-size: 12px; color: #555; }
.platforms {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

/* ── Mockup ──────────────────────────────────────────────── */
.glass-mockup {
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0,0,0,0.55);
}
.mockup-header {
    height: 28px;
    background: #111;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 12px;
}
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #2e2e2e; }

.mockup-body {
    height: 300px;
    background: radial-gradient(ellipse at center, #222 0%, #090909 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 32px;
}

.subtitle-bar {
    background: rgba(0,0,0,0.78);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.subtitle-bar .word { cursor: default; }
.subtitle-bar .highlight-word {
    border-bottom: 1.5px dashed rgba(255,255,255,0.55);
    position: relative;
}
.subtitle-bar .highlight-word::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: rgba(255,255,255,0.18);
    border-radius: 4px;
}

.sm-popup-mockup {
    position: absolute;
    bottom: 96px;
    left: 50%;
    transform: translateX(-50%);
    background: #1c1c1c;
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 230px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.65);
    z-index: 2;
}
.sm-header-m {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sm-word-m  { font-weight: 700; font-size: 16px; }
.sm-tr-m   { font-size: 12px; color: #aaa; margin-top: 2px; }
.close-m   { color: #555; font-size: 12px; cursor: default; }
.sm-body-m { padding: 12px; }
.sm-sentence-m {
    font-size: 11px;
    color: #777;
    background: #111;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 6px;
}
.sm-sentence-tr-m {
    font-size: 10px;
    color: #555;
    font-style: italic;
    margin-bottom: 10px;
    padding: 0 2px;
}
.sm-btn-m {
    background: #f1f1f1;
    color: #111;
    border: none;
    text-align: center;
    padding: 7px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* ── Features ────────────────────────────────────────────── */
.features { padding: 96px 0; }

.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 10px;
}
.section-title p { color: var(--muted); font-size: 17px; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card { padding: 28px 28px 32px; }

.feature-card .icon {
    font-size: 28px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 14px;
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p  { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ── Steps ───────────────────────────────────────────────── */
.steps { padding: 0 0 96px; }

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.step { flex: 1; text-align: center; padding: 0 16px; }
.step-number {
    width: 46px; height: 46px;
    background: var(--text);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 18px;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.step p  { color: var(--muted); font-size: 14px; }

.step-line {
    flex: 0 0 60px;
    height: 1px;
    background: var(--border);
    margin-top: 23px;
}

/* ── CTA ─────────────────────────────────────────────────── */
.cta { padding: 0 0 110px; text-align: center; }
.cta-box { padding: 72px 40px; max-width: 740px; margin: 0 auto; }
.cta-box h2 { font-size: 38px; font-weight: 700; letter-spacing: -1px; margin-bottom: 14px; }
.cta-box p  { color: var(--muted); font-size: 17px; margin-bottom: 32px; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 52px 0 36px;
}
.footer-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.footer-brand img { border-radius: 5px; }
.footer-brand span { font-size: 18px; font-weight: 700; }
.footer-logo p { color: var(--muted); font-size: 13px; }

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

.copyright {
    text-align: center;
    color: #444;
    font-size: 13px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content > p { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .trusted-by, .platforms { text-align: center; }
    .hero-image { max-width: 520px; margin: 0 auto; }
    .hero-content h1 { font-size: 42px; }
}

@media (max-width: 640px) {
    .hero { padding: 120px 0 72px; }
    .hero-content h1 { font-size: 34px; letter-spacing: -1px; }
    .hero-content > p { font-size: 15px; }
    .btn-lg { padding: 12px 22px; font-size: 15px; }
    .mockup-body { height: 360px; }
    .sm-popup-mockup { width: 190px; font-size: 11px; bottom: 100px; }
    .steps-container { flex-direction: column; align-items: center; gap: 36px; }
    .step-line { display: none; }
    .cta-box { padding: 48px 24px; }
    .cta-box h2 { font-size: 28px; }
    .section-title h2 { font-size: 26px; }
    .footer-container { flex-direction: column; gap: 28px; }
}
