/* ==============================
   SONATA — WEBSITE STYLES
   tecnobros.dev / Ilyas (1ly4s0)
============================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/* ===== VARIABLES ===== */
:root {
  --primary: #e8472e;
  --primary-dark: #c73a23;
  --primary-light: #ff6b4a;
  --primary-glow: rgba(232, 71, 46, 0.22);

  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --bg-dark: #0d0d0d;
  --bg-dark2: #111111;
  --bg-card: #1a1a1a;

  --text: #1a1a1a;
  --text-sec: #666666;
  --text-muted: #999999;
  --text-inv: #ffffff;
  --text-inv-sec: rgba(255, 255, 255, 0.55);

  --border: #e8e8e8;
  --border-dark: #222222;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.28);

  --nav-h: 64px;
  --max-w: 1100px;
  --t: 0.2s ease;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-sec);
  line-height: 1.7;
  max-width: 540px;
  margin: 14px auto 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--primary-glow);
}
.btn-ghost-inv {
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.btn-ghost-inv:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
}
.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
  border-radius: var(--radius);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 200;
  transition:
    background var(--t),
    box-shadow var(--t);
}
.nav.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  padding: 7px 12px;
  border-radius: var(--radius-xs);
  transition:
    color var(--t),
    background var(--t);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-cta {
  margin-left: 12px;
}

/* ── Language switcher ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 12px;
}
.lang-btn {
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.35);
  padding: 4px 7px;
  border-radius: 5px;
  cursor: pointer;
  transition:
    color var(--t),
    background var(--t);
  line-height: 1;
}
.lang-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.lang-btn.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--t);
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 56px) 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -250px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(232, 71, 46, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(232, 71, 46, 0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 72px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 71, 46, 0.12);
  border: 1px solid rgba(232, 71, 46, 0.3);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}
.hero-title {
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 900;
  color: #fff;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero-title span {
  color: var(--primary);
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.hero-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

/* ===== PHONE MOCKUP ===== */
.phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone-wrap::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(232, 71, 46, 0.25) 0%,
    transparent 70%
  );
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 248px;
  background: #0d0d0d;
  border-radius: 48px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 40px 100px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.phone-notch {
  width: 88px;
  height: 28px;
  background: #0d0d0d;
  border-radius: 0 0 20px 20px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-notch::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e1e1e;
}
.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #141414;
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
}
.phone-screen-header {
  padding: 14px 14px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-screen-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.phone-screen-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-chips {
  display: flex;
  gap: 5px;
  padding: 0 14px 10px;
  overflow: hidden;
}
.phone-chip {
  height: 20px;
  border-radius: 10px;
  background: #222;
}
.phone-chip.active {
  background: var(--primary);
  width: 40px;
}
.phone-chip:not(.active) {
  width: 28px;
}
.phone-song-list {
  flex: 1;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}
.phone-song-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px;
  border-radius: 8px;
}
.phone-song-item.active {
  background: rgba(232, 71, 46, 0.12);
}
.phone-song-art {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  flex-shrink: 0;
}
.phone-song-info {
  flex: 1;
  min-width: 0;
}
.phone-song-line {
  height: 5px;
  border-radius: 3px;
  background: #2a2a2a;
  margin-bottom: 4px;
}
.phone-song-line.wide {
  width: 75%;
}
.phone-song-line.short {
  width: 50%;
}
.phone-song-line.active {
  background: var(--primary);
}
.phone-song-line.sub {
  background: #222;
}
.phone-mini-player {
  margin: 6px 8px;
  padding: 9px 12px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-mini-art {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.phone-mini-info {
  flex: 1;
}
.phone-mini-line {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.phone-mini-line.short {
  width: 60%;
  background: rgba(255, 255, 255, 0.3);
}
.phone-mini-controls {
  display: flex;
  gap: 5px;
}
.phone-mini-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.phone-mini-btn.play {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.9);
}
.phone-nav-bar {
  height: 44px;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 20px;
}
.phone-nav-icon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333;
}
.phone-nav-icon.active {
  background: var(--primary);
}

/* ===== SCREENSHOTS ===== */
.screenshots {
  padding: 96px 0;
  background: var(--bg-alt);
  overflow-x: clip;
}
.screenshots-header {
  text-align: center;
  margin-bottom: 52px;
}
.screenshots-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 8px 24px 40px;
}
.shot-frame {
  flex-shrink: 0;
  width: 200px;
  background: #111;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: transform var(--t);
}
.shot-frame:hover {
  transform: translateY(-6px);
}
.shot-screen {
  border-radius: 20px;
  aspect-ratio: 10 / 18.5;
  overflow: hidden;
  position: relative;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  text-align: center;
}
.shot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.shot-placeholder-icon {
  font-size: 28px;
  line-height: 1;
}
.shot-placeholder-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
}
.shot-placeholder-sub {
  font-size: 8.5px;
  color: #383838;
  line-height: 1.5;
}
.shot-placeholder-bar {
  width: 60%;
  height: 3px;
  border-radius: 2px;
  margin: 2px auto;
}
.shot-placeholder-bar-line {
  width: 80%;
  height: 3px;
  border-radius: 2px;
  background: #2a2a2a;
  margin: 2px auto;
}
.shot-frame-label {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 500;
}
.screenshots-note {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.screenshots-note code {
  font-family: monospace;
  background: var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* ===== FEATURES ===== */
.features {
  padding: 96px 0;
  background: var(--bg);
}
.features-header {
  margin-bottom: 56px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition:
    box-shadow var(--t),
    transform var(--t),
    border-color var(--t);
}
.feat-card:hover {
  box-shadow: var(--shadow);
  border-color: #d8d8d8;
  transform: translateY(-3px);
}
.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(232, 71, 46, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feat-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feat-desc {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ===== OPEN SOURCE ===== */
.opensource {
  padding: 80px 0;
  background: var(--bg-dark);
}
.opensource-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.opensource-content {
  flex: 1;
  min-width: 280px;
}
.opensource-actions {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.opensource-title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.opensource-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 500px;
}
.github-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--t);
}
.github-btn:hover {
  background: #eaeaea;
  transform: translateY(-1px);
}
.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-top: 20px;
}
.license-badge strong {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== CREDITS ===== */
.credits {
  padding: 100px 0;
  background: var(--bg-dark2);
}
.credits-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.credits-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 22px;
  margin-bottom: 28px;
  box-shadow: 0 16px 48px rgba(232, 71, 46, 0.35);
}
.credits-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.credits-title {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.credits-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  margin-bottom: 40px;
}
.credits-chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.credits-chip {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}
.credits-chip strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  display: block;
}
.credits-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-logo-icon {
  width: 26px;
  height: 26px;
  background: var(--primary);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-text {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-links {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  padding: 4px 10px;
  border-radius: 4px;
  transition: color var(--t);
}
.footer-link:hover {
  color: rgba(255, 255, 255, 0.85);
}
.footer-divider {
  color: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  padding: 0 2px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.22);
}

/* ===== DOCUMENT PAGES (privacy / terms) ===== */
.doc-hero {
  background: var(--bg-dark);
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative;
  overflow: hidden;
}
.doc-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(232, 71, 46, 0.1) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.doc-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.doc-hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.doc-hero-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
}
.doc-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 48px;
  transition: gap var(--t);
}
.doc-back:hover {
  gap: 10px;
}
.doc-back svg {
  flex-shrink: 0;
}
.doc-content h2 {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 48px 0 14px;
}
.doc-content h2:first-of-type {
  margin-top: 0;
}
.doc-content p {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 16px;
}
.doc-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.doc-content ul li {
  list-style: disc;
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 6px;
}
.doc-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t);
}
.doc-content a:hover {
  text-decoration-color: var(--primary);
}
.doc-info-box {
  background: rgba(232, 71, 46, 0.06);
  border: 1px solid rgba(232, 71, 46, 0.15);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.doc-info-box p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}
.doc-divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}
.reveal-delay-5 {
  transition-delay: 0.4s;
}
.reveal-delay-6 {
  transition-delay: 0.48s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }
  .hero-subtitle {
    margin: 0 auto 38px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .phone-wrap {
    order: -1;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .opensource-inner {
    flex-direction: column;
    text-align: center;
  }
  .opensource-actions {
    justify-content: center;
  }
  .opensource-desc {
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    padding: 28px 24px;
    gap: 4px;
    z-index: 100;
  }
  .nav-links.open .nav-link {
    font-size: 18px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
  }
  .nav-links.open .nav-cta {
    margin-left: 0;
    margin-top: 16px;
  }
  .nav-hamburger {
    display: flex;
  }
  .lang-switcher {
    margin-left: 0;
    margin-top: 12px;
    justify-content: center;
  }
  /* Show lang switcher inside open mobile menu */
  .nav-links.open ~ .lang-switcher,
  .nav-inner .lang-switcher {
    display: flex;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}
