/* ═══════════════════════════════════════════════════════════
   PANOPTES — Landing Page Styles
   Dark theme matching the Panoptes dashboard UI
═══════════════════════════════════════════════════════════ */

:root {
  --bg-primary:    #0D1117;
  --bg-secondary:  #161B22;
  --bg-card:       #1C2333;
  --accent-green:  #00C896;
  --accent-gold:   #F5A623;
  --text-primary:  #FFFFFF;
  --text-secondary:#8B949E;
  --border:        #30363D;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --radius:        12px;
  --max-width:     1160px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a { text-decoration: none; color: inherit; }
em { font-style: normal; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Container ────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-green);
  color: #0D1117;
}
.btn-primary:hover {
  background: #00e0aa;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 200, 150, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* ── Typography helpers ───────────────────────────────── */
h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 24px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.highlight { color: var(--accent-green); }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent-green);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent-green);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.section-body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 48px;
}

/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--text-primary);
}

/* Nav links — hidden on mobile by default */
.nav-links {
  display: none;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

/* CTA buttons — show primary only on mobile */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* Hide the outline "Book a Demo" button on mobile */
.nav-actions .btn-outline {
  display: none;
}

/* Hamburger — visible on mobile by default */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — full-width dropdown, hidden until .open */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.98);
  gap: 2px;
}
.mobile-menu.open { display: flex; }

.mobile-link {
  padding: 13px 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.mobile-link:last-of-type { border-bottom: none; }
.mobile-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.mobile-menu-actions .btn { width: 100%; justify-content: center; font-size: 15px; }

/* ── Sticky CTA (mobile + desktop) ────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  padding: 16px 28px;
  background: var(--accent-green);
  color: #0D1117;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 200, 150, 0.4), 0 0 30px rgba(0, 200, 150, 0.25);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.3s ease, box-shadow 0.2s;
  pointer-events: none;
  white-space: nowrap;
}
.sticky-cta:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 200, 150, 0.6), 0 0 36px rgba(0, 200, 150, 0.4);
  transform: translateY(0) translateY(-2px);
}
.sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
/* On mobile: full-width bar at bottom */
@media (max-width: 860px) {
  .sticky-cta {
    left: 16px;
    right: 16px;
    bottom: 16px;
    border-radius: 12px;
    padding: 16px 20px;
  }
}

/* Mobile: compact nav bar */
@media (max-width: 860px) {
  .nav-inner { padding: 0 14px; gap: 8px; }
  .logo-text { font-size: 14px; letter-spacing: 2px; }
  .nav-actions .btn-primary {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
}

/* ── Desktop nav: show links + actions, hide hamburger ── */
@media (min-width: 861px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  .nav-actions .btn-outline { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
#hero {
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { max-width: 560px; }

.subheadline {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cta-group .btn-primary { font-size: 16px; padding: 14px 28px; }

.micro-copy {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Dashboard mockup */
.hero-visual { position: relative; }

.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 200, 150, 0.08);
}

.screenshot-placeholder {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  display: none; /* shown via JS onerror */
}

.placeholder-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.placeholder-metric {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-green);
}
.metric-lbl {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════
   PROOF BAR
═══════════════════════════════════════════════════════ */
#proof-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
  text-align: center;
}

.proof-text {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.engine-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.engine-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.engine-logo-item:hover { opacity: 1; }
.engine-logo-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.engine-logo-item span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.stat-chips {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.stat-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num { font-size: 30px; font-weight: 800; color: var(--accent-green); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-secondary); letter-spacing: 0.5px; }

/* ── Client carousel ──────────────────────────────────── */
.clients-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 40px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.clients-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 8px 0;
}
.clients-carousel::before,
.clients-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.clients-carousel::before { left: 0; background: linear-gradient(to right, var(--bg-primary), transparent); }
.clients-carousel::after  { right: 0; background: linear-gradient(to left, var(--bg-primary), transparent); }

.clients-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }

.client-logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.9;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.client-logo:hover { opacity: 1; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════
   SECTIONS — shared padding
═══════════════════════════════════════════════════════ */
section { padding: 100px 0; }

/* ═══════════════════════════════════════════════════════
   PAIN
═══════════════════════════════════════════════════════ */
#pain { background: var(--bg-secondary); }

.contrast-table {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 56px;
}

.contrast-arrow {
  font-size: 24px;
  color: var(--text-secondary);
  padding-top: 48px;
  text-align: center;
}

.contrast-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.old-world h4 { color: var(--text-secondary); }
.new-reality h4 { color: var(--accent-green); }

.contrast-col ul { display: flex; flex-direction: column; gap: 10px; }

.old-world ul li {
  padding: 12px 16px;
  background: rgba(139, 148, 158, 0.06);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 15px;
  text-decoration: line-through;
  text-decoration-color: rgba(139, 148, 158, 0.35);
}

.new-reality ul li {
  padding: 12px 16px;
  background: rgba(0, 200, 150, 0.07);
  border: 1px solid rgba(0, 200, 150, 0.18);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 15px;
}

.callout-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 32px 36px;
  max-width: 820px;
}

.callout-block h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.callout-block p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.callout-block p:last-child { margin-bottom: 0; }
.callout-block em { color: var(--text-primary); font-weight: 500; }

/* ═══════════════════════════════════════════════════════
   SOLUTION
═══════════════════════════════════════════════════════ */
#solution {
  background: var(--bg-primary);
  position: relative;
}

#solution::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
  opacity: 0.4;
}

/* ═══════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════ */
#features { background: var(--bg-secondary); padding-top: 60px; }

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

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

.feature-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 200, 150, 0.08);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 200, 150, 0.10);
  border: 1px solid rgba(0, 200, 150, 0.25);
  color: var(--accent-green);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════
   DIFFERENTIATOR
═══════════════════════════════════════════════════════ */
#differentiator { background: var(--bg-primary); }

.proof-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.proof-point {
  border-top: 2px solid var(--accent-green);
  padding-top: 24px;
}

.proof-point h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.proof-point p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════ */
#how-it-works { background: var(--bg-secondary); }

.steps {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 48px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent-green);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 20px;
}

.step h3 { font-size: 15px; margin-bottom: 12px; }

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-arrow {
  font-size: 20px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   APP GALLERY
═══════════════════════════════════════════════════════ */
#gallery { background: var(--bg-secondary); }

.gallery-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

/* Sidebar tabs */
.gallery-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 80px;
}

.gallery-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
  width: 100%;
}
.gallery-tab:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border);
}
.gallery-tab.active {
  background: var(--bg-card);
  border-color: var(--accent-green);
  color: var(--text-primary);
  font-weight: 600;
}
.tab-icon { font-size: 15px; flex-shrink: 0; }

/* Screenshot panel */
.gallery-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: stretch;
}

.gallery-screen { width: 100%; position: relative; }

.gallery-slide {
  display: none;
  width: 100%;
  animation: fadeSlide 0.25s ease;
}
.gallery-slide.active { display: block; }

.gallery-slide img {
  width: 100%;
  display: block;
  border-radius: 0;
}

.slide-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 48px;
  text-align: center;
  gap: 12px;
}

.slide-placeholder-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.slide-placeholder-sub {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 400px;
  line-height: 1.6;
}

/* Coming soon state */
.slide-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 48px;
  text-align: center;
  gap: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.coming-soon-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.coming-soon-sub {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.6;
}

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


/* ═══════════════════════════════════════════════════════
   FREE TRIAL FORM
═══════════════════════════════════════════════════════ */
#free-trial { background: var(--bg-primary); }

.form-section-wrap { max-width: 740px; margin: 0 auto; }
.form-section-wrap h2 { text-align: center; }
.form-section-wrap .section-body { text-align: center; margin: 0 auto 48px; }

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

.form-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-green);
  text-transform: uppercase;
  margin: 32px 0 16px;
}
.form-block-header:first-child { margin-top: 0; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-row-1 { margin-bottom: 12px; }

input[type="text"],
input[type="url"],
input[type="email"] {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
input:focus { border-color: var(--accent-green); }
input::placeholder { color: var(--text-secondary); }

.dynamic-row {
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}


.btn-remove {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  font-size: 13px;
  line-height: 1;
  transition: color 0.2s, border-color 0.2s;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-remove:hover { color: #f85149; border-color: #f85149; }

.btn-add {
  background: transparent;
  border: none;
  color: var(--accent-green);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0 20px;
  display: block;
  font-family: var(--font);
  opacity: 0.85;
}
.btn-add:hover { opacity: 1; }

.form-error {
  background: rgba(248, 81, 73, 0.1);
  border: 1px solid rgba(248, 81, 73, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: #f85149;
  font-size: 13px;
  margin-bottom: 16px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #c850c0 0%, #4158d0 50%, #00C896 100%);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  margin-top: 8px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
}
.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 200, 150, 0.25);
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Thank you */
.thankyou-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 200, 150, 0.25);
  border-radius: var(--radius);
  padding: 64px 40px;
  max-width: 560px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.thankyou-icon { font-size: 52px; }
.thankyou-card h3 { font-size: 28px; font-weight: 800; }
.thankyou-card p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.thankyou-card strong { color: var(--text-primary); }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }

.footer-attr { font-size: 12px; color: var(--text-secondary); }
.footer-attr a { color: var(--accent-green); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤960px)
═══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  /* Hero */
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: 100%; }
  /* Show a smaller mockup below the copy on tablet */
  .hero-visual { display: block; max-width: 600px; margin: 0 auto; }

  /* Pain */
  .contrast-table { grid-template-columns: 1fr; gap: 16px; }
  .contrast-arrow { display: none; }

  /* Features */
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Differentiator */
  .proof-points { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* How it works */
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step-arrow { display: none; }

  /* Gallery */
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-tab { width: auto; font-size: 13px; padding: 8px 12px; flex-shrink: 0; }
  .tab-icon { display: none; }
  .slide-placeholder { min-height: 280px; }
  .gallery-panel { min-height: 280px; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤640px)
═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Global */
  section { padding: 64px 0; }
  .container { padding: 0 16px; }

  /* Hero */
  #hero { padding: 64px 0 48px; }
  .hero-visual { display: none; }
  .cta-group { flex-direction: column; }
  .cta-group .btn { width: 100%; justify-content: center; }

  /* Proof bar */
  .stat-chips { gap: 24px; }
  .stat-num { font-size: 24px; }

  /* Pain */
  .callout-block { padding: 24px 20px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Differentiator */
  .proof-points { grid-template-columns: 1fr; gap: 20px; }

  /* How it works */
  .step { padding: 24px 20px; }

  /* Gallery */
  .gallery-tabs { gap: 4px; }
  .gallery-tab { font-size: 12px; padding: 7px 10px; }
  .slide-placeholder { min-height: 220px; padding: 32px 20px; }
  .gallery-panel { min-height: 220px; }

  /* Form */
  .form-card { padding: 24px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  /* Competitor rows are already url + remove button — single row, no changes needed */

  /* Thank you */
  .thankyou-card { padding: 40px 20px; }
  .thankyou-card h3 { font-size: 22px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .footer-links { justify-content: center; gap: 20px; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Small mobile (≤400px)
═══════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .subheadline { font-size: 16px; }
  .engine-logos { gap: 20px; }
  .engine-logo-item img { width: 22px; height: 22px; }
  .engine-logo-item span { font-size: 10px; }
  .stat-chips { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .nav-inner { padding: 0 12px; }
  .logo-text { font-size: 14px; letter-spacing: 2px; }
  .gallery-tab { font-size: 11px; padding: 6px 8px; }
}
