/* Google Fonts — Inter variable */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300..900&display=swap');

:root{
  --bg: #ffffff;
  --ink: #0c1220;
  --ink2: #1e2d45;
  --muted: rgba(12,18,32,.55);
  --muted2: rgba(12,18,32,.38);
  --card: rgba(255,255,255,.80);
  --stroke: rgba(12,18,32,.08);
  --stroke2: rgba(12,18,32,.05);
  --shadow-sm: 0 1px 3px rgba(12,18,32,.08), 0 1px 2px rgba(12,18,32,.05);
  --shadow: 0 4px 20px rgba(12,18,32,.08), 0 1px 4px rgba(12,18,32,.06);
  --shadow-lg: 0 24px 64px rgba(12,18,32,.10), 0 4px 12px rgba(12,18,32,.06);

  --accent: #00bbc8;
  --accent2: #0058a8;

  --radius: 14px;
  --radius2: 20px;
  --radius3: 28px;
  --container: 1160px;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
body{
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }
img{ display: block; max-width: 100%; }

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.muted{ color: var(--muted); }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4{
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-feature-settings: "ss01","cv01","cv02";
}
h1{ font-size: clamp(38px, 5vw, 68px); font-weight: 800; letter-spacing: -0.04em; }
h2{ font-size: clamp(28px, 3.2vw, 44px); font-weight: 700; letter-spacing: -0.035em; }
h3{ font-size: clamp(18px, 1.6vw, 22px); font-weight: 650; letter-spacing: -0.02em; }

.eyebrow{
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-accent{ color: var(--accent); }

/* ─── BACKGROUND LAYERS ─── */
.bg-layer{
  position: fixed; inset: 0;
  pointer-events: none; z-index: -3; opacity: 1;
}
.bg-top{
  background-image: url("svg/bg-top.svg");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: cover;
}
.bg-mid{
  background-image: url("svg/bg-mid.svg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -4;
}
.site-footer .bg-footer{
  position: absolute; inset: 0;
  background: url("svg/bg-footer.svg") center bottom / cover no-repeat;
  z-index: -1;
}
body.has-scrolled .bg-top{ opacity: .5; }

/* ─── HEADER ─── */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  background: rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.header-inner{
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px; align-items: center; padding: 13px 0;
}
.brand{ display: flex; align-items: center; gap: 9px; }
.brand-logo{ height: 34px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.12)); }

.nav{
  display: flex; gap: 2px; justify-content: center;
  align-items: center; font-size: 13.5px; font-weight: 500;
}
.nav a{
  padding: 7px 14px; border-radius: 8px;
  color: rgba(255,255,255,.80);
  transition: color .15s, background .15s;
}
.nav a:hover{ color: rgba(255,255,255,1); background: rgba(255,255,255,.10); text-decoration: none; }

.lang-toggle{
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 34px; padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.85); cursor: pointer; position: relative;
  transition: background .15s, border-color .15s;
}
.lang-toggle:hover{ background: rgba(255,255,255,.18); text-decoration: none; }

.lang-dropdown{
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 148px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(12,18,32,.14), 0 2px 8px rgba(12,18,32,.06);
  z-index: 60;
}
.lang-dropdown.is-open{ display: block; }
.lang-dropdown button{
  display: block; width: 100%; padding: 10px 14px; border: none;
  background: transparent; text-align: left;
  font-family: var(--font); font-size: 13.5px; font-weight: 500;
  color: var(--ink); cursor: pointer; transition: background .1s;
}
.lang-dropdown button:hover{ background: rgba(12,18,32,.04); }
.lang-dropdown button.is-active{ font-weight: 700; color: var(--accent2); }

.nav-toggle{
  display: none; width: 40px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.20); background: rgba(255,255,255,.10); cursor: pointer;
}
.nav-toggle span{
  display: block; width: 16px; height: 1.5px;
  background: rgba(255,255,255,.85); margin: 4px auto; border-radius: 2px;
}

.mobile-nav{
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 8px 16px 14px; border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(12,18,32,.88); backdrop-filter: blur(20px);
}
.mobile-nav a{
  display: block; padding: 10px 8px;
  color: rgba(255,255,255,.80); font-size: 14px; font-weight: 500;
}
.mobile-nav[hidden]{ display: none !important; }

/* Header scrolled */
body.has-scrolled .site-header{
  background: rgba(255,255,255,.88);
  border-bottom-color: var(--stroke);
  box-shadow: 0 1px 0 var(--stroke), 0 4px 24px rgba(12,18,32,.06);
}
body.has-scrolled .site-header .nav a{ color: var(--muted); }
body.has-scrolled .site-header .nav a:hover{ color: var(--ink); background: rgba(12,18,32,.04); }
body.has-scrolled .site-header .lang-toggle{
  border-color: var(--stroke); background: rgba(12,18,32,.04); color: var(--ink2);
}
body.has-scrolled .site-header .lang-toggle:hover{ background: rgba(12,18,32,.07); }
body.has-scrolled .site-header .nav-toggle{
  border-color: var(--stroke); background: rgba(12,18,32,.04);
}
body.has-scrolled .site-header .nav-toggle span{ background: var(--ink2); }

/* ─── BUTTONS ─── */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 0 22px; height: 44px;
  border-radius: 9px;
  font-family: var(--font);
  font-size: 14px; font-weight: 550; letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s;
  -webkit-font-smoothing: antialiased;
}
.btn:hover{ text-decoration: none; transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

/* Primary — dark filled */
.btn-primary{
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 1px 2px rgba(12,18,32,.20), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-primary:hover{
  background: var(--ink2);
  border-color: var(--ink2);
  box-shadow: 0 4px 16px rgba(12,18,32,.24), inset 0 1px 0 rgba(255,255,255,.08);
}

/* Ghost — bordered, transparent */
.btn-ghost{
  background: transparent;
  border-color: var(--stroke);
  color: var(--ink);
  box-shadow: none;
}
.btn-ghost:hover{ background: rgba(12,18,32,.04); border-color: rgba(12,18,32,.14); }

/* Ghost on dark/video */
.btn-ghost-onvideo{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: none;
}
.btn-ghost-onvideo:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
}

.btn-lg{ height: 50px; padding: 0 28px; font-size: 15px; border-radius: 11px; }
.btn-sm{ height: 36px; padding: 0 16px; font-size: 13px; border-radius: 7px; }

/* Arrow suffix */
.btn-arrow::after{
  content: "→";
  font-size: 15px; line-height: 1;
  transition: transform .18s;
  display: inline-block;
}
.btn-arrow:hover::after{ transform: translateX(3px); }

/* ─── HERO ─── */
.hero{
  position: relative;
  min-height: clamp(640px, 100vh, 1020px);
  display: grid; align-items: center; overflow: hidden;
}
.hero-bg{ position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-video{
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); filter: saturate(1.08) contrast(1.02);
}
.hero-bg-poster{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; transition: opacity .7s ease;
}
.hero-bg-poster.is-hidden{ opacity: 0; pointer-events: none; }
.hero-bg-scrim{
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 15%, rgba(0,187,200,.15), transparent 45%),
    radial-gradient(ellipse at 75% 25%, rgba(0,88,168,.12), transparent 50%),
    linear-gradient(175deg, rgba(8,12,22,.72) 0%, rgba(8,12,22,.30) 50%, rgba(8,12,22,.58) 100%);
}
.hero-bg-noise{
  position: absolute; inset: 0; opacity: .09; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner{
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 110px 24px 90px;
  min-height: clamp(640px, 100vh, 1020px);
  justify-content: center;
}

.hero-logo-img{
  width: min(240px, 46vw); height: auto;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,.28));
  margin-bottom: 28px;
}

.hero-tagline{
  color: rgba(255,255,255,.97);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 22ch;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.hero-subtitle{
  color: rgba(255,255,255,.62);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  max-width: 46ch;
  line-height: 1.6;
  margin-bottom: 36px;
  letter-spacing: -0.005em;
}

.hero-cta{ display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

@keyframes pulse{
  0%, 100%{ opacity: .7; transform: scale(1); }
  50%{ opacity: 1; transform: scale(1.3); }
}

/* ─── SECTIONS ─── */
.section{ padding: 96px 0; position: relative; }
.section-soft{
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(0,187,200,.045) 40%,
    rgba(255,255,255,0) 100%);
}
.section-dark{
  background: url("svg/bg-gallery.svg") center / cover no-repeat;
  color: rgba(255,255,255,.92);
  overflow: hidden;
}
.section-dark .muted{ color: rgba(255,255,255,.52); }

.section-head{
  text-align: center; margin-bottom: 56px;
}
.section-head .eyebrow{ margin-bottom: 14px; }
.section-head h2{ margin-bottom: 14px; }
.section-head p{
  max-width: 54ch; margin: 0 auto;
  font-size: 17px; color: var(--muted);
  font-weight: 400; line-height: 1.65;
  letter-spacing: -0.005em;
}
.section-dark .section-head p{ color: rgba(255,255,255,.52); }

/* ─── ABOUT ─── */
.about-grid{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.about-text-block .eyebrow{ margin-bottom: 16px; }
.about-text-block h2{ margin-bottom: 22px; }
.about-text-block p{
  font-size: 16.5px; line-height: 1.72;
  color: var(--muted); letter-spacing: -0.005em;
}
.about-text-block p + p{ margin-top: 16px; }
.about-text-block .btn{ margin-top: 30px; }

.about-media{
  border-radius: var(--radius3); overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-lg);
}
.about-media img{ width: 100%; height: auto; display: block; }

/* ─── GALLERY ─── */
.gallery-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gallery-item{
  border-radius: var(--radius2); overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 16px 50px rgba(0,0,0,.20);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  cursor: pointer; position: relative;
}
.gallery-item::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.28));
  opacity: 0; transition: opacity .22s; pointer-events: none;
}
.gallery-item:hover{
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  border-color: rgba(0,187,200,.16);
}
.gallery-item:hover::after{ opacity: 1; }
.gallery-item img{ width: 100%; aspect-ratio: 1/1; object-fit: cover; }

/* ─── VIDEO ─── */
.video-section{ padding: 96px 0; }
.video-wrapper{
  position: relative; border-radius: var(--radius3); overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-lg);
  max-width: 880px; margin: 0 auto;
  aspect-ratio: 16/9; background: #000;
}
.video-wrapper video{ width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-btn{
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,.20);
  cursor: pointer; transition: background .2s;
}
.video-play-btn:hover{ background: rgba(0,0,0,.08); }
.video-play-btn svg{
  width: 72px; height: 72px;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.30));
  transition: transform .2s;
}
.video-play-btn:hover svg{ transform: scale(1.06); }

/* ─── CTA ─── */
.cta-section{
  position: relative; padding: 110px 0; text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0b1424 0%, #0f2340 55%, #081320 100%);
}
.cta-bg-img{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .18; filter: blur(3px) saturate(.8);
}
.cta-inner{ position: relative; z-index: 2; }
.cta-section h2{
  color: rgba(255,255,255,.96);
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -0.04em; margin-bottom: 16px;
}
.cta-section p{
  color: rgba(255,255,255,.55); font-size: 17px;
  max-width: 46ch; margin: 0 auto 36px;
  line-height: 1.65; letter-spacing: -0.005em;
}
.quest-badge{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.55); font-size: 13px; font-weight: 500;
  letter-spacing: -0.005em; margin-top: 24px;
}

/* ─── FEATURES ─── */
.features-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-card{
  border-radius: var(--radius2);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(12px);
  padding: 28px 24px 26px;
  box-shadow: 0 1px 3px rgba(12,18,32,.06), 0 8px 32px rgba(12,18,32,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(12,18,32,.08), 0 16px 48px rgba(12,18,32,.08);
}
.feature-icon{
  width: 44px; height: 44px; border-radius: 11px;
  border: 1px solid var(--stroke);
  background: rgba(12,18,32,.04);
  display: grid; place-items: center;
  margin-bottom: 16px; font-size: 20px;
}
.feature-card h3{
  font-size: 16px; font-weight: 650;
  margin-bottom: 8px; letter-spacing: -0.02em;
}
.feature-card p{
  color: var(--muted); font-size: 14.5px;
  line-height: 1.6; letter-spacing: -0.005em;
}

/* ─── FOOTER ─── */
.site-footer{
  position: relative;
  border-top: 1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  padding: 28px 0; overflow: hidden;
}
.footer-inner{
  display: flex; justify-content: space-between;
  align-items: center; gap: 18px; flex-wrap: wrap;
}
.footer-left{ display: flex; align-items: center; gap: 12px; }
.footer-logo{ height: 26px; width: auto; }
.footer-note{ font-size: 12.5px; color: var(--muted2); letter-spacing: -0.005em; }
.footer-right{
  display: flex; gap: 20px;
  color: var(--muted); font-size: 13px; font-weight: 500;
  letter-spacing: -0.005em;
}
.footer-right a:hover{ color: var(--ink); text-decoration: none; }

/* ─── LIGHTBOX ─── */
.lightbox{
  position: fixed; inset: 0; z-index: 100;
  display: none; place-items: center;
  background: rgba(8,12,22,.84);
  backdrop-filter: blur(16px); cursor: pointer;
}
.lightbox.is-open{ display: grid; }
.lightbox img{
  max-width: min(90vw, 1100px); max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  object-fit: contain;
}
.lightbox-close{
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.80); font-size: 20px; font-weight: 400;
  cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(12px); transition: background .15s;
}
.lightbox-close:hover{ background: rgba(255,255,255,.18); }

/* ─── VIDEO UNLOCK ─── */
.video-unlock{
  position: absolute; left: 14px; bottom: 14px; z-index: 5;
  border-radius: 8px; padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(10,14,26,.60); color: rgba(255,255,255,.88);
  font-size: 12.5px; font-weight: 500;
  backdrop-filter: blur(12px); cursor: pointer;
  transition: background .15s;
}
.video-unlock:hover{ background: rgba(10,14,26,.78); }

/* ─── FADE IN ─── */
.fade-in{
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.is-visible{ opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px){
  .features-grid{ grid-template-columns: 1fr 1fr; }
  .about-grid{ grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px){
  .header-inner{ grid-template-columns: auto 1fr auto auto; }
  .nav{ display: none; }
  .nav-toggle{ display: inline-grid; place-items: center; }
  .hero-inner{ padding: 90px 20px 72px; }
  .hero-logo-img{ width: min(190px, 50vw); }
  .features-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr; }
  .section{ padding: 60px 0; }
}
