/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Righteous&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg:         #0a0a1a;
  --color-surface:    #12122a;
  --color-surface2:   #1a1a3e;
  --color-primary:    #1e1b4b;
  --color-border:     rgba(0, 212, 255, 0.18);
  --color-cyan:       #00d4ff;
  --color-purple:     #7c3aed;
  --color-purple-lt:  #a78bfa;
  --color-green:      #00ff88;
  --color-text:       #f8fafc;
  --color-muted:      #94a3b8;
  --color-accent:     #f97316;
  --font-heading:     'Righteous', sans-serif;
  --font-body:        'Poppins', sans-serif;
  --radius-sm:        8px;
  --radius-md:        14px;
  --radius-lg:        20px;
  --transition:       all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-cyan:        0 0 20px rgba(0, 212, 255, 0.35), 0 0 60px rgba(0, 212, 255, 0.12);
  --glow-purple:      0 0 20px rgba(124, 58, 237, 0.35), 0 0 60px rgba(124, 58, 237, 0.12);
  --glass-bg:         rgba(26, 26, 62, 0.6);
  --glass-border:     rgba(0, 212, 255, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ===== UTILS ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.gradient-text {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple-lt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-purple); border-radius: 3px; }

/* ===== FOCUS ===== */
:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
  color: #fff;
  box-shadow: var(--glow-cyan);
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.5), 0 0 80px rgba(124, 58, 237, 0.2);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}
.btn-nav {
  background: rgba(0, 212, 255, 0.1);
  color: var(--color-cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}
.btn-nav:hover {
  background: rgba(0, 212, 255, 0.2);
  box-shadow: var(--glow-cyan);
}
.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.navbar.scrolled {
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 212, 255, 0.12);
  padding: 0.75rem 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo-i { color: var(--color-cyan); text-shadow: var(--glow-cyan); }
.logo-robots { color: var(--color-text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--color-cyan);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover, .nav-links a:focus-visible {
  color: var(--color-cyan);
}
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 4rem;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-cyan);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-cyan);
  line-height: 1.1;
}
.stat-label { font-size: 0.75rem; color: var(--color-muted); font-weight: 500; }
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
}

/* Robot scene */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.robot-scene {
  position: relative;
  width: 280px;
  height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.robot-glow {
  position: absolute;
  inset: 20px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}
.robot-svg {
  width: 200px;
  height: auto;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.4));
}
.robot-shadow {
  position: absolute;
  bottom: 0;
  width: 120px;
  height: 16px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: shadow-pulse 4s ease-in-out infinite;
}

.antenna-blink { animation: blink 1.5s ease-in-out infinite; }
.eye-pulse { animation: eye-glow 2s ease-in-out infinite; }
.core-pulse { animation: pulse 2s ease-in-out infinite; }

.float-orb {
  position: absolute;
  border-radius: 50%;
}
.orb-1 {
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(0,212,255,0.2) 0%, transparent 70%);
  border: 1px solid rgba(0,212,255,0.2);
  top: 10%; right: 5%;
  animation: float-slow 6s ease-in-out infinite;
}
.orb-2 {
  width: 48px; height: 48px;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
  border: 1px solid rgba(124,58,237,0.2);
  bottom: 15%; left: 8%;
  animation: float-slow 8s ease-in-out infinite reverse;
}
.orb-3 {
  width: 28px; height: 28px;
  background: radial-gradient(circle, rgba(0,255,136,0.3) 0%, transparent 70%);
  top: 50%; right: -5%;
  animation: float-slow 5s ease-in-out infinite 1s;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-in 2s ease 1s both;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--color-cyan);
  border-bottom: 1.5px solid var(--color-cyan);
  transform: rotate(45deg);
  animation: bounce-down 1.5s ease-in-out infinite;
}

/* ===== SECTION COMMONS ===== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  color: var(--color-muted);
  font-size: 1rem;
}

/* ===== CATEGORIES ===== */
.categories { padding: 6rem 0; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.04) 0%, rgba(124,58,237,0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.category-card:hover, .category-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: var(--glow-cyan);
}
.category-card:hover::before { opacity: 1; }

.category-card--featured {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(76, 29, 149, 0.2);
}
.category-card--featured:hover {
  border-color: var(--color-purple-lt);
  box-shadow: var(--glow-purple);
}

.category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.category-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  transition: var(--transition);
  padding: 12px;
}
.category-card--featured .category-icon {
  color: var(--color-purple-lt);
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.25);
}
.category-card:hover .category-icon {
  transform: scale(1.08);
  box-shadow: var(--glow-cyan);
}

.category-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.category-content p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
}
.category-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-cyan);
  margin-top: 0.25rem;
  display: block;
}
.category-arrow {
  align-self: flex-end;
  font-size: 1.1rem;
  color: var(--color-muted);
  transition: transform 0.2s, color 0.2s;
}
.category-card:hover .category-arrow {
  transform: translateX(4px);
  color: var(--color-cyan);
}

/* ===== PRODUCTS ===== */
.products { padding: 6rem 0; }

.products-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn:focus-visible {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  border-color: transparent;
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.product-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.12);
}
.product-card.hidden { display: none; }

.product-image {
  position: relative;
  height: 180px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
}
.product-img-robot {
  width: 100px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  transition: transform 0.3s;
}
.product-img-robot svg { width: 100%; height: 100%; }
.product-card:hover .product-img-robot { transform: scale(1.06) translateY(-4px); }

.product-badge-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-badge-tag--hot {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.35);
  color: #fb923c;
}
.product-badge-tag--sale {
  background: rgba(0, 255, 136, 0.12);
  border-color: rgba(0, 255, 136, 0.3);
  color: var(--color-green);
}

.product-info { padding: 1.25rem; }
.product-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-purple-lt);
  display: block;
  margin-bottom: 0.35rem;
}
.product-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.product-desc {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-cyan);
}
.product-price-old {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-decoration: line-through;
  margin-left: 0.4rem;
}
.btn-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
}
.btn-add svg { width: 18px; height: 18px; }
.btn-add:hover, .btn-add:focus-visible {
  background: var(--color-cyan);
  color: var(--color-bg);
  box-shadow: var(--glow-cyan);
  transform: scale(1.1);
}

.products-cta { text-align: center; }

/* ===== ABOUT ===== */
.about {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 62, 0.3) 50%, transparent 100%);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text .section-title { text-align: left; }
.about-text > p {
  color: var(--color-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--color-cyan);
  flex-shrink: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stats-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}
.stats-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}
.stats-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stats-plus {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-cyan);
}
.stats-label {
  display: block;
  font-size: 0.78rem;
  color: var(--color-muted);
  font-weight: 500;
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 6rem 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: var(--glow-purple);
  transform: translateY(-4px);
}
.stars {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testimonial-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-style: normal;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-name {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  font-style: normal;
}
.author-title {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* ===== CONTACT ===== */
.contact { padding: 6rem 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info .section-title { text-align: left; }
.contact-info > p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-cyan);
  flex-shrink: 0;
}

.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}
.required { color: var(--color-cyan); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.form-group select option { background: var(--color-surface2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}
.form-group input.error,
.form-group textarea.error { border-color: #ef4444; }
.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  min-height: 1em;
}
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.loading .btn-text { display: none; }
.loading .btn-loader { display: block; }

.form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-green);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-success[hidden] { display: none; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(10,10,26,0.8));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; display: inline-block; }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0,212,255,0.06);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  transition: var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover, .social-link:focus-visible {
  color: var(--color-cyan);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: var(--glow-cyan);
}
.footer-nav h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a {
  font-size: 0.85rem;
  color: var(--color-muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--color-cyan); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 0.3rem;
}
.footer-legal { font-size: 0.75rem !important; opacity: 0.6; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== KEYFRAMES ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
  50% { transform: translateY(-12px) scale(1.05); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.06); }
}
@keyframes blink {
  0%, 80%, 100% { opacity: 1; }
  40% { opacity: 0.2; }
}
@keyframes eye-glow {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.5; }
}
@keyframes shadow-pulse {
  0%, 100% { opacity: 0.5; transform: scaleX(1); }
  50% { opacity: 0.2; transform: scaleX(0.7); }
}
@keyframes bounce-down {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .btn-nav { display: none; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    bottom: 0;
    background: rgba(10, 10, 26, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; color: var(--color-text); }

  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-subtitle, .hero-actions { margin: 0 auto 1.5rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .robot-scene { width: 220px; height: 260px; }
  .robot-svg { width: 160px; }

  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-text .section-title { text-align: center; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-info .section-title { text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .btn { padding: 0.7rem 1.3rem; }
}
