/* ==========================================================================
   ClipFlow — Design tokens
   ========================================================================== */

:root {
  --bg: #0B1220;
  --bg-elevated: #0E1626;
  --card: #161E2E;
  --card-border: rgba(255, 255, 255, 0.07);
  --primary: #4F7CFF;
  --primary-dim: #3A5FCC;
  --accent: #5EEAD4;
  --text: #FFFFFF;
  --text-secondary: #A3B1C6;
  --text-muted: #6B7A94;

  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', 'Manrope', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container-w: 1180px;

  --shadow-card: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Reset
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

input, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 28px;
}

.container--narrow {
  max-width: 760px;
}

/* subtle grain to keep the dark gradient from looking flat */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #6A93FF 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(79, 124, 255, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(79, 124, 255, 0.75);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

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

.btn-small {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.brand-mark {
  display: inline-flex;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

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

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(79, 124, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #0B1220 0%, #0A0F1C 55%, #090D18 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black 20%, transparent 80%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.hero-glow--1 {
  width: 480px;
  height: 480px;
  top: -120px;
  left: -80px;
  background: var(--primary);
  animation: drift1 22s ease-in-out infinite;
}

.hero-glow--2 {
  width: 420px;
  height: 420px;
  bottom: -140px;
  right: -100px;
  background: var(--accent);
  opacity: 0.18;
  animation: drift2 26s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -25px) scale(1.06); }
}

.clip-field {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.clip-card {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 200px;
  padding: 14px 16px;
  background: linear-gradient(160deg, rgba(22, 30, 46, 0.9), rgba(14, 22, 38, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: rotate(var(--rot)) translateY(30px);
  animation:
    clip-in 1s var(--ease) forwards,
    clip-float var(--dur) ease-in-out infinite;
  animation-delay: var(--delay), calc(var(--delay) + 1s);
}

.clip-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-family: 'SF Mono', 'Menlo', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clip-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.clip-tag--pin { color: var(--accent); }

.clip-url-row, .clip-color-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.favicon-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--primary), #8AB0FF);
  flex-shrink: 0;
}

.favicon-dot--alt {
  background: linear-gradient(135deg, #FF7A59, #FFB199);
}

.color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.15);
}

@keyframes clip-in {
  to { opacity: 1; transform: rotate(var(--rot)) translateY(0); }
}

@keyframes clip-float {
  0%, 100% { transform: rotate(var(--rot)) translateY(0px); }
  50% { transform: rotate(calc(var(--rot) * -1)) translateY(-16px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 100px;
  background: rgba(94, 234, 212, 0.06);
}

.eyebrow--center { display: block; width: fit-content; margin-inline: auto; }

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  margin-bottom: 22px;
}

.brand-word {
  display: block;
  font-size: 0.34em;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 38px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reveal {
  animation: rise 0.9s var(--ease) both;
}
.hero-title.reveal { animation-delay: 0.05s; }
.hero-sub.reveal { animation-delay: 0.15s; }
.hero-actions.reveal { animation-delay: 0.25s; }
.hero-meta.reveal { animation-delay: 0.35s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Section shared
   ========================================================================== */

section { position: relative; padding: 120px 0; }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-title--center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 16px; }

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-sub--center { text-align: center; margin-inline: auto; }

.features .eyebrow--center,
.screenshots .eyebrow--center,
.comparison .eyebrow--center,
.roadmap .eyebrow--center,
.faq .eyebrow--center,
.contact .eyebrow--center {
  display: block;
  width: fit-content;
  margin: 0 auto 18px;
}

.features .section-sub--center,
.screenshots .section-sub--center {
  margin-bottom: 64px;
}

/* scroll reveal helper */
.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Features
   ========================================================================== */

.features { background: var(--bg); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 124, 255, 0.35);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(79, 124, 255, 0.12);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* ==========================================================================
   Screenshots / device mockup
   ========================================================================== */

.screenshots { background: var(--bg-elevated); }

.mockup-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.mockup-tab {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
  transition: all 0.25s var(--ease);
}

.mockup-tab:hover { color: var(--text); }

.mockup-tab.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.mockup-stage {
  display: flex;
  justify-content: center;
}

.device-frame {
  width: 100%;
  max-width: 760px;
  background: #0D1424;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #101A2C;
  border-bottom: 1px solid var(--card-border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #FF5F57; }
.dot--y { background: #FEBC2E; }
.dot--g { background: #28C840; }

.device-title {
  margin-left: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.device-screen {
  display: flex;
  min-height: 340px;
}

.mock-view {
  display: none;
  width: 100%;
}

.mock-view.is-active {
  display: flex;
  animation: rise 0.5s var(--ease) both;
}

#mock-search.is-active,
#mock-pinned.is-active,
#mock-settings.is-active {
  display: block;
  padding: 24px;
}

.mock-sidebar {
  width: 160px;
  flex-shrink: 0;
  background: #0B1220;
  border-right: 1px solid var(--card-border);
  padding: 18px 12px;
}

.mock-sidebar-item {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.mock-sidebar-item.is-active {
  background: rgba(79, 124, 255, 0.15);
  color: var(--primary);
  font-weight: 600;
}

.mock-list { flex: 1; padding: 18px; }

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  margin-bottom: 4px;
}

.mock-row:hover { background: rgba(255, 255, 255, 0.03); }

.mock-row-icon { font-size: 1.1rem; }

.mock-row p { font-size: 0.88rem; color: var(--text); }
.mock-row span { font-size: 0.74rem; color: var(--text-muted); }
.mock-row em { color: var(--accent); font-style: normal; }

.mock-row--pinned { background: rgba(94, 234, 212, 0.06); }

.mock-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0B1220;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: var(--text);
}

.mock-caret {
  width: 1px;
  height: 16px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.mock-settings-list { display: flex; flex-direction: column; gap: 2px; }

.mock-setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.9rem;
}

.mock-toggle {
  width: 38px;
  height: 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.mock-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform 0.2s ease;
}

.mock-toggle.is-on { background: rgba(79, 124, 255, 0.4); }
.mock-toggle.is-on::after { background: var(--primary); transform: translateX(16px); }

.mock-select {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 5px 12px;
  border: 1px solid var(--card-border);
  border-radius: 100px;
}

/* ==========================================================================
   Comparison table
   ========================================================================== */

.comparison { background: var(--bg); }

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: var(--card);
}

.compare-table th, .compare-table td {
  padding: 18px 24px;
  text-align: center;
  font-size: 0.94rem;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--card-border);
}

.compare-table th[scope="row"] {
  text-align: left;
  color: var(--text-secondary);
  font-weight: 500;
  font-family: var(--font-body);
}

.compare-table tbody tr:not(:last-child) th,
.compare-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--card-border);
}

.compare-highlight {
  background: rgba(79, 124, 255, 0.08);
}

thead .compare-highlight {
  color: var(--primary);
}

.check { color: var(--accent); }
.cross { color: var(--text-muted); opacity: 0.6; }
.limited { color: #FBBF77; font-size: 0.82rem; font-weight: 500; }

/* ==========================================================================
   Download
   ========================================================================== */

.download { background: var(--bg-elevated); }

.download-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.12), rgba(94, 234, 212, 0.05));
  border: 1px solid rgba(79, 124, 255, 0.25);
  border-radius: 28px;
  padding: 60px;
  overflow: hidden;
}

.download-copy { max-width: 520px; }
.download-copy .section-title { margin-bottom: 14px; }
.download-copy .section-sub { margin-bottom: 30px; }

.download-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.download-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.download-visual {
  position: relative;
  width: 220px;
  height: 200px;
  flex-shrink: 0;
}

.mini-clip {
  position: absolute;
  width: 150px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(22, 30, 46, 0.95), rgba(14, 22, 38, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
}

.mini-clip--1 { top: 0; right: 30px; transform: rotate(-6deg); animation: clip-float 9s ease-in-out infinite; }
.mini-clip--2 { top: 60px; right: 90px; transform: rotate(4deg); animation: clip-float 11s ease-in-out infinite 0.5s; background: linear-gradient(160deg, rgba(79,124,255,0.18), rgba(14, 22, 38, 0.9)); }
.mini-clip--3 { top: 120px; right: 10px; transform: rotate(-3deg); animation: clip-float 10s ease-in-out infinite 1s; background: linear-gradient(160deg, rgba(94,234,212,0.14), rgba(14, 22, 38, 0.9)); }

/* ==========================================================================
   Roadmap
   ========================================================================== */

.roadmap { background: var(--bg); }

.roadmap-list {
  max-width: 620px;
  margin: 60px auto 0;
  position: relative;
}

.roadmap-list::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--card-border) 60%);
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  position: relative;
}

.roadmap-marker {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--card);
  border: 2px solid var(--card-border);
  color: var(--text-muted);
  z-index: 1;
}

.roadmap-item.is-done .roadmap-marker {
  background: rgba(94, 234, 212, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.roadmap-label {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.roadmap-item.is-done .roadmap-label {
  color: var(--text);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { background: var(--bg-elevated); }

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
}

.faq-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(225deg);
  border-color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { background: var(--bg); }

.contact-form {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-row input, .form-row textarea {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  transition: border-color 0.25s ease;
  resize: vertical;
}

.form-row input:focus, .form-row textarea:focus {
  border-color: var(--primary);
  outline: none;
}

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

.contact-form .btn { align-self: flex-start; }

.form-status {
  font-size: 0.88rem;
  color: var(--accent);
  min-height: 1.2em;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--card-border);
  padding-top: 56px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--card-border);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

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

.footer-copy {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 24px 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .clip-card { width: 170px; }
  .download-panel { flex-direction: column; text-align: center; padding: 44px 32px; }
  .download-copy { max-width: 100%; }
  .download-buttons { justify-content: center; }
  .download-visual { display: none; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(11, 18, 32, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--card-border);
    padding: 8px 28px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .feature-grid { grid-template-columns: 1fr; }

  section { padding: 80px 0; }

  .device-screen { flex-direction: column; }
  .mock-sidebar { width: 100%; display: flex; gap: 8px; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--card-border); }

  .clip-card:nth-child(4), .clip-card:nth-child(6) { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.1rem; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .download-buttons .btn { width: 100%; }
  .clip-card { width: 140px; padding: 10px 12px; }
  .clip-card p { font-size: 0.72rem; }
}
