/* ===== KiDraw3D — Dark Iridescent Theme (Higgsfield-inspired) ===== */

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

:root {
  --bg-primary: #0a0b0f;
  --bg-surface: #12131a;
  --bg-card: #181a24;
  --bg-card-hover: #1e2030;
  --bg-elevated: #222438;

  --text-primary: #f0f0f5;
  --text-secondary: #9a9bb0;
  --text-light: #5e5f73;

  --accent: #a855f7;
  --accent-bright: #c084fc;
  --accent-dim: rgba(168,85,247,0.15);
  --accent-glow: rgba(168,85,247,0.4);

  --neon-pink: #ff6bcd;
  --neon-blue: #60a5fa;
  --neon-cyan: #22d3ee;
  --neon-green: #34d399;
  --neon-yellow: #fbbf24;
  --neon-orange: #fb923c;

  --gradient-magic: linear-gradient(135deg, #a855f7 0%, #6366f1 30%, #22d3ee 60%, #34d399 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
  --gradient-cool: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --gradient-iridescent: linear-gradient(135deg, #a855f7, #6366f1, #22d3ee, #34d399, #f59e0b, #ef4444);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);

  --border-subtle: rgba(255,255,255,0.06);
  --border-glow: rgba(168,85,247,0.3);

  --shadow-soft: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-card: 0 8px 30px rgba(0,0,0,0.5);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.6);
  --shadow-glow-purple: 0 0 30px rgba(168,85,247,0.3), 0 0 60px rgba(168,85,247,0.1);
  --shadow-glow-pink: 0 0 30px rgba(236,72,153,0.3);
  --shadow-glow-blue: 0 0 30px rgba(96,165,250,0.3);
  --shadow-glow-cyan: 0 0 30px rgba(34,211,238,0.3);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== Floating Decorations ===== */
.floating-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(60px);
  animation: floatShape 20s ease-in-out infinite;
}

.shape:nth-child(1) { width: 500px; height: 500px; background: var(--accent); top: -200px; left: -100px; animation-delay: 0s; }
.shape:nth-child(2) { width: 400px; height: 400px; background: var(--neon-blue); top: 30%; right: -150px; animation-delay: -5s; }
.shape:nth-child(3) { width: 450px; height: 450px; background: var(--neon-cyan); bottom: 10%; left: 10%; animation-delay: -10s; }
.shape:nth-child(4) { width: 350px; height: 350px; background: var(--neon-pink); top: 60%; right: 20%; animation-delay: -3s; }
.shape:nth-child(5) { width: 300px; height: 300px; background: var(--neon-green); top: 10%; left: 40%; animation-delay: -7s; }
.shape:nth-child(6) { width: 380px; height: 380px; background: var(--neon-orange); bottom: -100px; right: -100px; animation-delay: -12s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-40px) rotate(5deg) scale(1.05); }
  50% { transform: translateY(20px) rotate(-3deg) scale(0.95); }
  75% { transform: translateY(-20px) rotate(2deg) scale(1.02); }
}

/* ===== Sparkles ===== */
.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10,11,15,0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-magic);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-glow-purple);
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(3deg); }
}

.logo span {
  background: var(--gradient-magic);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 6s ease-in-out infinite;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(168,85,247,0.1);
}

.nav-cta {
  background: var(--gradient-magic) !important;
  color: white !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-glow-purple);
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-cta:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 40px rgba(168,85,247,0.5) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(168,85,247,0.12) 0%, rgba(99,102,241,0.08) 30%, transparent 70%);
  pointer-events: none;
  animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-bright);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-bright);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--accent-glow);
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--accent-glow); }
  50% { opacity: 0.5; box-shadow: 0 0 20px var(--accent-glow); }
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
  font-weight: 700;
}

.hero h1 .highlight {
  background: var(--gradient-magic);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 6s ease-in-out infinite;
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-magic);
  background-size: 200% 200%;
  border-radius: 2px;
  opacity: 0.5;
  animation: rainbowShift 6s ease-in-out infinite;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-text strong { color: var(--text-primary); font-weight: 700; }

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-magic);
  background-size: 200% 200%;
  color: white;
  box-shadow: var(--shadow-glow-purple);
  font-size: 1.1rem;
  padding: 18px 40px;
  animation: btnShimmer 4s ease-in-out infinite;
}

@keyframes btnShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 50px rgba(168,85,247,0.5), 0 0 100px rgba(168,85,247,0.2);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent-bright);
  background: rgba(168,85,247,0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-purple);
}

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient-magic);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 6s ease-in-out infinite;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Hero illustration (CSS art) */
.hero-illustration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.crayon {
  position: absolute;
  width: 14px;
  height: 80px;
  border-radius: 7px 7px 2px 2px;
  animation: crayonFloat 6s ease-in-out infinite;
  opacity: 0.3;
}

.crayon::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 2px;
  width: 10px;
  height: 14px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.crayon:nth-child(1) { background: var(--neon-pink); top: 12%; left: 4%; animation-delay: 0s; transform: rotate(-25deg); }
.crayon:nth-child(1)::before { background: var(--neon-pink); }
.crayon:nth-child(2) { background: var(--neon-blue); top: 18%; right: 6%; animation-delay: -2s; transform: rotate(18deg); }
.crayon:nth-child(2)::before { background: var(--neon-blue); }
.crayon:nth-child(3) { background: var(--neon-yellow); bottom: 25%; left: 6%; animation-delay: -4s; transform: rotate(30deg); }
.crayon:nth-child(3)::before { background: var(--neon-yellow); }
.crayon:nth-child(4) { background: var(--neon-green); bottom: 18%; right: 4%; animation-delay: -1s; transform: rotate(-15deg); }
.crayon:nth-child(4)::before { background: var(--neon-green); }
.crayon:nth-child(5) { background: var(--neon-orange); top: 45%; left: 2%; animation-delay: -3s; transform: rotate(10deg); }
.crayon:nth-child(5)::before { background: var(--neon-orange); }
.crayon:nth-child(6) { background: var(--accent); top: 50%; right: 3%; animation-delay: -5s; transform: rotate(-22deg); }
.crayon:nth-child(6)::before { background: var(--accent); }
.crayon:nth-child(7) { background: #ef4444; bottom: 40%; left: 10%; animation-delay: -1.5s; transform: rotate(35deg); }
.crayon:nth-child(7)::before { background: #ef4444; }
.crayon:nth-child(8) { background: var(--neon-cyan); bottom: 35%; right: 9%; animation-delay: -3.5s; transform: rotate(-8deg); }
.crayon:nth-child(8)::before { background: var(--neon-cyan); }

@keyframes crayonFloat {
  0%, 100% { transform: translateY(0) rotate(var(--rotate, 0deg)); }
  50% { transform: translateY(-20px) rotate(calc(var(--rotate, 0deg) + 5deg)); }
}

/* ===== Sections ===== */
section {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.badge-purple { background: rgba(168,85,247,0.12); color: var(--accent-bright); border: 1px solid rgba(168,85,247,0.2); }
.badge-pink { background: rgba(236,72,153,0.12); color: #f472b6; border: 1px solid rgba(236,72,153,0.2); }
.badge-blue { background: rgba(96,165,250,0.12); color: var(--neon-blue); border: 1px solid rgba(96,165,250,0.2); }
.badge-green { background: rgba(52,211,153,0.12); color: var(--neon-green); border: 1px solid rgba(52,211,153,0.2); }
.badge-orange { background: rgba(251,146,60,0.12); color: var(--neon-orange); border: 1px solid rgba(251,146,60,0.2); }
.badge-yellow { background: rgba(251,191,36,0.12); color: var(--neon-yellow); border: 1px solid rgba(251,191,36,0.2); }

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 700;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
}

.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* ===== Glass Card Mixin ===== */
.step-card, .product-card, .price-card, .delivery-card, .order-card, .tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

/* ===== Process Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.step-card:nth-child(1)::before { background: var(--gradient-warm); }
.step-card:nth-child(2)::before { background: var(--gradient-cool); }
.step-card:nth-child(3)::before { background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green)); }
.step-card:nth-child(4)::before { background: var(--gradient-magic); }

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-glow);
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
  font-weight: 700;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.step-card:nth-child(1) .step-icon { background: rgba(236,72,153,0.12); box-shadow: 0 0 20px rgba(236,72,153,0.15); }
.step-card:nth-child(2) .step-icon { background: rgba(168,85,247,0.12); box-shadow: 0 0 20px rgba(168,85,247,0.15); }
.step-card:nth-child(3) .step-icon { background: rgba(34,211,238,0.12); box-shadow: 0 0 20px rgba(34,211,238,0.15); }
.step-card:nth-child(4) .step-icon { background: rgba(52,211,153,0.12); box-shadow: 0 0 20px rgba(52,211,153,0.15); }

.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.product-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(168,85,247,0.3), transparent, rgba(34,211,238,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover::after { opacity: 1; }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.product-card.featured {
  border-color: rgba(168,85,247,0.4);
  box-shadow: var(--shadow-glow-purple);
}

.product-card.featured::after { opacity: 1; }

.product-emoji {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  animation: productBounce 3s ease-in-out infinite;
}

@keyframes productBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(-5deg); }
  75% { transform: translateY(-4px) rotate(5deg); }
}

.product-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.product-card .desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-features {
  list-style: none;
  margin-bottom: 24px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-features li .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(52,211,153,0.12);
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(52,211,153,0.2);
}

.product-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.product-price small {
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  font-weight: 500;
}

.btn-product {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-md);
}

.btn-sticker { background: rgba(236,72,153,0.1); color: var(--neon-pink); border: 1px solid rgba(236,72,153,0.3); }
.btn-sticker:hover { background: var(--neon-pink); color: white; box-shadow: 0 0 30px rgba(236,72,153,0.4); }
.btn-toy { background: var(--gradient-cool); color: white; box-shadow: var(--shadow-glow-purple); }
.btn-toy:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(168,85,247,0.5); }
.btn-figurine { background: linear-gradient(135deg, #f59e0b, #ef4444); color: white; box-shadow: 0 0 20px rgba(245,158,11,0.3); }
.btn-figurine:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(245,158,11,0.5); }
.btn-combo { background: var(--gradient-warm); color: white; box-shadow: var(--shadow-glow-pink); }
.btn-combo:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(236,72,153,0.5); }

/* Combo banner */
.combo-banner {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(168,85,247,0.2);
  position: relative;
  overflow: hidden;
}

.combo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,0.05), transparent, rgba(34,211,238,0.05));
  pointer-events: none;
}

.combo-banner .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.combo-banner h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.combo-banner p { font-size: 0.9rem; color: var(--text-secondary); }

.combo-price { text-align: right; }
.combo-price .old { text-decoration: line-through; color: var(--text-light); font-size: 1rem; }
.combo-price .new { font-family: 'Space Grotesk', sans-serif; font-size: 2.2rem; font-weight: 700; background: var(--gradient-magic); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== Technology ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.tech-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.tech-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.tech-card:nth-child(1) .icon { background: rgba(96,165,250,0.12); }
.tech-card:nth-child(2) .icon { background: rgba(168,85,247,0.12); }
.tech-card:nth-child(3) .icon { background: rgba(52,211,153,0.12); }

.tech-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.tech-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

.tech-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(168,85,247,0.08);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.pipeline-arrow { color: var(--accent-bright); font-weight: 800; font-size: 1.2rem; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.price-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-glow);
}

.price-card.popular {
  border-color: rgba(168,85,247,0.4);
  box-shadow: var(--shadow-glow-purple);
}

.price-card.popular::before {
  content: 'Popular';
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--gradient-cool);
  color: white;
  padding: 4px 40px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.price-card .emoji { font-size: 2.5rem; margin-bottom: 12px; display: block; }

.price-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 24px;
  font-weight: 700;
}

.price-amount small {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.price-features li:last-child { border-bottom: none; }
.price-features li .check { color: var(--neon-green); font-weight: 800; }

.btn-price {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 1rem;
}

/* ===== Delivery ===== */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.delivery-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.delivery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-glow);
}

.delivery-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.delivery-card:nth-child(1) .icon { background: rgba(236,72,153,0.12); box-shadow: 0 0 15px rgba(236,72,153,0.15); }
.delivery-card:nth-child(2) .icon { background: rgba(96,165,250,0.12); box-shadow: 0 0 15px rgba(96,165,250,0.15); }
.delivery-card:nth-child(3) .icon { background: rgba(251,191,36,0.12); box-shadow: 0 0 15px rgba(251,191,36,0.15); }

.delivery-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.delivery-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== Order Form ===== */
.order-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(168,85,247,0.03) 100%);
}

.order-card {
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-glow);
  position: relative;
  overflow: hidden;
}

.order-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(168,85,247,0.05), transparent 60%);
  pointer-events: none;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-surface);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15), 0 0 20px rgba(168,85,247,0.1);
}

.form-group input::placeholder {
  color: var(--text-light);
  font-weight: 500;
}

/* Product selector */
.product-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.product-option { position: relative; }

.product-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  background: var(--bg-surface);
  text-transform: none;
  letter-spacing: 0;
}

.product-option label .emoji { font-size: 1.5rem; }
.product-option label .name { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.product-option label .price { font-size: 0.8rem; color: var(--text-secondary); font-weight: 600; }

.product-option input:checked + label {
  border-color: var(--accent);
  background: rgba(168,85,247,0.08);
  box-shadow: 0 0 0 2px rgba(168,85,247,0.2), 0 0 20px rgba(168,85,247,0.1);
}

/* Upload area */
.upload-area {
  border: 2px dashed rgba(168,85,247,0.3);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg-surface);
  position: relative;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--accent-bright);
  background: rgba(168,85,247,0.05);
  box-shadow: 0 0 30px rgba(168,85,247,0.1);
}

.upload-area .icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.upload-area .text { font-weight: 600; color: var(--text-secondary); font-size: 0.95rem; }
.upload-area .hint { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }
.upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.upload-preview { margin-top: 16px; display: none; }

.upload-preview img {
  max-width: 200px;
  max-height: 200px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.upload-preview .filename {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 500;
}

/* Promo code */
.promo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--accent-bright);
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.promo-toggle:hover { color: var(--neon-pink); }

.promo-field { display: none; }
.promo-field.active { display: block; }

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 18px 32px;
  font-size: 1.15rem;
  background: var(--gradient-magic);
  background-size: 200% 200%;
  color: white;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow-purple);
  margin-top: 8px;
  animation: btnShimmer 4s ease-in-out infinite;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(168,85,247,0.5), 0 0 80px rgba(168,85,247,0.2);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg-surface);
  color: rgba(255,255,255,0.7);
  padding: 40px 24px;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer .logo { color: white; }
.footer .logo span { -webkit-text-fill-color: white; background: none; }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover { color: white; }

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  color: rgba(255,255,255,0.3);
}

/* ===== Success/Error Messages ===== */
.message-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.message-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.message-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-glow-purple);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.message-overlay.active .message-card { transform: scale(1); }

.message-card .icon { font-size: 3.5rem; margin-bottom: 16px; display: block; }
.message-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; margin-bottom: 8px; font-weight: 700; }
.message-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.6; }

.message-card .order-num {
  display: inline-block;
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.2);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--accent-bright);
  font-size: 1rem;
  margin-bottom: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,11,15,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }
  .menu-toggle { display: block; z-index: 1001; }
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-stats { gap: 24px; }
  .product-selector { grid-template-columns: 1fr; }
  .combo-banner { flex-direction: column; text-align: center; }
  .combo-price { text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .crayon { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .order-card { padding: 24px; }
  .price-card { padding: 24px; }
}

/* ===== Animations on Scroll ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(168,85,247,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Confetti animation */
.confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confettiFall 3s linear forwards;
  z-index: 10001;
  pointer-events: none;
}

@keyframes confettiFall {
  0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Rainbow text effect */
.rainbow-text {
  background: var(--gradient-magic);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 4s ease-in-out infinite;
}

@keyframes rainbowShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Wiggle animation */
.wiggle:hover { animation: wiggle 0.5s ease; }

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}

/* Drawing line animation */
.draw-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2s ease forwards;
}

@keyframes drawLine { to { stroke-dashoffset: 0; } }
