/* ============================================================
   GMind — Design System
   Primary: Deep Indigo #3B3777 | Rounded, playful, premium edtech
   Font: Poppins
   ============================================================ */

:root{
  /* Core brand */
  --indigo:        #3B3777;
  --indigo-700:    #2E2A5E;
  --indigo-900:    #201C42;
  --indigo-tint:   #EFEDFA;
  --indigo-tint-2: #F6F5FC;

  /* Accents */
  --gold:          #E50B4E;
  --gold-ink:      #E50B4E;
  --brand-green:   #7ED957;
  --coral:         #FF6F91;
  --sky-blue:      #5B8DEF;

  /* Sky Step / event brand */
  --ss-teal:       #02C4B2;
  --ss-pink:       #E50B4E;
  --ss-cream:      #FBFAEC;
  --ss-blue:       #0271AB;
  --ss-green:      #7ED957;

  /* Neutrals */
  --ink:           #201D3D;
  --ink-soft:      #514D78;
  --muted:         #7A7699;
  --line:          #E7E4F5;
  --white:         #FFFFFF;
  --bg:            #FBFAF9;

  /* Radius / shadow */
  --r-card: 8px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(32,28,61,0.06);
  --shadow-md: 0 12px 34px rgba(32,28,61,0.10);
  --shadow-lg: 0 24px 60px rgba(32,28,61,0.16);

  --container: 1200px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,sans-serif;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
section{ position:relative; }
a:focus-visible,
button:focus-visible{
  outline:3px solid var(--brand-green);
  outline-offset:4px;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

/* ---------- Type scale ---------- */
h1,h2,h3,h4{ margin:0; line-height:1.15; font-weight:700; letter-spacing:-0.01em; }
h1{ font-size:clamp(2.4rem,4.6vw,4rem); font-weight:800; }
h2{ font-size:clamp(1.9rem,3.2vw,2.7rem); font-weight:800; }
h3{ font-size:1.3rem; font-weight:700; }
p{ margin:0; color:var(--ink-soft); line-height:1.7; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.10em;
  text-transform:uppercase;
  color:var(--indigo);
  background:var(--indigo-tint);
  padding:7px 16px;
  border-radius:var(--r-pill);
  margin-bottom:18px;
}
.eyebrow::before{
  content:'';
  width:7px; height:7px; border-radius:50%;
  background:var(--brand-green);
  flex-shrink:0;
}

.section-head{
  max-width:640px;
  margin-bottom:56px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p{ margin-top:14px; font-size:1.05rem; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:15px 30px;
  border-radius:var(--r-pill);
  font-weight:700;
  font-size:0.98rem;
  border:2px solid transparent;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space:nowrap;
  max-width:100%;
  text-align:center;
}
.btn-primary{
  background:var(--gold);
  color:var(--white);
  box-shadow:0 10px 24px rgba(229,11,78,0.32);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(229,11,78,0.42); }
.btn-ghost{
  background:transparent;
  border-color:rgba(255,255,255,0.55);
  color:var(--white);
}
.btn-ghost:hover{ background:rgba(255,255,255,0.12); transform:translateY(-2px); }
.btn-outline{
  background:transparent;
  border-color:var(--indigo);
  color:var(--indigo);
}
.btn-outline:hover{ background:var(--indigo); color:var(--white); transform:translateY(-2px); }
.btn-block{ width:100%; }
.btn-disabled{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:15px 34px;
  border-radius:var(--r-pill);
  font-weight:800;
  font-size:1rem;
  background:var(--ss-pink);
  border:2px solid rgba(255,255,255,0.65);
  color:var(--ss-cream);
  cursor:not-allowed;
  pointer-events:none;
  box-shadow:0 18px 36px rgba(229,11,78,0.28);
  backdrop-filter:blur(2px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:fixed; top:0; left:0; right:0;
  z-index:1000;
  padding:14px 0;
  transition:background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
}
.site-header.solid{
  background:rgba(251,250,249,0.92);
  backdrop-filter:saturate(180%) blur(14px);
  box-shadow:0 2px 20px rgba(32,28,61,0.08);
  padding:10px 0;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{
  width:150px;
  height:auto;
  max-height:50px;
  object-fit:contain;
}

.nav-links{
  display:flex; align-items:center; gap:0;
  background:var(--white);
  border:1px solid var(--line);
  padding:6px; border-radius:var(--r-pill);
  box-shadow:var(--shadow-sm);
}
.nav-links a{
  padding:10px 15px;
  font-size:0.84rem;
  font-weight:600;
  color:var(--ink-soft);
  border-radius:var(--r-pill);
  white-space:nowrap;
  transition:background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active{ background:var(--indigo-tint); color:var(--indigo); }

.header-actions{ display:flex; align-items:center; gap:14px; }
.header-actions .btn-primary{ flex-shrink:0; }
.burger{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--white);
  align-items:center; justify-content:center;
  flex-direction:column; gap:4px;
}
.burger span{ width:20px; height:2px; background:var(--indigo); border-radius:2px; }

.mobile-nav{
  display:none;
  position:fixed; inset:0; z-index:1100;
  background:var(--indigo-900);
  padding:100px 30px 40px;
  flex-direction:column; gap:6px;
  overflow-y:auto;
}
.mobile-nav.open{ display:flex; }
.mobile-nav a{
  color:var(--white); font-weight:600; font-size:1.15rem;
  padding:14px 6px; border-bottom:1px solid rgba(255,255,255,0.1);
}
.mobile-nav .btn-primary{ margin-top:20px; }
.mobile-close{
  position:absolute; top:24px; right:24px;
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,0.1); border:none; color:#fff;
  font-size:1.4rem; display:flex; align-items:center; justify-content:center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  background:var(--indigo);
  color:var(--white);
  padding:150px 0 0;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.hero-blobs{ position:absolute; inset:0; z-index:-1; }
.hero-blobs svg{ position:absolute; }
.hero-grain{
  position:absolute; inset:0; z-index:-1;
  background-image:radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size:22px 22px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
  opacity:.5;
}

.hero-grid{
  display:grid;
  grid-template-columns:0.95fr 1.05fr;
  align-items:center;
  gap:52px;
  position:relative;
}
.hero-copy{ position:relative; z-index:4; padding-bottom:70px;}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.22);
  padding:8px 18px 8px 8px;
  border-radius:var(--r-pill);
  font-size:0.82rem; font-weight:700; letter-spacing:.03em;
  margin-bottom:26px;
}
.hero-eyebrow .dot-badge{
  background:var(--brand-green); color:var(--indigo-900);
  width:22px; height:22px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:0.7rem; font-weight:800;
}
.hero h1{ color:var(--white); margin-bottom:22px; }
.hero h1 .accent{ color:var(--brand-green); }
.hero-sub{
  color:rgba(255,255,255,0.82);
  font-size:1.12rem;
  max-width:520px;
  margin-bottom:34px;
}
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:44px; }

.hero-badges{ display:flex; flex-wrap:wrap; gap:10px; }
.pill-badge{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.2);
  padding:9px 16px;
  border-radius:var(--r-pill);
  font-size:0.82rem; font-weight:600;
  color:var(--white);
}
.pill-badge svg{ width:15px; height:15px; flex-shrink:0; }

.hero-visual{
  position:relative;
  z-index:2;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  height:100%;
  min-height:620px;
}
.hero-blob-shape{
  display:none;
}
.hero-char{
  position:relative; z-index:1;
  width:min(880px,128%);
  max-width:880px;
  transform:translateX(-36px);
}
.hero-float-badge{
  position:absolute;
  background:var(--white);
  color:var(--indigo);
  padding:12px 18px;
  border-radius:16px;
  font-weight:700;
  font-size:0.82rem;
  box-shadow:var(--shadow-lg);
  display:flex; align-items:center; gap:8px;
  z-index:3;
  animation:floatBadge 6s ease-in-out infinite;
}
.hero-float-badge svg{ width:18px;height:18px; }
.fb-1{ top:10%; left:2%; animation-delay:0s; }
.fb-2{ top:42%; right:0; animation-delay:1.2s; }
.fb-3{ bottom:8%; left:8%; animation-delay:2.4s; }
@keyframes floatBadge{
  0%,100%{ transform:translateY(0px); }
  50%{ transform:translateY(-10px); }
}

.hero-stats{
  position:relative; z-index:2;
  background:var(--white);
  border-radius:var(--r-lg) var(--r-lg) 0 0;
  margin-top:40px;
  padding:34px 0 32px;
  box-shadow:0 -20px 50px rgba(0,0,0,0.18);
}
.stats-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  text-align:center;
  max-width:900px;
  margin:0 auto;
}
.stat{ padding:4px 18px; }
.stat-num{
  font-size:clamp(1.5rem,2.4vw,2.1rem);
  font-weight:800;
  color:var(--indigo);
}
.stat-label{
  font-size:0.8rem;
  color:var(--muted);
  font-weight:600;
  margin-top:4px;
}
.stats-row .stat + .stat{ border-left:1px solid var(--line); }

/* ============================================================
   LOGO MARQUEE (Schools)
   ============================================================ */
.logos-section{ padding:70px 0 76px; background:var(--white); overflow:hidden; }
.logos-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:34px; flex-wrap:wrap; gap:12px;
}
.logos-head h3{ color:var(--ink); font-size:1.05rem; font-weight:700; }
.logos-head span{ color:var(--muted); font-size:0.9rem; }

.marquee{ position:relative; width:100%; }
.marquee::before,.marquee::after{
  content:''; position:absolute; top:0; bottom:0; width:90px; z-index:2;
}
.marquee::before{ left:0; background:linear-gradient(90deg,var(--white),transparent); }
.marquee::after{ right:0; background:linear-gradient(270deg,var(--white),transparent); }
.marquee-track{
  display:flex; gap:20px; width:max-content;
  animation:scrollLeft 46s linear infinite;
}
.marquee-track.reverse{ animation:scrollRight 52s linear infinite; }
.marquee-track:hover{ animation-play-state:paused; }
@keyframes scrollLeft{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
@keyframes scrollRight{ from{ transform:translateX(-50%);} to{ transform:translateX(0);} }

.logo-card{
  flex-shrink:0;
  width:150px; height:92px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r-card);
  display:flex; align-items:center; justify-content:center;
  padding:14px;
  transition:box-shadow .25s, transform .25s, border-color .25s;
}
.logo-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); border-color:transparent; }
.logo-card img{ max-height:100%; max-width:100%; object-fit:contain; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section{ padding:110px 0; background:var(--bg); }
.about-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:70px; align-items:center; }
.about-visual{ position:relative; }
.about-frame{
  position:relative;
  background:var(--indigo-tint);
  border-radius:var(--r-lg);
  padding:10px;
  display:flex; align-items:center; justify-content:center;
  min-height:560px;
  overflow:hidden;
}
.about-frame::before{
  content:'';
  position:absolute; width:280px; height:280px; border-radius:50%;
  background:radial-gradient(circle,rgba(126,217,87,0.48),transparent 70%);
  top:-60px; right:-60px;
}
.about-frame img{
  position:relative;
  z-index:1;
  width:auto;
  max-width:94%;
  height:min(92%,520px);
  max-height:520px;
  filter:drop-shadow(0 24px 34px rgba(32,28,61,0.16));
}
.about-tag{
  position:absolute; bottom:22px; left:22px;
  background:var(--white); padding:12px 18px; border-radius:14px;
  box-shadow:var(--shadow-md); font-weight:700; font-size:0.85rem;
  display:flex; align-items:center; gap:8px; z-index:2;
}
.about-tag .num{ color:var(--indigo); font-size:1.1rem; font-weight:800; }

.about-copy h2{ margin-bottom:20px; }
.about-copy > p{ font-size:1.08rem; margin-bottom:36px; }

.about-cards{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.about-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r-card);
  padding:22px 20px;
  transition:transform .25s, box-shadow .25s, border-color .25s;
}
.about-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent; }
.about-card .icon-badge{ margin-bottom:14px; }
.about-card h4{ font-size:1rem; font-weight:700; margin-bottom:6px; }
.about-card p{ font-size:0.88rem; }

.icon-badge{
  width:46px; height:46px; border-radius:13px;
  display:flex; align-items:center; justify-content:center;
  background:var(--indigo-tint); color:var(--indigo);
}
.icon-badge svg{ width:22px; height:22px; }
.icon-badge.gold{ background:rgba(126,217,87,0.18); color:#4CA928; }
.icon-badge.coral{ background:#FFE7ED; color:var(--coral); }
.icon-badge.sky{ background:#E9F0FF; color:var(--sky-blue); }

/* ============================================================
   WHAT WE BUILD
   ============================================================ */
.build-section{ padding:110px 0; background:var(--white); }
.build-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.build-card{
  background:var(--indigo-tint-2);
  border-radius:var(--r-lg);
  padding:32px 26px;
  transition:transform .3s, box-shadow .3s, background .3s;
  position:relative;
  overflow:hidden;
}
.build-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); background:var(--white); border:1px solid var(--line); }
.build-card .icon-badge{ width:54px; height:54px; border-radius:16px; margin-bottom:22px; background:var(--indigo); color:var(--white); }
.build-card .icon-badge svg{ width:26px; height:26px; }
.build-card h4{ font-size:1.12rem; margin-bottom:10px; }
.build-card p{ font-size:0.92rem; }
.build-card .tag{
  display:inline-block; margin-top:16px;
  font-size:0.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  color:var(--indigo); background:var(--white); border:1px solid var(--line);
  padding:5px 12px; border-radius:var(--r-pill);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section{ padding:110px 0; background:var(--indigo-900); color:var(--white); }
.gallery-section .section-head p{ color:rgba(255,255,255,0.65); }
.gallery-section .eyebrow{ background:rgba(255,255,255,0.1); color:var(--brand-green); }
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:176px;
  gap:18px;
}
.gallery-item{
  position:relative;
  border-radius:12px;
  overflow:hidden;
  background:linear-gradient(135deg,var(--indigo-700),var(--indigo));
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,0.08);
}
.gallery-item.big{ grid-column:span 2; grid-row:span 2; }
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.gallery-item .ph-icon{ opacity:0.35; width:40px; height:40px; }
.gallery-item .ph-label{
  position:absolute; bottom:12px; left:12px;
  font-size:0.72rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  color:var(--white);
  z-index:2;
  text-shadow:0 2px 12px rgba(0,0,0,0.45);
  background:rgba(32,28,66,0.68);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:var(--r-pill);
  padding:6px 11px;
  backdrop-filter:blur(6px);
}
.gallery-item::after{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(7,10,31,0.72), rgba(7,10,31,0.08) 55%, transparent);
  pointer-events:none;
}

/* ============================================================
   SKY STEP
   ============================================================ */
.skystep-section{
  padding:0;
  background:transparent;
  color:var(--ss-cream);
  position:relative;
  overflow:hidden;
  min-height:620px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.skystep-brand-bg{
  position:absolute;
  inset:-24px;
  width:auto;
  height:auto;
  object-fit:cover;
  opacity:0.95;
  filter:blur(8px);
  transform:scale(1.06);
  z-index:0;
}
.skystep-section::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(circle at 50% 40%, rgba(251,250,236,0.08), transparent 30%),
    linear-gradient(180deg, rgba(2,196,178,0.18), rgba(229,11,78,0.10));
  pointer-events:none;
}
.skystep-inner{
  padding:110px 24px;
  max-width:var(--container);
  margin:0 auto;
  text-align:center;
  position:relative;
  z-index:2;
}
.skystep-blobs{ position:absolute; inset:0; z-index:0; }
.ss-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--ss-pink);
  color:var(--ss-cream);
  padding:8px 20px;
  border-radius:var(--r-pill);
  font-weight:700; font-size:0.8rem; letter-spacing:.08em; text-transform:uppercase;
  margin-bottom:30px;
}
.skystep-logo-frame{
  width:min(430px, 78vw);
  margin:0 auto 34px;
  border-radius:0;
  overflow:visible;
  box-shadow:none;
  background:transparent;
}
.skystep-logo{
  width:100%;
  max-width:none;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 18px 30px rgba(8,11,31,0.28));
}
.skystep-title{
  font-family:'Baloo 2','Poppins',sans-serif;
  font-size:clamp(3rem,8vw,6.4rem);
  color:var(--ss-cream);
  line-height:0.95;
  margin-bottom:28px;
  -webkit-text-stroke:2px rgba(0,0,0,0.05);
}
.skystep-desc{
  max-width:620px; margin:0 auto 40px;
  color:rgba(251,250,236,0.92);
  font-size:1.1rem;
  text-shadow:0 2px 18px rgba(8,11,31,0.2);
}
.skystep-pattern{
  height:64px;
  background-color:var(--ss-cream);
  background-image:repeating-linear-gradient(90deg, var(--ss-teal) 0 26px, transparent 26px 52px);
  mask-image:radial-gradient(ellipse 14px 30px at 13px 50%, black 98%, transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 14px 30px at 13px 50%, black 98%, transparent 100%);
  -webkit-mask-repeat:repeat-x; mask-repeat:repeat-x;
  -webkit-mask-size:52px 64px; mask-size:52px 64px;
  background-repeat:repeat-x;
}
.skystep-blobs,
.ss-eyebrow,
.skystep-title,
.skystep-desc,
.skystep-pattern{ display:none; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-section{ padding:100px 0 110px; background:var(--bg); }
.partners-grid{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:16px;
}
.partner-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r-card);
  aspect-ratio:1.3/1;
  display:flex; align-items:center; justify-content:center;
  padding:14px;
  transition:box-shadow .25s, transform .25s;
}
.partner-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.partner-card img{ max-width:100%; max-height:100%; object-fit:contain; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section{ padding:110px 0; background:var(--white); }
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testi-card{
  background:var(--indigo-tint-2);
  border-radius:var(--r-lg);
  padding:34px 30px;
  display:flex; flex-direction:column;
  transition:transform .3s, box-shadow .3s;
}
.testi-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.testi-quote-mark{ font-size:3rem; font-weight:800; color:var(--gold); line-height:1; margin-bottom:6px; font-family:Georgia,serif; }
.testi-card p.quote{ color:var(--ink-soft); font-size:0.96rem; margin-bottom:26px; flex-grow:1; }
.testi-person{ display:flex; align-items:center; gap:12px; }
.testi-avatar{
  width:46px; height:46px; border-radius:50%;
  background:var(--indigo); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:1rem; flex-shrink:0;
}
.testi-name{ font-weight:700; font-size:0.92rem; color:var(--ink); }
.testi-role{ font-size:0.8rem; color:var(--muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section{ padding:110px 0 120px; background:var(--indigo); color:var(--white); position:relative; overflow:hidden; }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; position:relative; z-index:2; }
.contact-section .eyebrow{ background:rgba(255,255,255,0.12); color:var(--brand-green); }
.contact-section h2{ color:var(--white); margin-bottom:18px; }
.contact-section .lead{ color:rgba(255,255,255,0.78); font-size:1.05rem; margin-bottom:40px; max-width:480px; }

.contact-item{ display:flex; gap:16px; margin-bottom:26px; }
.contact-item .icon-badge{ background:rgba(255,255,255,0.12); color:var(--brand-green); flex-shrink:0; }
.contact-item h4{ color:var(--white); font-size:0.98rem; margin-bottom:4px; }
.contact-item p, .contact-item a{ color:rgba(255,255,255,0.72); font-size:0.92rem; }
.contact-item a:hover{ color:var(--brand-green); }

.offices-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.office-card{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:var(--r-lg);
  padding:28px 24px;
}
.office-card h4{ color:var(--brand-green); font-size:0.78rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:12px; }
.office-card p{ color:rgba(255,255,255,0.85); font-size:0.95rem; line-height:1.6; }
.social-row{ display:flex; gap:10px; margin-top:26px; }
.social-btn{
  width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, transform .2s;
}
.social-btn:hover{ background:var(--brand-green); color:var(--indigo-900); transform:translateY(-3px); }
.social-btn svg{ width:18px; height:18px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band{
  background:var(--gold);
  padding:60px 0;
}
.cta-band .container{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.cta-band h3{ color:var(--white); font-size:1.5rem; }
.cta-band p{ color:rgba(255,255,255,0.82); margin-top:6px; }
.cta-band .btn-primary{ background:var(--indigo); color:var(--white); box-shadow:0 10px 24px rgba(59,55,119,0.3); }
.cta-band .btn-primary:hover{ box-shadow:0 14px 30px rgba(59,55,119,0.4); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background:var(--indigo-900); color:rgba(255,255,255,0.6); padding:70px 0 30px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-brand img{ height:58px; margin-bottom:18px; }
.footer-brand p{ color:rgba(255,255,255,0.55); font-size:0.9rem; max-width:280px; }
.footer-col h5{ color:var(--white); font-size:0.85rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px; }
.footer-col a{ display:block; color:rgba(255,255,255,0.6); font-size:0.9rem; margin-bottom:12px; transition:color .2s; }
.footer-col a:hover{ color:var(--brand-green); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:26px; flex-wrap:wrap; gap:14px; }
.footer-bottom p{ color:rgba(255,255,255,0.45); font-size:0.82rem; }
.footer-social{ display:flex; gap:10px; }

/* ============================================================
   PLATFORM PAGE
   ============================================================ */
.platform-hero{
  background:var(--indigo);
  color:var(--white);
  padding:160px 0 90px;
  position:relative; overflow:hidden;
}
.platform-hero-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.platform-hero h1{ color:var(--white); margin-bottom:20px; }
.platform-hero .hero-sub{ margin-bottom:30px; }
.store-badges{ display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; }
.store-badge{
  display:flex; align-items:center; gap:10px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.2);
  padding:11px 18px; border-radius:14px;
}
.store-badge svg{ width:26px; height:26px; }
.store-badge .store-text{ line-height:1.2; }
.store-badge .store-text small{ display:block; font-size:0.65rem; color:rgba(255,255,255,0.6); }
.store-badge .store-text strong{ font-size:0.92rem; color:var(--white); }

.mockup-wrap{ position:relative; display:flex; justify-content:center; align-items:center; min-height:560px; }
.phone-mock{
  width:270px; height:540px;
  background:var(--indigo-900);
  border-radius:36px;
  border:6px solid rgba(255,255,255,0.15);
  box-shadow:var(--shadow-lg);
  position:relative;
  overflow:hidden;
  z-index:2;
}
.phone-mock .screen{
  position:absolute; inset:6px;
  border-radius:28px;
  background:linear-gradient(160deg,#4C46A0,#221F49);
  padding:0;
  overflow:hidden;
}
.mockup-screen-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
}
.phone-mock .dash-card{
  background:rgba(255,255,255,0.1);
  border-radius:14px;
  padding:12px;
  margin-bottom:10px;
}
.phone-mock .dash-bar{ height:8px; border-radius:6px; background:rgba(255,255,255,0.25); margin-bottom:6px; }
.phone-mock .dash-bar.short{ width:60%; }
.phone-mock .dash-progress{ height:6px; background:var(--gold); border-radius:6px; width:70%; }
.phone-mock-2{
  width:220px; height:450px;
  position:absolute; right:0; bottom:-10px;
  z-index:1; opacity:0.85;
  transform:rotate(8deg);
}

.features-section{ padding:110px 0; background:var(--white); }
.features-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feature-card{
  background:var(--indigo-tint-2);
  border-radius:var(--r-lg);
  padding:30px 26px;
  transition:transform .3s, box-shadow .3s;
}
.feature-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.feature-card h4{ font-size:1.05rem; margin:16px 0 8px; }
.feature-card p{ font-size:0.9rem; }

.library-section{ padding:110px 0; background:var(--bg); }
.game-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.game-card{
  background:var(--white);
  border-radius:var(--r-lg);
  overflow:hidden;
  border:1px solid var(--line);
  transition:transform .3s, box-shadow .3s;
  display:flex; flex-direction:column;
}
.game-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.game-thumb{
  aspect-ratio:16/9;
  height:auto;
  background:linear-gradient(135deg,var(--indigo),#5B54B8);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  overflow:hidden;
}
.game-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.game-thumb .ph-icon{ width:52px; height:52px; color:rgba(255,255,255,0.5); }
.game-thumb::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(to top, rgba(9,12,44,0.52), transparent 60%);
  pointer-events:none;
}
.game-status{
  position:absolute; top:14px; right:14px;
  background:var(--gold); color:var(--white);
  font-size:0.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em;
  padding:6px 12px; border-radius:var(--r-pill); z-index:2;
}
.game-body{ padding:24px 24px 26px; display:flex; flex-direction:column; flex-grow:1; }
.game-cat{
  font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
  color:var(--indigo); background:var(--indigo-tint);
  padding:5px 12px; border-radius:var(--r-pill);
  display:inline-block; margin-bottom:14px; width:fit-content;
}
.game-body h4{ margin-bottom:10px; font-size:1.1rem; }
.game-body p{ font-size:0.9rem; }

.device-lock-band{
  background:var(--indigo-900); color:var(--white);
  padding:90px 0;
}
.dl-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.dl-grid h2{ color:var(--white); margin-bottom:18px; }
.dl-grid p{ color:rgba(255,255,255,0.72); font-size:1.05rem; }
.dl-points{ margin-top:26px; }
.dl-point{ display:flex; gap:14px; margin-bottom:18px; align-items:flex-start; }
.dl-point .icon-badge{ background:rgba(255,255,255,0.12); color:var(--brand-green); flex-shrink:0; }
.dl-point h4{ color:var(--white); font-size:0.95rem; margin-bottom:4px; }
.dl-point p{ font-size:0.85rem; }
.dl-visual{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--r-lg);
  padding:40px;
  display:flex; align-items:center; justify-content:center;
}

/* ============================================================
   TERMS PAGE
   ============================================================ */
.terms-hero{
  background:var(--indigo); color:var(--white);
  padding:160px 0 80px; text-align:center;
}
.terms-hero h1{ color:var(--white); margin-bottom:16px; }
.terms-hero p{ color:rgba(255,255,255,0.75); max-width:560px; margin:0 auto; }
.terms-meta{ display:flex; justify-content:center; gap:18px; margin-top:24px; flex-wrap:wrap; }
.terms-meta span{ background:rgba(255,255,255,0.1); padding:7px 16px; border-radius:var(--r-pill); font-size:0.8rem; font-weight:600; }

.terms-body{ padding:80px 0 110px; background:var(--bg); }
.terms-layout{ display:grid; grid-template-columns:280px 1fr; gap:50px; align-items:start; }
.terms-toc{
  position:sticky; top:110px;
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--r-lg); padding:26px 22px;
}
.terms-toc h5{ font-size:0.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:16px; }
.terms-toc a{
  display:block; padding:9px 10px; border-radius:10px;
  font-size:0.88rem; font-weight:600; color:var(--ink-soft);
  margin-bottom:2px; transition:background .2s,color .2s;
}
.terms-toc a:hover, .terms-toc a.active{ background:var(--indigo-tint); color:var(--indigo); }

.terms-sections{ display:flex; flex-direction:column; gap:20px; }
.terms-card{
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--r-lg); padding:34px 36px;
  scroll-margin-top:110px;
  max-width:820px;
}
.terms-card .t-num{
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:10px;
  background:var(--indigo-tint); color:var(--indigo);
  font-weight:800; font-size:0.85rem; margin-bottom:16px;
}
.terms-card h3{ margin-bottom:14px; }
.terms-card p{ font-size:0.95rem; margin-bottom:12px; }
.terms-card p:last-child{ margin-bottom:0; }
.terms-card ul{ margin:12px 0; padding-left:0; }
.terms-card ul li{
  font-size:0.95rem; color:var(--ink-soft); line-height:1.7;
  padding-left:24px; position:relative; margin-bottom:8px;
}
.terms-card ul li::before{
  content:''; position:absolute; left:2px; top:9px;
  width:7px; height:7px; border-radius:50%; background:var(--brand-green);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px){
  .about-grid, .platform-hero-grid, .contact-grid, .dl-grid{ grid-template-columns:1fr; }
  .build-grid{ grid-template-columns:repeat(2,1fr); }
  .testi-grid{ grid-template-columns:1fr; }
  .partners-grid{ grid-template-columns:repeat(4,1fr); }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .gallery-item.big{ grid-column:span 2; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .features-grid{ grid-template-columns:1fr 1fr; }
  .game-grid{ grid-template-columns:1fr; }
  .terms-layout{ grid-template-columns:1fr; }
  .terms-toc{ position:relative; top:0; }
  .hero-grid{ grid-template-columns:1fr; gap:10px; }
  .hero-copy{ padding-bottom:20px; }
  .hero-visual{ min-height:540px; }
  .hero-char{ width:min(700px,108vw); }
  .mockup-wrap{ min-height:520px; }
}
@media (max-width:1180px){
  .nav-links a{ padding:9px 10px; font-size:0.8rem; }
  .header-actions .btn-primary{ padding:13px 22px; font-size:0.9rem; }
}
@media (max-width:860px){
  .nav-links{ display:none; }
  .header-actions .btn-primary{ display:none; }
  .burger{ display:flex; }
  .site-header{ padding:10px 0; }
  .brand img{ width:124px; max-height:42px; }
  .hero{ padding-top:122px; }
  .hero-visual{ min-height:470px; margin-top:8px; }
  .hero-blob-shape{ width:410px; height:410px; }
  .hero-char{ width:min(560px,112vw); }
  .hero-float-badge{ font-size:0.72rem; padding:9px 12px; border-radius:13px; }
  .fb-1{ top:4%; left:4%; }
  .fb-2{ top:34%; right:2%; }
  .fb-3{ bottom:4%; left:4%; }
  .stats-row{ grid-template-columns:repeat(2,1fr); row-gap:20px; }
  .stats-row .stat{ border-left:none; }
  .stats-row .stat:nth-child(2n){ border-left:1px solid var(--line); }
  .about-cards{ grid-template-columns:1fr; }
  .about-frame{ min-height:460px; }
  .about-frame img{ width:auto; height:min(90%,480px); max-height:480px; }
  .offices-grid{ grid-template-columns:1fr; }
  .cta-band .container{ flex-direction:column; text-align:center; }
  .platform-hero{ padding-top:132px; }
  .mockup-wrap{ min-height:480px; }
  .phone-mock{ width:230px; height:460px; }
  .phone-mock-2{ width:180px; height:370px; right:0; }
  .gallery-grid{ grid-auto-rows:170px; }
}
@media (max-width:600px){
  .container{ padding:0 18px; }
  h1{ font-size:clamp(2.15rem,11vw,3.1rem); }
  h2{ font-size:clamp(1.75rem,8vw,2.35rem); }
  .hero-copy{ padding-bottom:0; }
  .hero-eyebrow{ font-size:0.72rem; padding-right:13px; margin-bottom:20px; }
  .hero-sub{ font-size:1rem; margin-bottom:26px; }
  .hero-ctas{ gap:12px; margin-bottom:28px; }
  .hero-ctas .btn{ width:100%; }
  .hero-badges{ display:none; }
  .hero-visual{ min-height:400px; }
  .hero-blob-shape{ width:330px; height:330px; }
  .hero-char{ width:min(380px,100%); transform:none; }
  .hero-float-badge{ display:none; }
  .hero-stats{ margin-top:20px; border-radius:22px 22px 0 0; }
  .build-grid{ grid-template-columns:1fr; }
  .features-grid{ grid-template-columns:1fr; }
  .partners-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; gap:30px; }
  .gallery-grid{ grid-template-columns:1fr; grid-auto-rows:220px; }
  .gallery-item.big{ grid-column:span 1; grid-row:span 1; }
  .skystep-section{ min-height:520px; }
  .skystep-inner{ padding:92px 18px; }
  .skystep-logo-frame{ width:min(300px,78vw); margin-bottom:28px; }
  .skystep-logo{ width:100%; }
  .stats-row{ grid-template-columns:repeat(2,1fr); }
  .about-section,.build-section,.gallery-section,.features-section,.library-section,.testimonials-section,.contact-section{ padding:82px 0; }
  .about-frame{ min-height:410px; }
  .about-frame img{ height:min(86%,360px); max-height:360px; }
  .about-tag{ left:16px; right:16px; bottom:16px; justify-content:center; }
  .mockup-wrap{ min-height:420px; }
  .phone-mock{ width:min(205px,58vw); height:auto; aspect-ratio:1/2; }
  .phone-mock-2{ width:min(160px,45vw); height:auto; aspect-ratio:16/33; right:0; bottom:20px; }
  .terms-card{ padding:28px 22px; }
}
@media (max-width:420px){
  .container{ padding:0 16px; }
  .site-header .container{ gap:10px; }
  .brand img{ width:110px; }
  .hero{ padding-top:108px; }
  .hero-visual{ min-height:330px; }
  .hero-char{ width:min(320px,96vw); }
  .stats-row{ gap:12px 0; }
  .stat{ padding:4px 10px; }
  .gallery-grid{ grid-auto-rows:190px; }
  .about-frame{ min-height:340px; }
  .about-frame img{ max-height:300px; }
  .mockup-wrap{ min-height:360px; }
  .phone-mock{ width:min(182px,56vw); }
  .phone-mock-2{ width:min(140px,43vw); }
}
