/* ============================================================
   MR.TI — Style System
   Palette: navy #0b1629 · teal #2dd4bf · accent #818cf8
   ============================================================ */

:root {
  --navy:        #0b1629;
  --navy-mid:    #0f1e38;
  --navy-light:  #162040;
  --teal:        #2dd4bf;
  --teal-dim:    rgba(45, 212, 191, 0.15);
  --teal-glow:   rgba(45, 212, 191, 0.08);
  --accent:      #818cf8;
  --accent-dim:  rgba(129, 140, 248, 0.15);
  --text:        #f0f4ff;
  --muted:       #8a9bbf;
  --muted-light: #b4c2d8;
  --border:      rgba(255, 255, 255, 0.07);
  --border-teal: rgba(45, 212, 191, 0.25);
  --glass:       rgba(15, 25, 56, 0.7);
  --shadow-lg:   0 24px 80px rgba(0, 0, 0, 0.5);
  --radius-sm:   14px;
  --radius-md:   22px;
  --radius-lg:   32px;
  --radius-xl:   44px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  background: var(--navy);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.section { padding: 7rem 0; }

/* ── Typography ── */
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }

.gradient-text {
  background: linear-gradient(135deg, var(--teal), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.button:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), #14b8a6);
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(45, 212, 191, 0.3);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(45, 212, 191, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--border-teal);
}
.btn-outline:hover { background: var(--teal-dim); }
.btn-full { width: 100%; }

/* ── Section tag ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--teal-dim);
  color: var(--teal);
  border: 1px solid var(--border-teal);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.teal-tag { background: rgba(45,212,191,0.1); }

.section-header {
  max-width: 640px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-header h2 { margin-top: 0.4rem; }
.section-sub { margin-top: 0.9rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay { transition-delay: 0.15s; }

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(11, 22, 41, 0.85);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.4); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid rgba(45,212,191,0.2);
}
.footer-brand { display: flex; justify-content: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-cta { margin-left: 0.7rem; padding: 0.5rem 1.2rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero-section {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45,212,191,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,212,191,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(45,212,191,0.12), transparent 70%);
}
.hero-glow-2 {
  width: 500px; height: 500px;
  bottom: -100px; right: -50px;
  background: radial-gradient(circle, rgba(129,140,248,0.1), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(45,212,191,0.08);
  border: 1px solid var(--border-teal);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-copy h1 { margin-bottom: 1.4rem; }
.hero-sub {
  color: var(--muted-light);
  font-size: 1.08rem;
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-logos {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding: 2rem 0 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.hero-logos > span { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }
.logo-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.logo-chips span {
  padding: 0.3rem 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted-light);
}

/* Terminal card */
.terminal-card {
  background: rgba(9, 15, 30, 0.9);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(45,212,191,0.06);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 11px; height: 11px; border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green  { background: #28ca41; }
.terminal-title {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--muted);
}
.terminal-body {
  padding: 1.4rem 1.6rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  display: grid;
  gap: 0.45rem;
}
.t-line { display: flex; align-items: center; gap: 0.5rem; }
.t-prompt { color: var(--teal); font-weight: 700; }
.t-arg { color: var(--accent); }
.t-out { color: var(--muted); padding-left: 1.1rem; }
.t-out.teal { color: var(--teal); }
.cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--teal);
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.terminal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  padding: 1rem 1.6rem;
  gap: 1rem;
}
.tstat { text-align: center; }
.tstat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--teal); }
.tstat span { font-size: 0.78rem; color: var(--muted); }

/* ════════════════════════════════════════
   SERVICES
════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.services-grid-3 {
  max-width: 1000px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  padding: 2rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  border-color: var(--border-teal);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(45,212,191,0.08);
}

.svc-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--teal-dim);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-sm);
  color: var(--teal);
  margin-bottom: 1.3rem;
}
.svc-icon svg { width: 22px; height: 22px; }

.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: var(--muted); line-height: 1.8; font-size: 0.94rem; margin-bottom: 1.2rem; }

.svc-list {
  display: grid;
  gap: 0.4rem;
  padding: 0;
}
.svc-list li {
  font-size: 0.83rem;
  color: var(--muted-light);
  padding-left: 1rem;
  position: relative;
}
.svc-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ════════════════════════════════════════
   AI SECTION
════════════════════════════════════════ */
.ai-section {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(45,212,191,0.03) 50%, transparent);
  overflow: hidden;
}
.ai-glow {
  position: absolute;
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(45,212,191,0.06), transparent 65%);
  pointer-events: none;
}

.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.ai-copy h2 { margin-top: 0.4rem; margin-bottom: 1.2rem; }
.ai-copy > p { color: var(--muted); line-height: 1.85; margin-bottom: 2rem; }

.ai-features { display: grid; gap: 1.2rem; }
.ai-feat {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.ai-feat:hover { border-color: var(--border-teal); }
.ai-feat-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--teal-dim);
  border-radius: 10px;
  color: var(--teal);
}
.ai-feat-icon svg { width: 18px; height: 18px; }
.ai-feat strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.ai-feat span { font-size: 0.85rem; color: var(--muted); }

/* AI visual card */
.ai-card {
  background: rgba(9, 15, 30, 0.85);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.ai-card-header { margin-bottom: 2rem; }
.ai-badge {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  background: var(--teal-dim);
  border: 1px solid var(--border-teal);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.2rem 1rem;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 90px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-light);
  transition: border-color 0.2s;
}
.flow-node.ai-node {
  border-color: var(--border-teal);
  background: rgba(45,212,191,0.06);
  color: var(--teal);
}
.flow-node svg { width: 24px; height: 24px; }
.flow-node.source svg { color: var(--accent); }
.flow-node.output svg { color: var(--accent); }

.flow-arrow {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 0.2rem;
}
.flow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--border-teal));
}
.arrow-head { width: 8px; height: 8px; color: var(--teal); flex-shrink: 0; }

.ai-apis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.api-chip {
  padding: 0.3rem 0.85rem;
  background: rgba(129,140,248,0.1);
  border: 1px solid rgba(129,140,248,0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ════════════════════════════════════════
   PROJECTS
════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  padding: 1.8rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, transform 0.25s;
}
.project-card:hover {
  border-color: var(--border-teal);
  transform: translateY(-4px);
}

.project-badge {
  display: inline-flex;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.project-badge.edu    { background: rgba(45,212,191,0.12); color: var(--teal); }
.project-badge.crm    { background: rgba(129,140,248,0.12); color: var(--accent); }
.project-badge.med    { background: rgba(248,113,113,0.12); color: #f87171; }
.project-badge.fin    { background: rgba(251,191,36,0.12);  color: #fbbf24; }
.project-badge.gov    { background: rgba(52,211,153,0.12);  color: #34d399; }
.project-badge.energy { background: rgba(251,146,60,0.12);  color: #fb923c; }

.project-card h3 { margin-bottom: 0.7rem; }
.project-card p { color: var(--muted); line-height: 1.8; font-size: 0.93rem; margin-bottom: 1.2rem; }

.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.project-tags span {
  padding: 0.22rem 0.7rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--muted-light);
}

/* ════════════════════════════════════════
   ABOUT / STACK
════════════════════════════════════════ */
.about-section { background: linear-gradient(180deg, transparent, rgba(15,30,56,0.4), transparent); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
.about-copy h2 { margin: 0.4rem 0 1rem; }
.about-copy > p { color: var(--muted); line-height: 1.85; margin-bottom: 1.5rem; }

.about-list {
  display: grid;
  gap: 0.8rem;
}
.about-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--muted-light);
  font-size: 0.94rem;
  line-height: 1.7;
}
.about-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.75rem;
  top: 0.18em;
}

/* Stack */
.about-stack {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
}
.stack-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.4rem;
}
.stack-groups { display: grid; gap: 1.2rem; }
.stack-group {}
.sg-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
}
.sg-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sg-chips span {
  padding: 0.28rem 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text);
}

/* Stats row */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 3rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-item span { font-size: 0.88rem; color: var(--muted); }
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-section {
  position: relative;
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  width: 600px; height: 600px;
  bottom: -200px; right: -100px;
  background: radial-gradient(circle, rgba(129,140,248,0.08), transparent 65%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
.contact-copy h2 { margin: 0.4rem 0 1rem; }
.contact-copy > p { color: var(--muted); line-height: 1.85; }

.contact-info { margin-top: 2rem; display: grid; gap: 0.8rem; }
.cinfo-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.cinfo-item:hover { border-color: var(--border-teal); background: var(--teal-glow); }
.cinfo-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--teal-dim);
  border-radius: 10px;
  color: var(--teal);
  flex-shrink: 0;
}
.cinfo-icon svg { width: 18px; height: 18px; }
.cinfo-item strong { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.2rem; }
.cinfo-item span { font-size: 0.95rem; font-weight: 600; }

/* Form */
.contact-form-wrap {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: blur(12px);
}
.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.form-field {
  display: grid;
  gap: 0.6rem;
  color: var(--text);
  font-size: 0.9rem;
}
.form-field span { font-weight: 600; font-size: 0.85rem; color: var(--muted-light); }

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(11,22,41,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9bbf' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(45,212,191,0.5);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.12);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(138,155,191,0.5); }

.form-actions { margin-top: 0.4rem; }

.btn-primary .btn-loading { display: none; }

.form-note {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
}
.form-note.success { background: rgba(45,212,191,0.1); color: var(--teal); }
.form-note.error { background: rgba(248,113,113,0.1); color: #f87171; }
.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ════════════════════════════════════════
   CLIENTS
════════════════════════════════════════ */
.clients-section {
  background: var(--surface);
}
.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
}
.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.client-logo-item:hover {
  opacity: 1;
}
.client-logo-item img {
  max-height: 60px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-inner {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-copy { font-size: 0.82rem; opacity: 0.65; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .terminal-card { max-width: 540px; margin: 0 auto; }
  .ai-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-row { flex-wrap: wrap; justify-content: center; gap: 2rem; }
  .stat-divider { display: none; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(9, 15, 30, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.3rem;
    backdrop-filter: blur(20px);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 0.75rem 1rem; }
  .nav-cta { margin: 0.3rem 0 0; text-align: center; }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .header-inner { flex-wrap: nowrap; position: relative; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 5rem 0; }
  .stats-row { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.85rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .contact-form-wrap { padding: 1.4rem; }
}
