/* ============ UNREEL.AI — light / clipping-culture language ============ */
:root {
  --bg: #EDF1F8;
  --grid: rgba(29, 107, 243, 0.055);
  --ink: #0C1828;
  --dim: #5C6B80;
  --blue: #1D6BF3;
  --blue-dark: #1257D6;
  --blue-soft: #7AA5FF;
  --card: #FFFFFF;
  --line: rgba(12, 24, 40, 0.08);
  --shadow-lg: 0 24px 48px -20px rgba(13, 40, 90, 0.22);
  --shadow-md: 0 14px 30px -14px rgba(13, 40, 90, 0.16);
  --shadow-sm: 0 4px 14px -6px rgba(13, 40, 90, 0.14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
::selection { background: var(--blue); color: #fff; }

/* ---- nav ---- */
.nav-wrap {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  padding: 0 16px;
  display: flex; justify-content: center;
}
.nav {
  width: 100%; max-width: 1060px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, #2E7BFF, #1257D6);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -6px rgba(29, 107, 243, 0.6);
}
.brand-name { font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 1.7rem; }
.nav-links a {
  color: var(--ink); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  opacity: 0.82;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--blue); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font); font-size: 0.93rem; font-weight: 600;
  text-decoration: none; border-radius: 999px;
  cursor: pointer; border: none;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn .arr { font-size: 0.85em; transition: transform 0.2s; }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn-blue {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(29, 107, 243, 0.65);
}
.btn-blue:hover { background: var(--blue-dark); }
.btn-white {
  background: #fff; color: var(--ink);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.btn-white:hover { box-shadow: var(--shadow-md); }
.btn-nav { padding: 0.6rem 1.25rem; font-size: 0.88rem; }

/* ---- hero ---- */
.hero {
  max-width: 1060px; margin: 0 auto;
  padding: 9.5rem 1.5rem 4rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.pill-proof {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  padding: 0.45rem 1.1rem 0.45rem 0.55rem;
  font-size: 0.85rem; color: var(--dim);
  margin-bottom: 2rem;
}
.pill-proof b { color: var(--ink); font-weight: 700; }
.avatars { display: inline-flex; }
.av {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid #fff;
  display: inline-block;
}
.av + .av { margin-left: -9px; }
.av1 { background: linear-gradient(135deg, #FFB24D, #E0633D); }
.av2 { background: linear-gradient(135deg, #4D9CFF, #1D4FD6); }
.av3 { background: linear-gradient(135deg, #B98CFF, #6B3DF0); }

.hero-h {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.swap {
  color: var(--blue);
  display: inline-block;
  min-width: 3.2ch;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}
.swap.out { opacity: 0; transform: translateY(0.4em); filter: blur(5px); }

.hero-sub {
  margin-top: 1.4rem;
  max-width: 37rem;
  color: var(--dim);
  font-size: 1.06rem;
}
.hero-ctas {
  margin-top: 2rem;
  display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center;
}
.hero-micro { margin-top: 0.9rem; font-size: 0.82rem; color: var(--dim); }

.featured { margin-top: 4.2rem; }
.featured-label {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #93A1B5;
  margin-bottom: 1.1rem;
}
.featured-logos {
  display: flex; gap: 2.6rem; flex-wrap: wrap; justify-content: center;
  font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em;
  color: #3D4C61;
}

/* ---- campaign cards strip ---- */
.campaigns {
  padding: 2.5rem 0 1rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.camp-track {
  display: flex; gap: 1.1rem;
  width: max-content;
  animation: camp-scroll 36s linear infinite;
  padding: 0.5rem 0 1.4rem;
}
.campaigns:hover .camp-track { animation-play-state: paused; }
@keyframes camp-scroll { to { transform: translateX(-50%); } }
.camp {
  width: 230px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  flex: 0 0 auto;
  transition: transform 0.25s;
}
.camp:hover { transform: translateY(-5px); }
.camp-visual {
  height: 150px;
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(255,255,255,0.32), transparent 50%),
    linear-gradient(150deg, var(--g1), var(--g2));
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.camp-views {
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.32);
}
.camp-play {
  position: absolute;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  padding-left: 3px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.camp-meta {
  padding: 0.8rem 1rem 0.9rem;
  display: flex; flex-direction: column; gap: 0.1rem;
}
.camp-meta b { font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; }
.camp-meta span { font-size: 0.86rem; font-weight: 800; color: var(--ink); }
.camp-meta i {
  font-style: normal; font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: #9AA7B8;
}
.camp-note {
  text-align: center; font-size: 0.8rem; color: #93A1B5;
  padding-bottom: 1rem;
}

/* ---- sections ---- */
.section { max-width: 1060px; margin: 0 auto; padding: 5.5rem 1.5rem; }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3.4rem; }
.tag-pill {
  display: inline-block;
  background: var(--ink); color: #fff;
  font-size: 0.74rem; font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.3rem;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
}
.section-sub { margin-top: 1rem; color: var(--dim); font-size: 1rem; }

/* ---- verticals ---- */
.vert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.vert {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.7rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.vert:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vert-ic {
  width: 46px; height: 46px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #fff; font-style: normal;
  background: linear-gradient(145deg, var(--g1), var(--g2));
  box-shadow: 0 8px 18px -8px var(--g1);
}
.vert h3 {
  margin-top: 1.1rem;
  font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em;
}
.vert p { margin-top: 0.5rem; color: var(--dim); font-size: 0.94rem; }

/* ---- timeline ---- */
.timeline {
  position: relative;
  max-width: 980px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 4rem;
  padding: 1rem 0 2rem;
}
.timeline::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--blue) 12%, var(--blue) 80%, transparent);
  opacity: 0.5;
}
.tl-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
  position: relative;
}
.tl-row::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 12px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--blue);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px rgba(29, 107, 243, 0.45);
  z-index: 1;
}
.tl-card {
  background: linear-gradient(165deg, #FDFEFF, #F2F6FD);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 1.9rem 1.9rem 1.8rem;
  position: relative;
  overflow: hidden;
}
.tl-card::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 4px;
  background: var(--blue);
  border-radius: 4px;
}
.tl-row.flip .tl-card::after { right: auto; left: 0; }
.tl-step { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.tl-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: #E5EDFC;
  border: 1px solid rgba(29, 107, 243, 0.35);
  color: var(--blue);
  font-weight: 700; font-size: 0.95rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.tl-lab {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em;
  color: var(--ink);
}
.tl-card h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; }
.tl-card p { margin-top: 0.6rem; color: var(--dim); font-size: 0.94rem; }

.tl-stat { text-align: center; }
.tl-row:not(.flip) .tl-stat { text-align: center; }
.tl-big {
  display: block;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  background: linear-gradient(100deg, var(--blue) 30%, var(--blue-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.tl-cap {
  display: block; margin-top: 0.55rem;
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--blue-soft);
}
.tl-stat p {
  margin: 0.7rem auto 0; max-width: 22rem;
  color: var(--dim); font-size: 0.93rem;
}

/* ---- book a call ---- */
.contact-sec { padding-bottom: 6.5rem; }
.book-card {
  max-width: 700px; margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.book-head {
  text-align: center;
  padding: 2.6rem 2rem 1.8rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.book-head::after {
  content: "";
  position: absolute; bottom: -1px; left: 0;
  width: 64px; height: 3px;
  background: var(--blue);
}
.book-logo {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(145deg, #2E7BFF, #1257D6);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px -8px rgba(29, 107, 243, 0.65);
}
.book-team {
  display: block; margin-top: 0.8rem;
  font-size: 0.9rem; font-weight: 600; color: var(--dim);
}
.book-head h3 {
  margin-top: 0.15rem;
  font-size: 1.65rem; font-weight: 800; letter-spacing: -0.025em;
}
.book-meta {
  margin-top: 0.9rem;
  display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap;
  font-size: 0.86rem; font-weight: 600; color: var(--dim);
}
.book-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
  padding: 2.2rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; text-align: left; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  background: #F6F8FC;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.8rem 1rem;
  font-family: var(--font); font-size: 0.94rem;
  border-radius: 11px; outline: none; resize: vertical;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235C6B80'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 107, 243, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: #A4AFBE; }
.btn-submit { grid-column: 1 / -1; width: 100%; padding: 0.95rem; font-size: 1rem; }
.form-status {
  grid-column: 1 / -1;
  font-size: 0.84rem; min-height: 1.2em; text-align: center;
  color: var(--dim);
}
.form-status.ok { color: var(--blue); font-weight: 600; }
.form-status.err { color: #D6394A; font-weight: 600; }

/* ---- footer ---- */
.footer {
  background: #0B1424;
  color: #fff;
  margin-top: 2rem;
}
.footer-inner { max-width: 1060px; margin: 0 auto; padding: 3.2rem 1.5rem 2rem; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.4rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand-foot { color: #fff; }
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a {
  color: rgba(255, 255, 255, 0.72); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  padding-top: 1.6rem;
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.45);
}

/* ---- reveal ---- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 7.5rem 1.2rem 3rem; }
  .featured-logos { gap: 1.4rem; font-size: 0.95rem; }
  .section { padding: 4rem 1.2rem; }
  .vert-grid { grid-template-columns: 1fr; }
  .timeline::before, .tl-row::before { display: none; }
  .tl-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .tl-row.flip .tl-stat { order: 2; }
  .timeline { gap: 3rem; }
  .book-form { grid-template-columns: 1fr; padding: 1.6rem; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .camp-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .swap { transition: none; }
  html { scroll-behavior: auto; }
}
