/* ─────────────────────────────────────────
   SHANOVA AB — Main Stylesheet
   Design: Dark enterprise, electric cyan/purple
───────────────────────────────────────── */

/* ── Reset & Base ─────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --bg:           #040d1a;
  --bg-2:         #071428;
  --surface:      #0b1e38;
  --surface-2:    #0f2648;
  --border:       rgba(0, 212, 255, 0.10);
  --border-hover: rgba(0, 212, 255, 0.25);

  --cyan:         #00d4ff;
  --cyan-dim:     rgba(0, 212, 255, 0.12);
  --cyan-mid:     rgba(0, 212, 255, 0.25);
  --purple:       #7c3aed;
  --purple-dim:   rgba(124, 58, 237, 0.12);
  --purple-mid:   rgba(124, 58, 237, 0.25);

  --text:         #e2e8f0;
  --text-muted:   #7a96b8;
  --text-dim:     #3a5575;

  /* Typography */
  --font-head:    'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-py:   120px;
  --container:    1160px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ───────────────────────── */
h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem);     font-weight: 700; }
h3 { font-size: 1.15rem;                     font-weight: 600; }

p  { color: var(--text-muted); line-height: 1.75; }

/* ── Utilities ────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #5b8ef0 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.20);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
}

/* ── Buttons ──────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan), #3a78e8);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.20);
}

.btn-primary:hover {
  opacity: 0.90;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.30);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: var(--cyan-dim);
  transform: translateY(-2px);
}

/* ── Tech badges ──────────────────────── */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 64px;
}

.tech-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.18);
  padding: 6px 14px;
  border-radius: 6px;
}

.tech-badge--dim {
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.07);
}

/* ── Reveal animation ─────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#navbar.scrolled {
  background: rgba(4, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.logo-dot { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover { color: var(--text); }

.btn-nav {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.30);
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--cyan-dim);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-nav:hover {
  background: rgba(0, 212, 255, 0.18);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 0;
  overflow: hidden;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  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: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow-1 {
  width: 600px; height: 600px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
}

.glow-2 {
  width: 400px; height: 400px;
  bottom: 100px; left: 10%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.10) 0%, transparent 70%);
}

.glow-3 {
  width: 300px; height: 300px;
  top: 30%; right: 8%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.07) 0%, transparent 70%);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  animation: fadeUp 0.9s var(--ease) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.20);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  white-space: nowrap;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s infinite;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(11, 30, 56, 0.60);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  padding: 32px 40px;
  margin-bottom: 0;
  border-bottom: none;
  animation: fadeUp 0.9s 0.2s var(--ease) both;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan);
}

.stat p {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}


/* ════════════════════════════════════════
   WHY US
════════════════════════════════════════ */
#why-us {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Last row: cards 4 & 5 centered over 2 columns */
.cards-grid .card:nth-child(4) { grid-column: 1; }
.cards-grid .card:nth-child(5) { grid-column: 2; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--border-hover);
}

.card-icon-wrap {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--cyan);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}

.card p {
  font-size: 0.92rem;
  line-height: 1.7;
}


/* ════════════════════════════════════════
   SERVICES
════════════════════════════════════════ */
#services {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  gap: 24px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-num {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 8px;
  padding: 6px 10px;
  height: fit-content;
  flex-shrink: 0;
}

.service-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text);
}

.service-body p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.6;
}


/* ════════════════════════════════════════
   AI PRODUCTS
════════════════════════════════════════ */
#products {
  padding: var(--section-py) 0;
  background: var(--bg);
  position: relative;
}

#products::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.product-card--purple::after {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, transparent 60%);
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--border-hover);
}

.product-card--purple:hover {
  border-color: rgba(124, 58, 237, 0.30);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(124, 58, 237, 0.30);
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-icon-wrap {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid;
}

.product-icon-wrap--blue {
  background: var(--cyan-dim);
  border-color: rgba(0, 212, 255, 0.18);
  color: var(--cyan);
}

.product-icon-wrap--purple {
  background: var(--purple-dim);
  border-color: rgba(124, 58, 237, 0.20);
  color: #a78bfa;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid;
}

.product-status--live {
  color: #22d3a0;
  background: rgba(34, 211, 160, 0.10);
  border-color: rgba(34, 211, 160, 0.20);
}

.product-status--beta {
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.10);
  border-color: rgba(124, 58, 237, 0.20);
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.product-status--live .status-dot {
  background: #22d3a0;
  box-shadow: 0 0 8px #22d3a0;
  animation: pulse 2s infinite;
}

.product-status--beta .status-dot {
  background: #a78bfa;
  box-shadow: 0 0 8px #a78bfa;
  animation: pulse 2s 0.5s infinite;
}

.product-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.product-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.product-card--purple .product-tagline {
  color: #a78bfa;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.75;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.product-features li svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.product-card--purple .product-features li svg {
  color: #a78bfa;
}

/* Product buttons */
.btn-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan), #3a78e8);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.18);
  width: fit-content;
  margin-top: auto;
}

.btn-product:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.28);
}

.btn-product--ghost {
  background: transparent;
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, 0.30);
  box-shadow: none;
}

.btn-product--ghost:hover {
  background: var(--purple-dim);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.18);
}


/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
#contact {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-text .section-tag { margin-bottom: 16px; }

.contact-text h2 {
  margin-bottom: 20px;
}

.contact-text p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 420px;
}

.contact-social {
  margin-top: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.social-link:hover { color: var(--cyan); }

/* Visual panel */
.contact-visual {
  position: relative;
}

.contact-glow {
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.contact-card-item:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--cyan-dim);
}

.contact-card-item svg {
  color: var(--cyan);
  flex-shrink: 0;
}


/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-top: 6px;
  color: var(--text-dim);
}

.footer-location {
  font-size: 0.8rem !important;
  margin-top: 3px !important;
  color: var(--text-dim) !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-location::before {
  content: '◎';
  font-size: 0.7rem;
  color: var(--cyan);
  opacity: 0.7;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-bottom p {
  font-size: 0.83rem;
  color: var(--text-dim);
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-linkedin:hover { color: var(--cyan); }


/* ════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}


/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  :root { --section-py: 80px; }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid .card:nth-child(4) { grid-column: auto; }
  .cards-grid .card:nth-child(5) { grid-column: auto; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --section-py: 60px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 80vw);
    background: rgba(7, 20, 40, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 60px 32px;
    border-left: 1px solid var(--border);
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .nav-link { font-size: 1.1rem; }

  .btn-nav {
    font-size: 1rem;
    padding: 10px 24px;
  }

  .hamburger { display: flex; z-index: 100; }

  #hero {
    padding-top: 100px;
    min-height: 100svh;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 28px 24px;
    border-radius: 16px;
    border-bottom: 1px solid var(--border);
    margin-top: 48px;
  }

  .stat-divider { width: 60px; height: 1px; }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .section-header { text-align: left; }
  .section-header p { font-size: 1rem; }

  .tech-badges { justify-content: flex-start; }

  .service-card { flex-direction: column; gap: 16px; }

  .contact-text p { max-width: 100%; }

  .footer-inner { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  .hero-cta { flex-direction: column; }
  .hero-cta > * { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 400px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}
