/* ========== Reset & Base ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #060a12;
  --bg-secondary: #0d1524;
  --bg-card: #141c2b;
  --bg-card-elevated: #182035;
  --bg-input: #151d2e;
  --bg-glass: rgba(18, 27, 44, 0.65);
  --text-primary: #e8ecf2;
  --text-secondary: #8896ab;
  --text-heading: #f1f5f9;
  --accent: #00d4ff;
  --accent-hover: #00b8e6;
  --accent-deep: #0066cc;
  --accent-purple: #7c3aed;
  --accent-purple-soft: rgba(124, 58, 237, 0.15);
  --accent-gold: #f0b429;
  --accent-gold-soft: rgba(240, 180, 41, 0.12);
  --accent-glow: rgba(0, 212, 255, 0.18);
  --accent-glow-strong: rgba(0, 212, 255, 0.3);
  --border: #243047;
  --border-hover: #334155;
  --error: #f43f5e;
  --success: #10b981;
  --nav-height: 70px;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

/* ========== Utility ========== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

/* Alternating section glow accents */
.section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.07;
  pointer-events: none;
}

.about {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(10, 16, 28, 1) 50%, var(--bg-primary) 100%);
}

.about::before {
  background: var(--accent);
  top: 0;
  right: -200px;
}

.how-it-works {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(8, 14, 24, 1) 50%, var(--bg-primary) 100%);
}

.services {
  background: linear-gradient(180deg, rgba(18, 28, 45, 1) 0%, rgba(24, 36, 55, 1) 50%, rgba(18, 28, 45, 1) 100%);
}

.services::before {
  background: var(--accent-purple);
  bottom: 0;
  left: -200px;
}

.technology {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(10, 16, 28, 1) 50%, var(--bg-primary) 100%);
}

.technology::before {
  background: var(--accent);
  top: 50%;
  right: -200px;
}

.faq {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(14, 22, 38, 1) 50%, var(--bg-secondary) 100%);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--text-heading);
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.08);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-purple), var(--accent-gold));
  margin: 16px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 16px auto 60px;
  font-size: 1.05rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 40%, var(--accent-gold) 70%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ========== Glassmorphism ========== */
.glass {
  background: linear-gradient(to bottom, rgba(20, 30, 48, 0.7), rgba(14, 22, 38, 0.65));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover {
  box-shadow: 0 0 40px var(--accent-glow-strong), 0 8px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
  color: #fff;
}

.btn-outline {
  background: rgba(0, 212, 255, 0.05);
  color: var(--accent);
  border-color: rgba(0, 212, 255, 0.3);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo-neural {
  color: var(--text-primary);
  transition: color var(--transition);
}

.logo-eng {
  color: var(--accent);
}

.logo-dot {
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-logo:hover .logo-neural {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-link {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.bar {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 25%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 65%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(240, 180, 41, 0.03) 0%, transparent 40%),
    linear-gradient(180deg, transparent 60%, var(--bg-primary) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,212,255,0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

/* Hero Metrics */
.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.metric {
  text-align: center;
  padding: 20px 32px;
  background: linear-gradient(to bottom, rgba(20, 30, 48, 0.6), rgba(14, 22, 38, 0.5));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  min-width: 160px;
  transition: all var(--transition);
}

.metric:hover {
  border-color: rgba(0, 212, 255, 0.25);
  background: linear-gradient(to bottom, rgba(20, 30, 48, 0.8), rgba(14, 22, 38, 0.7));
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}

.metric-value {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.metric-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  display: block;
}

.metric-suffix {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.metric-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  display: block;
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* Hero fade-in */
.hero .fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s ease 0.2s forwards;
}

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ========== About ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.highlight:hover {
  background: rgba(0, 212, 255, 0.04);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.1));
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.06);
}

.highlight-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.highlight h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.highlight p {
  font-size: 0.85rem !important;
  margin-bottom: 0 !important;
  color: var(--text-secondary);
  line-height: 1.5 !important;
}

/* About Image & Graphic */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-graphic {
  width: 300px;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graphic-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.ring-1 {
  width: 100%;
  height: 100%;
  animation: ringRotate 20s linear infinite;
  border-color: rgba(0, 212, 255, 0.15);
  border-style: dashed;
}

.ring-2 {
  width: 75%;
  height: 75%;
  animation: ringRotate 15s linear infinite reverse;
  border-color: rgba(124, 58, 237, 0.12);
}

.ring-3 {
  width: 50%;
  height: 50%;
  animation: ringRotate 10s linear infinite;
  border-color: rgba(0, 212, 255, 0.1);
  border-style: dashed;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.graphic-core {
  width: 80px;
  height: 80px;
  position: relative;
  z-index: 1;
}

.graphic-core svg {
  width: 100%;
  height: 100%;
  color: var(--accent);
}

/* ========== How It Works ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Connecting line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-purple), var(--accent));
  opacity: 0.2;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 30px var(--accent-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.process-step:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--accent-purple), #5b21b6);
  box-shadow: 0 0 30px var(--accent-purple-soft), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.process-step:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  box-shadow: 0 0 30px var(--accent-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.process-step:nth-child(4) .step-number {
  background: linear-gradient(135deg, var(--accent-gold), #d4940a);
  box-shadow: 0 0 30px var(--accent-gold-soft), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.step-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  color: var(--accent);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ========== Demo / Video ========== */
.demo-video-wrap {
  max-width: 850px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

.demo-video-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,212,255,0.2), transparent 50%, rgba(124,58,237,0.2));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.demo-video-wrap iframe,
.demo-video-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-secondary);
  background:
    radial-gradient(ellipse at center, rgba(0, 212, 255, 0.04) 0%, transparent 70%),
    linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
}

.video-placeholder svg {
  width: 72px;
  height: 72px;
  color: var(--accent);
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.video-placeholder p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.video-placeholder span {
  font-size: 0.8rem;
  max-width: 400px;
  text-align: center;
  line-height: 1.5;
}

/* ========== Services ========== */

.service-block {
  margin-bottom: 70px;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.1));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.08);
}

.service-icon-wrap svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-cards--wide {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  background: linear-gradient(to bottom, rgba(20, 30, 48, 0.75), rgba(14, 22, 38, 0.65));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

/* Accent color variety for service cards */
.service-cards--wide .service-card:nth-child(1) { border-left-color: rgba(0, 212, 255, 0.4); }
.service-cards--wide .service-card:nth-child(2) { border-left-color: rgba(124, 58, 237, 0.4); }
.service-cards--wide .service-card:nth-child(3) { border-left-color: rgba(240, 180, 41, 0.4); }

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-purple), var(--accent-gold));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.service-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--accent-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  color: var(--accent);
}

.service-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.card-video {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.card-video video {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.service-video {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.service-video video {
  width: 100%;
  display: block;
}

/* ========== Technology ========== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tech-category {
  background: linear-gradient(to bottom, rgba(20, 30, 48, 0.7), rgba(14, 22, 38, 0.6));
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.tech-category:nth-child(1) { border-top: 2px solid rgba(0, 212, 255, 0.3); }
.tech-category:nth-child(2) { border-top: 2px solid rgba(124, 58, 237, 0.3); }
.tech-category:nth-child(3) { border-top: 2px solid rgba(240, 180, 41, 0.3); }
.tech-category:nth-child(4) { border-top: 2px solid rgba(0, 212, 255, 0.3); }

.tech-category::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.tech-category:hover {
  border-color: rgba(0, 212, 255, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.tech-category:hover::before {
  opacity: 1;
}

.tech-category-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.tech-cat-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.tech-tag {
  background: linear-gradient(135deg, rgba(20, 28, 43, 0.9), rgba(14, 22, 36, 0.8));
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: default;
}

.tech-category:nth-child(odd) .tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-2px);
  background: rgba(0, 212, 255, 0.08);
}

.tech-category:nth-child(even) .tech-tag:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  box-shadow: 0 0 16px var(--accent-purple-soft);
  transform: translateY(-2px);
  background: rgba(124, 58, 237, 0.08);
}

/* ========== FAQ ========== */

.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  background: linear-gradient(to bottom, rgba(20, 30, 48, 0.7), rgba(14, 22, 38, 0.6));
  backdrop-filter: blur(8px);
}

.faq-item.open {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--accent-glow);
}

.faq-item.open .faq-question {
  color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--text-secondary);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: linear-gradient(to bottom, rgba(20, 30, 48, 0.7), rgba(14, 22, 38, 0.6));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,212,255,0.2), transparent 40%, transparent 60%, rgba(124,58,237,0.15));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(6, 8, 13, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.93rem;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 0 20px var(--accent-glow);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

.error-message {
  display: block;
  color: var(--error);
  font-size: 0.78rem;
  margin-top: 4px;
  min-height: 18px;
}

.form-status {
  text-align: center;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.1));
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.06);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.contact-cta-box {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.06), rgba(240,180,41,0.03));
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-cta-box h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-cta-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* ========== Footer ========== */
.footer {
  padding: 40px 0;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(0,212,255,0.2), rgba(124,58,237,0.15), transparent) 1;
  background: rgba(6, 10, 18, 0.8);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy p {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* ========== Fade-in Animation ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered fade for children */
.fade-in-stagger > .fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in-stagger > .fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in-stagger > .fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in-stagger > .fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
    z-index: 10;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(6, 8, 13, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    gap: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9;
    animation: mobileNavSlideIn 0.3s ease forwards;
  }

  .nav-links.open {
    display: flex;
  }

  @keyframes mobileNavSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .nav-link.active::after {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .section-subtitle {
    margin-bottom: 40px;
    font-size: 0.95rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .about-graphic {
    width: 220px;
    height: 220px;
  }

  .service-cards,
  .service-cards--wide {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 24px;
  }

  .hero-metrics {
    gap: 12px;
  }

  .metric {
    padding: 16px 20px;
    min-width: 140px;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 260px;
  }

  .hero-metrics {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .metric {
    width: 100%;
    max-width: 240px;
  }

  .metric-value {
    font-size: 2rem;
  }

  .service-header {
    flex-direction: column;
    gap: 12px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    gap: 12px;
  }

  .highlight {
    padding: 12px;
  }
}
