/* ═══════════════════════════════════════════════
   OVERSONG — app.css  (homepage redesign)
═══════════════════════════════════════════════ */

:root {
  --bg:       #080810;
  --bg2:      #0f0f1a;
  --surface:  #14142a;
  --border:   rgba(255,255,255,.07);
  --text:     #f0f0f8;
  --muted:    rgba(255,255,255,.42);
  --primary:  #a855f7;
  --primary2: #9333ea;
  --accent:   #22c55e;
  --danger:   #ef4444;
  --warning:  #f59e0b;
  --r:        14px;
  --r-sm:     8px;
  --shadow:   0 8px 40px rgba(0,0,0,.55);
  --ease:     all .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--ease); }
a:hover { color: var(--primary2); }

/* ── Navbar ──────────────────────────────────── */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 64px;
    background: rgba(8,8,16,.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -.3px;
}
.navbar-brand svg { color: var(--primary); }
.navbar-brand:hover { color: var(--primary); }

.navbar-links {
    display: flex;
    align-items: center;
    gap: .3rem;
}

.navbar-links > a {
    color: var(--muted);
    font-size: .875rem;
    padding: .4rem .8rem;
    border-radius: var(--r-sm);
    transition: var(--ease);
}
.navbar-links > a:hover { color: var(--text); background: rgba(255,255,255,.05); }

.btn-nav {
    background: rgba(168,85,247,.1) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(168,85,247,.25) !important;
    font-weight: 600;
    padding: .4rem 1rem !important;
    border-radius: var(--r-sm);
}
.btn-nav:hover { background: rgba(168,85,247,.2) !important; }
.btn-admin  { background: rgba(234,179,8,.1) !important; color: #fbbf24 !important; border-color: rgba(234,179,8,.25) !important; }
.btn-logout { background: rgba(239,68,68,.08) !important; color: #f87171 !important; border-color: rgba(239,68,68,.2) !important; }

/* Lang switcher */
.lang-switcher { display: flex; gap: 2px; margin-left: .5rem; }
.lang-btn {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; font-size: .95rem;
    color: var(--muted) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transition: var(--ease);
}
.lang-btn:hover, .lang-btn.active {
    background: rgba(255,255,255,.06) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

/* ── Layout ──────────────────────────────────── */
main { flex: 1; width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }

/* ── Footer ──────────────────────────────────── */
.footer {
    text-align: center;
    padding: 2.5rem 2rem;
    color: var(--muted);
    font-size: .85rem;
    border-top: 1px solid var(--border);
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--primary); }
.footer-copy { margin-top: .25rem; opacity: .4; }

/* ── Buttons globaux ─────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem 1.4rem; border-radius: var(--r-sm);
    font-weight: 600; font-size: .95rem; cursor: pointer;
    border: none; transition: var(--ease); text-decoration: none;
}
.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover  { background: var(--primary2); color: #fff; transform: translateY(-1px); }
.btn-ghost    { background: transparent; color: var(--text); border: 1px solid var(--border) !important; }
.btn-ghost:hover    { border-color: var(--primary) !important; color: var(--primary); }
.btn-danger   { background: var(--danger); color: #fff; }
.btn-danger:hover   { opacity: .85; }
.btn-success  { background: var(--accent); color: #fff; }
.btn-spotify  { background: #1db954; color: #fff; }
.btn-spotify:hover  { background: #17a348; color: #fff; }
.btn-sm   { padding: .35rem .9rem; font-size: .85rem; }
.btn-lg   { padding: .85rem 2rem; font-size: 1rem; }

/* ── Alerts ──────────────────────────────────── */
.alert {
    display: flex; align-items: center; justify-content: space-between;
    padding: .9rem 1.4rem; border-radius: var(--r-sm);
    font-weight: 600; margin: 1rem 2rem; gap: 1rem;
}
.alert-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #4ade80; }
.alert-error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: #f87171; }
.alert-warning { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); color: #fbbf24; }
.alert-info    { background: rgba(168,85,247,.1); border: 1px solid rgba(168,85,247,.3); color: var(--primary); }
.alert button  { background: none; border: none; color: inherit; cursor: pointer; font-size: 1rem; }

/* ── Error pages ─────────────────────────────── */
.error-page {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-height: 60vh; text-align: center;
    gap: 1rem; padding: 2rem;
}
.error-code   { font-size: 6rem; font-weight: 900; color: var(--primary); line-height: 1; }
.error-page h1{ font-size: 1.8rem; }
.error-msg, .error-page p { color: var(--muted); max-width: 600px; }
.error-detail {
    font-family: 'Courier New', monospace; font-size: .8rem;
    color: var(--warning); background: rgba(0,0,0,.4);
    border: 1px solid rgba(245,158,11,.2); border-radius: 8px;
    padding: .75rem 1.25rem; max-width: 700px;
    word-break: break-word; white-space: pre-wrap; text-align: left;
}

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

/* ── Hero ────────────────────────────────────── */
.hp-hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 5rem 2.5rem 4rem;
    position: relative;
    overflow: hidden;
}

/* Fond radial glow */
.hp-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(168,85,247,.12) 0%, transparent 65%);
    pointer-events: none;
}

.hp-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,.08) 0%, transparent 65%);
    pointer-events: none;
}

.hp-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5rem;
    position: relative;
    z-index: 1;
}

.hp-hero-left { flex: 1; }

/* Badge */
.hp-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(168,85,247,.1);
    border: 1px solid rgba(168,85,247,.25);
    color: var(--primary);
    padding: .35rem 1rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    letter-spacing: .01em;
}

/* Titre */
.hp-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.04em;
    margin-bottom: 1.25rem;
}

.hp-title-accent {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hp-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 460px;
}

/* CTA */
.hp-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hp-btn-primary {
    display: inline-flex; align-items: center; gap: .6rem;
    background: var(--primary);
    color: #fff;
    padding: .8rem 1.75rem;
    border-radius: 10px;
    font-weight: 700; font-size: .95rem;
    transition: var(--ease);
    border: none; cursor: pointer; text-decoration: none;
}
.hp-btn-primary:hover {
    background: var(--primary2); color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168,85,247,.35);
}
.hp-btn-primary.hp-btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.hp-btn-ghost {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.05);
    color: var(--muted);
    padding: .8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600; font-size: .95rem;
    border: 1px solid var(--border);
    transition: var(--ease); text-decoration: none;
}
.hp-btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--text); border-color: rgba(255,255,255,.15); }

/* Social proof */
.hp-social-proof {
    display: flex; align-items: center; gap: .75rem;
    color: var(--muted); font-size: .85rem;
}
.hp-avatars { display: flex; }
.hp-av {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 900; color: #fff;
    margin-left: -6px;
}
.hp-av:first-child { margin-left: 0; }
.hp-social-proof strong { color: var(--text); }

/* ── Hero right — stream mockup ────────────────── */
.hp-hero-right {
    flex: 0 0 480px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hp-obs-label {
    display: flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 600; color: var(--muted);
    text-transform: uppercase; letter-spacing: .08em;
}

.hp-obs-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--danger);
    box-shadow: 0 0 8px rgba(239,68,68,.8);
    animation: blink 1.5s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Fond faux stream */
.hp-stream-bg {
    position: relative;
    background: #0a0a12;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    overflow: hidden;
    padding: 2.5rem 1.5rem 1.5rem;
    aspect-ratio: 16/7;
}

/* Lignes de fond simulant un jeu */
.hp-stream-game-overlay {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,.015) 40px,
        rgba(255,255,255,.015) 41px
    );
}

.hp-stream-bars {
    position: absolute; bottom: 0; left: 0; right: 0;
    display: flex; gap: 4px; padding: 0 1rem; height: 40%;
    align-items: flex-end;
}
.hp-stream-bars div {
    flex: 1; border-radius: 2px 2px 0 0;
    background: rgba(168,85,247,.08);
}
.hp-stream-bars div:nth-child(1)  { height: 30%; }
.hp-stream-bars div:nth-child(2)  { height: 55%; }
.hp-stream-bars div:nth-child(3)  { height: 40%; }
.hp-stream-bars div:nth-child(4)  { height: 70%; }
.hp-stream-bars div:nth-child(5)  { height: 45%; }
.hp-stream-bars div:nth-child(6)  { height: 60%; }
.hp-stream-bars div:nth-child(7)  { height: 35%; }
.hp-stream-bars div:nth-child(8)  { height: 80%; }
.hp-stream-bars div:nth-child(9)  { height: 50%; }
.hp-stream-bars div:nth-child(10) { height: 65%; }

/* Widget OverSong réel */
.hp-widget-real {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background: rgba(8,8,16,.88);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: .9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.6);
}

/* Pochette album */
.hp-w-cover { flex-shrink: 0; }

.hp-w-album {
    width: 72px; height: 72px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    animation: vinyl-spin 8s linear infinite;
}
@keyframes vinyl-spin { to { transform: rotate(360deg); } }

.hp-w-album-art {
    width: 100%; height: 100%;
    position: relative;
}
.hp-w-album-art svg { width: 100%; height: 100%; display: block; }
.hp-w-vinyl-spin {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0,0,0,.5) 0%, transparent 40%);
}
/* Trou central vinyle */
.hp-w-album::after {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 12px; height: 12px;
    background: #080810;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
}

/* Infos track */
.hp-w-info { flex: 1; min-width: 0; }

.hp-w-track {
    font-size: .95rem;
    font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: .2rem;
}

.hp-w-artist {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: .65rem;
}

.hp-w-progress {
    display: flex; align-items: center; gap: .5rem;
}

.hp-w-time {
    font-size: .68rem;
    color: rgba(255,255,255,.4);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.hp-w-bar {
    flex: 1; height: 3px;
    background: rgba(255,255,255,.1);
    border-radius: 2px; overflow: hidden;
}

.hp-w-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    position: relative;
}
.hp-w-fill::after {
    content: '';
    position: absolute; right: -1px; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(168,85,247,.8);
}

/* Tag OBS */
.hp-obs-tag {
    position: absolute;
    top: .75rem; right: .75rem;
    display: flex; align-items: center; gap: .35rem;
    background: rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    padding: .2rem .5rem;
    font-size: .7rem;
    color: rgba(255,255,255,.4);
}

/* Compatibilité */
.hp-compat {
    display: flex; align-items: center; gap: 1rem;
    font-size: .8rem; color: var(--muted);
}
.hp-compat-logos { display: flex; gap: .75rem; }
.hp-compat-logo {
    display: flex; align-items: center; gap: .35rem;
    color: var(--muted); font-size: .8rem; font-weight: 500;
}
.hp-compat-logo:hover { color: var(--text); }

/* ── Section labels & titles ─────────────────── */
.hp-section-label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .75rem;
    text-align: center;
}
.hp-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    text-align: center;
    letter-spacing: -.03em;
    margin-bottom: .75rem;
}
.hp-section-sub {
    text-align: center;
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 3.5rem;
    max-width: 520px;
    margin-left: auto; margin-right: auto;
}

/* ── How it works ────────────────────────────── */
.hp-how {
    padding: 6rem 0;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.hp-steps {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hp-step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: var(--ease);
    position: relative;
}
.hp-step:hover {
    border-color: rgba(168,85,247,.3);
    transform: translateY(-3px);
}

.hp-step-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}

.hp-step-num {
    font-size: .7rem;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: .08em;
    margin-bottom: .75rem;
    font-variant-numeric: tabular-nums;
}

.hp-step h3 { font-weight: 700; margin-bottom: .5rem; font-size: .95rem; }
.hp-step p  { color: var(--muted); font-size: .85rem; line-height: 1.6; }

.hp-step-arrow {
    display: flex; align-items: center;
    color: var(--muted); margin-top: 3rem;
    flex-shrink: 0;
}

/* ── Features grid ───────────────────────────── */
.hp-features { padding: 6rem 0; }

.hp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.hp-feat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: var(--ease);
}
.hp-feat:hover {
    border-color: rgba(168,85,247,.25);
    transform: translateY(-2px);
}

.hp-feat-large {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(168,85,247,.06) 0%, rgba(59,130,246,.04) 100%);
}

.hp-feat-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,.05);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}

.hp-feat h3 { font-weight: 700; margin-bottom: .5rem; font-size: .95rem; }
.hp-feat p  { color: var(--muted); font-size: .875rem; line-height: 1.65; }

.hp-feat-badge {
    display: inline-block;
    margin-top: 1rem;
    background: rgba(168,85,247,.1);
    border: 1px solid rgba(168,85,247,.2);
    color: var(--primary);
    font-size: .72rem; font-weight: 700;
    padding: .2rem .7rem; border-radius: 999px;
    letter-spacing: .02em;
}

.hp-feat-cta {
    background: linear-gradient(135deg, rgba(251,191,36,.05) 0%, rgba(249,115,22,.04) 100%);
    border-color: rgba(251,191,36,.15);
    display: flex; flex-direction: column;
}

.hp-feat-link {
    display: inline-flex; align-items: center; gap: .4rem;
    margin-top: auto; padding-top: 1.25rem;
    color: var(--primary);
    font-size: .875rem; font-weight: 600;
    transition: var(--ease);
}
.hp-feat-link:hover { gap: .7rem; color: var(--primary2); }

/* ── Final CTA ───────────────────────────────── */
.hp-final-cta { padding: 6rem 0; }

.hp-cta-card {
    background: linear-gradient(135deg, rgba(168,85,247,.1) 0%, rgba(59,130,246,.06) 100%);
    border: 1px solid rgba(168,85,247,.2);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hp-cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(circle, rgba(168,85,247,.15) 0%, transparent 65%);
    pointer-events: none;
}

.hp-cta-content { position: relative; }
.hp-cta-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900; letter-spacing: -.03em;
    margin-bottom: .75rem;
}
.hp-cta-content p {
    color: var(--muted); margin-bottom: 2rem;
    font-size: 1rem;
}

/* ── Login page ──────────────────────────────── */
.page-login {
    display: flex; flex-direction: column; min-height: 100vh;
}
.page-login main {
    flex: 1; display: flex; align-items: center;
    justify-content: center; padding: 2rem 1rem;
}
.login-wrap { width: 100%; max-width: 440px; }
.back-link {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem;
}
.back-link:hover { color: var(--text); }
.login-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 18px; padding: 2.5rem; text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.login-logo { font-size: 2.5rem; margin-bottom: .5rem; }
.login-card h1 { font-size: 1.5rem; font-weight: 900; margin-bottom: 2rem; }
.oauth-btn {
    display: flex; align-items: center; justify-content: center;
    gap: .75rem; width: 100%; padding: .85rem 1.5rem;
    border-radius: 10px; font-weight: 700; font-size: .95rem;
    cursor: pointer; border: none; text-decoration: none;
    transition: var(--ease); color: #fff; margin-bottom: .6rem;
}
.oauth-discord { background: #5865f2; }
.oauth-discord:hover { background: #4752c4; color: #fff; transform: translateY(-1px); }
.oauth-google  { background: #4285f4; }
.oauth-google:hover  { background: #357ae8; color: #fff; transform: translateY(-1px); }
.divider {
    display: flex; align-items: center; gap: 1rem;
    color: var(--muted); font-size: .82rem; margin: 1.25rem 0;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.login-notice { margin-top: 1.5rem; font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ── Status / Privacy / Dev pages ───────────── */
.status-page { padding: 3rem 2rem; max-width: 700px; margin: 0 auto; }
.status-page h1 { font-size: 1.8rem; font-weight: 900; margin-bottom: .4rem; }
.status-updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.status-list { display: flex; flex-direction: column; gap: 1rem; }
.status-row {
    display: flex; align-items: center; gap: 1.25rem;
    padding: 1.25rem 1.5rem; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--border);
}
.status-row.ok   { border-left: 4px solid var(--accent); }
.status-row.fail { border-left: 4px solid var(--danger); }
.status-dot { font-size: 1.5rem; }
.status-row strong { display: block; font-weight: 700; }
.status-row small  { font-size: .85rem; color: var(--muted); }

.privacy-page, .dev-page { padding: 3rem 2rem; max-width: 760px; margin: 0 auto; }
.privacy-page h1, .dev-page h1 { font-size: 2rem; font-weight: 900; margin-bottom: .4rem; }
.doc-updated, .dev-intro { color: var(--muted); font-size: .9rem; margin-bottom: 2.5rem; }
.doc-section { margin-bottom: 2rem; }
.doc-section h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; color: var(--primary); }
.doc-section p, .dev-section p { color: var(--muted); margin-bottom: .6rem; line-height: 1.7; }
.doc-section ul { color: var(--muted); margin-left: 1.5rem; line-height: 1.9; }
.dev-section { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; margin-bottom: 1.5rem; }
.dev-section h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.endpoint-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.badge-get { padding: .25rem .6rem; border-radius: 4px; font-size: .8rem; font-weight: 800; background: rgba(34,197,94,.12); color: #4ade80; border: 1px solid rgba(34,197,94,.25); }
.code-block { margin-bottom: 1rem; }
.code-label { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .35rem; }
.code-block pre { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; overflow-x: auto; font-size: .82rem; line-height: 1.6; }
.code-block code { color: var(--accent); font-family: 'Courier New', monospace; }
.params-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.params-table th { text-align: left; padding: .5rem .75rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.params-table td { padding: .6rem .75rem; border-bottom: 1px solid rgba(255,255,255,.03); }
.params-table code { color: var(--primary); }

/* ── Maintenance ─────────────────────────────── */
.maintenance-sub { color: var(--muted); font-size: .9rem; margin-top: .5rem; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 960px) {
    .hp-hero-inner { flex-direction: column; gap: 3rem; }
    .hp-hero-right  { width: 100%; max-width: 500px; }
    .hp-hero-left   { text-align: center; }
    .hp-subtitle, .hp-cta, .hp-social-proof { justify-content: center; }
    .hp-subtitle    { margin-left: auto; margin-right: auto; }
    .hp-features-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-feat-large  { grid-column: span 2; }
    .navbar { padding: 0 1.25rem; }
}

@media (max-width: 640px) {
    .hp-hero { padding: 3.5rem 1.5rem 3rem; min-height: auto; }
    .hp-features-grid { grid-template-columns: 1fr; }
    .hp-feat-large { grid-column: span 1; }
    .hp-steps { flex-direction: column; align-items: center; }
    .hp-step-arrow { display: none; }
    .lang-switcher { display: none; }
    .container { padding: 0 1.25rem; }
}
