
/* ── Liquid Glass Design System Tokens ── */
:root {
  --bg: #05050a;
  --bg-2: #0a0914;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-card: rgba(14, 13, 26, 0.7);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(0, 242, 254, 0.4);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent-cyan: #00f2fe;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --grad: linear-gradient(135deg, #00f2fe 0%, #3b82f6 50%, #a855f7 100%);
  --grad-45: linear-gradient(45deg, #00f2fe 0%, #a855f7 100%);
  --radius: 20px;
  --radius-lg: 32px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(0, 242, 254, 0.12) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Custom Cursor (Desktops only) ── */
#cursor-dot, #cursor-ring {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transition: transform 0.1s var(--ease), opacity 0.3s;
  mix-blend-mode: exclusion;
}
#cursor-dot {
  width: 8px; height: 8px;
  background: #fff;
  top: -4px; left: -4px;
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(168,85,247,0.8);
  top: -18px; left: -18px;
  transition: transform 0.25s var(--ease), width 0.3s, height 0.3s, opacity 0.3s;
}

@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  body, a, button, select, input, textarea, .product-card, .gallery-item {
    cursor: auto !important;
  }
  #cursor-dot, #cursor-ring {
    display: none !important;
  }
}
body:hover #cursor-dot { opacity: 1; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad);
  color: #fff; font-weight: 600; font-size: 0.9rem;
  padding: 14px 28px; border-radius: 50px;
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  white-space: nowrap;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0; border-radius: inherit;
  transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(168,85,247,0.4); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 500; font-size: 0.9rem;
  padding: 14px 28px; border-radius: 50px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.btn-ghost:hover {
  border-color: var(--accent-1);
  background: rgba(168,85,247,0.08);
  transform: translateY(-2px);
}
.btn-xl { padding: 18px 40px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Floating Glass Navbar ── */
#navbar {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 1240px;
  height: var(--nav-h); z-index: 1000;
  padding: 0 28px;
  background: rgba(9, 9, 16, 0.7);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.1);
  transition: all 0.4s var(--ease);
}
#navbar.scrolled {
  background: rgba(5, 5, 10, 0.9);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(0,242,254,0.15);
}
.nav-inner {
  max-width: 100%; margin: 0 auto;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
/* ── Logo Images ── */
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: invert(1);
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.logo-full {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: invert(1);
  display: block;
  transition: opacity 0.3s;
}
.nav-logo:hover .logo-icon { transform: rotate(-8deg) scale(1.1); }
.nav-logo:hover .logo-full { opacity: 0.8; }

/* Footer logo */
.footer-logo-link { display: inline-block; margin-bottom: 16px; }
.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.9;
  transition: opacity 0.3s;
  display: block;
}
.footer-logo-link:hover .footer-logo-img { opacity: 1; }
.nav-links {
  display: flex; gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--grad);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 16px; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.mobile-menu a { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 700; }

/* ── Hero ── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
#bgCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; opacity: 0.6;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 640px;
  padding: 80px 0 80px 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan); font-size: 0.8rem; font-weight: 700;
  padding: 8px 18px; border-radius: 50px;
  letter-spacing: 1px;
  margin-bottom: 24px;
  opacity: 0; transform: translateY(20px);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 6.5vw, 5.8rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 30px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: block; }
.hero-sub {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 36px;
  opacity: 0; transform: translateY(20px);
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0; transform: translateY(20px);
}
.hero-stats {
  display: flex; align-items: center; gap: 24px;
  opacity: 0; transform: translateY(20px);
}
.stat { text-align: center; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 800; }
.stat span { font-size: 1.2rem; color: var(--accent-cyan); font-weight: 700; }
.stat p { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero 3D Object */
.hero-3d {
  position: absolute; right: 0; top: 50%; z-index: 1;
  transform: translateY(-50%);
  width: 50vw; max-width: 700px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.mug-wrap {
  position: relative;
  animation: mugFloat 6s ease-in-out infinite;
}
@keyframes mugFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}
.mug-scene { position: relative; }
.mug-img, .hero-mug-img {
  width: 420px; max-width: 85vw;
  border-radius: 9%;
  filter: drop-shadow(0 30px 60px rgba(0, 242, 254, 0.4)) drop-shadow(0 40px 80px rgba(247, 37, 133, 0.4));
  animation: mugSpin 20s linear infinite;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
@keyframes mugSpin {
  0% { filter: drop-shadow(0 30px 60px rgba(0, 242, 254, 0.4)) drop-shadow(0 40px 80px rgba(247, 37, 133, 0.4)) hue-rotate(0deg); }
  50% { filter: drop-shadow(0 30px 60px rgba(157, 78, 221, 0.5)) drop-shadow(0 40px 80px rgba(0, 242, 254, 0.5)) hue-rotate(45deg); }
  100% { filter: drop-shadow(0 30px 60px rgba(0, 242, 254, 0.4)) drop-shadow(0 40px 80px rgba(247, 37, 133, 0.4)) hue-rotate(0deg); }
}

/* Floating Interactive School Items & Stars */
.floating-school-item {
  position: absolute;
  font-size: 2.2rem;
  z-index: 3;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
  transition: transform 0.3s var(--ease);
  animation: itemFloat 5s ease-in-out infinite alternate;
}
.floating-school-item:hover {
  transform: scale(1.4) rotate(12deg);
}

.float-item-1 { top: -20px; left: -20px; animation-delay: 0s; }
.float-item-2 { bottom: -10px; right: -15px; animation-delay: 1.2s; font-size: 2.4rem; }
.float-item-3 { top: 30%; right: -35px; animation-delay: 2.4s; font-size: 2.5rem; }
.float-item-4 { bottom: 20%; left: -30px; animation-delay: 0.8s; font-size: 2rem; color: #f59e0b; }

@keyframes itemFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-18px) rotate(8deg); }
}

.mug-glow {
  position: absolute; inset: -30px;
  background: radial-gradient(ellipse, rgba(168,85,247,0.25) 0%, transparent 70%);
  border-radius: 30px;
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.mug-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(168,85,247,0.25);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: ringExpand 3.5s ease-out infinite;
}
.ring-1 { width: 380px; height: 380px; animation-delay: 0s; }
.ring-2 { width: 520px; height: 520px; animation-delay: 1.2s; }
.ring-3 { width: 660px; height: 660px; animation-delay: 2.4s; }
@keyframes ringExpand {
  0% { opacity: 0.5; transform: translate(-50%,-50%) scale(0.8); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.25); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 80px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 0.75rem; letter-spacing: 1px;
  text-transform: uppercase;
}
.scroll-line {
  width: 40px; height: 1px; background: var(--text-muted);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent-1);
  animation: scrollAnim 1.5s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  padding: 20px 0;
  background: rgba(168,85,247,0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex; gap: 32px;
  width: max-content;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 1px; text-transform: uppercase;
}
.marquee-track .dot { color: var(--accent-1); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section Helpers ── */
.section { padding: 120px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  color: var(--accent-cyan); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.section-desc { color: var(--text-muted); max-width: 540px; margin: 0 auto; line-height: 1.7; font-size: 1.05rem; }

/* ── Bento Grid Products Showcase ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  position: relative; overflow: hidden;
  background: var(--surface-card);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.15);
  transform: translateY(-8px);
}
.product-card-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(0, 242, 254, 0.12), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.product-card:hover .product-card-bg { opacity: 1; }
.product-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(157, 78, 221, 0.15));
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--accent-cyan);
  transition: background 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.product-icon svg { width: 28px; height: 28px; stroke-width: 1.8; }
.product-card:hover .product-icon {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.3), rgba(247, 37, 133, 0.3));
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.4);
  transform: scale(1.1) rotate(-3deg);
}
.product-card h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem;
  font-weight: 700; margin-bottom: 10px; letter-spacing: -0.5px;
}
.product-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.product-tag {
  display: inline-block; margin-top: 16px;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.3);
  color: var(--accent-1); font-size: 0.7rem; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: 1px;
}
.product-hover-line {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--grad);
  transition: width 0.5s var(--ease);
}
.product-card:hover .product-hover-line { width: 100%; }

/* ── Showcase ── */
.showcase-section { padding: 0; }
.showcase-sticky {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.showcase-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
}
.showcase-items { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.showcase-item {
  padding: 32px 0; border-bottom: 1px solid var(--border);
  opacity: 0.3; transition: opacity 0.5s, transform 0.5s var(--ease);
  transform: translateX(-10px);
}
.showcase-item.active { opacity: 1; transform: translateX(0); }
.showcase-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem; font-weight: 800; line-height: 1.15;
  margin-bottom: 12px; letter-spacing: -1px;
}
.showcase-item p { color: var(--text-muted); line-height: 1.7; max-width: 400px; }
.showcase-right {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.showcase-visual { position: relative; width: 100%; height: 100%; }
.showcase-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.5) saturate(1.4);
  transition: filter 0.8s;
}
.showcase-overlay-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  pointer-events: none;
}
.showcase-overlay-text span {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800; letter-spacing: 8px;
  opacity: 0.08; color: #fff;
  transition: opacity 0.5s, letter-spacing 0.5s;
}
.showcase-visual:hover .showcase-overlay-text span { opacity: 0.15; letter-spacing: 16px; }
.showcase-visual:hover .showcase-img { filter: brightness(0.35) saturate(1.8); }

/* ── Process Timeline ── */
.process-timeline {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; position: relative;
}
.process-timeline::before {
  content: ''; position: absolute;
  top: 28px; left: calc(33.33% - 20px); right: calc(33.33% - 20px);
  height: 1px; background: var(--border); z-index: 0;
}
.process-step { position: relative; text-align: center; }
.step-num {
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 800;
  color: var(--accent-1); letter-spacing: 2px;
  margin-bottom: 40px;
  position: relative; z-index: 1;
}
.step-icon-wrap {
  width: 64px; height: 64px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-1); margin: 0 auto 20px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.step-icon-wrap svg { width: 28px; height: 28px; stroke-width: 1.8; }
.process-step:hover .step-icon-wrap {
  background: rgba(168,85,247,0.12);
  border-color: rgba(168,85,247,0.4);
  transform: scale(1.1) translateY(-4px);
}
.step-content h3 {
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700;
  margin-bottom: 10px;
}
.step-content p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.step-line {
  position: absolute; top: 28px; left: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad); transform: translate(-50%, -50%);
  z-index: 1;
  box-shadow: 0 0 20px rgba(168,85,247,0.5);
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  background: var(--surface-card);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 28px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  min-height: 210px; position: relative;
  overflow: hidden; cursor: pointer;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent, rgba(168,85,247,0.5));
  background: var(--surface-hover);
}
.gallery-item::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover::before { opacity: 1; }
.gallery-item.tall { grid-row: span 2; min-height: 460px; }
.gallery-item.wide { grid-column: span 2; }
.gallery-emoji {
  width: 60px; height: 60px; border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent, var(--accent-1));
  transition: transform 0.3s var(--ease);
}
.gallery-emoji svg { width: 32px; height: 32px; stroke-width: 1.8; }
.gallery-item:hover .gallery-emoji { transform: scale(1.15); }
.gallery-label {
  font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted);
  transition: color 0.3s;
}
.gallery-item:hover .gallery-label { color: var(--text); }

/* ── CTA ── */
.cta-section {
  position: relative; overflow: hidden;
  padding: 120px 0; text-align: center;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.3;
  animation: orbDrift 8s ease-in-out infinite alternate;
}
.orb1 {
  width: 400px; height: 400px;
  background: var(--accent-1);
  top: -100px; left: -100px;
}
.orb2 {
  width: 300px; height: 300px;
  background: var(--accent-3);
  bottom: -80px; right: -80px;
  animation-delay: 2s;
}
@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 20px) scale(1.1); }
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800; letter-spacing: -2px;
  margin-bottom: 16px; line-height: 1.1;
}
.cta-desc { color: var(--text-muted); max-width: 480px; margin: 0 auto 40px; font-size: 1.05rem; line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Testimonials ── */
.testimonials-section { background: var(--bg); }
.testimonials-track {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.testimonial-card:hover { border-color: rgba(168,85,247,0.3); transform: translateY(-4px); }
.stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-weight: 600; font-size: 0.9rem; }
.testimonial-author span { color: var(--text-muted); font-size: 0.8rem; }

/* ── Contact ── */
.contact-section { background: var(--bg-2); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-left p { color: var(--text-muted); line-height: 1.7; margin: 20px 0 32px; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.info-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 0.95rem;
}
.info-icon { width: 22px; height: 22px; color: var(--accent-1); flex-shrink: 0; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text); font-family: inherit; font-size: 0.9rem;
  outline: none; cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
select option { background: #1a1a2e; color: var(--text); }

/* ── Footer ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 80px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .nav-logo { display: block; margin-bottom: 16px; font-size: 1.2rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 24px; }
.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, color 0.3s;
}
.social-links a svg { width: 18px; height: 18px; stroke-width: 1.8; }
.social-links a:hover { border-color: var(--accent-1); color: #fff; transform: translateY(-2px); }
.footer-links h4 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 0.9rem; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  text-align: center; padding: 24px 40px;
  color: var(--text-muted); font-size: 0.8rem;
}

/* ── GSAP Reveal Helpers ── */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-sticky { grid-template-columns: 1fr; }
  .showcase-right { height: 50vh; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
/* ── Lang Toggle Button ── */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text); font-family: inherit; font-size: 0.875rem;
  font-weight: 600; padding: 9px 18px; border-radius: 50px;
  cursor: none; white-space: nowrap;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
  flex-shrink: 0;
}
.lang-toggle:hover {
  border-color: var(--accent-1);
  background: rgba(168,85,247,0.1);
  transform: translateY(-1px);
}
.lang-icon { font-size: 1rem; line-height: 1; }

/* ══════════════════════════════════════
   RTL OVERRIDES — applied when html[dir=rtl]
   ══════════════════════════════════════ */
html[dir="rtl"] body { font-family: 'Cairo', sans-serif; }

/* Navbar */
html[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
html[dir="rtl"] .nav-links { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .nav-links a::after { left: auto; right: 0; }

/* Hero */
html[dir="rtl"] .hero-content { padding: 80px 80px 80px 0; text-align: right; }
html[dir="rtl"] .hero-btns { justify-content: flex-end; }
html[dir="rtl"] .hero-stats { justify-content: flex-end; }
html[dir="rtl"] .hero-3d { right: auto; left: 0; }
html[dir="rtl"] .scroll-indicator { left: auto; right: 80px; flex-direction: row-reverse; }
html[dir="rtl"] .hero-title { letter-spacing: -1px; }

/* Section headers */
html[dir="rtl"] .section-tag { letter-spacing: 0.5px; }

/* Product cards */
html[dir="rtl"] .product-hover-line { left: auto; right: 0; }

/* Showcase */
html[dir="rtl"] .showcase-sticky { direction: rtl; }
html[dir="rtl"] .showcase-left { border-right: none; border-left: 1px solid var(--border); }
html[dir="rtl"] .showcase-item { text-align: right; transform: translateX(10px); }
html[dir="rtl"] .showcase-item.active { transform: translateX(0); }

/* Process */
html[dir="rtl"] .process-step { text-align: right; }
html[dir="rtl"] .step-icon-wrap { margin: 0 0 20px auto; }

/* Contact */
html[dir="rtl"] .contact-left { text-align: right; }
html[dir="rtl"] .info-item { flex-direction: row-reverse; justify-content: flex-end; }
html[dir="rtl"] .contact-info { align-items: flex-end; }

/* Testimonials */
html[dir="rtl"] .testimonial-author { flex-direction: row-reverse; }
html[dir="rtl"] .testimonial-card p,
html[dir="rtl"] .testimonial-card strong { text-align: right; display: block; }

/* Form */
html[dir="rtl"] .form-group label { text-align: right; }
html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group select,
html[dir="rtl"] .form-group textarea { text-align: right; direction: rtl; }

/* Footer */
html[dir="rtl"] .footer-inner { direction: rtl; }
html[dir="rtl"] .footer-brand { text-align: right; }
html[dir="rtl"] .social-links { justify-content: flex-end; }
html[dir="rtl"] .footer-links { text-align: right; }
html[dir="rtl"] .footer-bottom { direction: rtl; }

/* Mobile */
html[dir="rtl"] .mobile-menu ul { text-align: right; }
html[dir="rtl"] .scroll-indicator span { letter-spacing: 0; }

/* ── Lang-aware font weights ── */
html[dir="rtl"] .section-title,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .cta-title { letter-spacing: -0.5px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  html[dir="rtl"] .hero-content { padding: 40px 24px; text-align: right; }
  html[dir="rtl"] .scroll-indicator { right: 24px; }
}

@media (max-width: 768px) {
  #navbar { top: 12px; width: calc(100% - 24px); padding: 0 16px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-content { padding: 40px 24px; max-width: 100%; }
  .hero-3d { position: relative; width: 100%; transform: none; top: auto; right: auto; }
  #hero { flex-direction: column; }
  .mug-img { width: 280px; }
  .scroll-indicator { left: 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .process-timeline::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Cart Toggle Button ── */
.cart-toggle {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--border);
  color: var(--text); cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.cart-toggle svg { width: 20px; height: 20px; }
.cart-toggle:hover { border-color: var(--accent-cyan); background: rgba(0, 242, 254, 0.1); transform: translateY(-1px); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--grad); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* ── Interactive Customizer Studio ── */
.customizer-section { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.customizer-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
}
.customizer-preview-card {
  background: var(--surface-card); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.preview-stage {
  position: relative; width: 100%; aspect-ratio: 1;
  border-radius: var(--radius); overflow: hidden;
  background: #000; display: flex; align-items: center; justify-content: center;
}
.mockup-bg {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.4s var(--ease), filter 0.4s;
}
.overlay-container {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none; padding: 20%;
}
.user-img-layer {
  max-width: 60%; max-height: 50%; object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  margin-bottom: 12px;
}
.user-text-layer {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 800;
  color: #ffffff; text-shadow: 0 4px 12px rgba(0,0,0,0.8);
  text-align: center; word-break: break-word;
}
.stage-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(0,242,254,0.15); border: 1px solid rgba(0,242,254,0.3);
  color: var(--accent-cyan); font-size: 0.65rem; font-weight: 800; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 50px;
}

/* Customizer Controls Panel */
.customizer-controls-card {
  background: var(--surface-card); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; display: flex; flex-direction: column; gap: 24px;
}
.customizer-controls-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; }
.ctrl-group { display: flex; flex-direction: column; gap: 8px; }
.ctrl-group label { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.ctrl-row { display: flex; gap: 20px; }
.flex-1 { flex: 1; }

.prod-selector { display: flex; flex-wrap: wrap; gap: 8px; }
.prod-btn {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 10px 16px; border-radius: 12px; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.prod-btn:hover { border-color: var(--accent-cyan); }
.prod-btn.active {
  background: rgba(0,242,254,0.12); border-color: var(--accent-cyan); color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0,242,254,0.2);
}

.file-upload-box { position: relative; width: 100%; }
.file-upload-box input {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; z-index: 2;
}
.upload-dummy {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--surface); border: 1.5px dashed var(--border);
  padding: 16px; border-radius: 12px; color: var(--text-muted); font-size: 0.85rem; font-weight: 600;
  transition: border-color 0.3s, background 0.3s;
}
.upload-dummy svg { width: 20px; height: 20px; color: var(--accent-cyan); }
.file-upload-box:hover .upload-dummy { border-color: var(--accent-cyan); background: rgba(0,242,254,0.05); color: var(--text); }

.customizer-controls-card input[type="text"] {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; color: var(--text); font-family: inherit; font-size: 0.9rem; outline: none;
  transition: border-color 0.3s;
}
.customizer-controls-card input[type="text"]:focus { border-color: var(--accent-cyan); }

.color-swatches { display: flex; gap: 10px; align-items: center; }
.swatch {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border);
  cursor: pointer; transition: transform 0.2s, border-color 0.2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: var(--accent-cyan); transform: scale(1.15); box-shadow: 0 0 12px rgba(0,242,254,0.4); }

.qty-stepper {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 12px; width: fit-content;
}
.qty-stepper button {
  background: none; border: none; color: var(--text); font-size: 1.1rem; font-weight: 700; cursor: pointer; padding: 0 6px;
}
.qty-stepper span { font-weight: 700; font-size: 0.95rem; min-width: 20px; text-align: center; }

.customizer-footer {
  display: flex; flex-direction: column; gap: 16px; padding-top: 12px; border-top: 1px solid var(--border);
}
.price-wrap { display: flex; align-items: center; justify-content: space-between; font-size: 0.95rem; }
.price-wrap strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; color: var(--accent-cyan); }

/* ── Cart Drawer ── */
.cart-drawer-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: 420px; max-width: 90vw;
  background: #090912; border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
}
.cart-drawer-overlay.open .cart-drawer { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px; border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; }
.close-btn { background: none; border: none; color: var(--text-muted); font-size: 1.8rem; cursor: pointer; transition: color 0.2s; }
.close-btn:hover { color: #fff; }

.cart-items-list { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-item-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 16px; border-radius: 16px;
}
.cart-item-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #000; }
.cart-item-details { flex: 1; }
.cart-item-details strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.cart-item-details p { color: var(--text-muted); font-size: 0.75rem; }
.cart-item-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--accent-cyan); }
.cart-item-del { background: none; border: none; color: #ef4444; font-size: 1.2rem; cursor: pointer; padding: 4px; }

.cart-footer { padding: 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; }
.cart-summary-row { display: flex; align-items: center; justify-content: space-between; font-size: 1rem; }
.cart-summary-row strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; color: var(--accent-cyan); }

/* ── Checkout Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-card {
  background: #0d0d16; border: 1px solid var(--border); border-radius: var(--radius-lg);
  width: 500px; max-width: 100%; padding: 32px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; }
.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.checkout-total-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0,242,254,0.08); border: 1px solid rgba(0,242,254,0.25);
  padding: 14px 18px; border-radius: 12px; margin: 8px 0;
}
.checkout-total-banner strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; color: var(--accent-cyan); }

/* RTL overrides for Cart & Modal */
html[dir="rtl"] .cart-drawer { right: auto; left: 0; border-left: none; border-right: 1px solid var(--border); transform: translateX(-100%); }
html[dir="rtl"] .cart-drawer-overlay.open .cart-drawer { transform: translateX(0); }
html[dir="rtl"] .cart-header, html[dir="rtl"] .modal-header, html[dir="rtl"] .checkout-total-banner { direction: rtl; }
html[dir="rtl"] .customizer-grid { direction: rtl; }

@media (max-width: 992px) {
  .customizer-grid { grid-template-columns: 1fr; }
}
