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

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

:root {
  --bg:           #0a0a0f;
  --bg2:          #111118;
  --bg3:          #1a1a24;
  --border:       #2a2a3a;
  --accent:       #dab322;
  --accent-dark:  #6e5500;
  --accent-light: #f8dc75;
  --text:         #f0f0f0;
  --text-muted:   #888899;
  --white:        #ffffff;
  --radius:       12px;
  --nav-height:   68px;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }

/* ── Grain texture overlay ────────────────────────────────── */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; }

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.logotype {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid rgba(42, 42, 58, 0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #000 !important;
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
  box-shadow: 0 0 20px rgba(218, 179, 34, 0.35);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--accent);
  color: #000;
}

.btn-gold:hover {
  background: var(--accent-light);
  box-shadow: 0 0 30px rgba(218, 179, 34, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ── Pill label ───────────────────────────────────────────── */
.pill-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(218, 179, 34, 0.12);
  border: 1px solid rgba(218, 179, 34, 0.3);
  color: var(--accent);
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: 100px 2rem;
}

.section-dark { background: var(--bg2); }
.section-darker { background: var(--bg3); }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container-sm {
  max-width: 760px;
  margin: 0 auto;
}

.container-xs {
  max-width: 560px;
  margin: 0 auto;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 2rem 80px;
  overflow: hidden;
  background: var(--bg);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(218,179,34,0.08) 0%, transparent 70%);
  pointer-events: none;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero h1 {
  margin: 20px 0 24px;
  background: linear-gradient(135deg, var(--white) 0%, rgba(240,240,240,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ── Beta card ────────────────────────────────────────────── */
.beta-card {
  display: inline-block;
  text-align: left;
  max-width: 620px;
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 8px;
}

.beta-card strong { color: var(--text); }

/* ── MacBook frame ────────────────────────────────────────── */
.macbook-frame-section {
  padding: 0 2rem 100px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.macbook-wrap {
  display: inline-block;
  position: relative;
  max-width: 900px;
  width: 100%;
  background: linear-gradient(135deg, rgba(218,179,34,0.2), rgba(110,85,0,0.2));
  border-radius: 16px;
  padding: 3px;
}

.macbook-inner {
  background: var(--bg3);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.macbook-inner img,
.macbook-inner svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-caption {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* ── What is Cipher ───────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col .col-lead {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
}

.two-col .col-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Feature cards ────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  border-color: rgba(218, 179, 34, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(218,179,34,0.1);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(218,179,34,0.5));
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Screenshot placeholder section ──────────────────────── */
.screenshot-frame {
  aspect-ratio: 16 / 9;
  background: var(--bg3);
  border: 1px solid rgba(218,179,34,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 960px;
}

.screenshot-frame svg {
  width: 100%;
  height: 100%;
}

/* ── Social proof ─────────────────────────────────────────── */
.social-proof {
  text-align: center;
  padding: 80px 2rem;
}

.social-proof p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.social-proof .highlight {
  color: var(--accent);
  font-weight: 600;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.testimonial-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card cite {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  font-style: normal;
}

.testimonial-card .cite-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

/* ── Private beta section ─────────────────────────────────── */
.beta-section {
  padding: 100px 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.beta-section h2 {
  color: var(--accent);
  margin-bottom: 24px;
}

.beta-body {
  max-width: 660px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.beta-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Final CTA ────────────────────────────────────────────── */
.final-cta {
  position: relative;
  padding: 120px 2rem;
  text-align: center;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(218,179,34,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.final-cta h2 {
  position: relative;
  margin-bottom: 36px;
}

.final-cta .cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 24px;
}

.final-cta .cta-note {
  position: relative;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Page banner ──────────────────────────────────────────── */
.page-banner {
  background: rgba(218, 179, 34, 0.08);
  border-bottom: 1px solid rgba(218, 179, 34, 0.2);
  padding: 14px 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--nav-height);
}

.page-banner strong { color: var(--accent); }

/* ── Page hero ────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-height) + 80px) 2rem 80px;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(218,179,34,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 { position: relative; z-index: 1; margin-bottom: 16px; }
.page-hero p  { position: relative; z-index: 1; color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ── Features page ────────────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child { border-bottom: none; }

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.feature-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.feature-img-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--bg3);
  border: 1px solid rgba(218,179,34,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Try It Out ───────────────────────────────────────────── */
.info-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
}

.demo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 32px;
}

.demo-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
}

.demo-card:hover {
  border-color: rgba(218,179,34,0.4);
  transform: translateY(-3px);
}

.demo-card .song-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.demo-card .genre-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(218,179,34,0.1);
  color: var(--accent);
  border: 1px solid rgba(218,179,34,0.2);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.demo-card .key-badge {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.demo-card .key-badge span {
  color: var(--text);
  font-weight: 600;
}

/* ── Download page ────────────────────────────────────────── */
.download-form-wrap {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(218,179,34,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

.feature-list {
  list-style: none;
  max-width: 520px;
  margin: 0 auto;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: -1px;
}

.coming-list {
  list-style: none;
  max-width: 520px;
  margin: 0 auto;
}

.coming-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.coming-list li::before {
  content: '→';
  color: var(--accent-dark);
  flex-shrink: 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px auto;
  max-width: 520px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  text-align: center;
}

/* ── Thank-you state ──────────────────────────────────────── */
.thank-you-msg {
  display: none;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg2);
  border: 1px solid rgba(218,179,34,0.3);
  border-radius: var(--radius);
  max-width: 480px;
  margin: 0 auto;
}

.thank-you-msg h3 {
  color: var(--accent);
  margin-bottom: 12px;
}

.thank-you-msg p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Beta forms ───────────────────────────────────────────── */
.beta-forms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.form-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.form-card .form-card-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ── About page ───────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.about-photo {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.about-text h2 { margin-bottom: 24px; }

.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.social-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}

.social-link:hover { color: var(--accent); }

.brand-credit {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 2rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand img { width: 20px; height: 20px; object-fit: contain; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.footer-social a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-social a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ── Fade-in animation (JS-driven) ───────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ── Gold glow pulse ──────────────────────────────────────── */
@keyframes goldGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(218,179,34,0.3), 0 4px 16px rgba(0,0,0,0.4); }
  50%       { box-shadow: 0 0 40px rgba(218,179,34,0.5), 0 4px 16px rgba(0,0,0,0.4); }
}

.btn-gold-pulse { animation: goldGlow 3s ease-in-out infinite; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid        { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .beta-forms-grid   { grid-template-columns: repeat(2, 1fr); }
  .about-grid        { grid-template-columns: 1fr; gap: 40px; }
  .about-photo       { max-width: 160px; }
  .about-social      { align-items: flex-start; }
  .feature-row       { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(20px);
    padding: 24px 2rem 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  .nav-links a { font-size: 1rem; }

  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .cards-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .beta-forms-grid { grid-template-columns: 1fr; }
  .demo-cards { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand { align-items: center; }
  .footer-brand .brand-row { justify-content: center; }
  .footer-social { align-items: center; }
  .footer-links { flex-direction: row; flex-wrap: wrap; justify-content: center; }

  .section { padding: 72px 1.25rem; }

  .hero h1 { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; align-items: center; }

  .macbook-frame-section { padding: 0 1.25rem 72px; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  h1   { font-size: 1.9rem; }
}
