/* GraphAI landing — High-Tech Cyber Intelligence Dark Theme */
:root {
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "IBM Plex Sans", sans-serif;
  --bg: #070c16;
  --bg-deep: #050810;
  --surface: #0f172a;
  --surface-hover: #1e293b;
  --surface-glass: rgba(15, 23, 42, 0.75);
  --ink: #f8fafc;
  --ink-soft: #cbd5e1;
  --muted: #a8b6c9;
  --line: rgba(148, 163, 184, 0.16);
  --line-bright: rgba(45, 212, 191, 0.38);
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --teal-glow: #2dd4bf;
  --cyan-bright: #06b6d4;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  --radius: 14px;
  --radius-sm: 8px;
  --nav-h: 70px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0; color: var(--ink); }

/* Navigation */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  transition: all 0.25s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(7, 12, 22, 0.6);
  backdrop-filter: blur(16px);
  color: #f1f5f9;
}
.site-nav.scrolled {
  background: rgba(7, 12, 22, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.nav-brand img {
  border-radius: 8px;
  filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.5));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 0.5rem 1.15rem;
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 8px;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.4) 0%, rgba(20, 184, 166, 0.2) 100%);
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.2);
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--teal-bright);
  color: #070c16 !important;
  font-weight: 600;
  box-shadow: 0 0 25px rgba(45, 212, 191, 0.6);
  border-color: var(--teal-glow);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
  border: 1px solid rgba(45, 212, 191, 0.5);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #115e59 0%, #2dd4bf 100%);
  box-shadow: 0 6px 28px rgba(45, 212, 191, 0.55);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn-outline {
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(45, 212, 191, 0.45);
  color: #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.08);
}
.btn-outline:hover {
  border-color: var(--teal-glow);
  background: rgba(20, 184, 166, 0.18);
  color: #fff;
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.22);
}
.price-card .btn-primary { width: 100%; }
.price-card .btn-outline {
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 75% 35%, #0f2b38 0%, #070c16 70%);
  color: #e8f2f0;
}
.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.graph-scene {
  width: 100%;
  height: 100%;
  opacity: 0.95;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 12, 22, 0.4) 0%, rgba(7, 12, 22, 0.1) 40%, rgba(7, 12, 22, 0.95) 100%),
    radial-gradient(ellipse 65% 55% at 75% 35%, rgba(20, 184, 166, 0.2), transparent 70%);
}
.nodes .node {
  fill: #2dd4bf;
  opacity: 0.9;
  transform-origin: center;
  animation: pulse-node 3.6s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(45, 212, 191, 0.8));
}
.nodes .n2 { fill: #5eead4; r: 18; animation-delay: 0.2s; filter: drop-shadow(0 0 12px rgba(94, 234, 212, 0.9)); }
.nodes .n3 { animation-delay: 0.6s; }
.nodes .n4 { animation-delay: 1.1s; }
.nodes .n5 { animation-delay: 0.4s; }
.nodes .n6 { animation-delay: 1.4s; }
.nodes .n7 { animation-delay: 0.8s; }
.nodes .n8 { animation-delay: 1.7s; }
.nodes .n9 { animation-delay: 1s; }
.links .link {
  stroke-dasharray: 8 10;
  animation: dash-flow 18s linear infinite;
  stroke: rgba(45, 212, 191, 0.35);
}
.links .l2 { animation-duration: 22s; animation-direction: reverse; }
.links .l5 { animation-duration: 16s; }
.links .l9 { animation-duration: 24s; animation-direction: reverse; }

@keyframes pulse-node {
  0%, 100% { opacity: 0.6; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes dash-flow {
  to { stroke-dashoffset: -180; }
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 5vw, 3rem) 4rem;
  animation: hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.brand-mark-text {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8.5vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  background: linear-gradient(135deg, #ffffff 40%, #5eead4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 25px rgba(45, 212, 191, 0.25));
}
.hero h1 {
  max-width: 22ch;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #f1f5f9;
  margin-bottom: 1.15rem;
  line-height: 1.25;
}
.hero-lead {
  max-width: 40rem;
  margin: 0 0 2.2rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

/* Sections — Always Visible by Default (Prevents Blank Void) */
.section {
  position: relative;
  padding: clamp(5rem, 9vw, 7.5rem) clamp(1.25rem, 5vw, 3rem);
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: #fff;
}
.section-lead {
  max-width: 38rem;
  margin: 0 0 3rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Features Grid */
.features {
  background: linear-gradient(180deg, #070c16 0%, #0b1324 100%);
  border-top: 1px solid var(--line);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
}
.feature-grid li {
  background: var(--surface-glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-grid li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-glow), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.feature-grid li:hover {
  transform: translateY(-4px);
  border-color: var(--line-bright);
  background: rgba(22, 34, 58, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(20, 184, 166, 0.15);
}
.feature-grid li:hover::before { opacity: 1; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-glow);
  margin-bottom: 1.2rem;
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.18);
}
.feature-grid h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  color: #5eead4;
}
.feature-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

/* Pricing Grid */
.pricing {
  background: #070c16;
  border-top: 1px solid var(--line);
  position: relative;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.2rem 1.8rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(10, 16, 30, 0.95) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 1 !important;
  transform: none !important;
  transition: all 0.25s ease;
  height: 100%;
  backdrop-filter: blur(14px);
}
.price-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}
.price-card > .btn {
  margin-top: auto;
}
.price-card header h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.price-tagline {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.2rem 0;
}
.amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.03em;
  color: #fff;
}
.period {
  color: var(--muted);
  font-size: 0.92rem;
}
.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  margin-bottom: 0.8rem;
}
.price-card li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-glow);
  font-weight: bold;
}
.pay-note {
  margin: 2.5rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.pay-note a { color: var(--teal-glow); font-weight: 600; }
.pay-note a:hover { text-decoration: underline; }

/* Decoy & Featured */
.price-card.decoy .amount {
  color: var(--ink-soft);
}
.price-card.featured {
  border-color: var(--teal-glow);
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 0 35px rgba(20, 184, 166, 0.2), 0 20px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-6px);
  z-index: 2;
}
.price-card.featured:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 0 45px rgba(20, 184, 166, 0.35), 0 25px 50px rgba(0, 0, 0, 0.6);
}
.badge {
  position: absolute;
  top: -0.85rem;
  left: 1.5rem;
  margin: 0;
  padding: 0.35rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #070c16;
  background: var(--teal-glow);
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.6);
}
.value-note {
  margin: -0.2rem 0 0;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #5eead4;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 8px;
}

/* Closer */
.closer {
  background: radial-gradient(circle at 50% 100%, #0d2830 0%, #070c16 70%);
  text-align: center;
  border-top: 1px solid var(--line);
}
.closer-inner {
  max-width: 36rem;
}
.closer h2 { margin-bottom: 0.85rem; }
.closer p {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.25rem, 5vw, 3rem);
  background: #050810;
}
.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}
.footer-meta { flex: 1; }
.site-footer a { color: var(--ink-soft); transition: color 0.15s; }
.site-footer a:hover { color: var(--teal-glow); }

@media (max-width: 960px) {
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .price-card.featured { transform: none; }
  .feature-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-copy { padding-bottom: 3.5rem; }
  .brand-mark-text { font-size: clamp(2.6rem, 14vw, 3.8rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
