/* -----------------------------------------------------
   Root Variables
----------------------------------------------------- */
:root {
    --brand: #37bff1;
    --brand-hover: #5fd7ff;
    --text: #d9e2f5;
    --text-muted: #8ea4c8;
    --bg: #0e121b;
    --bg-alt: #131823;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-border: rgba(255, 255, 255, 0.07);

    --radius: 14px;
    --radius-pill: 999px;

    --font-main: "Inter", sans-serif;
}

/* -----------------------------------------------------
   Global
----------------------------------------------------- */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    line-height: 1.58;
    overflow-x: hidden;
}

/* -----------------------------------------------------
   Navigation
----------------------------------------------------- */
.nav-header {
    width: 100%;
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    background: rgba(14, 18, 27, 0.75); /* <-- add this */
    -webkit-backdrop-filter: blur(10px); /* <-- improves Safari */
    z-index: 50;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    height: 38px;
}

.nav-logo-btn {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent; /* <-- kills the white box */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}


.nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    padding: 0;
}



.hamburger {
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: "";
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Ensure all three hamburger lines are visible */
.hamburger,
.hamburger::before,
.hamburger::after {
    background: var(--text) !important;
}


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

.nav-link {
    background: none;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text);
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-cta {
    padding: 0.55rem 1.4rem;
}

/* Mobile menu */
@media (max-width: 850px) {
    .nav-toggle {
        display: block;
        border-radius: 999px;
        width: 32px;
        height: 32px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(6, 9, 20, 0.9);
        color: var(--text-muted); /* also fixed incorrect var name */
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 1.25rem;
        flex-direction: column;
        background: var(--bg-alt);
        padding: 1rem;
        border-radius: var(--radius);
        gap: 1rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.22s ease;
        width: 200px;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }
}

/* -----------------------------------------------------
   Buttons
----------------------------------------------------- */
.btn-primary {
    background: var(--brand);
    border: none;
    color: #000;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: var(--brand-hover);
}

/* -----------------------------------------------------
   Hero
----------------------------------------------------- */
.hero-section {
    padding: 6.5rem 1.25rem 5rem;
    text-align: center;
    max-width: 820px;
    margin: auto;
}

.hero-title {
    font-size: 2.4rem;
    line-height: 1.22;
    font-weight: 700;
    margin-bottom: 1.3rem;
}


.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
}

.ts-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
}

.ts-hero-subtitle {
  font-size: 1.2rem;                 /* small bump */
  color: rgba(255, 255, 255, 0.92);  /* brighter */
  font-weight: 400;                  /* clearer */
  max-width: 44rem;
  line-height: 1.55;
  margin-top: 1rem;
  margin-bottom: 1.8rem;
}



.hero-pill-group {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.hero-pill {
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--surface-border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* -----------------------------------------------------
   Sections
----------------------------------------------------- */
.section {
    max-width: 1100px;
    margin: auto;
    padding: 4rem 1.25rem;
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* -----------------------------------------------------
   Features
----------------------------------------------------- */
.features-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
}

/* 2 columns on wider screens */
@media (min-width: 800px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* -----------------------------------------------------
   Waitlist
----------------------------------------------------- */
.waitlist-section {
    text-align: center;
}

.waitlist-subtext {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.waitlist-form {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.input-field {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--surface-border);
    background: var(--surface);
    color: var(--text);
    width: 260px;
}

.waitlist-btn {
    padding: 0.75rem 1.6rem;
}

/* Waitlist form wrapper */
.waitlist-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  gap: 0.75rem;
}

/* Input + button container */
.waitlist-input-row {
  display: flex;
  gap: 0.5rem;
}

/* Email input */
.waitlist-input {
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 0.9rem;
  width: 240px;
  outline: none;
}

.waitlist-input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Button */


.waitlist-button {
    background: var(--brand);
    border: none;
    color: #000;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.waitlist-button:hover {
    background: var(--brand-hover);
}

/* Success + error messages */
.waitlist-success {
  color: #8FF7A7;
  font-size: 0.9rem;
}

.waitlist-error {
  color: #ff6b6b;
  font-size: 0.9rem;
}

/* Layout container */
.ts-container {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Hero */
.ts-hero {
  padding: 5rem 0 4rem;
}

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

.ts-hero-title {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #ffffff;
}

.ts-hero-subtitle {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.5;
  opacity: 0.9;
}

.ts-hero-subtitle {
  font-size: 1.2rem;                 /* small bump */
  color: rgba(255, 255, 255, 0.92);  /* brighter */
  font-weight: 400;                  /* clearer */
  max-width: 44rem;
  line-height: 1.55;
  margin-top: 1.5rem;
  margin-bottom: 1.8rem;
}


.ts-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ts-hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Sections */
.ts-section {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ts-section-muted {
  background: rgba(255, 255, 255, 0.02);
}

.ts-section-accent {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 55%);
}

.ts-section-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.ts-section-lead {
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* Grid helpers */
.ts-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.ts-grid-2 {
  grid-template-columns: minmax(0, 1fr);
}

.ts-grid-3 {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .ts-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ts-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Cards */
.ts-card {
  border-radius: 0.75rem;
  padding: 1.25rem 1.2rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(12px);
}

.ts-card-outline {
  background: transparent;
}

.ts-card-accent {
  border-color: rgba(59, 130, 246, 0.7);
}

/* Lists */
.ts-list {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0;
}

.ts-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.ts-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.7;
}

/* Buttons (reusing colors; adjust to match your palette) */
.ts-btn {
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
}



.ts-btn-primary {
    background: var(--brand);
    border: none;
    color: #000;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ts-btn-primary:hover {
    background: var(--brand-hover);
}


.ts-btn-secondary {
  background: transparent;
  color: inherit;
  border-color: rgba(148, 163, 184, 0.6);
}

.ts-btn-secondary:hover {
  border-color: rgba(148, 163, 184, 1);
}

/* Inputs / Waitlist */
.ts-waitlist {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ts-waitlist {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ts-waitlist-form {
  flex: 1;
}

.ts-input-label {
  font-size: 0.85rem;
  opacity: 0.75;
  display: block;
  margin-bottom: 0.35rem;
}

.ts-input-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .ts-input-row {
    flex-direction: row;
    align-items: center;
  }
}

.ts-input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: inherit;
}

.ts-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.ts-waitlist-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.ts-waitlist-status--success {
  color: #4ade80;
}

.ts-waitlist-status--error {
  color: #f97373;
}

/* Footer */
.ts-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.ts-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .ts-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ts-footer-text {
  font-size: 0.85rem;
  opacity: 0.7;
}

.ts-footer-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.ts-footer-links a {
  opacity: 0.85;
}

.ts-footer-links a:hover {
  opacity: 1;
}

.ts-error-slot {
  height: 1.2rem; /* Enough to hold one small line of text */
  margin-top: 0.3rem;
}


.ts-waitlist-error {
  min-height: 1.2rem;          /* reserves space so layout doesn't move */
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: #ff6b6b;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.ts-waitlist-error.is-visible {
  opacity: 1;
  visibility: visible;
}
