
/* ── Tokens ── */
:root {
  --bg: #070709;
  --bg-2: #0d0d14;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f8;
  --text-muted: #6b6b8a;
  --accent-1: #a855f7;   /* violet */
  --accent-2: #6366f1;   /* indigo */
  --accent-3: #ec4899;   /* pink */
  --grad: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  --grad-45: linear-gradient(45deg, var(--accent-1), var(--accent-3));
  --radius: 18px;
  --radius-lg: 28px;
  --nav-h: 80px;
  --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);
  color: var(--text);
  font-family: 'Inter', 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: none;
  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: none;
  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;
}

/* ── Navbar ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  padding: 0 40px;
  transition: background 0.4s, backdrop-filter 0.4s;
}
#navbar.scrolled {
  background: rgba(7,7,9,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  height: 100%; display: flex; align-items: center; gap: 40px;
}
/* ── 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(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.3);
  color: var(--accent-1); font-size: 0.8rem; font-weight: 600;
  padding: 8px 16px; border-radius: 50px;
  margin-bottom: 24px;
  opacity: 0; transform: translateY(20px);
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(4.5rem, 7vw, 6rem);
  font-weight: 700; line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 35px;
}
.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: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; }
.stat span { font-size: 1.2rem; color: var(--accent-1); 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 {
  width: 440px; max-width: 85vw;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  filter: drop-shadow(0 30px 60px rgba(168,85,247,0.45));
  transition: transform 0.4s var(--ease), filter 0.4s;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.sample-hero-img:hover {
  transform: scale(1.03) rotate(-1.5deg);
  filter: drop-shadow(0 40px 70px rgba(168,85,247,0.6));
}

/* 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-1); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.section-desc { color: var(--text-muted); max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color 0.4s, transform 0.4s var(--ease);
  cursor: none;
}
.product-card:hover {
  border-color: rgba(168,85,247,0.4);
  transform: translateY(-6px);
}
.product-card-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(168,85,247,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.product-card:hover .product-card-bg { opacity: 1; }
.product-icon {
  font-size: 2.5rem; margin-bottom: 16px;
  display: inline-block;
  animation: iconBob 3s ease-in-out infinite;
}
.product-card:nth-child(2) .product-icon { animation-delay: 0.5s; }
.product-card:nth-child(3) .product-icon { animation-delay: 1s; }
.product-card:nth-child(4) .product-icon { animation-delay: 1.5s; }
.product-card:nth-child(5) .product-icon { animation-delay: 2s; }
.product-card:nth-child(6) .product-icon { animation-delay: 2.5s; }
@keyframes iconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.product-card h3 {
  font-family: 'Syne', sans-serif; font-size: 1.2rem;
  font-weight: 700; margin-bottom: 8px;
}
.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;
  font-size: 1.8rem; margin: 0 auto 20px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.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);
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  min-height: 220px; position: relative;
  overflow: hidden; cursor: none;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent, rgba(168,85,247,0.5));
}
.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 { font-size: 3.5rem; }
.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.9rem;
}
.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: none;
  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;
  font-size: 1rem; cursor: none;
  transition: border-color 0.3s, transform 0.3s;
}
.social-links a:hover { border-color: var(--accent-1); 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) {
  .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: 1fr 1fr; }
  .gallery-item.tall { grid-row: span 1; min-height: 220px; }
  .gallery-item.wide { grid-column: span 2; }
  .testimonials-track { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .showcase-left { padding: 40px 24px; }
  #navbar { padding: 0 24px; }
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
}
