/* ===========================
   ZIBA TECHNOLOGIES - Styles
   =========================== */

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

:root {
  --bg-primary: #05070f;
  --bg-secondary: #080d1a;
  --bg-card: #0c1120;
  --bg-card-hover: #101828;
  --accent-cyan: #00d4ff;
  --accent-amber: #f59e0b;
  --accent-purple: #a78bfa;
  --accent-green: #4ade80;
  --text-primary: #e8f4ff;
  --text-secondary: #8ba7c7;
  --text-muted: #4a6a8a;
  --border: rgba(0, 212, 255, 0.12);
  --border-bright: rgba(0, 212, 255, 0.35);
  --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.3);
  --glow-amber: 0 0 20px rgba(245, 158, 11, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

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

/* ====== CIRCUIT BACKGROUND ====== */
#circuit-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

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

/* ====== UTILITY ====== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.accent { color: var(--accent-cyan); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--border-bright);
  border-radius: 50px;
  font-size: 0.75rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  background: rgba(0, 212, 255, 0.05);
}
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-subtitle { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), #0099cc);
  color: var(--bg-primary);
  box-shadow: var(--glow-cyan);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--border-bright);
}
.btn-outline:hover {
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5, 7, 15, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 36px; height: 36px; }
.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 2px;
}
.logo-accent { color: var(--accent-cyan); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.nav-cta {
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--accent-cyan), #0099cc);
  color: var(--bg-primary);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-cta:hover { box-shadow: var(--glow-cyan); transform: translateY(-1px); }

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

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border-bright);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  width: fit-content;
  background: rgba(0, 212, 255, 0.05);
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -1px;
}
.title-line { display: block; }
.title-line.accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent-cyan);
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

.hero-subtitle { font-size: 1rem; color: var(--text-secondary); max-width: 460px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1;
}
.stat-num + span { font-family: 'Orbitron', sans-serif; font-size: 1.4rem; color: var(--accent-cyan); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ====== HERO VISUAL ====== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.circuit-board {
  position: relative;
  width: 460px;
  height: 460px;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-bright);
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.1), inset 0 0 60px rgba(0, 212, 255, 0.03);
  overflow: hidden;
  animation: boardFloat 6s ease-in-out infinite;
}
@keyframes boardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(0.5deg); }
  66% { transform: translateY(-6px) rotate(-0.5deg); }
}
.circuit-svg { width: 100%; height: 100%; }

/* Node pulse animation */
.node-pulse { animation: nodePulse 2.5s ease-in-out infinite; }
.node-pulse:nth-child(2) { animation-delay: 0.5s; }
.node-pulse:nth-child(3) { animation-delay: 1s; }
.node-pulse:nth-child(4) { animation-delay: 1.5s; }
.node-pulse:nth-child(5) { animation-delay: 2s; }
@keyframes nodePulse {
  0%, 100% { opacity: 1; r: 5; }
  50% { opacity: 0.4; r: 8; }
}

/* Sparks */
.spark {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--accent-amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-amber);
}
.spark-1 { top: 25%; left: 30%; animation: sparkMove1 3s linear infinite; }
.spark-2 { top: 50%; left: 70%; animation: sparkMove2 4s linear infinite 1s; }
.spark-3 { top: 70%; left: 40%; animation: sparkMove3 2.5s linear infinite 0.5s; }
@keyframes sparkMove1 {
  0% { transform: translate(0,0) scale(1); opacity: 1; }
  50% { transform: translate(60px, -30px) scale(1.5); opacity: 0.8; }
  100% { transform: translate(120px, 20px) scale(0); opacity: 0; }
}
@keyframes sparkMove2 {
  0% { transform: translate(0,0) scale(1); opacity: 1; }
  50% { transform: translate(-40px, -50px) scale(1.3); opacity: 0.7; }
  100% { transform: translate(-80px, 10px) scale(0); opacity: 0; }
}
@keyframes sparkMove3 {
  0% { transform: translate(0,0) scale(1); opacity: 1; }
  50% { transform: translate(30px, -60px) scale(1.4); opacity: 0.9; }
  100% { transform: translate(-20px, -80px) scale(0); opacity: 0; }
}

/* Voltage Meter */
.voltage-meter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(5, 7, 15, 0.85);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 130px;
}
.meter-label { font-size: 0.65rem; font-family: 'Orbitron', sans-serif; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 4px; }
.meter-value { font-family: 'Orbitron', sans-serif; font-size: 1.6rem; font-weight: 900; color: var(--accent-green); line-height: 1; }
.meter-value span { font-size: 0.9rem; margin-left: 2px; }
.meter-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  border-radius: 2px;
  animation: voltageAnim 3s ease-in-out infinite;
}
@keyframes voltageAnim {
  0%, 100% { width: 75%; }
  50% { width: 95%; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
  grid-column: 1 / -1;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ====== SERVICES ====== */
.services {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}
.service-card:hover::before { transform: scaleX(1); }

.card-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.04), transparent 60%);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.service-card:hover .card-glow { opacity: 1; }

.service-icon-wrap { margin-bottom: 20px; }
.service-icon {
  width: 64px; height: 64px;
  background: rgba(0, 212, 255, 0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--border-bright);
  box-shadow: var(--glow-cyan);
}
.service-icon svg { width: 36px; height: 36px; }

.service-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.service-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.7; }

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

.service-circuit-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover .service-circuit-line { opacity: 1; }

/* ====== ABOUT ====== */
.about {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02), transparent);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-circuit-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glow-cyan);
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 212, 255, 0.05);
  border-bottom: 1px solid var(--border);
}
.panel-dot { width: 12px; height: 12px; border-radius: 50%; }
.panel-dot.red { background: #ff5f57; }
.panel-dot.yellow { background: #febc2e; }
.panel-dot.green { background: #28c840; }
.panel-title { font-family: 'Orbitron', sans-serif; font-size: 0.7rem; letter-spacing: 1px; color: var(--text-muted); margin-left: 4px; }

.panel-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }

.status-row { display: flex; align-items: center; gap: 12px; }
.status-label { font-size: 0.8rem; color: var(--text-secondary); min-width: 110px; font-family: 'Orbitron', sans-serif; font-size: 0.7rem; }
.status-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.status-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
  border-radius: 3px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.status-val { font-family: 'Orbitron', sans-serif; font-size: 0.75rem; color: var(--accent-green); min-width: 36px; text-align: right; }

.terminal-line {
  margin-top: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 8px;
}
.terminal-cursor { color: var(--accent-cyan); font-weight: bold; }
.blink-cursor { animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.about-content { display: flex; flex-direction: column; gap: 20px; }
.about-text { color: var(--text-secondary); line-height: 1.8; }

.about-pillars { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.pillar:hover { border-color: var(--border-bright); background: var(--bg-card-hover); }
.pillar-icon { font-size: 1.5rem; flex-shrink: 0; }
.pillar h4 { font-weight: 600; margin-bottom: 4px; font-size: 0.95rem; }
.pillar p { font-size: 0.85rem; color: var(--text-secondary); }

/* ====== PROJECTS / WHY US ====== */
.projects {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), transparent);
  pointer-events: none;
}
.feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.feature-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-cyan);
  opacity: 0.4;
  margin-bottom: 12px;
  line-height: 1;
}
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* ====== TESTIMONIALS ====== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border-bright); }
.quote-mark {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  color: var(--accent-cyan);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -16px;
}
.testimonial-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--bg-primary);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ====== CONTACT ====== */
.contact {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02), transparent);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.info-card:hover { border-color: var(--border-bright); background: var(--bg-card-hover); }
.info-icon {
  width: 42px; height: 42px;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.info-icon svg { width: 18px; height: 18px; stroke: var(--accent-cyan); }
.info-card h4 { font-size: 0.8rem; font-family: 'Orbitron', sans-serif; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px; }
.info-card a, .info-card p { font-size: 0.9rem; color: var(--text-secondary); text-decoration: none; }
.info-card a:hover { color: var(--accent-cyan); }

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.8rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  background: rgba(0, 212, 255, 0.05);
}
.form-group select option { background: var(--bg-secondary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 8px;
  color: var(--accent-green);
  font-size: 0.9rem;
}
.form-success svg { width: 20px; height: 20px; stroke: var(--accent-green); flex-shrink: 0; }
.form-success.show { display: flex; }

/* ====== FOOTER ====== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
  padding: 64px 0 32px;
}
.footer-circuit-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .nav-logo { margin-bottom: 4px; }
.footer-brand p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link svg { width: 16px; height: 16px; stroke: var(--text-secondary); }
.social-link:hover { border-color: var(--accent-cyan); background: rgba(0, 212, 255, 0.08); }
.social-link:hover svg { stroke: var(--accent-cyan); }

.footer-links-col h4,
.footer-contact-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--accent-cyan); }
.footer-contact-col p, .footer-contact-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.8;
  display: block;
}
.footer-contact-col a:hover { color: var(--accent-cyan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* ====== ANIMATIONS: Scroll Reveal ====== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }
  .hero-visual { display: none; }
  .hero-badge { margin: 0 auto; }
  .hero-stats { justify-content: center; }
  .hero-cta-group { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-links, .nav-cta {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(5, 7, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .hamburger { display: flex; }

  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .circuit-board { width: 320px; height: 320px; }
  .hero-stats { gap: 16px; }
}
