/* ===========================
   Qatros — Landing Page
   Professional Tech Theme
   =========================== */

:root {
  --bg: #0a0a0f;
  --bg-2: #11111a;
  --bg-3: #171722;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f1e6;
  --text-dim: #b8b1a0;
  --text-mute: #7a7466;
  --primary: #FFB800;
  --primary-2: #FF8A00;
  --accent: #FFD24A;
  --grad: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 184, 0, 0.18), rgba(255, 138, 0, 0.18));
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme */
[data-theme="light"] {
  --bg: #FFFBF2;
  --bg-2: #FFF4DD;
  --bg-3: #F8E8C2;
  --surface: rgba(26, 18, 8, 0.03);
  --surface-2: rgba(26, 18, 8, 0.06);
  --border: rgba(26, 18, 8, 0.08);
  --border-strong: rgba(26, 18, 8, 0.16);
  --text: #1a1208;
  --text-dim: #5a4d35;
  --text-mute: #8a7d65;
  --grad-soft: linear-gradient(135deg, rgba(255, 184, 0, 0.22), rgba(255, 138, 0, 0.22));
  --shadow: 0 20px 60px -20px rgba(120, 80, 0, 0.25);
}

[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(26, 18, 8, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 18, 8, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
}

[data-theme="light"] .bg-glow {
  background: radial-gradient(ellipse, rgba(255, 184, 0, 0.30), rgba(255, 138, 0, 0.14) 40%, transparent 70%);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 251, 242, 0.8);
  border-bottom-color: var(--border);
}

[data-theme="light"] .nav-links {
  background: rgba(255, 251, 242, 0.97);
}

[data-theme="light"] .code-line {
  background: rgba(26, 18, 8, 0.06);
}

[data-theme="light"] .orb-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 230, 0.9));
}

[data-theme="light"] .orb-header {
  background: rgba(26, 18, 8, 0.04);
}

[data-theme="light"] .float-tag {
  background: rgba(255, 251, 242, 0.95);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Background
   =========================== */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
}

.bg-glow {
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  z-index: -1;
  background: radial-gradient(ellipse, rgba(255, 184, 0, 0.22), rgba(255, 138, 0, 0.10) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* ===========================
   Navbar
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--transition), backdrop-filter var(--transition), border var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(255, 184, 0, 0.25));
  transition: filter var(--transition);
  position: relative;
}
.brand:hover .brand-logo { filter: drop-shadow(0 0 22px rgba(255, 184, 0, 0.45)); }
.brand-logo-sm { height: 30px; }

/* Logo shimmer overlay */
.brand { position: relative; overflow: visible; }
.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.55) 52%,
    transparent 70%);
  background-size: 250% 100%;
  background-position: 200% 0;
  -webkit-mask: url('assets/qatros-logo.png') no-repeat center / contain;
  mask: url('assets/qatros-logo.png') no-repeat center / contain;
  opacity: 0;
  transition: opacity var(--transition);
}
[data-theme="light"] .brand::after {
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.9) 50%,
    transparent 70%);
}
.brand:hover::after {
  opacity: 1;
  animation: logoShimmer 1.6s ease-in-out;
}
@keyframes logoShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -150% 0; }
}

/* Theme toggle */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border var(--transition);
  padding: 0;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--primary); border-color: var(--border-strong); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }
[data-theme="light"] .theme-toggle .ic-sun { display: block; }
[data-theme="light"] .theme-toggle .ic-moon { display: none; }

.eyebrow-icon {
  height: 16px;
  width: auto;
  display: inline-block;
  vertical-align: -3px;
  filter: drop-shadow(0 0 6px rgba(255, 184, 0, 0.4));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color var(--transition);
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), border var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--grad);
  color: #1a1208;
  box-shadow: 0 10px 30px -10px rgba(255, 184, 0, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(255, 184, 0, 0.75); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.2); }

/* ===========================
   Hero
   =========================== */
.hero {
  padding: 160px 0 100px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 20px;
}
.lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 32px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.hero-stats span { color: var(--text-mute); font-size: 0.85rem; margin-top: 6px; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-card {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, rgba(20, 26, 46, 0.85), rgba(15, 20, 36, 0.85));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.orb-header {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}
.orb-header span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-strong);
}
.orb-header span:nth-child(1) { background: #ef4444; }
.orb-header span:nth-child(2) { background: #f59e0b; }
.orb-header span:nth-child(3) { background: #10b981; }
.orb-body { padding: 22px; }
.code-line {
  margin-bottom: 12px;
  height: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
}
.code-line i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 184, 0, 0.7), rgba(255, 138, 0, 0.7));
  border-radius: 4px;
  animation: shimmer 3s ease-in-out infinite;
}
.code-line:nth-child(odd) i { animation-delay: 0.5s; }
@keyframes shimmer {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}
.orb-stat {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.orb-stat > div { display: flex; flex-direction: column; }
.orb-stat .label { font-size: 0.75rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.05em; }
.orb-stat .value { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; margin-top: 4px; }

.float-tag {
  position: absolute;
  padding: 10px 16px;
  background: rgba(20, 26, 46, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.tag-1 { top: 8%; left: -10%; animation-delay: 0s; }
.tag-2 { top: 50%; right: -8%; animation-delay: 2s; }
.tag-3 { bottom: 5%; left: 4%; animation-delay: 4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===========================
   Logos
   =========================== */
.logos {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}
.logos-title {
  text-align: center;
  color: var(--text-mute);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
}
.logo-row span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  opacity: 0.7;
  transition: opacity var(--transition), color var(--transition);
}
.logo-row span:hover { opacity: 1; color: var(--text); }

/* ===========================
   Sections
   =========================== */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }
.services { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.products { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Card */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), border var(--transition), background var(--transition);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card .icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  margin-bottom: 20px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); margin-bottom: 16px; font-size: 0.95rem; }
.card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }

/* Product */
.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), border var(--transition);
}
.product:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.product header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.product h3 { font-size: 1.3rem; }
.badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent);
}
.product p { color: var(--text-dim); margin-bottom: 18px; }
.product ul { list-style: none; }
.product li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.product li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ===========================
   About
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual { display: grid; place-items: center; min-height: 380px; }
.orbit {
  position: relative;
  width: 340px;
  height: 340px;
}
.orbit-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.5);
  display: grid; place-items: center;
}
.orbit-center::after {
  content: "Q";
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed var(--border-strong);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.orbit-ring.r1 { inset: 30px; animation-duration: 20s; }
.orbit-ring.r2 { inset: 60px; animation-duration: 15s; animation-direction: reverse; }
.orbit-ring.r3 { inset: 90px; animation-duration: 25s; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-dot {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}
.orbit-dot.d1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.orbit-dot.d2 { top: 50%; right: 0; transform: translate(50%, -50%); background: var(--primary-2); box-shadow: 0 0 16px var(--primary-2); }
.orbit-dot.d3 { bottom: 0; left: 50%; transform: translate(-50%, 50%); background: #FF6B00; box-shadow: 0 0 16px #FF6B00; }

.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.about-copy p { color: var(--text-dim); margin-bottom: 24px; font-size: 1.02rem; }
.checklist { list-style: none; margin-bottom: 28px; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-dim);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ===========================
   CTA
   =========================== */
.cta { padding: 60px 0 110px; }
.cta-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.08));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: var(--grad);
  border-radius: var(--radius-lg);
  opacity: 0.3;
  z-index: -1;
  filter: blur(20px);
}
.cta-box h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.cta-box p { color: var(--text-dim); margin-bottom: 26px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ===========================
   Contact
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-grid h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.contact-grid > div > p { color: var(--text-dim); margin-bottom: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info > div {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border var(--transition);
}
.contact-info > div:hover { border-color: var(--border-strong); }
.contact-info span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 4px;
}
.contact-info a { color: var(--text); font-weight: 500; }
.contact-info a:hover { color: var(--accent); }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; }
.form label span {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form input, .form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border var(--transition), background var(--transition);
  resize: vertical;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 184, 0, 0.05);
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-mute); }
.form-note {
  font-size: 0.85rem;
  color: var(--accent);
  text-align: center;
  min-height: 1.2em;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
  padding-bottom: 40px;
}
.footer-brand p { color: var(--text-mute); margin-top: 14px; max-width: 280px; font-size: 0.95rem; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-cols h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-cols a {
  display: block;
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-cols a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-mute);
  font-size: 0.85rem;
}

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

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px) {
  .hero { padding: 130px 0 70px; }
  .hero-inner,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    transform: translateY(-120%);
    transition: transform var(--transition);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links a.btn { margin-top: 10px; justify-content: center; border-bottom: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .tag-1 { left: 0; }
  .tag-2 { right: 0; }
  .tag-3 { left: 10%; }
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .hero-stats { gap: 24px; }
  .row { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 24px; }
  .form { padding: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}
