/* ==========================================================================
   Batam Teknologi — Company Profile
   Dark glassmorphism + glow design system
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --bg-0: #04060d;
  --bg-1: #070a14;
  --bg-2: #0c1120;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef2fb;
  --text-muted: #a4afc4;
  --text-dim: #68748f;

  --accent-1: #22d3ee; /* cyan */
  --accent-2: #38bdf8; /* sky */
  --accent-3: #2dd4bf; /* teal */
  --accent-4: #5eead4; /* aqua */

  --grad: linear-gradient(120deg, #22d3ee 0%, #38bdf8 38%, #2dd4bf 78%, #5eead4 100%);
  --grad-soft: linear-gradient(120deg, rgba(34, 211, 238, 0.16), rgba(45, 212, 191, 0.16));

  --glow-cyan: 0 0 0 1px rgba(34, 211, 238, 0.22), 0 18px 60px -18px rgba(34, 211, 238, 0.55);
  --glow-teal: 0 0 0 1px rgba(45, 212, 191, 0.22), 0 18px 60px -18px rgba(45, 212, 191, 0.55);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --header-h: 76px;
  --container: 1200px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }

::selection { background: rgba(34, 211, 238, 0.3); color: #fff; }

/* ---------- Bilingual visibility ---------- */
[data-lang] { display: none; }
html[lang="id"] [data-lang="id"] { display: revert; }
html[lang="en"] [data-lang="en"] { display: revert; }

/* ---------- Background layers ---------- */
.bg-orbit {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}
.bg-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(1000px 700px at -10% 20%, rgba(45, 212, 191, 0.12), transparent 55%),
    radial-gradient(900px 700px at 50% 120%, rgba(20, 184, 166, 0.12), transparent 60%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
  animation: blob-float 22s var(--ease) infinite;
}
.blob-1 { width: 520px; height: 520px; top: -140px; left: -120px; background: radial-gradient(circle, rgba(34,211,238,0.5), transparent 65%); }
.blob-2 { width: 460px; height: 460px; top: 30%; right: -160px; background: radial-gradient(circle, rgba(45,212,191,0.5), transparent 65%); animation-delay: -7s; }
.blob-3 { width: 420px; height: 420px; bottom: -140px; left: 30%; background: radial-gradient(circle, rgba(20,184,166,0.42), transparent 65%); animation-delay: -13s; }
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -50px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.94); }
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-1);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.08);
  margin-bottom: 20px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  background: linear-gradient(120deg, #fff, #c7d4ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad);
  color: #05070d;
  box-shadow: 0 12px 34px -12px rgba(56, 189, 248, 0.7);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px rgba(56, 189, 248, 0.85); }
.btn-primary:hover::after { left: 130%; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.08); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 9, 17, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand .brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand .brand-name span { color: var(--accent-1); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 9px 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 10px;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s var(--ease);
}
.lang-toggle:hover { color: var(--text); border-color: rgba(34,211,238,0.4); }
.lang-toggle .globe { width: 15px; height: 15px; }
.nav-cta { padding: 11px 20px; font-size: 14px; }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* Mobile-only CTA inside hamburger menu — hidden on desktop */
.nav-cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 12px #34d399; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub { color: var(--text-muted); font-size: 1.15rem; max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat .stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .stat-label { color: var(--text-dim); font-size: 13.5px; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7), var(--glow-teal);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 20% 0%, rgba(56,189,248,0.16), transparent 60%);
  pointer-events: none;
}
.code-window {
  border-radius: 16px;
  background: rgba(4, 6, 13, 0.7);
  border: 1px solid var(--border);
  overflow: hidden;
}
.code-window .titlebar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.titlebar .t { width: 11px; height: 11px; border-radius: 50%; }
.t-r { background: #f87171; } .t-y { background: #fbbf24; } .t-g { background: #34d399; }
.titlebar .file { margin-left: 8px; font-size: 12px; color: var(--text-dim); font-family: ui-monospace, monospace; }
.code-window pre { margin: 0; padding: 22px; font-family: ui-monospace, "SF Mono", monospace; font-size: 13px; line-height: 1.8; color: #cbd5e1; overflow-x: auto; }
.code-window .c-key { color: #7dd3fc; } .code-window .c-str { color: #99f6e4; } .code-window .c-fn { color: #5eead4; } .code-window .c-num { color: #67e8f9; }
.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 17px;
  border-radius: 14px;
  background: rgba(12, 17, 32, 0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  box-shadow: var(--glow-cyan);
  font-size: 13.5px; font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip svg { width: 20px; height: 20px; color: var(--accent-1); }
.chip-1 { top: -20px; right: 24px; }
.chip-2 { bottom: 34px; left: -18px; animation-delay: -2.5s; }
.chip-3 { bottom: -20px; right: 40px; animation-delay: -1.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Marquee (tech) ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee-item svg { width: 20px; height: 20px; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(56,189,248,0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid rgba(56,189,248,0.2);
  color: var(--accent-1);
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.97rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--accent-1);
  opacity: 0; transform: translateX(-6px); transition: all 0.3s var(--ease);
}
.card:hover .card-link { opacity: 1; transform: translateX(0); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.step-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0.35;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.project:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: 0 34px 70px -32px rgba(0,0,0,0.85); }
.project-media { position: relative; height: 210px; overflow: hidden; }
.project-media .cover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease);
}
.project:hover .project-media .cover { transform: scale(1.06); }
.project-media .cover svg { width: 64px; height: 64px; opacity: 0.9; }
.project-media .cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; pointer-events: none; }
.cover-a { background: linear-gradient(135deg, #0ea5e9, #14b8a6); }
.cover-b { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.cover-c { background: linear-gradient(135deg, #0d9488, #5eead4); }
.cover-d { background: linear-gradient(135deg, #0d9488, #06b6d4); }
.cover-e { background: linear-gradient(135deg, #0e7490, #2dd4bf); }
.cover-f { background: linear-gradient(135deg, #0284c7, #0ea5e9); }
.cover-g { background: linear-gradient(135deg, #0891b2, #2dd4bf); }
.cover-h { background: linear-gradient(135deg, #14b8a6, #67e8f9); }
.cover-i { background: linear-gradient(135deg, #155e75, #14b8a6); }
.cover-j { background: linear-gradient(135deg, #22d3ee, #14b8a6); }
.cover-k { background: linear-gradient(135deg, #0891b2, #0ea5e9); }
.project-body { padding: 22px 22px 24px; }
.project-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-1); }
.project h3 { font-size: 1.18rem; margin: 10px 0 8px; }
.project p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Why us / features ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { display: grid; gap: 16px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.feature:hover { transform: translateX(6px); border-color: var(--border-strong); }
.feature .f-ico {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--accent-1);
}
.feature .f-ico svg { width: 22px; height: 22px; }
.feature h4 { font-size: 1.02rem; margin-bottom: 5px; }
.feature p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}
.testi .quote { font-size: 3rem; line-height: 1; color: var(--accent-3); font-family: var(--font-display); margin-bottom: 12px; }
.testi p { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display); color: #05070d;
  background: var(--grad);
}
.testi-author .name { font-weight: 600; font-size: 0.95rem; }
.testi-author .role { color: var(--text-dim); font-size: 0.82rem; }

/* ---------- FAQ Section ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.faq-item.active {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(12, 17, 32, 0.85);
  box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.12);
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.faq-btn:hover {
  color: var(--accent-1);
}
.faq-chevron {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-2);
  transition: transform 0.3s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: var(--grad-soft);
  color: var(--accent-1);
}
.faq-chevron svg {
  width: 16px;
  height: 16px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}
.faq-item.active .faq-answer {
  max-height: 320px;
  padding: 0 26px 24px 26px;
}
.faq-answer p {
  margin: 0;
}

/* ---------- CTA / Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding: 50px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.contact-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 90% -10%, rgba(56,189,248,0.14), transparent 55%);
  pointer-events: none;
}
.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 18px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 34px; }
.info-row { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 20px; }
.info-row .i-ico {
  flex: 0 0 auto; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--grad-soft); color: var(--accent-1);
}
.info-row .i-ico svg { width: 20px; height: 20px; }
.info-row .label { font-size: 0.82rem; color: var(--text-dim); }
.info-row .val { font-weight: 500; }

.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--border-strong);
  background: rgba(4, 6, 13, 0.5);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--text-dim); text-align: center; }
.form-msg { display: none; font-size: 0.9rem; font-weight: 500; color: #34d399; text-align: center; }
.form-msg.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
  background: rgba(255,255,255,0.015);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.94rem; max-width: 300px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.92rem; padding: 5px 0; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent-1); }
.footer-col .info-row { margin-bottom: 14px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--border-strong);
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}
.socials a:hover { color: var(--accent-1); border-color: rgba(34,211,238,0.4); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
  color: var(--text-dim); font-size: 0.86rem;
}

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .cards-grid, .testi-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }

  /* -- Mobile nav: hide desktop links & CTA in the header bar -- */
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(6, 9, 17, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 28px;
    gap: 6px;
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; text-align: center; padding: 14px; font-size: 1rem; }

  /* Show the mobile CTA inside the menu */
  .nav-cta-mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 14px;
  }

  /* Hide the CTA button from the header bar on mobile */
  .nav-actions .nav-cta { display: none; }

  /* Show hamburger */
  .menu-toggle { display: flex; }

  /* Push lang toggle to end of available space */
  .nav-actions { gap: 8px; }
  .lang-toggle { padding: 7px 10px; font-size: 12px; }
  .lang-toggle .globe { width: 14px; height: 14px; }

  /* Brand: hide text, show logo only */
  .brand .brand-name { display: none; }
  .brand img { height: 34px; }
  .brand { gap: 8px; }

  /* Grids: single column */
  .cards-grid, .testi-grid, .portfolio-grid, .process-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; padding: 30px 24px; }
  .hero-stats { gap: 26px; }
  /* Hide float-chips that overflow on small screens */
  .float-chip { display: none; }
  .hero-card { padding: 20px; }
  .code-window pre { font-size: 11px; padding: 14px; }
  .hero-sub { font-size: 1rem; max-width: 100%; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Hero buttons: stack vertically, limit max-width */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 360px; }

  /* Don't make ALL buttons full-width — only hero buttons */
  .brand .brand-name { font-size: 0.85rem; }
  .brand img { height: 30px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
