/* Infinity IUS – Pre-seed marketing site styles */

:root {
  --obsidian-void: #0a0b0c;
  --graphite-edge: #111214;
  --stellar-ash: #2d2f33;
  --lumina-gold: #ffce67;
  --radiant-ember: #ffdf9a;
  --text-main: #f5f5f7;
  --text-soft: #c0c2c8;
  --card-bg: #15161a;
  --accent-soft: #12131a;
  --border-subtle: #26272f;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", "Segoe UI", sans-serif;
}

/* Base layout -------------------------------------------------------------- */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, system-ui, -apple-system,
    "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top left, #0f172a 0, #020617 55%, #000000 100%);
  color: #e5e7eb;
  line-height: 1.6;
}

/* Typography --------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f9fafb;
}

h1 {
  font-size: clamp(2.1rem, 3vw + 1.2rem, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: #e5e7eb;
  max-width: 44rem;
}

.section-footnote {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Tighten spacing between hero + first OS section */
.section + .section {
  padding-top: 3rem;        /* normal gap between sections */
}

/* First content section after hero: "Your system isn’t failing…" */
.section-os-first {
  padding-top: 2.4rem;      /* slightly tighter than default */
}

.section-os-first h2 {
  margin-top: 0;            /* remove extra top margin on the heading */
}

/* Layout helpers ----------------------------------------------------------- */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

.section-accent {
  background: radial-gradient(circle at top right, #1d283a 0, #020617 55%, #000000 100%);
}

.section-page {
  padding-top: 4.5rem;
}

/* Global link reset -------------------------------------------------------- */

a {
  color: #e5e7eb;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Header & navigation ------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 6, 23, 0.96); /* obsidian */
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.nav-brand {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7ff; /* soft neutral, not gold */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* If you’re using a little gradient bubble next to the wordmark */
.nav-brand-bubble {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: radial-gradient(
    circle at 15% 0%,
    #f9f5ff 0%,
    #b57cff 26%,
    #5c6fff 60%,
    #111321 100%
  );
  box-shadow:
    0 0 12px rgba(181, 124, 255, 0.6),
    0 0 26px rgba(15, 23, 42, 0.9);
}

/* Nav links: static color aligned with primary gradient */
.nav-links {
  display: flex;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #c7cffd;               /* soft indigo */
  text-decoration: none;
  opacity: 0.9;
  transition:
    color 140ms ease-out,
    text-shadow 140ms ease-out,
    opacity 140ms ease-out;
}

.nav-links a:hover {
  color: #f9f5ff;               /* brightened, still on-brand */
  opacity: 1;
  text-shadow:
    0 0 10px rgba(148, 163, 255, 0.85),
    0 0 20px rgba(24, 35, 83, 0.95); /* subtle glow */
}

/* Infinity nav – indigo base with soft glow */
.site-header .nav-links a {
  color: #c7cffd;                 /* soft indigo */
  text-decoration: none;
  opacity: 0.9;
  transition:
    color 140ms ease-out,
    text-shadow 140ms ease-out,
    opacity 140ms ease-out;
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible {
  color: #f9f5ff;                 /* brighten slightly */
  opacity: 1;
  text-shadow:
    0 0 10px rgba(148, 163, 255, 0.9),
    0 0 22px rgba(24, 35, 83, 1);  /* subtle cosmic glow */
}

@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-block: 0.6rem;
  }

  .nav-brand {
    font-size: 0.85rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    font-size: 0.78rem;
  }
}

/* Infinity nav – indigo base with subtle glow */
.site-header .nav-links a {
  color: #c7cffd !important;            /* soft indigo */
  text-decoration: none;
  opacity: 0.9;
  transition:
    color 140ms ease-out,
    text-shadow 140ms ease-out,
    opacity 140ms ease-out;
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible {
  color: #f9f5ff !important;            /* slightly brighter */
  opacity: 1;
  text-shadow:
    0 0 10px rgba(148, 163, 255, 0.9),
    0 0 22px rgba(24, 35, 83, 1);       /* cosmic glow */
}

/* Hero --------------------------------------------------------------------- */

.hero {
  padding: 4rem 0 3rem;
}

.hero-copy {
  max-width: 34rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem; /* keep buttons close to the hero copy */
}

.hero-meta {
  margin-top: 1.5rem;   /* space above “Pre-seed. Pre-hype…” */
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-lead {
  max-width: 40rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem 0 0.25rem;
}

.hero-footnote {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Buttons ------------------------------------------------------------------ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(181, 124, 255, 0.9);
  background: radial-gradient(
    circle at 15% 0%,
    #f9f5ff 0%,
    #b57cff 26%,
    #5c6fff 60%,
    #111321 100%
  );
  color: #050816;
  font-weight: 500;
  box-shadow:
    0 0 22px rgba(181, 124, 255, 0.75),
    0 0 40px rgba(15, 23, 42, 0.95);
  text-decoration: none;
  transition:
    box-shadow 160ms ease-out,
    transform 160ms ease-out,
    filter 160ms ease-out;
}

.btn-primary:hover {
  box-shadow:
    0 0 30px rgba(181, 124, 255, 0.95),
    0 0 52px rgba(15, 23, 42, 0.98);
  transform: translateY(-1px);
  filter: brightness(1.03);
}

/* Secondary button (replaces old ghost if you want) */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 255, 0.75); /* lavender border */
  background: rgba(10, 16, 30, 0.96);          /* deep obsidian base */
  color: #d5ddff;                              /* readable soft indigo */
  font-weight: 400;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(15, 23, 42, 0.95); /* subtle base glow */
  transition:
    background 150ms ease-out,
    box-shadow 150ms ease-out,
    transform 150ms ease-out,
    color 150ms ease-out;
}

.btn-secondary:hover {
  background: rgba(20, 28, 56, 0.98);
  color: #f9f5ff;
  box-shadow:
    0 0 22px rgba(148, 163, 255, 0.8),
    0 0 40px rgba(15, 23, 42, 0.98); /* stronger glow */
  transform: translateY(-1px);
}

/* Secondary / ghost button – dark indigo shell, soft cyan/violet glow */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);      /* muted border */
  background: rgba(15, 23, 42, 0.95);              /* deep obsidian */
  color: #c7cffd;                                  /* soft indigo text */
  font-weight: 400;
  text-decoration: none;
  box-shadow:
    0 0 6px rgba(56, 189, 248, 0.35),
    0 0 14px rgba(148, 163, 255, 0.30);
  transition:
    color 140ms ease-out,
    background 140ms ease-out,
    box-shadow 140ms ease-out,
    transform 140ms ease-out;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #f9f5ff;
  background: radial-gradient(
    circle at top left,
    rgba(181, 124, 255, 0.22),
    rgba(15, 23, 42, 1)
  );
  box-shadow:
    0 0 10px rgba(181, 124, 255, 0.85),
    0 0 22px rgba(56, 189, 248, 0.75);
  transform: translateY(-1px);
}
/* Split layouts ------------------------------------------------------------ */

.section-split {
  margin-top: 2.25rem;
}

.split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.75rem;
}

.split-card {
  padding: 1.4rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, rgba(55, 65, 81, 0.3), rgba(15, 23, 42, 0.9));
}

/* Lists -------------------------------------------------------------------- */

.bullet-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.bullet-list li {
  margin-bottom: 0.4rem;
}

/* Forms (if used later) ---------------------------------------------------- */

.waitlist-form {
  margin-top: 1.5rem;
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

/* Page sections (Origin/Ethic/Investors) ---------------------------------- */

.page-main .section {
  padding-top: 3.25rem;
}

.subsection {
  margin-top: 2.25rem;
}

/* Footer ------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 1);
  background: radial-gradient(circle at bottom, #020617 0, #000000 60%);
  padding: 1.4rem 0;
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0%, #f9e2ff 0, #312e81 55%, #020617 100%);
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.6);
  color: #e5e7eb;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.footer-social a:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 0 18px rgba(216, 180, 254, 0.85);
  opacity: 1;
}

.footer-meta {
  font-size: 0.8rem;
  opacity: 0.7;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-tagline {
  margin-top: 0.2rem;
  color: #6b7280;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-right a {
  color: #cbd5f5;
  text-decoration: none;
  opacity: 0.85;
}

.footer-right a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Responsive tweaks -------------------------------------------------------- */

.section-investor-band {
  border-top: 1px solid rgba(30, 64, 175, 0.5);
  border-bottom: 1px solid rgba(30, 64, 175, 0.3);
  background: radial-gradient(circle at center, rgba(30, 64, 175, 0.25), transparent 60%);
  padding: 2.2rem 0;
}

.investor-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.investor-copy h2 {
  margin-bottom: 0.35rem;
}

.investor-copy p {
  margin-bottom: 0;
  max-width: 32rem;
  color: #d1d5db;
}

.investor-cta .btn-ghost {
  white-space: nowrap;
}

.section-rsq {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.rsq-grid {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 1.6rem;
}

.rsq-card {
  padding: 1.4rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.25), rgba(15, 23, 42, 0.95));
}

.rsq-meter {
  margin-top: 1.1rem;
}

.rsq-meter-track {
  position: relative;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97373, #facc15, #4ade80, #22c55e);
  opacity: 0.6;
  overflow: hidden;
}

.rsq-meter-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.5));
}

.rsq-meter-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* v1.0 section ------------------------------------------------------------- */

.section-v1 {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.v1-grid {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.v1-card {
  padding: 1.2rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(31, 41, 55, 0.7), rgba(15, 23, 42, 0.95));
  font-size: 0.95rem;
}

.v1-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

/* Force Infinity styling on header nav links */
.site-header a,
.site-header a:visited {
  color: #e5e7eb;
  text-decoration: none;
}

.site-header a:hover,
.site-header a:focus {
  color: #fbbf24;
  text-decoration: none;
}

.nav-links a,
.nav-links a:visited {
  color: #e5e7eb;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #fbbf24;
  text-decoration: none;

}

/* Hero layout & spacing */
.hero-actions {
  margin-top: 2.1rem;       /* more breathing room below description */
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-meta {
  margin-top: 1.1rem;       /* a bit of air under the buttons */
  margin-bottom: 1.7rem;    /* tighter gap before next section */
  font-size: 0.95rem;
  color: rgba(148, 163, 184, 0.95);
}
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-meta {
    margin-top: 1.3rem;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .investor-band-inner {
    align-items: flex-start;
  }
  .v1-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rsq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .split-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero {
    padding-top: 3.25rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 3rem; /* tighten mobile bottom padding a bit */
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-meta {
    margin-top: 1.25rem;
  }
}

/* Hard override for header navigation links */
.site-header .nav-links a,
.site-header .nav-links a:link,
.site-header .nav-links a:visited {
  color: #e5e7eb;
  text-decoration: none;
  border-bottom: none;
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus {
  color: #fbbf24;
  text-decoration: none;
  border-bottom: none;
}
