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

:root {
  --bg: #060a13;
  --bg-alt: #0a0f1c;
  --surface: #0f1526;
  --surface-2: #131b31;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #eef1f8;
  --text-dim: #9aa3b8;
  --text-dimmer: #6b7386;
  --accent: #2dd4ff;
  --accent-2: #4f7dff;
  --accent-3: #7c5cff;
  --gradient: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  --success: #34e0a1;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 0 1px rgba(45,212,255,0.15), 0 20px 60px -20px rgba(45,212,255,0.25);
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

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

/* ===================== Background FX ===================== */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.grid-overlay {
  position: absolute; inset: 0;
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; }
.glow-1 { width: 640px; height: 640px; background: var(--accent-2); top: -220px; left: -160px; }
.glow-2 { width: 560px; height: 560px; background: var(--accent-3); top: 400px; right: -220px; opacity: 0.22; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.btn-primary {
  background: var(--gradient);
  color: #061018;
  box-shadow: 0 10px 30px -10px rgba(45,212,255,0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(45,212,255,0.65); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); transform: translateY(-2px); }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ===================== Header ===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(6,10,19,0.75);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.05rem; }
.logo-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--gradient);
  overflow: hidden;
  flex-shrink: 0;
}
.logo-glyph { width: 26px; height: 26px; }
.glyph-back, .glyph-front { font-family: var(--font-display); font-weight: 700; fill: #061018; }
.glyph-back { font-size: 22px; opacity: 0.5; }
.glyph-front { font-size: 17px; }

.logo-text-group { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-weight: 700; color: var(--accent); }
.logo-sub { font-family: var(--font-body); font-size: 0.68rem; font-weight: 500; color: var(--text-dimmer); letter-spacing: 0.01em; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 0.92rem; color: var(--text-dim); position: relative; padding: 4px 0; transition: color 0.2s ease; }
.main-nav a:hover { color: var(--text); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gradient); transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-pill {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-dim);
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.phone-pill svg { width: 15px; height: 15px; }
.phone-pill:hover { border-color: var(--border-strong); color: var(--text); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: transparent;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 0 auto; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero { padding: 168px 0 100px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(45,212,255,0.08);
  border: 1px solid rgba(45,212,255,0.2);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(45,212,255,0.15); }
.eyebrow-center { margin-left: auto; margin-right: auto; }

.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.75rem); margin-bottom: 22px; }
.hero-lead { color: var(--text-dim); font-size: 1.08rem; max-width: 540px; margin-bottom: 22px; }
.hero-tagline {
  font-style: italic; font-size: 0.98rem; color: var(--text);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 34px;
}
.hero-tagline span { display: block; margin-top: 2px; font-style: normal; font-size: 0.78rem; color: var(--text-dimmer); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; position: relative; padding-left: 0; }
.stat-num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; }
.stat-suffix { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--accent); }
.stat-label { width: 100%; font-size: 0.82rem; color: var(--text-dimmer); margin-top: 2px; }

/* Hero visual */
.hero-visual { position: relative; height: 460px; }
.orbit-card { position: absolute; }
.card-main {
  width: 340px; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.terminal-bar { display: flex; gap: 6px; padding: 12px 14px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border); }
.terminal-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.terminal-bar span:nth-child(1) { background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }
.terminal-body { padding: 18px 16px; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 0.82rem; }
.terminal-body p { margin-bottom: 8px; color: var(--text-dim); }
.t-prompt { color: var(--accent); margin-right: 6px; }
.t-ok { color: var(--success); }
.t-ok::before { content: ""; }
.t-cursor { display: inline-block; color: var(--accent); animation: blink 1s step-end infinite; }

@keyframes blink { 50% { opacity: 0; } }

.card-float {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-dim);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
  animation: float 6s ease-in-out infinite;
}
.card-float svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.card-1 { top: 8%; left: 0%; animation-delay: 0s; }
.card-2 { bottom: 14%; left: 2%; animation-delay: 1.2s; }
.card-3 { top: 38%; right: -2%; animation-delay: 2.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===================== Trust strip ===================== */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; background: rgba(255,255,255,0.015); }
.trust-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; color: var(--text-dimmer); font-size: 0.85rem; }
.trust-tags { display: flex; gap: 10px; flex-wrap: wrap; font-weight: 500; color: var(--text-dim); }

/* ===================== Section head ===================== */
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 14px; }
.section-lead { color: var(--text-dim); font-size: 1.02rem; }

/* ===================== Services ===================== */
.services { padding: 120px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45,212,255,0.35);
  box-shadow: 0 24px 50px -24px rgba(45,212,255,0.35);
  background: var(--surface-2);
}
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45,212,255,0.15), rgba(124,92,255,0.15));
  color: var(--accent);
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: 0.94rem; margin-bottom: 18px; }
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-list li { font-size: 0.85rem; color: var(--text-dimmer); padding-left: 18px; position: relative; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gradient);
}
.service-card-cta {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, rgba(45,212,255,0.1), rgba(124,92,255,0.06));
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-style: dashed; border-color: var(--border-strong);
}
.service-card-cta h3 { margin-bottom: 6px; }
.service-card-cta p { margin-bottom: 0; max-width: 480px; }

@media (max-width: 640px) {
  .service-card-cta { flex-direction: column; align-items: flex-start; }
  .service-card-cta p { margin-bottom: 18px; }
}

/* ===================== About ===================== */
.about { padding: 100px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }

.about-frame { position: relative; display: grid; place-items: center; }
.about-graphic { width: 100%; max-width: 340px; }
.about-badge {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 78%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.about-badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); }
.about-badge span { font-size: 0.82rem; color: var(--text-dim); }

.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.about-copy .section-lead { margin-bottom: 30px; }
.about-points { display: flex; flex-direction: column; gap: 22px; }
.point { display: flex; gap: 14px; }
.point svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px;
  padding: 4px; border-radius: 8px;
  background: rgba(52,224,161,0.12); color: var(--success);
}
.point h4 { font-size: 1rem; margin-bottom: 4px; }
.point p { font-size: 0.9rem; color: var(--text-dim); }

/* ===================== Process ===================== */
.process { padding: 120px 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
}
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  color: var(--accent);
  background: rgba(45,212,255,0.1);
  border: 1px solid rgba(45,212,255,0.25);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--text-dim); }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute; top: 42px; right: -22px;
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}

/* ===================== Testimonials ===================== */
.testimonials { padding: 100px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.testimonial-card p { font-size: 0.95rem; color: var(--text-dim); margin-bottom: 20px; }
.testimonial-card p::before { content: "\201C"; color: var(--accent); font-size: 1.4rem; margin-right: 2px; }
.testimonial-card footer strong { display: block; font-size: 0.9rem; }
.testimonial-card footer span { font-size: 0.8rem; color: var(--text-dimmer); }

/* ===================== CTA band ===================== */
.cta-band { padding: 70px 0; }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(45,212,255,0.12), rgba(124,92,255,0.1));
  border: 1px solid rgba(45,212,255,0.25);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
}
.cta-band-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta-band-inner p { color: var(--text-dim); }

/* ===================== Contact ===================== */
.contact { padding: 100px 0 130px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.contact-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.contact-card svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-card h4 { font-size: 0.88rem; margin-bottom: 2px; }
.contact-card p { font-size: 0.85rem; color: var(--text-dim); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-glow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.82rem; color: var(--text-dim); font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,212,255,0.15);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-note { text-align: center; font-size: 0.85rem; color: var(--success); min-height: 1.2em; }

/* ===================== Footer ===================== */
.site-footer { border-top: 1px solid var(--border); padding: 70px 0 0; background: var(--bg-alt); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { color: var(--text-dimmer); font-size: 0.88rem; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; color: var(--text); margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.87rem; color: var(--text-dimmer); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-dimmer); text-align: center; }

/* ===================== Back to top ===================== */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border-strong);
  color: var(--text); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, border-color 0.2s ease;
}
.back-to-top svg { width: 18px; height: 18px; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); }

/* ===================== Reveal animation ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; margin-top: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 380px; margin: 0 auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .main-nav {
    position: fixed; top: 68px; left: 16px; right: 16px;
    background: var(--surface); border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 14px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { width: 100%; padding: 10px 8px; }
  .phone-pill { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; padding: 34px 26px; }
  .hero { padding: 140px 0 70px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 26px; }
  .card-float { font-size: 0.72rem; padding: 10px 12px; }
  .card-1, .card-2, .card-3 { position: static; margin-bottom: 10px; animation: none; }
  .hero-visual { height: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .card-main { position: static; transform: none; width: 100%; order: -1; margin-bottom: 14px; }
}
