/* ============================================
   GigOps.AI — Landing Page
   Brand: Inter + DM Mono, deep-blue gradient
   ============================================ */

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

:root {
  --bg:        #F5F7FF;
  --bg-card:   #FFFFFF;
  --bg-soft:   #EEF3FF;
  --bg-mute:   #F0F2F7;
  --bg-deep:   #0A0F1E;
  --bg-deep2:  #111733;

  --border:    #DDE4F5;
  --border-2:  #C9D3EC;
  --border-soft: rgba(221,228,245,0.6);

  --text:      #0A0F1E;
  --text-2:    #4A5878;
  --text-3:    #6B7A99;
  --text-4:    #99A8C6;
  --text-inv:  #F5F7FF;

  --blue:      #3B6CF6;
  --blue-dk:   #1C3D8A;
  --blue-soft: #EEF3FF;

  --green:     #1E7B4B;
  --green-soft:#E6F5EE;
  --amber:     #C4460A;
  --amber-soft:#FFF3EE;
  --red:       #DC2626;

  --grad: linear-gradient(135deg, #1C3D8A 0%, #3B6CF6 60%, #5B8AFF 100%);
  --grad-deep: linear-gradient(180deg, #0A0F1E 0%, #111733 100%);

  --radius:   10px;
  --radius-lg:14px;
  --radius-xl:20px;

  --shadow-sm: 0 1px 2px rgba(10,15,30,0.04), 0 1px 1px rgba(10,15,30,0.03);
  --shadow:    0 4px 14px rgba(28,61,138,0.08), 0 1px 2px rgba(28,61,138,0.05);
  --shadow-lg: 0 24px 60px -20px rgba(28,61,138,0.28), 0 8px 24px -8px rgba(28,61,138,0.10);

  --max:    1240px;
  --max-sm: 960px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', 'JetBrains Mono', ui-monospace, monospace;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }

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

/* ── Type system ─────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow.muted { color: var(--text-3); }
.eyebrow .dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); margin-right: 8px; vertical-align: middle;
  transform: translateY(-1px);
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.h-display {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.h-display em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.h-section {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.lead {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 620px;
  text-wrap: pretty;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background .14s, color .14s, border-color .14s, transform .14s, box-shadow .14s;
  border: 1px solid transparent;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--text); color: var(--text-inv); }
.btn-primary:hover { background: #1A2240; transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(10,15,30,0.4); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #2E5BE0; transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(59,108,246,0.5); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-card); border-color: var(--border-2); }
.btn-link { color: var(--text-2); padding: 0 6px; height: auto; }
.btn-link:hover { color: var(--text); }
.btn-sm { height: 32px; font-size: 13px; padding: 0 12px; }
.btn-lg { height: 46px; font-size: 15px; padding: 0 20px; }

/* ── Chips & dividers ────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-3); background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 11px;
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.hr-soft { height: 1px; background: var(--border); border: 0; }

/* ── NAV ─────────────────────────────────────── */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(245,247,255,0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav-wrap.scrolled { border-bottom-color: var(--border); background: rgba(245,247,255,0.92); }
.nav {
  height: 64px;
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  letter-spacing: -0.04em;
  font-size: 17px; font-weight: 300;
  color: var(--text);
}
.brand .ai { font-weight: 600; color: var(--blue); }
.brand-icon {
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--grad);
  box-shadow: 0 4px 14px rgba(28,61,138,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative;
  flex-shrink: 0;
}
.brand-icon::after {
  content: ""; position: absolute; inset: 5px 5px auto auto; width: 6px; height: 6px;
  background: rgba(255,255,255,0.7); border-radius: 50%;
}
.nav-links {
  display: flex; gap: 4px; flex: 1;
}
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 7px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color .12s, background .12s;
}
.nav-link:hover { color: var(--text); background: rgba(28,61,138,0.05); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

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

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 70% -10%, rgba(59,108,246,0.16), transparent 60%),
    radial-gradient(700px 400px at 0% 30%, rgba(28,61,138,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(28,61,138,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28,61,138,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 5px 5px 14px;
  box-shadow: var(--shadow-sm);
  font-size: 13px; color: var(--text-2);
  margin-bottom: 28px;
}
.hero-badge .pill {
  background: var(--blue-soft); color: var(--blue);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.hero-badge .arrow { color: var(--text-4); }

.hero h1 { margin: 0 auto; max-width: 940px; }
.hero .lead { margin: 22px auto 36px; text-align: center; font-size: 19px; max-width: 640px; }

.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.hero-cta input {
  border: 0; outline: 0; background: transparent;
  font: 500 14.5px var(--font-sans);
  color: var(--text);
  padding: 0 14px;
  width: 280px; height: 36px;
}
.hero-cta input::placeholder { color: var(--text-4); }
.hero-meta {
  margin-top: 16px; font-size: 13px; color: var(--text-3);
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 13px; height: 13px; color: var(--green); }

@media (max-width: 560px) {
  .hero-cta { flex-direction: column; padding: 8px; align-items: stretch; }
  .hero-cta input { width: 100%; }
}

/* Hero product preview frame */
.hero-preview {
  position: relative;
  margin: 72px auto -120px;
  max-width: 1180px;
  padding: 0 12px;
}
.preview-frame {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(2400px) rotateX(2deg);
  transform-origin: 50% 100%;
}
.preview-glow {
  position: absolute; left: 50%; top: 70%;
  transform: translate(-50%, -50%);
  width: 70%; height: 60%;
  background: radial-gradient(closest-side, rgba(59,108,246,0.45), transparent 70%);
  filter: blur(40px); z-index: -1; pointer-events: none;
}

/* ── LOGO STRIP ──────────────────────────────── */
.logos {
  padding: 200px 0 72px;
  text-align: center;
}
.logos-label {
  font-size: 12.5px; color: var(--text-3); margin-bottom: 24px;
  font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 36px;
  align-items: center;
  opacity: 0.6;
}
.logo-mark {
  font-weight: 500;
  color: var(--text-2);
  font-size: 17px;
  letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px;
}
.logo-mark .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--text-2); opacity: 0.5; }
.logo-mark.italic { font-style: italic; }
.logo-mark.mono { font-family: var(--font-mono); font-size: 14px; }

/* ── SECTIONS ────────────────────────────────── */
section { position: relative; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { margin: 0; }
.section-head.center .lead { margin: 0 auto; }

/* ── FEATURE GRID ────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.feat-card {
  grid-column: span 4;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.feat-card:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.feat-card.wide { grid-column: span 6; }
.feat-card.full { grid-column: span 12; }

.feat-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-icon svg { width: 18px; height: 18px; }

.feat-card h3 {
  font-size: 17px; font-weight: 600; letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.feat-card p {
  font-size: 14.5px; color: var(--text-2); line-height: 1.6;
}
.feat-card .feat-visual { margin-top: 22px; }

@media (max-width: 980px) {
  .feat-card, .feat-card.wide { grid-column: span 6; }
}
@media (max-width: 640px) {
  .feat-card, .feat-card.wide, .feat-card.full { grid-column: span 12; }
}

/* ── DEEP-DIVE: alternating big features ─────── */
.deep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.deep:first-of-type { border-top: 0; }
.deep.flip .deep-copy { order: 2; }
.deep-copy h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1; letter-spacing: -0.025em; font-weight: 500;
  margin: 14px 0 16px;
}
.deep-copy p { font-size: 17px; color: var(--text-2); margin-bottom: 20px; max-width: 480px; }
.deep-copy ul { list-style: none; display: flex; flex-direction: column; gap: 10px; max-width: 480px; }
.deep-copy li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--text-2);
}
.deep-copy li svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.deep-copy li strong { color: var(--text); font-weight: 600; }

.deep-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
}

@media (max-width: 900px) {
  .deep { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .deep.flip .deep-copy { order: 0; }
}

/* ── PRICING ─────────────────────────────────── */
.pricing-bg {
  background: var(--bg-deep);
  color: var(--text-inv);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.pricing-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(59,108,246,0.18), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(28,61,138,0.18), transparent 60%);
  pointer-events: none;
}
.pricing-bg .section-head h2,
.pricing-bg .section-head .eyebrow + h2 { color: var(--text-inv); }
.pricing-bg .section-head .lead { color: rgba(245,247,255,0.65); }
.pricing-bg .section-head .eyebrow { color: #93B0FF; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.price-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: background .15s, border-color .15s, transform .15s;
}
.price-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.16); }
.price-card.featured {
  background: rgba(59,108,246,0.10);
  border: 1px solid rgba(91,138,255,0.4);
  box-shadow: 0 24px 60px -20px rgba(59,108,246,0.4);
  position: relative;
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute; top: -12px; left: 28px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-inv);
  background: var(--blue);
  padding: 5px 12px; border-radius: 999px;
}
.price-name {
  font-size: 14px; font-weight: 600; color: rgba(245,247,255,0.85);
  margin-bottom: 12px;
}
.price-tag {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 44px; letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 6px; color: var(--text-inv);
}
.price-tag .cur { font-size: 22px; color: rgba(245,247,255,0.55); margin-right: 2px; vertical-align: top; }
.price-tag .per { font-size: 14px; color: rgba(245,247,255,0.55); font-weight: 400; letter-spacing: 0; }
.price-sub { font-size: 13px; color: rgba(245,247,255,0.5); margin-bottom: 22px; min-height: 18px; }
.price-card .btn { width: 100%; justify-content: center; margin-bottom: 22px; }
.price-card .btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--text-inv);
}
.price-card .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.price-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: rgba(245,247,255,0.78); line-height: 1.5;
}
.price-list li svg { width: 14px; height: 14px; color: #93B0FF; margin-top: 4px; flex-shrink: 0; }
.price-list li.muted { color: rgba(245,247,255,0.4); }
.price-list li.muted svg { color: rgba(255,255,255,0.2); }
.price-divider {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(245,247,255,0.4);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 6px;
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ── METRICS ROW ─────────────────────────────── */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metric-num {
  font-size: 42px; font-weight: 500; letter-spacing: -0.03em;
  font-family: var(--font-sans);
}
.metric-num em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 600;
}
.metric-label { font-size: 13px; color: var(--text-3); margin-top: 6px; }

@media (max-width: 760px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ── CTA BAND ────────────────────────────────── */
.cta-band {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(59,108,246,0.10), transparent 50%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.025em; line-height: 1.1; font-weight: 500; }
.cta-band p { color: var(--text-2); margin-top: 14px; font-size: 16.5px; max-width: 480px; }
.cta-band-form { position: relative; z-index: 1; }
.cta-band-form .hero-cta { width: 100%; }
.cta-band-form .hero-cta input { flex: 1; width: auto; }
.cta-band-form small { display: block; margin-top: 12px; font-size: 12.5px; color: var(--text-3); }

@media (max-width: 820px) {
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* ── FOOTER ──────────────────────────────────── */
footer { padding: 64px 0 40px; border-top: 1px solid var(--border); margin-top: 80px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h5 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 14px;
  font-family: var(--font-mono);
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { font-size: 14px; color: var(--text-2); transition: color .12s; }
.foot-grid a:hover { color: var(--text); }
.foot-blurb { font-size: 13.5px; color: var(--text-3); max-width: 280px; line-height: 1.55; margin-top: 14px; }
.foot-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--text-3);
  font-family: var(--font-mono);
}
.foot-bottom .links { display: flex; gap: 18px; }
.foot-bottom .status { display: inline-flex; align-items: center; gap: 7px; }
.foot-bottom .status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(30,123,75,0.18); }

@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; gap: 12px; }
}

/* ── Reveal animation ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Tweaks panel adjustments ────────────────── */
.tweaks-trigger {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
}
