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

:root {
  --navy:   #04090F;
  --navy2:  #07121F;
  --navy3:  #0B1A2C;
  --blue:   #2B6FFF;
  --blue2:  #4D8BFF;
  --blue3:  #1A4FCC;
  --slate:  #7B90B2;
  --slate2: #A8BDD4;
  --offwhite: #E8EEF8;
  --white:  #F4F8FF;
  --card:   #0D1A2E;
  --card-border: rgba(43,111,255,0.18);
  --muted:  #3A5068;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 4rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(4,9,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(43,111,255,0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

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

.nav-links a {
  color: var(--slate2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue2);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.hero h1 .accent { color: var(--blue2); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--slate2);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  position: relative;
  z-index: 2;
}

.hero-cta:hover { color: var(--blue2); border-color: var(--blue2); }

#network-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.tools-section {
  padding: 5rem 4rem 6rem;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tool-card {
  background: var(--card);
  border: 0.5px solid var(--card-border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.25s;
}

.tool-card:hover {
  border-color: rgba(43,111,255,0.45);
  transform: translateY(-3px);
}

.tool-card:hover::before { opacity: 1; }

.tool-card.soon {
  opacity: 0.5;
  pointer-events: none;
}

.tool-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.tool-card-desc {
  font-size: 0.875rem;
  color: var(--slate2);
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.tool-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.tool-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.tool-link {
  font-size: 0.8rem;
  color: var(--slate);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  padding-bottom: 1px;
}

.tool-card:hover .tool-link {
  color: var(--blue2);
  border-color: var(--blue2);
}

.soon-badge {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.divider {
  height: 0.5px;
  background: rgba(43,111,255,0.12);
  margin: 0 4rem;
}

.about-section {
  padding: 5rem 4rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.about-section p {
  font-size: 0.95rem;
  color: var(--slate2);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.stat-box {
  background: var(--card);
  border: 0.5px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue2);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--slate);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.contact-section {
  padding: 5rem 4rem 6rem;
  text-align: center;
}

.contact-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-section p {
  font-size: 0.95rem;
  color: var(--slate2);
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.contact-btn:hover { background: var(--blue2); transform: translateY(-2px); }

footer {
  padding: 2rem 4rem;
  border-top: 0.5px solid rgba(43,111,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

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

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

@media (max-width: 900px) {
  nav { padding: 1.2rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .tools-section, .about-section, .contact-section { padding: 3.5rem 1.5rem; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .about-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .divider { margin: 0 1.5rem; }
  footer { padding: 1.5rem; flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 560px) {
  .tools-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 1.25rem; }
}
