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

:root {
  --bg: #080c14;
  --bg-2: #0d1220;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-dim: rgba(255, 255, 255, 0.25);
  --teal: #00d4aa;
  --blue: #0066ff;
  --gradient: linear-gradient(135deg, #00d4aa, #0066ff);
  --glow-teal: rgba(0, 212, 170, 0.15);
  --glow-blue: rgba(0, 102, 255, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── UTILS ── */

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

/* ── NAV ── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-cta:hover { color: var(--text); }

/* ── HERO ── */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 2rem 80px;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.12), transparent 70%);
  top: -200px; left: -200px;
  animation: drift 12s ease-in-out infinite;
}

.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1), transparent 70%);
  top: 100px; right: -150px;
  animation: drift 16s ease-in-out infinite reverse;
}

.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.06), transparent 70%);
  bottom: 0; left: 40%;
  animation: drift 20s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(30px, -20px); }
  66%       { transform: translate(-20px, 30px); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 100%);
}

/* hero left */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.2);
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.35);
}

.btn-large {
  font-size: 1rem;
  padding: 0.9rem 2rem;
}

/* ── HERO DEVICE ── */

.hero-device {
  position: relative;
  display: flex;
  justify-content: center;
}

.device-glow {
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.12), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  z-index: 0;
}

.device-frame {
  position: relative;
  z-index: 1;
  width: 320px;
  background: rgba(13, 18, 32, 0.9);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px 20px 24px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
}

.device-notch {
  width: 80px; height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  margin: 0 auto 24px;
}

.device-screen {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.screen-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

.screen-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.screen-line {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

.screen-line.w60 { width: 60%; }
.screen-line.w40 { width: 40%; }
.screen-line.dim { background: rgba(255,255,255,0.06); }

.screen-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(0, 212, 170, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 212, 170, 0.08);
  animation: pulse 2s ease-in-out infinite;
}

.screen-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.sc-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.sc-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.sc-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.screen-row {
  display: flex;
  gap: 8px;
}

.screen-stat {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.screen-msgs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.75rem;
  line-height: 1.4;
}

.msg-in {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg-out {
  background: var(--gradient);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* ── DIVIDER ── */

.divider-line {
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── PILLARS ── */

.pillars {
  padding: 100px 2rem;
}

.pillars-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 4rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}

.pillar {
  position: relative;
  background: var(--bg);
  padding: 2.5rem 2rem;
  overflow: hidden;
  transition: background 0.3s;
}

.pillar:hover {
  background: rgba(255,255,255,0.02);
}

.pillar:hover .pillar-glow {
  opacity: 1;
}

.pillar-glow {
  position: absolute;
  top: -60px; left: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.1), transparent 70%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.pillar-icon {
  margin-bottom: 1.5rem;
}

.pillar h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.pillar p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── CTA ── */

.cta-section {
  padding: 120px 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-orb {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cta-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.section-label {
  display: block;
  margin-bottom: 1rem;
}

/* ── FOOTER ── */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-link {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }

  .hero-actions { justify-content: center; }

  .badge { margin-left: auto; margin-right: auto; }

  .pillar-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .hero { padding: 100px 1.25rem 60px; }
  .pillars { padding: 60px 1.25rem; }
  .cta-section { padding: 80px 1.25rem; }
  .hero-device { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
