/* ============================================================
   NEXT GEN MEDIA — styles.css  |  Black × White Premium v4
   ============================================================ */

:root {
  --bg:        #060608;
  --bg2:       #0c0c0f;
  --bg3:       #111113;
  --fg:        #f0f0f0;
  --fg2:       #e8e8e8;
  --brand:     #A5D8FF;
  --brand2:    #7ec8f7;
  --muted:     #404040;
  --subtle:    #707070;
  --subtle2:   #505050;
  --border:    rgba(255,255,255,.07);
  --border-h:  rgba(165,216,255,.18);
  --border-m:  rgba(255,255,255,.1);
  --glow:      rgba(165,216,255,.12);
  --radius:    12px;
  --radius-lg: 20px;
  --space:     clamp(20px, 4vw, 48px);
}

/* ── FONTS ── */
@font-face {
  font-family: 'Neuemachina';
  src: url('fonts/Neuemachina-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: 'Neuemachina', 'Inter', system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .022; pointer-events: none; z-index: 9999;
}

/* ── LAYOUT ── */
.container {
  width: min(100% - 2 * var(--space), 1240px);
  margin-inline: auto;
  padding: 0 var(--space);
}
.section { padding: clamp(64px, 10vw, 120px) 0; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: 1px; }
h1 { font-size: clamp(36px, 5.5vw, 80px); }
h2 { font-size: clamp(26px, 3.5vw, 52px); }
h3 { font-size: clamp(14px, 1.5vw, 20px); }
p  { line-height: 1.7; }

.highlight {
  background: linear-gradient(135deg, var(--brand) 0%, #e0f4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(165,216,255,.2);
  border-radius: 100px;
  background: rgba(165,216,255,.04);
}
.section-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: clamp(12px, 1.2vw, 16px) clamp(22px, 2vw, 36px);
  border-radius: 100px;
  border: 1.5px solid var(--brand);
  background: var(--brand);
  color: #060608;
  font-family: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: clamp(11px, 1vw, 13px);
  transition: transform .25s, box-shadow .25s, filter .25s;
  box-shadow: 0 0 28px rgba(165,216,255,.3), inset 0 1px 0 rgba(255,255,255,.25);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.18) 0%, transparent 55%);
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 52px rgba(165,216,255,.55), 0 10px 28px rgba(0,0,0,.4);
  filter: brightness(1.07);
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-h);
  box-shadow: none;
}
.btn--ghost::after { display: none; }
.btn--ghost:hover {
  color: var(--fg);
  border-color: var(--brand);
  background: rgba(165,216,255,.06);
  box-shadow: 0 0 20px rgba(165,216,255,.12);
  filter: none;
}
.pulse { animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(165,216,255,.25), inset 0 1px 0 rgba(255,255,255,.25); }
  50%       { box-shadow: 0 0 50px rgba(165,216,255,.6),  inset 0 1px 0 rgba(255,255,255,.25); }
}

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,6,8,.82);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(10px, 1.2vw, 16px) 0;
}

/* ── LOGO ── */
.logo { display: block; flex-shrink: 0; }
.logo-video, .logo-img { max-height: 42px; width: auto; transition: transform .3s, opacity .3s; }
.logo-video:hover, .logo-img:hover { transform: scale(1.04); opacity: .85; }

/* ── NAV ── */
.nav-links {
  display: flex;
  gap: clamp(12px, 1.8vw, 28px);
  list-style: none; align-items: center;
}
.nav-links a {
  color: var(--subtle);
  text-decoration: none;
  font-size: clamp(10px, .95vw, 12px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--fg); }
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: .3s; }

/* ── HERO ── */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(80px, 14vw, 180px) 0 clamp(60px, 10vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero > .container { position: relative; z-index: 2; }
.hero::after {
  content: '';
  position: absolute; top: -15%; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(165,216,255,.065) 0%,
    rgba(165,216,255,.02) 45%,
    transparent 70%);
  pointer-events: none; z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1) brightness(.15);
  z-index: 0;
}
.hero-eyebrow { display: inline-block; margin-bottom: 1.5rem; opacity: 0; animation: fadeUp .6s ease .15s forwards; }
.hero h1 { opacity: 0; animation: fadeUp .7s ease .35s forwards; max-width: 920px; margin: 0 auto .6em; }
.hero-sub {
  font-size: clamp(15px, 1.5vw, 20px);
  color: var(--subtle);
  max-width: 520px;
  margin: 0 auto 2.4rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp .7s ease .55s forwards;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeUp .7s ease .75s forwards; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 5vw, 80px);
  flex-wrap: wrap;
  margin-top: clamp(52px, 7vw, 96px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp .7s ease .95s forwards;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -2px;
}
.stat-label { font-size: clamp(9px, .85vw, 11px); color: #444; text-transform: uppercase; letter-spacing: 2px; margin-top: 7px; }

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

/* ── MARQUEE ── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 20px 0; overflow: hidden;
}
.marquee-track { display: flex; animation: marquee 30s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 0 44px;
  font-size: 11px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: #2e2e2e; white-space: nowrap;
}
.marquee-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); opacity: .4; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PROBLEM ── */
.problem-section { background: var(--bg2); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(32px, 4vw, 56px);
}
.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  transition: border-color .3s, transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.problem-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(165,216,255,.03) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.problem-card:hover { border-color: var(--border-h); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.problem-card:hover::before { opacity: 1; }
.p-num {
  font-size: clamp(52px, 6vw, 76px); font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(165,216,255,.07);
  line-height: 1; margin-bottom: 18px;
}
.problem-card h3 { font-size: clamp(14px, 1.3vw, 17px); color: var(--fg); margin-bottom: 10px; text-transform: none; letter-spacing: 0; }
.problem-card p  { font-size: clamp(12px, 1.1vw, 14px); color: var(--subtle); line-height: 1.75; }

/* ── SERVICES ── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(32px, 4vw, 56px);
}
.card {
  background: var(--bg2); border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
  transition: border-color .3s, transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165,216,255,.25), transparent);
  opacity: 0; transition: opacity .3s;
}
.card:hover { border-color: var(--border-h); transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,.5); }
.card:hover::after { opacity: 1; }
.service-card .icon { font-size: clamp(24px, 2.5vw, 32px); margin-bottom: 16px; display: block; }
.service-card h3   { font-size: clamp(13px, 1.3vw, 16px); color: var(--fg); margin-bottom: 10px; letter-spacing: .5px; }
.service-card p    { font-size: clamp(12px, 1.1vw, 14px); color: var(--subtle); line-height: 1.75; }

/* ── PROCESS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(32px, 4vw, 56px);
}
.step-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.step-card:hover { border-color: var(--border-h); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.step-num {
  font-size: clamp(52px, 6vw, 80px); font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(165,216,255,.1);
  line-height: 1; margin-bottom: 16px;
}
.step-card h3 { font-size: clamp(11px, 1.1vw, 13px); color: var(--brand); text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 10px; }
.step-card p  { font-size: clamp(12px, 1.1vw, 14px); color: var(--subtle); line-height: 1.75; }

/* ── VIDEO ── */
.testimonial-grid-vertical {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(32px, 4vw, 56px);
  max-width: 700px; margin-inline: auto;
}
.yt-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border); background: #000;
  transition: border-color .3s;
}
.yt-card:hover { border-color: var(--border-h); }
.yt-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(14px, 2vw, 20px);
}
.video-card {
  position: relative; background: #000;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .25s;
}
.video-card:hover { border-color: var(--border-h); }
.video-el { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.ratio-16x9 { aspect-ratio: 16/9; }
.ratio-9x16  { aspect-ratio:  9/16; }

/* ── GUARANTEE ── */
.guarantee-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.guarantee-box {
  position: relative;
  background: linear-gradient(135deg, #0d1520 0%, #080d14 50%, #0d0d16 100%);
  border: 1px solid rgba(165,216,255,.1);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 88px) clamp(28px, 6vw, 88px);
  text-align: center; max-width: 880px; margin: 0 auto; overflow: hidden;
}
.guarantee-box::before {
  content: ''; position: absolute; top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(165,216,255,.06) 0%, transparent 70%);
  pointer-events: none;
}
.g-icon { font-size: clamp(40px, 5vw, 60px); margin-bottom: 20px; display: block; }
.guarantee-box h2 { color: var(--fg); margin-bottom: 18px; }
.guarantee-box p  { color: var(--subtle); font-size: clamp(14px, 1.3vw, 18px); line-height: 1.75; max-width: 580px; margin: 0 auto; }

/* ── CTA ── */
.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 14px; }
.cta-final .cta-sub { color: var(--subtle); font-size: clamp(14px, 1.3vw, 18px); margin: 0 auto 2.4rem; max-width: 500px; line-height: 1.7; }
.typeform-wrapper { max-width: 680px; margin: 0 auto 2rem; min-height: 480px; }
.typeform-wrapper [data-tf-live] { width: 100%; min-height: 480px; }
.embed-placeholder {
  background: var(--bg2); border: 1px dashed var(--border-m);
  border-radius: var(--radius-lg); max-width: 640px;
  margin: 0 auto 2.4rem; padding: 60px 24px; text-align: center; color: var(--subtle);
}
.embed-placeholder .ep-icon  { font-size: 24px; margin-bottom: 12px; display: block; opacity: .35; }
.embed-placeholder .ep-label { font-size: 10px; text-transform: uppercase; letter-spacing: 2.5px; }

/* ── FAQ ── */
.faq-container { max-width: 840px; margin: clamp(32px, 4vw, 56px) auto 0; }
.faq-item { border-bottom: 1px solid var(--border); background: transparent; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: transparent; color: var(--fg2);
  border: none; cursor: pointer;
  padding: clamp(18px, 2vw, 26px) 0;
  display: flex; align-items: center; justify-content: space-between;
  font-family: inherit; font-weight: 700;
  font-size: clamp(13px, 1.2vw, 15px); gap: 16px; transition: color .2s;
}
.faq-question:hover { color: var(--brand); }
.faq-question .arrow { color: var(--subtle); transition: transform .3s; flex-shrink: 0; font-size: 10px; }
.faq-question[aria-expanded="true"] { color: var(--brand); }
.faq-question[aria-expanded="true"] .arrow { transform: rotate(180deg); color: var(--brand); }
.faq-answer {
  max-height: 0; overflow: hidden; color: var(--subtle); padding: 0;
  transition: max-height .35s ease, padding .35s ease;
  font-size: clamp(13px, 1.1vw, 14px); line-height: 1.8;
}
.faq-answer.open { padding: 0 0 clamp(16px, 2vw, 24px); max-height: 600px; }

/* ── CONTACT FORM ── */
.contact-form {
  display: flex; flex-direction: column; gap: 1.2rem;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px);
  max-width: 640px; margin: 0 auto;
}
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row label { font-weight: 600; font-size: .72rem; color: var(--brand); letter-spacing: 2px; text-transform: uppercase; }
.form-row input, .form-row textarea {
  background: var(--bg); border: 1px solid rgba(255,255,255,.07);
  color: var(--fg); font-family: inherit; font-size: .95rem;
  border-radius: var(--radius); padding: 13px 18px; transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus { border-color: rgba(165,216,255,.28); outline: none; }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--muted); }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-status  { font-size: .875rem; color: var(--brand); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ── SCROLL REVEAL ── */
.animate-slide-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.animate-slide-up.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--border); padding: clamp(16px, 2vw, 24px) 0; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner a { color: #3a3a3a; margin: 0 8px; font-size: clamp(11px, 1vw, 13px); text-decoration: none; transition: color .2s; }
.footer-inner a:hover { color: var(--fg); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .media-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(6,6,8,.97); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: center;
    gap: 0; padding: 12px 0; z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a  { display: block; padding: 14px; }
}
@media (max-width: 600px) {
  .hero { padding-top: clamp(60px, 18vw, 100px); }
  .logo-video, .logo-img { max-height: 34px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .guarantee-box { padding: 36px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
