/* Landing Page — uses design-system.css variables */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter Tight', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── Nav ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 24px; height: 56px;
    background: rgba(15,15,15,0.9);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}
.nav-logo {
    font-size: 18px; font-weight: 800; color: var(--text-primary);
    text-decoration: none; letter-spacing: -0.02em;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-lang {
    background: none; border: 1px solid var(--border-default);
    color: var(--text-tertiary); font-size: 12px; font-weight: 500;
    padding: 5px 10px; border-radius: 4px; cursor: pointer;
    transition: all var(--transition-fast);
}
.nav-lang:hover { color: var(--text-secondary); border-color: var(--border-strong); }
.nav-cta {
    padding: 8px 20px; font-size: 13px; font-weight: 600;
    background: var(--accent-primary); color: #fff; border: none;
    border-radius: var(--radius-md); text-decoration: none;
    transition: all var(--transition-normal);
}
.nav-cta:hover { background: var(--accent-primary-hover); transform: translateY(-1px); }

/* ── Hero ── */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 100px 24px 80px; max-width: 1200px; margin: 0 auto;
    gap: 64px;
}
.hero-left { flex: 1; max-width: 520px; }
.hero-right { flex: 1; max-width: 520px; }

.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px; margin-bottom: 24px;
    background: var(--bg-secondary); border: 1px solid var(--border-subtle);
    border-radius: 9999px; font-size: 12px; color: var(--text-tertiary);
}
.hero-tag strong { color: var(--accent-primary); font-weight: 600; }

.hero h1 {
    font-size: clamp(36px, 6vw, 56px); font-weight: 800;
    line-height: 1.08; letter-spacing: -0.035em;
    margin-bottom: 20px;
}
.hero-sub {
    font-size: 17px; color: var(--text-tertiary);
    line-height: 1.65; margin-bottom: 32px; max-width: 440px;
}
.hero-actions { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }

.btn-hero {
    display: inline-block;
    padding: 13px 28px; font-size: 15px; font-weight: 700;
    background: var(--accent-primary); color: #fff; border: none;
    border-radius: var(--radius-lg); text-decoration: none;
    transition: all var(--transition-normal); cursor: pointer;
}
.btn-hero:hover { background: var(--accent-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-accent); }

.btn-ghost {
    display: inline-block;
    padding: 13px 28px; font-size: 15px; font-weight: 600;
    background: transparent; color: var(--text-secondary);
    border: 1px solid var(--border-default); border-radius: var(--radius-lg);
    text-decoration: none; transition: all var(--transition-normal); cursor: pointer;
}
.btn-ghost:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

.hero-proof {
    display: flex; gap: 20px; flex-wrap: wrap;
    font-size: 13px; color: var(--text-disabled);
}
.hero-proof span { display: flex; align-items: center; gap: 5px; }
.hero-proof svg { width: 14px; height: 14px; stroke: var(--accent-primary); fill: none; stroke-width: 2; }

/* Hero showcase grid */
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    width: 100%;
}
.hero-gif {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--bg-secondary); border: 1px solid var(--border-subtle);
    aspect-ratio: 1; transition: all 0.25s;
}
.hero-gif-main { grid-row: span 2; aspect-ratio: auto; }
.hero-gif img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-gif:hover { border-color: var(--accent-primary-muted); transform: scale(1.01); }

/* ── Section base ── */
.section { padding: 100px 24px; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-label {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--accent-primary);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(24px, 4vw, 36px); font-weight: 700;
    letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.15;
}
.section-desc {
    font-size: 16px; color: var(--text-tertiary);
    line-height: 1.6; max-width: 560px; margin-bottom: 48px;
}
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* ── Steps ── */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card {
    padding: 28px 24px; background: var(--bg-secondary);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
    transition: border-color var(--transition-normal);
}
.step-card:hover { border-color: var(--accent-primary-muted); }
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--accent-primary-muted); color: var(--accent-primary);
    font-size: 14px; font-weight: 700; margin-bottom: 16px;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-tertiary); line-height: 1.55; }

/* ── Showcase ── */
.showcase-bg {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.showcase-card {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--bg-elevated); border: 1px solid var(--border-subtle);
    aspect-ratio: 1; transition: all 0.25s; cursor: pointer;
    position: relative;
}
.showcase-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-card:hover { border-color: var(--accent-primary-muted); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.showcase-label {
    position: absolute; bottom: 8px; left: 8px;
    padding: 3px 10px; font-size: 11px; font-weight: 600;
    background: rgba(15,15,15,0.85); backdrop-filter: blur(6px);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-full);
    color: var(--text-secondary);
}

/* ── Features ── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
    padding: 24px; background: var(--bg-secondary);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}
.feat-card:hover { border-color: var(--accent-primary-muted); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feat-icon {
    width: 36px; height: 36px; border-radius: var(--radius-md);
    background: var(--accent-primary-muted); display: flex;
    align-items: center; justify-content: center; margin-bottom: 16px;
}
.feat-icon svg { width: 18px; height: 18px; stroke: var(--accent-primary); fill: none; stroke-width: 1.5; }
.feat-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feat-card p { font-size: 13px; color: var(--text-tertiary); line-height: 1.55; }

/* ── Use cases ── */
.uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uc-card {
    padding: 20px; background: var(--bg-secondary);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
    transition: border-color var(--transition-normal);
}
.uc-card:hover { border-color: var(--accent-primary-muted); }
.uc-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.uc-card p { font-size: 13px; color: var(--text-tertiary); line-height: 1.5; }

/* ── CTA ── */
.cta-section { text-align: center; padding: 120px 24px; position: relative; }
.cta-section::before {
    content: ''; position: absolute; top: 0; left: 50%;
    transform: translateX(-50%); width: 50%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}
.cta-section h2 {
    font-size: clamp(24px, 4vw, 40px); font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 12px;
}
.cta-section p { font-size: 16px; color: var(--text-tertiary); margin-bottom: 32px; }
.cta-note { margin-top: 16px; font-size: 13px; color: var(--text-disabled); }

/* ── Footer ── */
.footer {
    padding: 24px; display: flex; justify-content: space-between;
    align-items: center; border-top: 1px solid var(--border-subtle);
    font-size: 12px; color: var(--text-disabled);
}
.footer a { color: var(--text-disabled); text-decoration: none; }
.footer a:hover { color: var(--text-tertiary); }
.footer-langs { display: flex; gap: 6px; }
.footer-lang {
    background: none; border: 1px solid var(--border-subtle);
    color: var(--text-disabled); font-size: 11px; padding: 3px 8px;
    border-radius: 3px; cursor: pointer; transition: all var(--transition-fast);
}
.footer-lang:hover, .footer-lang.active { color: var(--text-tertiary); border-color: var(--border-default); }

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; gap: 48px; padding-top: 80px; }
    .hero-left { max-width: 100%; }
    .hero-right { max-width: 400px; }
    .hero-sub { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-proof { justify-content: center; }
    .feat-grid { grid-template-columns: 1fr 1fr; }
    .uc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-gif-main { grid-row: auto; aspect-ratio: 1; }
    .steps-row { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr 1fr; }
    .uc-grid { grid-template-columns: 1fr; }
    .nav-cta { display: none; }
    .footer { flex-direction: column; gap: 12px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
