:root {
  --black: #000000;
  --white: #ffffff;
  --grey-100: #f5f5f5;
  --grey-200: #e0e0e0;
  --grey-300: #b0b0b0;
  --grey-400: #888888;
  --grey-500: #444444;
  --grey-600: #202020;
  --bg-color: #030303;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --brand-gradient: linear-gradient(135deg, #ffdf00 0%, #ff1493 100%);
  --brand-gradient-hover: linear-gradient(135deg, #ffe840 0%, #ff4fae 100%);
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --easing: cubic-bezier(0.16, 1, 0.3, 1);
  --section-pad: clamp(4rem, 10vw, 8rem);
}

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

body, html {
  margin: 0;
  padding: 0;
  background-color: var(--black);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 20, 147, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 223, 0, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Ambient Animated Glows */
.relative {
  position: relative;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
  animation: float-glow 20s ease-in-out infinite alternate;
}

.hero-glow {
  top: -10%;
  left: 10%;
  width: 60vw;
  height: 60vw;
  background: var(--brand-gradient);
  max-width: 700px;
  max-height: 700px;
}

.waitlist-glow {
  top: -10%;
  right: -10%;
  width: 70vw;
  height: 40vw;
  background: linear-gradient(135deg, #ff1493 0%, #ffdf00 100%);
  max-width: 800px;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  33% { transform: translate(5vw, 5vh) scale(1.05); opacity: 0.35; }
  66% { transform: translate(-3vw, 8vh) scale(0.95); opacity: 0.25; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
}

/* Typography Details */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.h1 {
  font-size: 11.2vw;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
@media (min-width: 800px) {
  .h1 { font-size: min(6.6666666667vw, 106.6666666667px); }
}
@media (min-width: 800px) and (max-width: 1080px) {
  .h1 { font-size: 8.8888888889vw; }
}

.h2 {
  font-size: 7.4666666667vw;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
@media (min-width: 800px) {
  .h2 { font-size: min(3.3333333333vw, 53.3333333333px); }
}
@media (min-width: 800px) and (max-width: 1080px) {
  .h2 { font-size: 4.4444444444vw; }
}

.h3 {
  font-size: 5.3333333333vw;
  font-weight: 400;
  line-height: 1.2;
}
@media (min-width: 800px) {
  .h3 { font-size: min(1.3888888889vw, 22.2222222222px); }
}
@media (min-width: 800px) and (max-width: 1080px) {
  .h3 { font-size: 1.8518518519vw; }
}

.p-large, p {
  font-size: 4.2666666667vw;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--text-secondary);
}
@media (min-width: 800px) {
  .p-large, p { font-size: min(1.1111111111vw, 17.7777777778px); }
}
@media (min-width: 800px) and (max-width: 1080px) {
  .p-large, p { font-size: 1.9444444444vw; }
}

.p-small {
  font-family: var(--font-mono);
  font-size: 3.2vw;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--grey-300);
}
@media (min-width: 800px) {
  .p-small { font-size: min(0.8333333333vw, 13.3333333333px); }
}
@media (min-width: 800px) and (max-width: 1080px) {
  .p-small { font-size: 1.3888888889vw; }
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(2rem, 6vw, 6rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  background: var(--brand-gradient);
  color: var(--black);
  padding: 1rem 2rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 20, 147, 0.3);
  background: var(--brand-gradient-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--grey-500);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
  padding: 2rem clamp(2rem, 6vw, 6rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.header-cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  background: var(--brand-gradient);
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
  opacity: 1; /* override global anchor opacity */
}

/* Hero Section */
.hero {
  padding-top: max(120px, 15vh);
  padding-bottom: 5vh;
  display: flex;
  flex-direction: column;
}

.hero-layout-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 1000px) {
  .hero-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: end;
  }
}

.hero .headline {
  margin-bottom: 0;
  line-height: 1.1;
}

.hero .grey-text {
  color: var(--grey-400);
}

.hero-highlight {
  display: inline-block;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero .subhead {
  margin-bottom: 2rem;
}

/* Video Section */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  margin-top: 4rem;
  cursor: pointer;
  background: var(--grey-600);
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--easing);
}

.video-wrap:hover video {
  transform: scale(1.02);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(4rem, 8vw, 6rem);
  height: clamp(4rem, 8vw, 6rem);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s var(--easing);
}

.video-wrap:hover .play-btn {
  background: var(--brand-gradient);
  border-color: transparent;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-btn svg {
  width: 40%;
  height: 40%;
  fill: var(--white);
  margin-left: 5%; /* visual center adjustment */
  transition: fill 0.3s ease;
}

.video-wrap:hover .play-btn svg {
  fill: var(--black);
}

/* Manifesto Section */
.manifesto {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
}

@media (min-width: 800px) {
  .manifesto {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
  }
}

.manifesto .label {
  margin-bottom: 2rem;
  position: sticky;
  top: 15vh;
  align-self: start;
}

.manifesto .content {
  max-width: 800px;
  margin: 0;
}

.manifesto .content p {
  margin-bottom: 2rem;
  color: var(--grey-300);
}

.manifesto .content .h3 {
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 3rem;
}

.audio-player {
  margin: 3rem 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.play-audio-btn {
  display: flex;
  align-items: center;
}

.manifesto-collapsed {
  display: none;
}

.manifesto-expanded {
  display: block;
  animation: manifesto-fade 0.6s ease forwards;
}

@keyframes manifesto-fade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.signature {
  margin-top: 4rem;
  text-align: right;
}

.signature img {
  width: 200px;
  filter: invert(1);
  opacity: 0.8;
  margin-bottom: 1rem;
}

/* Insight Section */
.insight {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--grey-600);
  border-bottom: 1px solid var(--grey-600);
  background: #050505;
}

.insight .headline {
  max-width: 900px;
  margin-bottom: 4rem;
}

.truths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.truth-item {
  border-top: 2px solid var(--grey-500);
  padding-top: 2rem;
}

.truth-item .num {
  font-family: var(--font-mono);
  color: #ffdf00; /* Subtle brand hint */
  margin-bottom: 1rem;
  display: block;
}

/* Solutions Section */
.solutions {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.solutions .headline {
  max-width: 900px;
  margin-bottom: 6rem;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pillar:nth-child(even) {
  direction: rtl;
}

.pillar:nth-child(even) .text {
  direction: ltr;
}

.pillar .text {
  max-width: 500px;
}

.pillar .label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 20, 147, 0.1);
  color: #ff1493;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.pillar .visual {
  aspect-ratio: 1;
  background: var(--grey-600);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Abstract visual elements for pillars */
.pillar .visual::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255,223,0,0.1) 0%, transparent 60%);
  animation: pulse 10s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; }
}

/* Waitlist Section */
.waitlist {
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
}

.waitlist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey-500), transparent);
}

.waitlist .headline {
  margin-bottom: 1rem;
}

.waitlist .subhead {
  margin-bottom: 4rem;
  color: var(--grey-300);
}

.waitform {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.input-group {
  position: relative;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--grey-500);
  display: flex;
  align-items: baseline;
  padding-bottom: 0.5rem;
}

.input-group:focus-within {
  border-bottom-color: #ffdf00;
}

.input-group .num {
  font-family: var(--font-mono);
  color: var(--grey-400);
  margin-right: 1.5rem;
  font-size: 0.875rem;
}

.input-group input {
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  flex-grow: 1;
  outline: none;
}

.input-group input::placeholder {
  color: var(--grey-500);
  opacity: 1;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 3rem;
}

/* Custom Dropdown UI */
.custom-select-wrapper {
  position: relative;
  flex-grow: 1;
}

.custom-select-wrapper input {
  cursor: pointer;
  width: 100%;
}

.dropdown-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--black);
  border: 1px solid var(--grey-500);
  border-radius: 8px;
  max-height: 280px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-list.open {
  display: block;
  animation: manifesto-fade 0.3s ease;
}

.dropdown-list::-webkit-scrollbar {
  width: 6px;
}
.dropdown-list::-webkit-scrollbar-thumb {
  background: var(--grey-500);
  border-radius: 4px;
}

.dropdown-group {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.02);
  margin-top: 0.5rem;
}
.dropdown-list .dropdown-group:first-child {
  margin-top: 0;
}

.dropdown-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

.tool-logo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: contain;
  background: white; /* helps if logos drop transparents against pitch black */
  padding: 2px;
}

.dropdown-option:hover {
  background: rgba(255, 20, 147, 0.1);
  color: #ff1493;
}

.dropdown-option.selected {
  color: #ffdf00;
  background: rgba(255, 223, 0, 0.05);
}

.dropdown-option.selected::after {
  content: '✓';
  position: absolute;
  right: 1.5rem;
  font-weight: bold;
}

.selected-tools-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-left: calc(1.5rem + 15px); /* approximate alignment with input text */
}

@media (max-width: 800px) {
  .selected-tools-container {
    padding-left: 0;
  }
}

.tool-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--grey-500);
  color: var(--grey-100);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.pill-logo {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  object-fit: contain;
  background: white;
  padding: 1px;
}

.tool-pill:hover {
  border-color: #ff1493;
  background: rgba(255, 20, 147, 0.05);
}

.tool-pill .remove {
  cursor: pointer;
  color: var(--grey-400);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

.tool-pill .remove:hover {
  color: #ff1493;
}

/* Footer */
.footer {
  padding: 4rem clamp(2rem, 6vw, 6rem) 2rem;
  border-top: 1px solid var(--grey-600);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.footer-links {
  display: flex;
  gap: 3rem;
  margin-bottom: 5rem;
  width: 100%;
  max-width: 1400px;
  justify-content: flex-end;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column .p-small {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--grey-300);
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--white);
}

.big-mark {
  width: 100%;
  max-width: 1400px;
}

.big-mark svg {
  width: 100%;
  height: auto;
  fill: var(--grey-600);
}

/* Responsive */
@media (max-width: 800px) {
  .pillar {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pillar:nth-child(even) {
    direction: ltr;
  }
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
