/* ===================================================
   Deeplink - Modash-style Nav + Dark Theme + Purple Accent
   Nav: white capsule | Body: #121212 | Accent: #8b5cf6
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Variables ---------- */
:root {
  --bg:        #161616;
  --bg-alt:    #161616;
  --bg-card:   #1a1a1a;
  --bg-hover:  #1f1f1f;
  --border:    #232323;
  --border-l:  #2e2e2e;

  --white:     #ffffff;
  --black:     #000000;
  --text:      #ffffff;
  --text-sub:  #e5e7eb;
  --text-muted:#9ca3af;
  --text-dim:  #6b7280;

  /* Accent: purple + cyan */
  --purple:    #8b5cf6;
  --purple-h:  #a78bfa;
  --purple-d:  #7c3aed;
  --cyan:      #06b6d4;
  --grad-1:    #6366f1;
  --grad-2:    #8b5cf6;
  --grad-3:    #06b6d4;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --ease: cubic-bezier(.4,0,.2,1);
  --tr: .3s var(--ease);
  --max-w: 1200px;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--noise);
  pointer-events: none;
  z-index: 9999;
}
a { text-decoration: none; color: inherit; transition: color var(--tr); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 120px 0; }
.section-padding { padding: 120px 0; }
.text-center { text-align: center; }
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Gradient text for AI. */
.ai-gradient {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Primary Button (purple) ---------- */
.btn-primary {
  background: var(--purple);
  color: var(--white);
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--tr);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--purple-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,92,246,.3);
}
.btn-primary:active { transform: translateY(0); }

/* ---------- Side Decoration ---------- */
.side-deco {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}
.side-deco .side-year {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 3px;
}
.side-deco .side-line { width: 1px; height: 48px; background: var(--border-l); }
.side-deco .side-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- Ad Banner ---------- */
.ad-banner {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  position: relative;
}
.ad-banner a { color: var(--purple); font-weight: 600; margin-left: 12px; }
.ad-banner a:hover { color: var(--purple-h); }
.ad-banner-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 18px;
  opacity: .6;
  line-height: 1;
}
.ad-banner-close:hover { opacity: 1; }

/* =========================================================
   HEADER / NAV — Modash white capsule style
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 32px;
  background: transparent;
  /* No border; the capsule itself is the visual element */
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 8px 0 24px;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: opacity var(--tr);
}
.nav-brand:hover { opacity: .65; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  position: relative;
  transition: color var(--tr), background var(--tr), transform var(--tr);
}
.nav-links a.nav-link:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}
.nav-links a.nav-link.active {
  background: #f3f4f6;
  font-weight: 600;
}

/* Nav CTA button — Modash style: white bg, black border */
.nav-links .btn-nav-cta {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--black);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--tr);
  margin-left: 8px;
}
.nav-links .btn-nav-cta:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

/* Mobile toggle on dark bg */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--black);
  border-radius: 1px;
  transition: all var(--tr);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 140px 32px 72px;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(139,92,246,.08) 0%, rgba(99,102,241,.04) 40%, transparent 70%);
  pointer-events: none;
}
.hero-curves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero-curves svg { position: absolute; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: 1.5px;
  color: var(--white);
}
.hero .hero-sub {
  font-size: clamp(17px, 2.5vw, 22px);
  color: var(--text-sub);
  line-height: 1.6;
  font-weight: 400;
}
.hero .hero-sub-en {
  font-size: clamp(13px, 1.6vw, 15px);
  color: var(--text-muted);
  margin-top: 12px;
  letter-spacing: .5px;
  font-weight: 400;
  line-height: 1.7;
}
.hero .btn-primary {
  margin-top: 48px;
  padding: 15px 40px;
  font-size: 16px;
}

/* ---------- Platform Bar ---------- */
.platforms {
  background: var(--bg);
  padding: 24px 32px;
  border-top: none;
  border-bottom: none;
}
.platforms-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  flex-wrap: wrap;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 17px;
  border-radius: var(--radius-md);
  font-size: 11.2px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--tr);
}
.platform-badge:hover {
  color: var(--white);
  border-color: var(--border-l);
  background: var(--bg-hover);
  transform: translateY(-2px);
}
.platform-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.platform-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-l);
}

/* ---------- Creators Grid ---------- */
.creators-section { padding: 120px 32px; background: var(--bg); }
.creators-section h2 { display: none; }
.services-section h2,
.map-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.creators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.creator-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--tr);
  position: relative;
}
.creator-card:nth-child(odd) { transform: translateY(24px); }
.creator-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-l);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.creator-card:nth-child(odd):hover {
  transform: translateY(20px);
  border-color: var(--border-l);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.creator-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #1a1a1a, #222);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 13px;
}
.creator-card-img img { width: 100%; height: 100%; object-fit: cover; }
.creator-card-img-05 {
  aspect-ratio: 520 / 814;
}
.creator-card-img-el-05 {
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.03);
}
.creator-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  color: var(--white);
}
.creator-card-info .name { font-weight: 600; font-size: 14px; }
.creator-card-info .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.creator-card-clickable { cursor: pointer; }
.creator-card-clickable .creator-card-info { text-align: right; }
.creator-card-clickable .creator-card-info .meta { justify-content: flex-end; }

/* ---------- Client Logos Carousel ---------- */
.logos-section {
  padding: 42px 0;
  background: var(--bg-alt);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-track {
  display: flex;
  gap: 28px;
  animation: scrollLogos 48s linear infinite;
  width: max-content;
  align-items: center;
}
.logos-track:hover { animation-play-state: paused; }
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  flex-shrink: 0;
  width: auto;
  height: 68px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  transition: all var(--tr);
  overflow: hidden;
}
.logo-text {
  display: inline-block;
  max-width: 100%;
  line-height: 1.2;
}
.logo-item img {
  width: auto;
  height: 100%;
  max-width: 260px;
  object-fit: contain;
  display: block;
  transition: transform var(--tr);
}
.logo-item.logo-wide img { max-width: 210px; }
.logo-item.logo-medium img { max-width: 178px; }
.logo-item.logo-narrow img { max-width: 92px; }
.logo-item:hover img { transform: scale(1.02); }

/* ---------- Services Overview ---------- */
.services-section {
  padding: 112px 32px 56px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.services-section h2 { text-align: center; margin-bottom: 64px; }
.services-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto 80px;
}
.service-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}
.service-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2), var(--grad-3));
  opacity: 0;
  transition: opacity var(--tr);
}
.service-box:hover {
  border-color: var(--border-l);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.service-box:hover::before { opacity: 1; }
.service-box h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; text-align: center; }
.service-box p { color: var(--text-muted); font-size: 15px; line-height: 1.7; text-align: center; }

/* ---------- Process Flow ---------- */
.process-flow { max-width: var(--max-w); margin: 0 auto; position: relative; padding: 40px 0; }
.process-line { display: none; }
.process-line-fill { display: none; }
.process-curve {
  position: absolute;
  top: 20px;
  left: 4%;
  right: 4%;
  height: 40px;
  z-index: 0;
  pointer-events: none;
}
.process-curve svg { width: 100%; height: 100%; }
.process-steps { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 140px;
  transition: transform var(--tr);
}
.process-step:hover { transform: translateY(-3px); }
.process-step-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--purple);
  margin-bottom: 16px;
  transition: all var(--tr);
}
.process-step:hover .process-step-dot {
  background: var(--purple);
  box-shadow: 0 0 12px rgba(139,92,246,.4);
}
.process-step-name { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.process-step-desc { font-size: 11px; color: var(--text-dim); line-height: 1.5; }

/* ---------- Global Map ---------- */
.map-section {
  padding: 32px 32px 96px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.map-section h2 {
  text-align: center;
  margin-bottom: 8px;
  position: relative;
  font-size: 40px;
}
.map-section .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 16px;
  position: relative;
}
.map-container {
  max-width: 1240px;
  margin: -8px auto 0;
  position: relative;
  aspect-ratio: 1.78/1;
  background: transparent;
  overflow: visible;
  border: 0;
  box-shadow: none;
}
.map-container::before {
  content: none;
}
.map-bg {
  position: absolute;
  inset: -9% 0 9%;
  opacity: 1;
  z-index: 2;
}
.map-bg svg {
  width: 100%;
  height: 100%;
}
.dotted-world-map {
  overflow: visible;
}
.map-dot-land-cool {
  fill: url(#mapDotsCool);
}
.map-dot-land-warm {
  fill: url(#mapDotsWarm);
}
.map-regions {
  position: absolute;
  inset: -9% 0 9%;
  z-index: 4;
  pointer-events: none;
}
.map-region {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}
.map-region-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 17px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
  text-shadow:
    0 2px 10px rgba(0,0,0,.78),
    0 0 12px rgba(139,92,246,.45);
}

/* ---------- Cases Section ---------- */
.cases-section {
  padding: 120px 32px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.cases-section .section-quote {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.case-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--tr);
}
.case-card:hover {
  border-color: var(--border-l);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.case-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a1a, #222);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 13px;
}
.case-card-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card-body { padding: 24px; }
.case-card-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.case-card-tag {
  background: rgba(139,92,246,.08);
  color: var(--purple);
  border: 1px solid rgba(139,92,246,.2);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.case-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  transition: color var(--tr);
}
.case-card:hover .case-card-body h3 { color: var(--purple-h); }
.case-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Detailed Case Card (same shell, richer content) ---------- */
.case-card-detailed .case-card-img-short {
  aspect-ratio: 21/9;
}
.case-card-detailed .case-card-body {
  padding: 20px;
}
.case-card-detailed .case-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.case-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.case-title-row h3 {
  margin-bottom: 0 !important;
}
.case-platform-logos {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.case-plogo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  cursor: default;
}
.case-plogo svg {
  width: 15px;
  height: 15px;
}
.case-plogo:hover {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(255,255,255,.15);
}
.case-card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.case-card-bottom {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.case-card-bottom strong {
  color: var(--white);
  font-weight: 700;
}
.case-detail-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 16px;
}
.case-detail-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.case-detail-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.case-detail-section ul li {
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.55;
  padding: 2px 0 2px 12px;
  position: relative;
}
.case-detail-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple);
  opacity: .5;
}

@media (max-width: 768px) {
  .case-detail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .case-card-detailed .case-card-img-short {
    aspect-ratio: 16/9;
  }
  .case-plogo {
    width: 24px;
    height: 24px;
  }
  .case-plogo svg {
    width: 13px;
    height: 13px;
  }
}

/* ---------- Page Hero (subpages) ---------- */
.page-hero {
  background: var(--bg);
  color: var(--white);
  padding: 120px 32px 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(139,92,246,.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
  position: relative;
}
.page-hero p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* ---------- Services Page Grid ---------- */
.service-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.service-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--tr);
}
.service-category-card:hover {
  border-color: var(--border-l);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(139,92,246,.08);
  border: 1px solid rgba(139,92,246,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; color: var(--purple); }
.service-category-card h3 {
  font-size: 20px; font-weight: 600; color: var(--white);
  margin-bottom: 12px;
  transition: color var(--tr);
}
.service-category-card:hover h3 { color: var(--purple-h); }
.service-category-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ---------- About Page ---------- */
.about-story {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.8;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 64px auto 0;
}
.stat-card {
  text-align: center;
  padding: 36px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--tr);
}
.stat-card:hover { border-color: var(--border-l); transform: translateY(-3px); }
.stat-number { font-size: 40px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--text-dim); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.value-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--tr);
}
.value-card:hover { border-color: var(--border-l); transform: translateY(-3px); }
.value-card h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  color: var(--text-dim);
  padding: 64px 32px 28px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.footer-slogan { font-size: 14px; color: var(--text-dim); }
.footer-links { display: flex; gap: 64px; }
.footer-col h4 {
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color var(--tr);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.lang-btn {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-dim);
  border: none;
  background: none;
  cursor: pointer;
  transition: all var(--tr);
}
.lang-btn.active {
  background: var(--purple);
  color: var(--white);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(16px) scale(.97);
  transition: transform var(--tr);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all var(--tr);
}
.modal-close:hover { color: var(--white); border-color: var(--border-l); }
.modal h2 { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.modal .modal-sub { color: var(--text-dim); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--white);
  background: var(--bg);
  transition: border-color var(--tr);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit {
  width: 100%;
  padding: 13px;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr);
}
.form-submit:hover { background: var(--purple-d); }
.form-success { text-align: center; padding: 36px 0; display: none; }
.form-success.show { display: block; }
.form-success .icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(139,92,246,.1);
  border: 1.5px solid var(--purple);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.form-success p { font-size: 16px; color: var(--text-sub); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .side-deco { display: none; }
  .creators-grid { grid-template-columns: repeat(3, 1fr); }
  .services-boxes, .service-category-grid { grid-template-columns: 1fr; }
  .stats-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-wrap: wrap; gap: 20px; justify-content: center; }
  .process-line { display: none; }
}
@media (max-width: 768px) {
  .side-deco { display: none; }
  .header { padding: 10px 16px; }
  .nav-inner { padding: 0 6px 0 16px; height: 48px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
    gap: 4px;
    z-index: 100;
  }
  .nav-links.open a.nav-link {
    padding: 10px 16px;
    border-radius: var(--radius-md);
  }
  .nav-links.open .btn-nav-cta {
    margin-left: 0;
    margin-top: 4px;
    text-align: center;
    display: block;
  }
  .mobile-toggle { display: flex; }
  .hero { padding: 100px 24px 80px; }
  .creators-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .map-section h2 { font-size: 30px; }
  .map-container { aspect-ratio: 1.35/1; }
  .map-region-label { font-size: 12px; letter-spacing: .5px; }
  .modal { padding: 32px 24px; }
  .section-padding, .section-pad { padding: 80px 0; }
  .creators-section, .services-section, .map-section, .cases-section { padding: 80px 24px; }
  .page-hero { padding: 80px 24px 60px; }
  .page-hero h1 { font-size: 28px; }
  .logos-section { padding: 32px 0; }
  .logos-track { gap: 22px; }
  .logo-item { height: 56px; }
  .logo-item.logo-wide img { max-width: 168px; }
  .logo-item.logo-medium img { max-width: 144px; }
  .logo-item.logo-narrow img { max-width: 82px; }
}
@media (max-width: 480px) {
  .creators-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .platform-badge { padding: 8px 14px; font-size: 13px; }
  .stats-grid, .values-grid { grid-template-columns: 1fr; }
  .logos-track { gap: 16px; }
  .logo-item { height: 46px; }
  .logo-item.logo-wide img { max-width: 130px; }
  .logo-item.logo-medium img { max-width: 110px; }
  .logo-item.logo-narrow img { max-width: 62px; }
  .map-container { min-height: 360px; }
  .map-region-label { font-size: 11px; }
}
