@font-face {
  font-family: 'Haskoy';
  src: url('marmarotay/assets/fonts/Haskoy-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-soft: #0a0a0d;
  --ink: #fff;
  --ink-soft: rgba(255,255,255,0.62);
  --ink-faint: rgba(255,255,255,0.38);
  --hairline: rgba(255,255,255,0.09);
  --blue: #0069E2;
  --blue-lt: #0E79F5;
  --navy: #0C2848;
  --red: #e6362c;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Haskoy', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px;
  transition: background .18s ease, opacity .18s ease;
  border: none; cursor: pointer; font-family: inherit;
  position: relative; overflow: hidden; isolation: isolate;
  will-change: transform;
}
.btn-light {
  background: #fff; color: var(--navy);
  transition: color .32s ease .04s, transform .35s cubic-bezier(.2,1,.3,1);
}
.btn-fill {
  position: absolute;
  left: var(--fx, 50%); top: var(--fy, 50%);
  width: 0; height: 0; border-radius: 50%;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: width .5s cubic-bezier(.4,0,.2,1), height .5s cubic-bezier(.4,0,.2,1);
  z-index: 0; pointer-events: none;
}
.btn-light:hover .btn-fill, .btn-light:focus-visible .btn-fill { width: 340px; height: 340px; }
.btn-light:hover, .btn-light:focus-visible { color: #fff; }
.btn-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost { background: transparent; color: var(--ink-soft); border: 1px solid var(--hairline); }
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
.arrow { display: inline-block; transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none !important; }
  .btn-fill { transition: none !important; }
}

/* ---------- Custom cursor (invert-blend) ---------- */
@media (pointer: fine) {
  * { cursor: none !important; }
  .cursor-dot {
    position: fixed; top: 0; left: 0;
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff; mix-blend-mode: difference;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .25s cubic-bezier(.4,0,.2,1), height .25s cubic-bezier(.4,0,.2,1), opacity .2s ease;
    opacity: 0;
  }
  .cursor-dot.active { opacity: 1; }
  .cursor-dot.is-hover { width: 52px; height: 52px; }
}
@media (pointer: coarse) { .cursor-dot { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 26px 40px;
}
.header-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15.5px; }
.brand img { height: 20px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13.5px; color: var(--ink-soft); }
.main-nav a { transition: color .15s; }
.main-nav a:hover { color: #fff; }
.main-nav .btn-ghost { padding: 9px 18px; font-size: 13px; }

/* ---------- Hero + gradient stage ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 32px;
  overflow: hidden;
}
.gradient-stage { position: absolute; inset: 0; z-index: 0; filter: blur(110px); opacity: .85; --mx: 0px; --my: 0px; }
.orb { position: absolute; border-radius: 50%; }
.orb-1 {
  width: 900px; height: 900px; left: -260px; top: 8%;
  background: radial-gradient(circle at 40% 40%, var(--blue-lt), transparent 68%);
  animation: driftA 24s ease-in-out infinite;
  --pf: 1;
}
.orb-2 {
  width: 720px; height: 720px; left: 4%; top: 46%;
  background: radial-gradient(circle at 50% 50%, var(--navy), transparent 70%);
  animation: driftB 30s ease-in-out infinite;
  --pf: 0.55;
}
.orb-3 {
  width: 640px; height: 640px; right: -160px; top: 22%;
  background: radial-gradient(circle at 50% 50%, var(--blue), transparent 72%);
  animation: driftC 27s ease-in-out infinite;
  --pf: 1.3;
}
@keyframes driftA {
  0%, 100% { transform: translate(calc(var(--mx) * var(--pf)), calc(var(--my) * var(--pf))) scale(1); }
  50% { transform: translate(calc(70px + var(--mx) * var(--pf)), calc(50px + var(--my) * var(--pf))) scale(1.1); }
}
@keyframes driftB {
  0%, 100% { transform: translate(calc(var(--mx) * var(--pf)), calc(var(--my) * var(--pf))) scale(1); }
  50% { transform: translate(calc(-50px + var(--mx) * var(--pf)), calc(70px + var(--my) * var(--pf))) scale(0.92); }
}
@keyframes driftC {
  0%, 100% { transform: translate(calc(var(--mx) * var(--pf)), calc(var(--my) * var(--pf))) scale(1); }
  50% { transform: translate(calc(-60px + var(--mx) * var(--pf)), calc(-40px + var(--my) * var(--pf))) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 66px); font-weight: 300; line-height: 1.08;
  margin: 0 0 20px; letter-spacing: -0.025em;
}
.hero p {
  font-size: 17px; color: var(--ink-soft); margin: 0 0 36px;
}
.scroll-cue {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 1; width: 1px; height: 46px; background: linear-gradient(var(--ink-faint), transparent);
  animation: cuePulse 2.4s ease-in-out infinite;
}
@keyframes cuePulse { 0%,100%{opacity:.3;} 50%{opacity:1;} }

/* ---------- Statement line ---------- */
.statement { padding: 130px 32px; text-align: center; background: var(--bg); }
.statement p {
  max-width: 760px; margin: 0 auto; font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 400; line-height: 1.5; color: rgba(255,255,255,0.88);
}
.statement .hi { color: #fff; font-weight: 600; }

/* ---------- Products (editorial rows) ---------- */
.products { padding: 20px 32px 60px; }
.products-inner { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 60px; text-align: center;
}
.product-row {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center;
  padding: 70px 0; border-top: 1px solid var(--hairline);
}
.product-row:first-of-type { border-top: none; }
.product-row.rev { grid-template-columns: 1.1fr 0.9fr; }
.product-row.rev .product-visual { order: 2; }
.product-row.rev .product-copy { order: 1; }

.product-copy .tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.product-copy h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; margin: 0 0 16px; }
.product-copy p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); max-width: 440px; margin: 0 0 26px; }

.product-visual {
  position: relative; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
}
.pv-glow { position: absolute; inset: -30%; filter: blur(70px); opacity: .55; z-index: 0; }
.pv-content { position: relative; z-index: 1; text-align: center; }
.pv-mark {
  width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 24px; margin: 0 auto 16px; color: #fff;
}
.pv-content .pv-label { font-size: 13px; color: var(--ink-faint); }

/* ---------- Avar ID section ---------- */
.avarid { padding: 130px 32px; background: var(--bg-soft); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.avarid-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.avarid-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; margin: 0 0 18px; }
.avarid-copy p { font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); max-width: 460px; margin: 0 0 30px; }
.avarid-list { list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-direction: column; gap: 14px; }
.avarid-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: rgba(255,255,255,0.85); }
.avarid-list .check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 1px;
}

/* Custom-built ID card mockup */
.idcard-stage { position: relative; display: flex; align-items: center; justify-content: center; height: 380px; }
.idcard {
  width: 300px; padding: 26px; border-radius: 20px;
  background: linear-gradient(155deg, #101828, #060a12 70%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  position: relative; z-index: 2;
}
.idcard-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; filter: blur(80px); opacity: .5; background: radial-gradient(circle, var(--blue-lt), transparent 70%); z-index: 1; animation: driftA 20s ease-in-out infinite; }
.idcard-top { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.idcard-top img { height: 16px; }
.idcard-chip { width: 34px; height: 24px; border-radius: 5px; background: linear-gradient(135deg, var(--blue-lt), var(--blue)); margin-bottom: 22px; }
.idcard-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.idcard-handle { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 22px; }
.idcard-products { display: flex; gap: 8px; }
.idcard-dot { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; }

/* ---------- Neden Avar (asymmetric stat rows) ---------- */
.why { padding: 130px 32px; }
.why-inner { max-width: var(--max); margin: 0 auto; }
.why-head { max-width: 560px; margin-bottom: 70px; }
.why-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; margin: 0; }
.why-rows { display: flex; flex-direction: column; }
.why-row {
  display: grid; grid-template-columns: 120px 1fr 1.4fr; gap: 30px; align-items: baseline;
  padding: 34px 0; border-top: 1px solid var(--hairline);
}
.why-row:last-child { border-bottom: 1px solid var(--hairline); }
.why-num { font-size: 14px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.why-row h4 { font-size: 19px; font-weight: 600; margin: 0; }
.why-row p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 32px 0; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 46px; border-bottom: 1px solid var(--hairline);
}
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; margin-bottom: 14px; }
.footer-brand img { height: 20px; }
.footer-col p.tagline { font-size: 13.5px; color: var(--ink-faint); max-width: 280px; line-height: 1.6; }
.footer-col h3 { font-size: 12.5px; font-weight: 700; margin: 0 0 16px; color: rgba(255,255,255,0.85); letter-spacing: .04em; text-transform: uppercase; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding: 22px 0; font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .product-row, .product-row.rev { grid-template-columns: 1fr; }
  .product-row.rev .product-visual, .product-row.rev .product-copy { order: initial; }
  .avarid-inner { grid-template-columns: 1fr; }
  .idcard-stage { order: -1; }
  .why-row { grid-template-columns: 60px 1fr; }
  .why-row p { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
