/* ============================================================
   Website Growth Partner — AI Hi-Tech Theme
   Colors & fonts live in :root below — safe to edit.
   ============================================================ */

:root {
  /* Core dark palette */
  --bg:        #060810;   /* near-black base */
  --bg-2:      #0B0F1C;   /* raised panels */
  --bg-3:      #111730;   /* cards */
  --line:      #1E2846;   /* hairline borders */

  /* Electric accents */
  --cyan:      #22D3EE;   /* primary electric cyan */
  --cyan-soft: #67E8F9;
  --violet:    #8B5CF6;   /* secondary violet */
  --violet-2:  #A78BFA;

  /* Text */
  --white:     #F5F8FF;
  --text:      #C2CBE0;   /* body */
  --text-mut:  #7E89A6;   /* muted */

  /* Gradient signature */
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--violet) 100%);
  --grad-soft: linear-gradient(120deg, rgba(34,211,238,0.16), rgba(139,92,246,0.16));

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --wrap: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(600px circle at 15% 10%, rgba(34,211,238,0.10), transparent 55%),
    radial-gradient(700px circle at 85% 30%, rgba(139,92,246,0.10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--cyan-soft); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  border: none;
}
.btn-primary {
  background: var(--grad);
  color: #04121A;
  box-shadow: 0 0 0 1px rgba(34,211,238,0.4), 0 8px 30px rgba(34,211,238,0.25);
}
.btn-primary:hover {
  color: #04121A;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(34,211,238,0.6), 0 10px 40px rgba(139,92,246,0.40);
}
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--white);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: var(--white); border-color: var(--cyan); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6,8,16,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 11px;
}
.logo .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 18px rgba(34,211,238,0.5);
  color: #04121A; font-weight: 700; font-size: 1rem;
}
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { color: var(--text); font-size: 0.98rem; font-weight: 500; }
.nav a:hover { color: var(--cyan); }
.nav .btn { padding: 10px 20px; font-size: 0.93rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 96px; overflow: hidden; }
#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.9;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 780px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  border: 1px solid var(--line);
  background: rgba(34,211,238,0.06);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.03;
  margin-bottom: 26px;
  letter-spacing: -0.03em;
}
.hero-lead {
  font-size: 1.28rem;
  color: var(--text);
  max-width: 52ch;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-stat .n {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  font-weight: 600;
}
.hero-stat .n span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stat .l { font-size: 0.9rem; color: var(--text-mut); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head.center { margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 20px; }
.section-head p { color: var(--text-mut); font-size: 1.14rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .2s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(34,211,238,0.4); }
.service-card:hover::before { opacity: 1; }
.service-card .icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--white); }
.service-card p { color: var(--text-mut); font-size: 1rem; }

/* ---------- Process ---------- */
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { position: relative; }
.process-step .step-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(34,211,238,0.05);
}
.process-step h3 { font-size: 1.24rem; margin-bottom: 10px; }
.process-step p { color: var(--text-mut); font-size: 0.98rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-panel {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 42px;
  overflow: hidden;
}
.about-panel::after {
  content: "";
  position: absolute;
  bottom: -40%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.28), transparent 70%);
  pointer-events: none;
}
.about-panel .kicker { font-family: var(--font-mono); color: var(--cyan); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.about-panel blockquote {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.4;
  color: var(--white);
  margin: 18px 0 24px;
  position: relative; z-index: 1;
}
.about-panel .sig { color: var(--text-mut); font-size: 0.95rem; font-family: var(--font-mono); }
.about-text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 20px; }
.about-text p { color: var(--text); margin-bottom: 18px; font-size: 1.08rem; }
.about-text p strong { color: var(--white); }

/* ---------- CTA ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-inner {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 72px 40px;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px circle at 30% 0%, rgba(34,211,238,0.14), transparent 60%),
    radial-gradient(500px circle at 70% 100%, rgba(139,92,246,0.14), transparent 60%);
  pointer-events: none;
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 18px; }
.cta-band p { color: var(--text-mut); font-size: 1.18rem; max-width: 48ch; margin: 0 auto 34px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.contact-info p { color: var(--text-mut); margin-bottom: 28px; font-size: 1.1rem; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.contact-detail .ic { color: var(--cyan); }
.contact-detail a { color: var(--white); font-weight: 500; }
.contact-detail a:hover { color: var(--cyan); }
.contact-form { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 8px; font-family: var(--font-mono); letter-spacing: 0.03em; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  background: var(--bg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mut); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,0.15); }
.field textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { max-width: 36ch; font-size: 0.95rem; color: var(--text-mut); }
.footer-nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { color: var(--white); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-mut); font-size: 0.95rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.88rem; color: var(--text-mut); font-family: var(--font-mono); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; background: var(--bg-2); padding: 22px 24px;
    border-bottom: 1px solid var(--line); gap: 18px; align-items: flex-start;
  }
  .nav-toggle { display: block; }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 64px; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; animation: none !important; transition: none !important; }
}
