/* ── DESIGN TOKENS ── */
:root {
  --bg:        #060810;
  --bg2:       #0a0d1a;
  --bg3:       #0f1226;
  --border:    #1a1f3a;
  --border2:   #252a4a;
  --cyan:      #00d4ff;
  --cyan-dim:  rgba(0,212,255,0.15);
  --cyan-glow: rgba(0,212,255,0.08);
  --green:     #00ffb2;
  --amber:     #ffb800;
  --text:      #dde2f5;
  --muted:     #5a6285;
  --muted2:    #8892b8;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

section, nav, footer { position: relative; z-index: 1; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(6,8,16,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Space Mono', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px; height: 32px;
  background: var(--cyan);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 18px; height: 18px; }

.logo span.accent { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cyan); }

.nav-cta {
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.35);
  color: var(--cyan) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: rgba(0,212,255,0.25) !important;
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 6% 100px;
  position: relative;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-1 {
  width: 700px; height: 700px;
  top: -100px; right: -150px;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 65%);
}

.hero-orb-2 {
  width: 500px; height: 500px;
  bottom: -80px; left: -80px;
  background: radial-gradient(circle, rgba(0,80,150,0.12) 0%, transparent 65%);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 2rem;
  opacity: 0;
  animation: rise 0.7s 0.1s ease forwards;
}

.hero-chip-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,100%{opacity:1} 50%{opacity:0.3}
}

.hero h1 {
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.0;
  max-width: 820px;
  opacity: 0;
  animation: rise 0.7s 0.2s ease forwards;
}

.hero h1 .hl {
  color: var(--cyan);
  position: relative;
}

.hero-desc {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: var(--muted2);
  max-width: 500px;
  line-height: 1.85;
  font-weight: 400;
  opacity: 0;
  animation: rise 0.7s 0.3s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.75rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.7s 0.4s ease forwards;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: #060810;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(0,212,255,0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--muted2);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  border: 1px solid var(--border2);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #060810;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(0,255,178,0.3);
}

/* ── HERO STATS ── */
.hero-stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.7s 0.55s ease forwards;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-n {
  font-family: 'Space Mono', monospace;
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stat-n span { color: var(--cyan); }

.stat-l {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SHARED SECTION STYLES ── */
.s-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 6%;
}

.s-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.s-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.s-body {
  color: var(--muted2);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.85;
}

/* ── SERVICES ── */
#services {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.svc-card {
  background: var(--bg3);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.svc-card:hover { background: #111528; }
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 44px; height: 44px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.svc-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.svc-desc {
  font-size: 0.88rem;
  color: var(--muted2);
  line-height: 1.75;
}

.svc-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,0.15);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── PRODUCT ── */
#product {
  position: relative;
  overflow: hidden;
}

.product-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,255,178,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 3.5rem;
  background: var(--bg2);
}

.product-info {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,255,178,0.08);
  border: 1px solid rgba(0,255,178,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-family: 'Space Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.product-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 0.5rem;
}

.product-url {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  color: var(--green);
  text-decoration: none;
  margin-bottom: 1.5rem;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.product-url:hover { opacity: 1; }

.product-desc {
  font-size: 1rem;
  color: var(--muted2);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.feature-check {
  width: 20px; height: 20px;
  background: rgba(0,255,178,0.1);
  border: 1px solid rgba(0,255,178,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.6rem;
  color: var(--green);
}

/* ── PRODUCT VISUAL / MOCK UI ── */
.product-visual {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #0a1020 0%, #0d1628 100%);
  position: relative;
  overflow: hidden;
  gap: 1rem;
}

.product-visual::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(0,255,178,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.mock-window {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 8px;
  overflow: hidden;
}

.mock-bar {
  background: #0a0d1e;
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.r { background: #ff5f57; }
.mock-dot.y { background: #ffbd2e; }
.mock-dot.g { background: #28c841; }

.mock-url {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: var(--muted2);
  margin-left: 8px;
}

.mock-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.mock-stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
}

.mock-stat-n {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.mock-stat-l {
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.mock-list { display: flex; flex-direction: column; gap: 6px; }

.mock-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-item-left { display: flex; align-items: center; gap: 8px; }

.mock-status {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-status.ok   { background: var(--green); }
.mock-status.warn { background: var(--amber); }
.mock-status.crit { background: #ff4d6d; }

.mock-item-name {
  font-size: 0.7rem;
  color: var(--text);
  font-weight: 500;
}

.mock-item-date {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: var(--muted);
}

.mock-badge {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 100px;
}

.mock-badge.ok   { background: rgba(0,255,178,0.1);  color: var(--green); border: 1px solid rgba(0,255,178,0.2); }
.mock-badge.warn { background: rgba(255,184,0,0.1);  color: var(--amber); border: 1px solid rgba(255,184,0,0.2); }
.mock-badge.crit { background: rgba(255,77,109,0.1); color: #ff4d6d;      border: 1px solid rgba(255,77,109,0.2); }

/* ── WHY US ── */
#why {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 1rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 4px;
  padding: 4px 8px;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.why-text p {
  font-size: 0.88rem;
  color: var(--muted2);
  line-height: 1.75;
}

.why-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  transition: border-color 0.2s, background 0.2s;
}

.tech-pill:hover {
  border-color: var(--border2);
  background: #111528;
}

.tech-icon {
  width: 34px; height: 34px;
  background: var(--cyan-glow);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.tech-info { flex: 1; }

.tech-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.tech-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

.tech-bar-wrap {
  width: 80px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.tech-bar {
  height: 100%;
  background: var(--cyan);
  border-radius: 2px;
}

/* ── CONTACT ── */
#contact {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  margin-top: 1rem;
}

.contact-info { padding-top: 0.5rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-icon {
  width: 38px; height: 38px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-d-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-d-val {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  margin-top: 1px;
}

/* ── CONTACT FORM ── */
.contact-form-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

.form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.form-sub {
  font-size: 0.85rem;
  color: var(--muted2);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted2);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 6px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.g-recaptcha { margin-bottom: 1.25rem; }

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cyan);
  color: #060810;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,212,255,0.3);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-msg {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  display: none;
  align-items: center;
  gap: 8px;
}

.form-msg.success {
  display: flex;
  background: rgba(0,255,178,0.08);
  border: 1px solid rgba(0,255,178,0.25);
  color: var(--green);
}

.form-msg.error {
  display: flex;
  background: rgba(255,77,109,0.08);
  border: 1px solid rgba(255,77,109,0.25);
  color: #ff4d6d;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--bg2);
}

.footer-logo {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.footer-logo span { color: var(--cyan); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .product-card { grid-template-columns: 1fr; }
  .product-info { border-right: none; border-bottom: 1px solid var(--border); }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero h1 { letter-spacing: -1.5px; }
  .services-grid { grid-template-columns: 1fr; }
}
