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

:root {
  --bg: #03040b;
  --bg2: #080b18;
  --bg3: #0d1230;
  --accent: #22d3ee;
  --accent2: #a855f7;
  --accent3: #f472b6;
  --accent-glow: rgba(34, 211, 238, 0.28);
  --text: #f4f7ff;
  --text-muted: #9aa8c7;
  --border: rgba(172, 196, 255, 0.16);
  --card: rgba(10, 14, 32, 0.74);
  --radius: 22px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% -8%, rgba(168, 85, 247, 0.28), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(34, 211, 238, 0.22), transparent 32rem),
    radial-gradient(circle at 52% 48%, rgba(244, 114, 182, 0.1), transparent 42rem),
    linear-gradient(180deg, var(--bg), #060716 42%, #03040b 100%);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  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: 72px 72px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,255,255,0.55) 0 1px, transparent 1.4px) 7% 12% / 180px 180px,
    radial-gradient(circle, rgba(34,211,238,0.5) 0 1px, transparent 1.4px) 52% 28% / 240px 240px,
    radial-gradient(circle, rgba(244,114,182,0.42) 0 1px, transparent 1.4px) 89% 64% / 210px 210px;
  opacity: 0.18;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition), text-shadow var(--transition); }
a:hover { color: #8ff3ff; text-shadow: 0 0 18px rgba(34, 211, 238, 0.42); }

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--accent2), var(--accent)); border-radius: 8px; }

/* ===== SELECTION ===== */
::selection { background: rgba(34,211,238,0.34); color: #fff; }

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.4rem);
  height: 68px;
  background: rgba(3, 4, 11, 0.64);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid rgba(34, 211, 238, 0.16);
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.08);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

nav.scrolled {
  background: rgba(3, 4, 11, 0.9);
  border-color: rgba(168, 85, 247, 0.24);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.38), 0 0 42px rgba(34, 211, 238, 0.1);
}

.nav-logo, .footer-brand .logo, .logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
}
.nav-logo span, .footer-brand .logo span, .logo span {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.62);
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -7px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
  box-shadow: 0 0 16px var(--accent-glow);
}
.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-cta {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(168, 85, 247, 0.95));
  color: #02030a !important;
  padding: 0.52rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.34), inset 0 1px 0 rgba(255,255,255,0.55);
}
.nav-cta:hover { color: #fff !important; box-shadow: 0 0 34px rgba(168, 85, 247, 0.55); }
.nav-cta::after { display: none !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px;
}
.nav-burger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 5rem;
  text-align: center;
}

.hero::before, .page-hero::before {
  content: '';
  position: absolute;
  width: min(78vw, 980px);
  aspect-ratio: 1;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 72px rgba(168, 85, 247, 0.035),
    0 0 0 146px rgba(34, 211, 238, 0.025),
    inset 0 0 80px rgba(34, 211, 238, 0.045);
  pointer-events: none;
}

.hero::after, .page-hero::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: calc(50% + min(36vw, 410px));
  top: 28%;
  border-radius: 50%;
  background: var(--accent3);
  box-shadow: 0 0 36px var(--accent3), -120px 160px 0 -5px var(--accent), -120px 160px 32px -6px var(--accent);
  opacity: 0.78;
  pointer-events: none;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 3rem;
  border: 1px solid rgba(172, 196, 255, 0.12);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(8, 11, 24, 0.34), rgba(8, 11, 24, 0.08));
  box-shadow: 0 0 80px rgba(34, 211, 238, 0.12), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.36);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.17);
}
.hero-badge::before { content: '✦'; color: var(--accent3); font-size: 0.92em; text-shadow: 0 0 16px var(--accent3); }

.hero h1 {
  font-size: clamp(2.55rem, 6.4vw, 5.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 46px rgba(168, 85, 247, 0.24);
}

.hero h1 .accent, .page-hero h1 .accent {
  color: transparent;
  background: linear-gradient(105deg, var(--accent), var(--accent2) 55%, var(--accent3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .accent2 { color: var(--accent2); }

.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.3rem;
  line-height: 1.7;
}

.typed-wrap {
  display: inline-flex;
  justify-content: center;
  min-width: min(100%, 420px);
  font-family: var(--mono);
  font-size: 0.98rem;
  color: var(--accent3);
  min-height: 1.5em;
  margin-bottom: 2.1rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(244, 114, 182, 0.26);
  border-radius: 999px;
  background: rgba(244, 114, 182, 0.06);
  box-shadow: 0 0 28px rgba(244, 114, 182, 0.12);
}

.cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.85rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
  line-height: 1;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2) 58%, var(--accent3));
  color: #02030a;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.28), 0 14px 32px rgba(168, 85, 247, 0.2);
}
.btn-primary:hover { color: #fff; box-shadow: 0 0 42px rgba(244, 114, 182, 0.38), 0 18px 46px rgba(34, 211, 238, 0.18); }

.btn-outline {
  background: rgba(255,255,255,0.035);
  color: var(--text);
  border: 1.5px solid rgba(172, 196, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 24px rgba(34, 211, 238, 0.16); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0;
}
.btn-ghost:hover { color: #8ff3ff; transform: none; }

/* ===== SECTION COMMONS ===== */
section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 2rem;
}
section.alt {
  background:
    radial-gradient(circle at 18% 0%, rgba(168, 85, 247, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(8,11,24,0.72), rgba(13,18,48,0.42));
  border-block: 1px solid rgba(172, 196, 255, 0.08);
}

section:not(.hero):not(.page-hero)::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(72vw, 760px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.35), rgba(168,85,247,0.35), transparent);
  opacity: 0.55;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.8rem, 5vw, 4.4rem);
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  text-shadow: 0 0 16px rgba(34, 211, 238, 0.42);
}

.section-header h2, section > .fade-in > h2, .contact-info h3 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.03rem;
}

/* ===== GRID LAYOUTS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }
.center-wrap { max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }

/* ===== CARD ===== */
.card, .gravity-panel, .mission-strip {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.018)),
    var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition), background var(--transition);
  backdrop-filter: blur(16px) saturate(135%);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 70px rgba(0,0,0,0.2);
}
.card::before, .portfolio-item::before, .testimonial::before, .pricing-card::before, .faq-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34,211,238,0.55), rgba(168,85,247,0.05), rgba(244,114,182,0.48));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.card:hover, .portfolio-item:hover, .testimonial:hover, .pricing-card:hover, .faq-item:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 0 42px rgba(34,211,238,0.12), 0 22px 70px rgba(0,0,0,0.35);
}
.card:hover::before, .portfolio-item:hover::before, .testimonial:hover::before, .pricing-card:hover::before, .faq-item:hover::before { opacity: 1; }

/* ===== SERVICE CARDS ===== */
.service-icon, .contact-item-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 1.25rem;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.2), transparent 28%), rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.28);
  box-shadow: 0 0 26px rgba(34,211,238,0.14);
}
.service-icon.purple {
  background: rgba(168,85,247,0.12);
  border-color: rgba(168,85,247,0.32);
  box-shadow: 0 0 26px rgba(168,85,247,0.16);
}
.service-icon.teal {
  background: rgba(34,211,238,0.11);
  border-color: rgba(34,211,238,0.32);
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 750;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}
.card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.7; }

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stats-grid > div {
  padding: 1.7rem 1rem;
  border: 1px solid rgba(172,196,255,0.14);
  border-radius: 24px;
  background: rgba(10,14,32,0.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 30px rgba(34,211,238,0.06);
}

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 18px rgba(34,211,238,0.28));
}
.stat-label { color: var(--text-muted); font-size: 0.88rem; }

/* ===== TECH TAGS ===== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  position: relative;
  padding: 2rem;
  border-radius: 34px;
  border: 1px solid rgba(172,196,255,0.12);
  background: radial-gradient(circle at center, rgba(34,211,238,0.08), transparent 62%);
}
.tag-cloud::before {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px dashed rgba(34,211,238,0.16);
  border-radius: 50%;
  pointer-events: none;
}
.tag {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 0.42rem 0.88rem;
  border-radius: 999px;
  background: rgba(34,211,238,0.09);
  border: 1px solid rgba(34,211,238,0.22);
  color: var(--accent);
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(34,211,238,0.08);
}
.tag.purple {
  background: rgba(168,85,247,0.1);
  border-color: rgba(168,85,247,0.24);
  color: #d8b4fe;
}
.tag.teal {
  background: rgba(34,211,238,0.1);
  border-color: rgba(34,211,238,0.24);
  color: #a5f3fc;
}

/* ===== PORTFOLIO ===== */
.portfolio-filter {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}
.filter-btn {
  padding: 0.52rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.035);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(34,211,238,0.12);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 24px rgba(34,211,238,0.16);
}

.portfolio-item {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(16px);
}
.portfolio-item.hidden { display: none; }
.portfolio-thumb {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  background:
    radial-gradient(circle at 50% 46%, rgba(34,211,238,0.2), transparent 34%),
    linear-gradient(135deg, rgba(168,85,247,0.25), rgba(13,18,48,0.72));
  border-bottom: 1px solid rgba(172,196,255,0.1);
}
.portfolio-body { padding: 1.55rem; }
.portfolio-body .category {
  font-size: 0.73rem;
  font-family: var(--mono);
  color: var(--accent3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
}
.portfolio-body h3 {
  font-size: 1.05rem;
  font-weight: 750;
  margin-bottom: 0.55rem;
}
.portfolio-body p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== TEAM ===== */
.team-card { text-align: center; }
.team-avatar {
  width: 98px; height: 98px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  border: 2px solid rgba(34,211,238,0.26);
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.15), transparent 30%), var(--bg3);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 0 24px rgba(34,211,238,0.1);
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card:hover .team-avatar { border-color: var(--accent); box-shadow: 0 0 34px rgba(34,211,238,0.22); transform: translateY(-2px); }
.team-card .role {
  font-size: 0.78rem;
  color: var(--accent);
  font-family: var(--mono);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.team-card .bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}
.team-social {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1rem;
}
.team-social a, .footer-social a {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.team-social a:hover, .footer-social a:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 22px rgba(34,211,238,0.16); }

/* ===== BLOG ===== */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
.blog-meta .date { font-size: 0.78rem; color: var(--text-muted); }
.blog-tag {
  font-size: 0.72rem;
  padding: 0.24rem 0.66rem;
  border-radius: 999px;
  background: rgba(168,85,247,0.13);
  border: 1px solid rgba(168,85,247,0.24);
  color: #d8b4fe;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-card h3 { font-size: 1.08rem; margin-bottom: 0.55rem; font-weight: 750; }
.blog-card p { color: var(--text-muted); font-size: 0.91rem; margin-bottom: 1.2rem; }
.blog-read { font-size: 0.86rem; font-weight: 800; color: var(--accent); display: inline-flex; align-items: center; gap: 0.3rem; }
.blog-read:hover { gap: 0.6rem; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 0.8rem; }
.contact-info p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 2rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-item-text .label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.15rem; }
.contact-item-text .value { font-size: 0.95rem; font-weight: 600; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.42rem; }
.form-group label { font-size: 0.86rem; color: var(--text-muted); font-weight: 600; }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(3,4,11,0.62);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.82rem 1rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.94rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34,211,238,0.1), 0 0 24px rgba(34,211,238,0.12); background: rgba(8,11,24,0.86); }
.form-group textarea { min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 9.5rem 2rem 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,211,238,0.16), transparent 68%),
    radial-gradient(ellipse 60% 45% at 72% 30%, rgba(168,85,247,0.14), transparent 70%);
  border-bottom: 1px solid rgba(172, 196, 255, 0.12);
}
.page-hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(2.15rem, 5vw, 4.15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 1rem;
}
.page-hero p {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.06rem;
}
.breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.3rem;
  font-family: var(--mono);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 0.4rem; }

/* ===== PROCESS ===== */
.process-list { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.process-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
  align-items: flex-start;
  padding: 1.35rem;
  border: 1px solid rgba(172,196,255,0.12);
  border-radius: 22px;
  background: rgba(10,14,32,0.44);
}
.process-num {
  width: 50px; height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34,211,238,0.16), rgba(168,85,247,0.18));
  border: 1px solid rgba(34,211,238,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 800;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(34,211,238,0.12);
}
.process-body h4 { font-size: 1rem; font-weight: 750; margin-bottom: 0.3rem; }
.process-body p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== PRICING ===== */
.pricing-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--card);
  transition: all var(--transition);
  text-align: center;
  overflow: hidden;
}
.pricing-card.featured {
  border-color: rgba(34,211,238,0.45);
  background: linear-gradient(135deg, rgba(34,211,238,0.09), rgba(168,85,247,0.11));
  box-shadow: 0 0 38px rgba(34,211,238,0.12);
}
.pricing-badge {
  font-size: 0.72rem;
  font-family: var(--mono);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #02030a;
  padding: 0.24rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
}
.price {
  font-size: 2.55rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin: 0.8rem 0 0.3rem;
}
.price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-features { list-style: none; text-align: left; margin: 1.5rem 0; }
.pricing-features li {
  padding: 0.42rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.pricing-features li::before { content: '✦'; color: var(--accent); font-weight: 700; text-shadow: 0 0 12px var(--accent); }

/* ===== FAQ ===== */
.faq-item {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 0.9rem;
  background: var(--card);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.faq-question {
  padding: 1.15rem 1.45rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.96rem;
  transition: color var(--transition);
  list-style: none;
}
.faq-question:hover { color: var(--accent); }
.faq-arrow {
  transition: transform var(--transition);
  color: var(--text-muted);
  font-size: 0.8rem;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.45rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.25rem; }

/* ===== TESTIMONIALS ===== */
.testimonial {
  position: relative;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.testimonial-text::before { content: '“'; color: var(--accent); font-size: 1.8rem; font-style: normal; text-shadow: 0 0 12px var(--accent); }
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  border: 1px solid var(--border);
}
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-title { font-size: 0.78rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(34,211,238,0.12), transparent 26rem),
    radial-gradient(circle at 82% 15%, rgba(168,85,247,0.14), transparent 28rem),
    rgba(3,4,11,0.94);
  border-top: 1px solid rgba(172,196,255,0.12);
  padding: 4.5rem 2rem 2rem;
}
footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  box-shadow: 0 0 22px var(--accent-glow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1120px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.footer-brand .logo { margin-bottom: 0.8rem; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.68;
  margin-bottom: 1.2rem;
}

.footer-social { display: flex; gap: 0.65rem; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.89rem; transition: color var(--transition), text-shadow var(--transition); }
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom a { color: var(--text-muted); font-size: 0.82rem; }

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(26px) scale(0.99);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== GLOW DIVIDER ===== */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  opacity: 0.58;
  margin: 0 auto;
  max-width: 360px;
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ===== ALERT / NOTICE ===== */
.notice {
  padding: 1rem 1.4rem;
  border-radius: 16px;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.22);
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 960px;
  margin: 2rem auto 0;
  text-align: center;
}

/* ===== EMBEDS / MAPS ===== */
iframe {
  border-radius: var(--radius);
  border: 1px solid var(--border) !important;
  filter: saturate(0.8) contrast(1.05);
  box-shadow: 0 20px 70px rgba(0,0,0,0.34);
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 2.2rem; }
  .hero::before, .page-hero::before { width: 105vw; }
}

@media (max-width: 640px) {
  nav { height: 64px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open,
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(3,4,11,0.96);
    backdrop-filter: blur(22px);
    padding: 1.5rem 2rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1.2rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.42);
  }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 7.5rem 1.1rem 4rem; }
  .hero-content { padding: 1.6rem; border-radius: 26px; }
  .hero h1 { font-size: 2.45rem; letter-spacing: -0.055em; }
  .typed-wrap { min-width: 0; width: 100%; }
  section { padding: 4rem 1.15rem; }
  .page-hero { padding: 8rem 1.15rem 4rem; }
  .tag-cloud { padding: 1.1rem; }
  .tag-cloud::before { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
