:root {
  --bg: #05060b;
  --panel: rgba(14, 16, 24, 0.78);
  --panel-strong: rgba(15, 17, 28, 0.94);
  --stroke: rgba(255,255,255,0.08);
  --text: #f4f6ff;
  --muted: #bdc3da;
  --accent: #96a8ff;
  --accent-2: #ff4141;
  --accent-3: #bf66ff;
  --radius: 24px;
  --radius-sm: 18px;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #05060b 0%, #090911 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.section { padding: 88px 0; position: relative; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 11, 0.66); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-wrap { min-height: 76px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { font-size: 1.2rem; font-weight: 900; letter-spacing: .08em; }
.main-nav { display:flex; gap:22px; align-items:center; }
.main-nav a, .footer-links a { color: var(--muted); transition: color .2s ease; }
.main-nav a:hover, .footer-links a:hover { color: var(--text); }
.nav-cta, .btn {
  display: inline-flex; align-items:center; justify-content:center;
  padding: 14px 20px; border-radius:999px; font-weight:800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nav-cta, .btn-primary {
  color:#08080e; background: linear-gradient(135deg, #f1f3ff 0%, #9db4ff 55%, #dd73ff 100%);
  box-shadow: 0 14px 44px rgba(143, 167, 255, 0.28);
}
.btn-secondary {
  color: var(--text); background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
}
.nav-cta:hover, .btn:hover, .platform-card:hover { transform: translateY(-3px); }

.hero { padding-top: 58px; }
.hero-grid, .about-grid, .feature-grid { display:grid; grid-template-columns: 1.02fr .98fr; gap:28px; align-items:start; }
.eyebrow {
  color: var(--accent); text-transform:uppercase; letter-spacing:.18em; font-size:.78rem; font-weight:800; margin:0 0 14px;
}
.hero h1 {
  margin:0; font-size: clamp(2.6rem, 5vw, 4.7rem); line-height:.96; letter-spacing:-.05em;
}
.hero h1 span {
  background: linear-gradient(135deg, #eff2ff 0%, #9eb6ff 46%, #f04f72 100%);
  color: transparent; -webkit-background-clip:text; background-clip:text;
}
.hero-text, .section-heading p, .about-grid p, .gallery-caption span, .platform-card span, .contact-card p, .site-footer p, .feature-panel p {
  color: var(--muted); line-height:1.7;
}
.hero-actions, .button-row, .contact-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.hero-stats {
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px; list-style:none; padding:0; margin:32px 0 0;
}
.hero-stats li, .hero-portrait-card, .hero-logo-card, .brand-card, .feature-panel, .embed-card, .gallery-item, .platform-card, .contact-card {
  background: var(--panel); border:1px solid var(--stroke); border-radius: var(--radius); backdrop-filter: blur(14px); box-shadow: var(--shadow);
}
.hero-stats li { padding:18px; }
.hero-stats strong { display:block; font-size:1rem; margin-bottom:8px; }
.hero-stats span { color:var(--muted); font-size:.95rem; }
.hero-visual { display:grid; grid-template-columns: 1fr 180px; gap:18px; }
.hero-portrait-card { position:relative; overflow:hidden; min-height: 580px; }
.hero-portrait-card img { width:100%; height:100%; object-fit:cover; }
.hero-portrait-card::after {
  content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.08) 15%, rgba(0,0,0,.78) 100%);
}
.hero-overlay {
  position:absolute; left:24px; right:24px; bottom:24px; z-index:2;
}
.mini-tag {
  display:inline-flex; width:fit-content; padding:8px 12px; border-radius:999px; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.1); color:var(--text); margin-bottom:14px;
}
.hero-overlay h2 { margin:0; font-size:1.7rem; line-height:1.08; max-width: 14ch; }
.hero-logo-card { padding:16px; display:flex; align-items:center; justify-content:center; min-height: 580px; }
.hero-logo-card img { width:100%; height:auto; }
.section-heading { margin-bottom:24px; }
.section-heading h2, .about-grid h2, .contact-card h2, .feature-text h3 { margin:0 0 14px; font-size: clamp(1.9rem, 3vw, 3rem); line-height:1.04; }

.brand-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.brand-card { overflow:hidden; min-height: 220px; }
.brand-card.wide { grid-column: 1 / -1; }
.brand-card img { width:100%; height:100%; object-fit:cover; }

.feature-panel { overflow:hidden; display:grid; grid-template-columns: 1.05fr .95fr; min-height:420px; }
.feature-text { padding:30px; display:flex; flex-direction:column; justify-content:center; }
.feature-image-wrap { min-height:100%; }
.feature-image-wrap img { width:100%; height:100%; object-fit:cover; }
.embed-stack { display:grid; gap:18px; }
.embed-card { padding:18px; }
.embed-card h4 { margin:0 0 14px; font-size:1rem; }
.video-wrap { position:relative; padding-top:56.25%; overflow:hidden; border-radius:18px; background:rgba(255,255,255,.04); }
.video-wrap iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

.gallery-grid {
  display:grid; grid-template-columns: 1fr 1fr 1fr; gap:18px; align-items:stretch;
}
.gallery-item { position:relative; overflow:hidden; min-height: 310px; }
.gallery-item.tall { grid-row: span 2; min-height: 640px; }
.gallery-item.square { min-height: 310px; }
.gallery-item img { width:100%; height:100%; object-fit:cover; }
.gallery-item::after {
  content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82) 100%);
}
.gallery-caption {
  position:absolute; left:18px; right:18px; bottom:18px; z-index:2;
}
.gallery-caption strong { display:block; margin-bottom:6px; font-size:1.05rem; }

.platform-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; }
.platform-card {
  padding:24px; min-height:138px; display:flex; flex-direction:column; justify-content:space-between;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.platform-card strong { display:block; margin-bottom:12px; font-size:1.1rem; }
.platform-card:hover { border-color: rgba(255, 86, 86, 0.35); background: rgba(24, 20, 30, 0.86); }

.contact-card { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:30px; }
.site-footer { padding:34px 0 28px; border-top: 1px solid rgba(255,255,255,0.06); background: rgba(5,5,10,.5); }
.footer-wrap, .footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.footer-links { display:flex; flex-wrap:wrap; gap:18px; }
.footer-bottom { color:var(--muted); font-size:.95rem; padding-top:18px; margin-top:18px; border-top:1px solid rgba(255,255,255,.05); }

.bg-orb {
  position: fixed; z-index:-2; width:40vw; aspect-ratio:1; border-radius:50%; filter: blur(100px); opacity:.25; pointer-events:none;
}
.orb-1 { top:-12%; left:-4%; background: radial-gradient(circle, #6f88ff 0%, transparent 65%); }
.orb-2 { right:-10%; top:10%; background: radial-gradient(circle, #ff314c 0%, transparent 65%); }
.bg-grid {
  position:fixed; inset:0; z-index:-3; opacity:.22;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
}
.reveal { opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.delay-1 { transition-delay:.08s; }
.delay-2 { transition-delay:.16s; }

@media (max-width: 1100px) {
  .hero-visual { grid-template-columns: 1fr 150px; }
  .platform-grid { grid-template-columns: repeat(3,1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.tall { grid-row: span 1; min-height: 420px; }
}
@media (max-width: 920px) {
  .main-nav { display:none; }
  .hero-grid, .about-grid, .feature-grid, .contact-card, .feature-panel { grid-template-columns: 1fr; display:grid; }
  .hero-visual { grid-template-columns: 1fr 180px; }
  .hero-stats { grid-template-columns: 1fr; }
  .platform-grid, .brand-row { grid-template-columns: 1fr 1fr; }
  .footer-wrap, .footer-bottom { flex-direction:column; align-items:flex-start; }
}
@media (max-width: 700px) {
  .section { padding:72px 0; }
  .nav-wrap { min-height:68px; }
  .nav-cta { display:none; }
  .hero-visual { grid-template-columns: 1fr; }
  .hero-logo-card { min-height: 220px; }
  .hero-portrait-card { min-height: 420px; }
  .feature-panel { min-height:auto; }
  .gallery-grid, .platform-grid, .brand-row { grid-template-columns: 1fr; }
  .hero-overlay h2 { max-width:none; }
  .embed-card, .platform-card, .contact-card, .feature-text { padding:20px; }
}

/* V3 refinements: cleaner hero, controlled crops, compact gallery */
.hero-grid {
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.45rem, 4.45vw, 4.15rem);
  line-height: .98;
  max-width: 12.5ch;
}
.hero-text { max-width: 650px; }
.hero-visual { display: block; }
.hero-portrait-card {
  min-height: 540px;
  max-height: 620px;
}
.hero-portrait-card > img {
  object-position: center 22%;
}
.hero-emblem {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  width: 108px;
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 22px;
  background: rgba(5, 6, 11, .72);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 15px 40px rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
}
.hero-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-overlay h2 {
  max-width: 16ch;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
}

#about.section,
#featured.section,
#gallery.section,
#platforms.section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.feature-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.feature-image-wrap {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.feature-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 35%;
}
.feature-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5,6,11,.58) 100%);
}
.feature-image-badge {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(5,6,11,.72);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.feature-text { padding: 26px; }
.feature-text h3 { font-size: clamp(2rem, 3vw, 2.75rem); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.gallery-item,
.gallery-item.tall,
.gallery-item.square {
  min-height: 0;
  aspect-ratio: 16 / 10;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item img.focus-right { object-position: 70% 30%; }
.gallery-item img.focus-center { object-position: 50% 34%; }
.gallery-item img.focus-face { object-position: 50% 25%; }
.gallery-item img.focus-logo {
  object-fit: contain;
  padding: 28px;
  background: radial-gradient(circle at center, rgba(255,46,46,.12), transparent 58%), #05060a;
}
.gallery-caption {
  left: 20px;
  right: 20px;
  bottom: 18px;
}
.gallery-caption strong { font-size: 1.12rem; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 13ch; }
  .hero-portrait-card { min-height: 500px; max-height: 560px; }
  .hero-portrait-card > img { object-position: center 25%; }
}

@media (max-width: 700px) {
  .hero h1 { max-width: none; font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .hero-portrait-card { min-height: 420px; max-height: 500px; }
  .hero-emblem { width: 82px; border-radius: 18px; top: 14px; right: 14px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item,
  .gallery-item.tall,
  .gallery-item.square { aspect-ratio: 4 / 3; }
  .feature-image-wrap { aspect-ratio: 4 / 3; }
  .feature-image-wrap img { object-position: 68% center; }
}
