/* ============================================================
   NADI INC — GLOBAL STYLES
   Edit CSS variables below to update brand colors/fonts
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Silver metal gradient background */
  --bg-metal: linear-gradient(160deg,
    #6b7280 0%,
    #9ca3af 18%,
    #c8cdd6 32%,
    #b0b8c4 48%,
    #8a9099 62%,
    #a3aab5 78%,
    #6e7580 100%);

  /* Glass layers */
  --glass-dark:    rgba(10, 12, 16, 0.45);
  --glass-mid:     rgba(255, 255, 255, 0.07);
  --glass-light:   rgba(255, 255, 255, 0.12);
  --glass-border:  rgba(255, 255, 255, 0.18);
  --glass-border-subtle: rgba(255, 255, 255, 0.08);

  /* Text on dark glass */
  --text-primary:   rgba(240, 244, 248, 0.96);
  --text-secondary: rgba(200, 210, 220, 0.80);
  --text-muted:     rgba(160, 175, 190, 0.65);

  /* Accent */
  --accent:         rgba(180, 200, 220, 0.90);
  --accent-bright:  rgba(210, 228, 248, 1.00);
  --accent-glow:    rgba(150, 190, 230, 0.25);

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container:   min(1200px, 92vw);

  /* Transitions */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  min-height: 100vh;
  background: var(--bg-metal);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* Metal noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Darkening scrim — the near-white text palette below is meant to sit on a
   dark backdrop, but --bg-metal is a light silver gradient, so text placed
   directly on it (hero copy, page-hero headings) reads as too light/washed
   out. This darkens the whole background uniformly without touching every
   text/panel color individually. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.6);
  pointer-events: none;
  z-index: 1;
}

/* ── GLASS UTILITY ──────────────────────────────────────── */
.glass {
  background: var(--glass-mid);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

.glass:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255, 255, 255, 0.10);
}

.glass-dark {
  background: var(--glass-dark);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 0;
}

/* ── CONTAINER ──────────────────────────────────────────── */
.container {
  width: var(--container);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

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

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

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  text-transform: uppercase;
}

.btn-primary {
  background: rgba(210, 228, 248, 0.15);
  border: 1px solid var(--glass-border);
  color: var(--accent-bright);
}
.btn-primary:hover {
  background: rgba(210, 228, 248, 0.22);
  border-color: rgba(210, 228, 248, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(150,190,230,0.2);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--glass-border-subtle);
  color: var(--text-secondary);
}
.btn-ghost:hover {
  border-color: var(--glass-border);
  color: var(--text-primary);
  background: var(--glass-mid);
}

/* ── SECTION LABEL ──────────────────────────────────────── */
.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes matrixRain {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(100vh); opacity: 0; }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(150,190,230,0.4); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 12px rgba(150,190,230,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(150,190,230,0); }
}

.animate-up   { animation: fadeUp 0.8s var(--ease) both; }
.animate-fade { animation: fadeIn 1s var(--ease) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MATRIX CANVAS ──────────────────────────────────────── */
.matrix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

/* ── HEADER ─────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 70px;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

#header.scrolled {
  background: rgba(10, 12, 16, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border-subtle);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: rgba(210, 228, 248, 0.12);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
  transition: background 0.3s;
  /* REPLACE: swap for <img src="assets/logo.svg"> */
}
.logo-mark:hover { background: rgba(210,228,248,0.2); }

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  text-transform: uppercase;
}
.logo-name span { color: var(--accent); font-weight: 400; }

nav { display: flex; align-items: center; gap: 2rem; }

nav a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-bright);
  transition: width 0.3s var(--ease);
}
nav a:hover { color: var(--text-primary); }
nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.5rem 1.2rem;
  background: rgba(210,228,248,0.1);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--accent-bright) !important;
}
.nav-cta:hover { background: rgba(210,228,248,0.18) !important; }
.nav-cta::after { display: none !important; }

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10,12,16,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border-subtle);
  padding: 1.5rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--accent-bright); }

/* ── S1: HERO ────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero-bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) 0;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(210,228,248,0.08);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-ring 2s infinite;
}

.hero-title {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent), rgba(180,200,220,0.7));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-display);
  z-index: 2;
  animation: fadeIn 1.5s 1.5s both;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: floatY 2s ease-in-out infinite;
}

/* ── S2: MARQUEE / STRIP ─────────────────────────────────── */
#strip {
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
#strip .glass-dark { border-top: 1px solid var(--glass-border-subtle); border-bottom: 1px solid var(--glass-border-subtle); padding: 1.2rem 0; }

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── S3: ABOUT ───────────────────────────────────────────── */
#about {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.about-visual {
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.about-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,12,16,0.3) 0%, transparent 60%, rgba(10,12,16,0.2) 100%);
  z-index: 1;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  padding: 1rem 1.4rem;
  background: var(--glass-dark);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.about-badge .big-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-bright);
  line-height: 1;
}
.about-badge .big-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.about-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
.stat-item {
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 10px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-bright);
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

/* ── S4: PRODUCTS ────────────────────────────────────────── */
#products {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header p { max-width: 500px; margin-inline: auto; margin-top: 0.75rem; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); }

.product-card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.product-card-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(210,228,248,0.15);
  border: 1px solid var(--glass-border);
  color: var(--accent-bright);
}
.product-tag.live { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.3); color: #6ee7b7; }
.product-tag.soon { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.25); color: #fcd34d; }

.product-card-body { padding: 1.5rem; }
.product-card-body h3 { color: var(--text-primary); margin-bottom: 0.5rem; }
.product-card-body p { font-size: 0.875rem; }

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s, color 0.3s;
}
.product-link:hover { gap: 10px; color: var(--accent-bright); }
.product-link svg { width: 14px; height: 14px; }

/* ── S5: SERVICES ────────────────────────────────────────── */
#services {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 2;
}

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

.service-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-4px); }

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(210,228,248,0.1);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 { font-size: 1.1rem; color: var(--text-primary); }
.service-card p { font-size: 0.875rem; flex: 1; }

/* ── S6: CTA / STATEMENT ─────────────────────────────────── */
#statement {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 2;
}

.statement-inner {
  padding: 4rem clamp(2rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.statement-inner canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
}

.statement-inner > * { position: relative; z-index: 2; }

.statement-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 1.2rem;
}
.statement-inner p { max-width: 480px; margin-inline: auto; margin-bottom: 2rem; }

/* ── S7: FOOTER ──────────────────────────────────────────── */
#footer {
  position: relative;
  z-index: 2;
}

.footer-inner {
  padding: 3.5rem clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--glass-border-subtle);
}

.footer-brand { flex: 1; min-width: 220px; }
.footer-brand .logo-group { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; max-width: 260px; }

.footer-info { flex: 1; min-width: 200px; }
.footer-info h4 { color: var(--text-primary); margin-bottom: 1rem; font-size: 0.7rem; }
.footer-info address {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 2;
}
/* EDIT: Replace with real address/phone/email */
.footer-info a { color: var(--text-secondary); transition: color 0.3s; }
.footer-info a:hover { color: var(--accent-bright); }

.footer-social { display: flex; flex-direction: column; align-items: flex-end; gap: 1.2rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
}
.social-link:hover {
  background: rgba(210,228,248,0.12);
  border-color: var(--glass-border);
  color: var(--accent-bright);
  transform: translateY(-2px);
}
.social-link svg { width: 18px; height: 18px; }

.footer-bottom {
  padding: 1.2rem clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--glass-border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }

/* ── PAGE 2: CONTACT ─────────────────────────────────────── */
#contact-page {
  min-height: 100vh;
  padding-top: 70px;
  position: relative;
  z-index: 2;
}

.page-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}
.page-hero p { max-width: 480px; margin: 0.75rem auto 0; }

.forms-container {
  padding-bottom: var(--section-pad);
}

.forms-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 10px;
  padding: 4px;
  max-width: 360px;
}

.tab-btn {
  flex: 1;
  padding: 0.6rem 1rem;
  background: none;
  border: none;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.tab-btn.active {
  background: rgba(210,228,248,0.12);
  color: var(--accent-bright);
  border: 1px solid var(--glass-border);
}

.form-panel { display: none; }
.form-panel.active { display: block; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--glass-border);
  background: rgba(255,255,255,0.09);
}
.form-group select option { background: #1a1f2a; }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { margin-top: 0.5rem; }

.form-card { padding: 2.5rem; }

.reg-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1rem;
  background: rgba(210,228,248,0.06);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.reg-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }
  .footer-social { align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
