/* ============================================================
   GARC GAME INC — Futuristic Game Development Theme
   File: assets/css/style.css
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg: #04060f;
  --bg-2: #070b1f;
  --panel: rgba(14, 20, 48, 0.65);
  --panel-2: rgba(19, 27, 64, 0.85);
  --line: rgba(0, 229, 255, 0.16);
  --neon: #00e5ff;
  --violet: #7c3aed;
  --pink: #ff2e88;
  --grad: linear-gradient(90deg, #00e5ff 0%, #7c3aed 55%, #ff2e88 100%);
  --text: #e9edff;
  --muted: #a3abc9;
  --white: #ffffff;
  --success: #2de08a;
  --danger: #ff5d6c;
  --radius: 16px;
  --font-head: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Rajdhani', 'Segoe UI', Arial, sans-serif;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 85% -8%, rgba(124, 58, 237, 0.16), transparent 60%),
    radial-gradient(900px 520px at -10% 18%, rgba(0, 229, 255, 0.10), transparent 55%),
    radial-gradient(900px 600px at 105% 72%, rgba(255, 46, 136, 0.08), transparent 55%),
    linear-gradient(180deg, #04060f 0%, #070b1f 45%, #04060f 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle futuristic grid overlay (decorative, behind content) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
}

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

a {
  color: var(--neon);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--white);
}

ul {
  list-style: none;
}

main {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(0, 229, 255, 0.35);
  color: #fff;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.section-alt {
  background: linear-gradient(180deg, rgba(9, 13, 34, 0.75), rgba(9, 13, 34, 0.75));
  border-top: 1px solid rgba(0, 229, 255, 0.07);
  border-bottom: 1px solid rgba(0, 229, 255, 0.07);
}

.sec-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.sec-head.left {
  margin-left: 0;
  text-align: left;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 14px;
}

.sec-tag::before,
.sec-tag::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.sec-head.left .sec-tag::before {
  display: none;
}

.sec-title {
  font-family: var(--font-head);
  font-size: clamp(1.65rem, 3.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: 0.01em;
}

.sec-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(90deg, #00b3ff, #7c3aed);
  color: #fff;
  box-shadow: 0 0 26px rgba(0, 179, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 38px rgba(0, 179, 255, 0.55);
  color: #fff;
}

.btn-ghost {
  border-color: rgba(0, 229, 255, 0.45);
  color: var(--neon);
  background: rgba(0, 229, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(0, 229, 255, 0.12);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 26px rgba(0, 229, 255, 0.22);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 6, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

.brand-text {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.brand-text span {
  color: var(--neon);
}

.brand-text small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--muted);
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 8px;
  position: relative;
}

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

.nav-link.active {
  color: var(--neon);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.header-cta {
  padding: 12px 22px;
  font-size: 0.74rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--neon);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: rgba(0, 229, 255, 0.14);
  top: -120px;
  left: -140px;
}

.hero::after {
  width: 460px;
  height: 460px;
  background: rgba(124, 58, 237, 0.16);
  bottom: -160px;
  right: -140px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon);
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-img-wrap {
  position: relative;
  z-index: 1;
}

.hero-img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow:
    0 0 0 6px rgba(0, 229, 255, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 46px rgba(0, 229, 255, 0.18);
  object-fit: cover;
  aspect-ratio: 5 / 4;
}

.hero-img-wrap::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 26px;
  border: 1px dashed rgba(0, 229, 255, 0.25);
  pointer-events: none;
}

/* Stats strip */
.stats-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 74px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Cards ---------- */
.glass-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 229, 255, 0.12);
}

.glass-card:hover::before {
  opacity: 1;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.s-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--neon);
  margin-bottom: 20px;
}

.s-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.read-more {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.read-more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}

.read-more:hover svg {
  transform: translateX(5px);
}

/* ---------- Feature rows (image + text) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 54px;
}

.feature-row + .feature-row {
  margin-top: 86px;
}

.feature-row.flip .feature-media {
  order: 2;
}

.feature-media {
  position: relative;
}

.feature-media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.feature-body h3 {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin: 10px 0 16px;
}

.feature-body p {
  color: var(--muted);
  margin-bottom: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-weight: 500;
}

.check-list li::before {
  content: "✔";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  color: var(--neon);
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
  border-radius: 50%;
  margin-top: 4px;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.process-card {
  text-align: center;
  padding: 36px 22px;
}

.p-step {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 14px;
}

.process-card h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.process-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Portfolio ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}

.filter-btn {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  color: var(--white);
  border-color: rgba(0, 229, 255, 0.4);
}

.filter-btn.active {
  color: #04121a;
  background: linear-gradient(90deg, #00e5ff, #6fd6ff);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
}

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

.project-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.project-media {
  position: relative;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.06);
}

.cat-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #04121a;
  background: linear-gradient(90deg, #00e5ff, #6fd6ff);
  padding: 6px 14px;
  border-radius: 999px;
}

.project-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.project-body p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 6px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.chip {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--neon);
  border: 1px solid rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.06);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stars {
  color: #ffc61a;
  letter-spacing: 4px;
  font-size: 1rem;
  margin-bottom: 16px;
}

.testi-text {
  color: var(--text);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 22px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  padding-top: 18px;
}

.avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: #04121a;
  background: linear-gradient(135deg, #00e5ff, #7c3aed);
  color: #fff;
}

.testi-person strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--white);
}

.testi-person span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 24px;
  padding: 72px 30px;
  background:
    radial-gradient(700px 300px at 50% -60%, rgba(0, 229, 255, 0.16), transparent 65%),
    linear-gradient(160deg, rgba(16, 24, 60, 0.95), rgba(9, 13, 34, 0.95));
  border: 1px solid rgba(0, 229, 255, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.cta-panel h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-panel p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ---------- Page Hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: 88px 0 66px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  background:
    radial-gradient(800px 340px at 50% -80px, rgba(124, 58, 237, 0.22), transparent 65%),
    rgba(7, 11, 31, 0.5);
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.page-hero .lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 680px;
}

.breadcrumbs {
  margin-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--neon);
}

.breadcrumbs .sep {
  color: rgba(163, 171, 201, 0.5);
}

.breadcrumbs .current {
  color: var(--muted);
}

/* ---------- About page ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card {
  text-align: center;
  padding: 32px 22px;
}

.value-card h3 {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin: 14px 0 10px;
  letter-spacing: 0.05em;
}

.value-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.exp-badge {
  position: absolute;
  bottom: -22px;
  left: -14px;
  background: linear-gradient(135deg, #00b3ff, #7c3aed);
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.exp-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.exp-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.info-stack {
  display: grid;
  gap: 18px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
}

.info-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--neon);
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-card h3 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.info-card p,
.info-card a {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  word-break: break-word;
}

.info-card a:hover {
  color: var(--neon);
}

.form-panel {
  padding: 38px 34px;
}

.form-panel h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.form-panel > p {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field label .req {
  color: var(--pink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(4, 6, 15, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-field select option {
  background: #0a0f2a;
  color: var(--text);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(163, 171, 201, 0.55);
}

/* Honeypot (spam trap — hidden from humans) */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.form-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status {
  grid-column: 1 / -1;
  display: none;
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 600;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(45, 224, 138, 0.1);
  border: 1px solid rgba(45, 224, 138, 0.45);
  color: var(--success);
}

.form-status.error {
  background: rgba(255, 93, 108, 0.1);
  border: 1px solid rgba(255, 93, 108, 0.45);
  color: var(--danger);
}

/* ---------- Legal pages ---------- */
.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon);
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
  border-radius: 999px;
  padding: 9px 18px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 30px;
}

.legal-content h2 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin: 42px 0 14px;
  padding-left: 16px;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #00e5ff, #7c3aed) 1;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 6px;
  display: grid;
  gap: 10px;
}

.legal-content ul li,
.legal-content ol li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.legal-content ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--neon);
  font-size: 0.7rem;
}

.legal-content ol {
  list-style: decimal;
  padding-left: 14px;
}

.legal-content ol li {
  padding-left: 6px;
}

.legal-content a {
  color: var(--neon);
  font-weight: 600;
}

.legal-content strong {
  color: var(--text);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  background: linear-gradient(180deg, rgba(6, 9, 24, 0.9), rgba(3, 5, 14, 0.98));
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.35fr;
  gap: 40px;
  padding: 70px 0 50px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 18px 0 24px;
  max-width: 320px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 229, 255, 0.05);
  color: var(--muted);
  transition: all 0.3s ease;
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  color: var(--neon);
  border-color: rgba(0, 229, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.18);
}

.footer-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a:hover {
  color: var(--neon);
  padding-left: 6px;
}

.footer-contact {
  display: grid;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--neon);
}

.footer-contact a {
  color: var(--muted);
}

.footer-contact a:hover {
  color: var(--neon);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-bottom-links a {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-bottom-links a:hover {
  color: var(--neon);
}

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: rgba(7, 11, 31, 0.9);
  color: var(--neon);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: rgba(0, 229, 255, 0.15);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.35);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid {
    gap: 40px;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .section {
    padding: 76px 0;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: rgba(5, 8, 20, 0.99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
    display: none;
    padding: 18px 4% 26px;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-link {
    display: block;
    padding: 13px 16px;
  }
  .nav-link.active::after {
    display: none;
  }
  .nav-link.active {
    background: rgba(0, 229, 255, 0.08);
  }
  .header-inner {
    gap: 16px;
  }
  .header-cta {
    display: none;
  }
  .hero {
    padding: 80px 0 70px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-img-wrap {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-sub {
    margin-left: 0;
  }
  .services-grid,
  .portfolio-grid,
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .feature-row.flip .feature-media {
    order: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .section {
    padding: 64px 0;
  }
  .page-hero {
    padding: 64px 0 50px;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .services-grid,
  .portfolio-grid,
  .testi-grid,
  .process-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-panel {
    padding: 30px 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0 40px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .cta-panel {
    padding: 54px 22px;
  }
  .exp-badge {
    position: static;
    display: inline-block;
    margin-top: 16px;
  }
  .feature-media img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 400px) {
  .brand-text {
    font-size: 0.95rem;
  }
  .stat-num {
    font-size: 1.6rem;
  }
  .filter-bar {
    gap: 8px;
  }
  .filter-btn {
    padding: 9px 16px;
    font-size: 0.66rem;
  }
}
