/* ═══════════════════════════════════════════════════════════
   YAKAMOZ PACK — yakamozpack.com
   Design System: Dark glassmorphism, cyan accent, scroll-stop
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --primary:      #0ea5e9;
  --primary-h:    #38bdf8;
  --accent-glow:  rgba(14,165,233,0.35);
  --gold:         #f59e0b;
  --gold-light:   #fbbf24;
  --bg:           #050b14;
  --bg-2:         #071018;
  --surface:      rgba(15,23,42,0.55);
  --surface-h:    rgba(30,41,59,0.7);
  --border:       rgba(255,255,255,0.07);
  --border-h:     rgba(255,255,255,0.14);
  --text:         #f8fafc;
  --text-2:       #94a3b8;
  --text-3:       #64748b;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --ease:         cubic-bezier(0.4,0,0.2,1);
  --ease-out:     cubic-bezier(0.16,1,0.3,1);
  --font-head:    'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ── LIGHT MODE (kraft paper theme) ──────────────────────── */
html.light {
  --bg:           #f5f0e6;
  --bg-2:         #ede8db;
  --surface:      rgba(255,248,238,0.72);
  --surface-h:    rgba(245,237,218,0.88);
  --border:       rgba(100,75,38,0.14);
  --border-h:     rgba(100,75,38,0.28);
  --text:         #1a1008;
  --text-2:       #5c4228;
  --text-3:       #8b6e45;
  --accent-glow:  rgba(14,165,233,0.18);
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.15; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--primary); color: #fff; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── LAYOUT HELPERS ─────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
}

/* ── GLASS CARD ─────────────────────────────────────────── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.glass:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--primary-h);
  transform: translateY(-2px);
  box-shadow: 0 4px 32px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-h);
  backdrop-filter: blur(12px);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ── FADE-UP ANIMATION ──────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }
.fade-up.d5 { transition-delay: 0.5s; }
.fade-up.d6 { transition-delay: 0.6s; }

/* ═══════════════════════════════════════════════════════════
   STARSCAPE
   ═══════════════════════════════════════════════════════════ */
#starscape {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-wordmark {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
}
.loader-wordmark span {
  color: var(--primary);
}

.loader-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: -10px;
}

.loader-bar-wrap {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-h));
  border-radius: 1px;
  width: 0%;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ═══════════════════════════════════════════════════════════
   SCROLL PROGRESS
   ═══════════════════════════════════════════════════════════ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  z-index: 998;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 990;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.45s var(--ease-out);
}

#navbar.pill {
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: auto;
  min-width: min(700px, calc(100vw - 40px));
  border-radius: 999px;
  padding: 12px 24px;
  background: rgba(5,11,20,0.85);
  border: 1px solid var(--border-h);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--border); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border-h);
  border-radius: 6px;
  padding: 3px;
}
.lang-btn {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  color: var(--text-3);
  background: transparent;
  border: none;
  font-family: var(--font-body);
}
.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

.nav-cta {
  font-size: 0.82rem;
  padding: 9px 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 989;
  background: rgba(5,11,20,0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-2);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .mobile-lang {
  margin-top: 20px;
  display: flex;
  gap: 16px;
}
.mobile-nav .mobile-cta {
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 1;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  animation: heroBadge 0.7s var(--ease-out) 0.2s both;
}
.hero-badge-dot {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
}

@keyframes heroBadge {
  from { opacity:0; transform: translateY(12px); }
  to   { opacity:1; transform: translateY(0); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: heroTitle 0.8s var(--ease-out) 0.35s both;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes heroTitle {
  from { opacity:0; transform: translateY(20px); }
  to   { opacity:1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
  animation: heroSub 0.8s var(--ease-out) 0.5s both;
}

@keyframes heroSub {
  from { opacity:0; transform: translateY(16px); }
  to   { opacity:1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: heroAct 0.8s var(--ease-out) 0.65s both;
}

@keyframes heroAct {
  from { opacity:0; transform: translateY(12px); }
  to   { opacity:1; transform: translateY(0); }
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
  animation: heroAct 0.8s var(--ease-out) 0.8s both;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Hero orbs (decorative floating blobs) */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 500px; height: 500px;
  right: -100px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(14,165,233,0.18), transparent 70%);
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  right: 200px; top: 20%;
  background: radial-gradient(circle, rgba(245,158,11,0.12), transparent 70%);
  animation: orbFloat 15s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 200px; height: 200px;
  right: 50px; bottom: 15%;
  background: radial-gradient(circle, rgba(14,165,233,0.1), transparent 70%);
  animation: orbFloat 18s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-30px); }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATION SECTION
   ═══════════════════════════════════════════════════════════ */
#scroll-anim-outer {
  height: 350vh;
  position: relative;
  z-index: 1;
}

#scroll-anim-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scroll-anim-bg {
  position: absolute;
  inset: 0;
  transition: background 0.8s var(--ease);
}

.scroll-products {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.scroll-product {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
  gap: 0;
}
.scroll-product.active {
  opacity: 1;
  pointer-events: auto;
}

.scroll-product-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  opacity: 0.38;
}

.scroll-product-text {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  padding: 40px 52px;
  background: rgba(5,11,20,0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-h);
  border-radius: var(--radius-xl);
}

.scroll-product-index {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 14px;
}

.scroll-product-name {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.scroll-product-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
  text-align: center;
}

.scroll-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.scroll-tag {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid var(--border-h);
  color: var(--text-2);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.scroll-tag.highlight {
  border-color: rgba(14,165,233,0.3);
  color: var(--primary);
  background: rgba(14,165,233,0.08);
}

/* CSS 3D packaging visuals */
.pack-3d {
  position: relative;
  transform-style: preserve-3d;
  transform: scale(1.9);
}

/* Product 1: Paper Bag (3D CSS bag shape) */
.bag-shape {
  width: 220px;
  height: 300px;
  position: relative;
  filter: drop-shadow(0 20px 60px rgba(14,165,233,0.25));
  animation: packFloat 5s ease-in-out infinite;
}
.bag-front {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #d4a87a 0%, #b8904a 60%, #9a7535 100%);
  border-radius: 4px 4px 8px 8px;
  position: relative;
  box-shadow: inset -20px 0 40px rgba(0,0,0,0.25), inset 4px 0 12px rgba(255,255,255,0.12);
  overflow: hidden;
}
.bag-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.04) 3px, rgba(0,0,0,0.04) 4px
  );
}
.bag-window {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 120px;
  background: rgba(180,230,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
.bag-handle-l, .bag-handle-r {
  position: absolute;
  top: -28px;
  width: 6px;
  height: 40px;
  background: #8b6a30;
  border-radius: 3px;
  transform: rotate(-8deg);
}
.bag-handle-l { left: 36px; transform: rotate(8deg); }
.bag-handle-r { right: 36px; transform: rotate(-8deg); }
.bag-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18px;
  background: rgba(0,0,0,0.2);
  border-radius: 0 0 8px 8px;
}

/* Product 2: Wrapping paper roll */
.paper-roll {
  width: 300px;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 20px 60px rgba(14,165,233,0.2));
  animation: packFloat 6s ease-in-out infinite;
}
.roll-body {
  width: 240px;
  height: 180px;
  background: linear-gradient(160deg, #c9a55a 0%, #b08030 50%, #8b6320 100%);
  border-radius: 12px;
  position: relative;
  box-shadow: inset -15px 0 30px rgba(0,0,0,0.2), inset 0 -8px 20px rgba(0,0,0,0.15);
  overflow: hidden;
}
.roll-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg, transparent, transparent 6px,
    rgba(0,0,0,0.03) 6px, rgba(0,0,0,0.03) 7px
  );
}
.roll-body::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 6px,
    rgba(0,0,0,0.03) 6px, rgba(0,0,0,0.03) 7px
  );
}
.roll-end {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 180px;
  background: linear-gradient(180deg, #e8c47a, #c9a040);
  border-radius: 0 8px 8px 0;
  box-shadow: inset -6px 0 12px rgba(0,0,0,0.2);
}
.roll-curl {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 200px;
  height: 40px;
  background: linear-gradient(90deg, #d4a850, #b88a30);
  border-radius: 0 0 8px 8px;
  opacity: 0.7;
}

/* Product 3: Window bag (similar to bag-shape, already defined, just different colors) */
.bag-shape-2 {
  width: 200px;
  height: 280px;
  position: relative;
  filter: drop-shadow(0 20px 60px rgba(14,165,233,0.3));
  animation: packFloat 4.5s ease-in-out infinite;
}
.bag2-front {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #f5f5f0 0%, #e8e5d8 60%, #d4d0c0 100%);
  border-radius: 4px 4px 8px 8px;
  position: relative;
  box-shadow: inset -20px 0 40px rgba(0,0,0,0.1), inset 4px 0 12px rgba(255,255,255,0.5);
  overflow: hidden;
}
.bag2-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.02) 3px, rgba(0,0,0,0.02) 4px
  );
}
.bag2-window {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 130px;
  background: rgba(180,220,255,0.25);
  border: 2px solid rgba(14,165,233,0.3);
  border-radius: 4px;
  box-shadow: inset 0 0 20px rgba(14,165,233,0.1);
}
.bag2-handle-l, .bag2-handle-r {
  position: absolute;
  top: -28px;
  width: 5px;
  height: 38px;
  background: #aaa;
  border-radius: 3px;
}
.bag2-handle-l { left: 32px; transform: rotate(8deg); }
.bag2-handle-r { right: 32px; transform: rotate(-8deg); }

@keyframes packFloat {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-18px) rotate(2deg); }
}

/* Scroll dots indicator */
.scroll-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-h);
  transition: all 0.3s var(--ease);
}
.scroll-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 3px;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ═══════════════════════════════════════════════════════════
   ANNOTATION CARDS
   ═══════════════════════════════════════════════════════════ */
#annotations {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.annotations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 48px auto 0;
}

.annotation-card {
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.annotation-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.annotation-icon svg {
  width: 22px;
  height: 22px;
}

.annotation-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.annotation-body {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   SPECS (COUNT-UP)
   ═══════════════════════════════════════════════════════════ */
#specs {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.specs-inner {
  background: linear-gradient(135deg, rgba(14,165,233,0.07), rgba(245,158,11,0.04));
  border: 1px solid var(--border-h);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.spec-num {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--primary), var(--primary-h));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}

.spec-suffix {
  font-size: 0.6em;
  vertical-align: super;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}

.spec-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-top: 10px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCTS GRID
   ═══════════════════════════════════════════════════════════ */
#products {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: default;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(14,165,233,0.15);
}

.product-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 4px;
  transition: all 0.3s var(--ease);
}
.product-card-icon svg {
  width: 24px;
  height: 24px;
}
.product-card:hover .product-card-icon {
  background: rgba(14,165,233,0.18);
  transform: scale(1.1);
}

.product-card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.product-tag {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-3);
  background: transparent;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL REACH
   ═══════════════════════════════════════════════════════════ */
#global {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  overflow: hidden;
}

.global-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.global-map-wrap {
  position: relative;
}

.world-map {
  width: 100%;
  opacity: 0.8;
}

.map-node {
  fill: var(--primary);
  opacity: 0;
  animation: mapPulse 3s ease-in-out infinite;
}
.map-node.n1 { animation-delay: 0s; }
.map-node.n2 { animation-delay: 0.4s; }
.map-node.n3 { animation-delay: 0.8s; }
.map-node.n4 { animation-delay: 1.2s; }
.map-node.n5 { animation-delay: 1.6s; }
.map-node.n6 { animation-delay: 2.0s; }
.map-node.n7 { animation-delay: 2.4s; }
.map-node.n8 { animation-delay: 2.8s; }

@keyframes mapPulse {
  0%,100% { opacity: 0.3; r: 4; }
  50%      { opacity: 1; r: 7; }
}

.map-ring {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1;
  opacity: 0;
  animation: ringExpand 3s ease-out infinite;
}
.map-ring.r1 { animation-delay: 0s; }
.map-ring.r2 { animation-delay: 0.4s; }
.map-ring.r3 { animation-delay: 0.8s; }

@keyframes ringExpand {
  0%   { r: 4; opacity: 0.8; }
  100% { r: 18; opacity: 0; }
}

.global-regions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.region-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.region-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.region-bar-wrap {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 16px;
  overflow: hidden;
}
.region-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-h));
  border-radius: 2px;
  transition: width 1.2s var(--ease-out) 0.3s;
  width: 0%;
}
.region-row.visible .region-bar { width: var(--w); }

.region-pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   MATERIALS / CERTIFICATIONS
   ═══════════════════════════════════════════════════════════ */
#materials {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.material-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.15);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  width: fit-content;
}

.mat-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mat-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mat-specs li {
  font-size: 0.82rem;
  color: var(--text-2);
  padding-left: 14px;
  position: relative;
}
.mat-specs li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════ */
#cta {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.cta-card {
  background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(245,158,11,0.06));
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-orb-1 {
  width: 400px; height: 400px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(14,165,233,0.15), transparent 70%);
  filter: blur(60px);
}
.cta-orb-2 {
  width: 300px; height: 300px;
  bottom: -150px; right: -50px;
  background: radial-gradient(circle, rgba(245,158,11,0.12), transparent 70%);
  filter: blur(60px);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 20px;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.cta-body {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-contact {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-top: 20px;
}
.cta-contact a {
  color: var(--text-2);
  font-weight: 600;
  transition: color 0.2s;
}
.cta-contact a:hover { color: var(--primary); }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
#testimonials {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  overflow: hidden;
}

.testimonials-track-wrap {
  overflow: hidden;
  margin-top: 48px;
  cursor: grab;
}
.testimonials-track-wrap:active { cursor: grabbing; }

.testimonials-track {
  display: flex;
  gap: 20px;
  user-select: none;
  padding-bottom: 8px;
}

.testimonial-card {
  flex-shrink: 0;
  width: 380px;
  padding: 32px;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.star { color: var(--gold); font-size: 0.9rem; }

.testimonial-body {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-body::before { content: '"'; color: var(--primary); font-size: 1.5em; line-height: 0; vertical-align: -0.3em; margin-right: 2px; }
.testimonial-body::after  { content: '"'; color: var(--primary); font-size: 1.5em; line-height: 0; vertical-align: -0.3em; margin-left: 2px; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-name {
  font-size: 0.88rem;
  font-weight: 700;
}
.author-company {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
#footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-brand-logo span { color: var(--primary); }

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-cert {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-badge {
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  color: var(--primary);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-3);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--text-3);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--text-2); }

/* ── Powered by Joo Creative ─────────────────────────────── */
.footer-powered {
  text-align: center;
  padding-top: 20px;
  margin-top: 8px;
}
.footer-powered span {
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.footer-powered a {
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.footer-powered a:hover {
  color: var(--primary-h);
}
.joo-heart {
  display: inline-block;
  font-size: 0.68rem;
  animation: heartbeat 1.8s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.2); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.15); }
  56%       { transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════
   HERO VIDEO
   ═══════════════════════════════════════════════════════════ */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(5,11,20,0.78) 0%,
    rgba(5,11,20,0.28) 60%,
    rgba(5,11,20,0.55) 100%
  );
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT LINEUP STRIP
   ═══════════════════════════════════════════════════════════ */
#lineup { position: relative; z-index: 1; }
.lineup-img-wrap {
  position: relative;
  width: 100%;
  height: clamp(320px, 40vw, 560px);
  overflow: hidden;
}
.lineup-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s var(--ease);
}
.lineup-img-wrap:hover img { transform: scale(1.03); }
.lineup-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,11,20,0.88) 0%, rgba(5,11,20,0.15) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 40px 48px;
}
.lineup-caption { color: var(--text); }
.lineup-caption p { font-size: 0.9rem; color: var(--text-2); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════
   FACTORY STRIP
   ═══════════════════════════════════════════════════════════ */
#factory { position: relative; z-index: 1; }
.factory-inner {
  position: relative;
  height: clamp(260px, 35vw, 480px);
  overflow: hidden;
}
.factory-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: saturate(0.7);
}
.factory-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,11,20,0.88) 0%, rgba(5,11,20,0.5) 50%, rgba(5,11,20,0.3) 100%);
  display: flex;
  align-items: center;
}
.factory-stats {
  display: flex;
  align-items: center;
  gap: 40px;
}
.factory-stat { display: flex; flex-direction: column; gap: 6px; }
.factory-stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.factory-stat-label {
  font-size: 0.7rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.factory-divider {
  width: 1px;
  height: 48px;
  background: var(--border-h);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .global-inner { grid-template-columns: 1fr; gap: 40px; }
  .specs-inner { grid-template-columns: repeat(2, 1fr); }
  .scroll-product-text { padding: 32px 40px; }
}

@media (max-width: 768px) {
  #navbar { padding: 16px 20px; }
  #navbar.pill { min-width: calc(100vw - 32px); border-radius: 16px; top: 8px; }
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; }
  .hero-orb-1, .hero-orb-2, .hero-orb-3 { display: none; }
  .hero-video { opacity: 0.3; }
  .lineup-overlay { padding: 24px; }

  .factory-stats { gap: 20px; }
  .factory-divider { height: 32px; }
  .factory-stat-num { font-size: 1.4rem; }

  .scroll-product-text { max-width: calc(100vw - 48px); padding: 28px 24px; }
  .scroll-product-name { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .scroll-product-desc { font-size: 0.92rem; }
  .pack-3d { transform: scale(1.1); }

  .annotations-grid { grid-template-columns: 1fr; }

  .specs-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 36px 24px;
    gap: 24px;
  }

  .products-grid { grid-template-columns: 1fr; }

  .cta-card { padding: 48px 24px; }
  .cta-actions { flex-direction: column; }

  .testimonial-card { width: 300px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .materials-grid { grid-template-columns: 1fr; }
}

/* ── LIGHT MODE ELEMENT OVERRIDES ────────────────────────── */

/* Starscape: beyaz yıldızlar light bg'da multiply ile erir */
html.light #starCanvas { mix-blend-mode: multiply; opacity: 0.15; }

/* Navbar pill */
html.light #navbar.pill {
  background: rgba(245,240,228,0.92);
  box-shadow: 0 8px 40px rgba(100,75,38,0.10);
  border-color: rgba(100,75,38,0.2);
}

/* Hero video overlay — warm tone */
html.light .hero-video { opacity: 0.55; }
html.light .hero-video-overlay {
  background: linear-gradient(
    135deg,
    rgba(240,230,210,0.80) 0%,
    rgba(240,230,210,0.20) 60%,
    rgba(240,230,210,0.60) 100%
  );
}

/* Hero orbs — amber/gold glows */
html.light .hero-orb-1 { background: radial-gradient(circle, rgba(245,158,11,0.28), transparent 70%); }
html.light .hero-orb-2 { background: radial-gradient(circle, rgba(14,165,233,0.18), transparent 70%); }
html.light .hero-orb-3 { background: radial-gradient(circle, rgba(245,158,11,0.18), transparent 70%); }

/* Scroll product text glass card */
html.light .scroll-product-text {
  background: rgba(245,240,228,0.88);
  border-color: rgba(100,75,38,0.22);
}

/* Product lineup overlay */
html.light .lineup-overlay {
  background: linear-gradient(to top, rgba(240,230,210,0.92) 0%, rgba(240,230,210,0.12) 60%, transparent 100%);
}

/* Factory */
html.light .factory-img { filter: saturate(0.85); }
html.light .factory-overlay {
  background: linear-gradient(to right, rgba(240,230,210,0.90) 0%, rgba(240,230,210,0.55) 50%, rgba(240,230,210,0.28) 100%);
}

/* Mobile nav */
html.light .mobile-nav {
  background: rgba(245,240,228,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
html.light .mobile-nav a { color: var(--text); }
html.light .mobile-nav a:hover { color: var(--primary); }

/* ── THEME TOGGLE BUTTON ──────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid var(--border-h);
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-2);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.theme-toggle svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: flex; }
html.light .theme-toggle .icon-moon { display: none; }
html.light .theme-toggle .icon-sun  { display: flex; }

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 2rem; }
  .specs-inner { grid-template-columns: repeat(2,1fr); }
}
