:root {
  --blue-900: #050d42;
  --blue-800: #112378;
  --blue-600: #1b48dc;
  --cream: #f3f1eb;
  --ink: #12162d;
  --white: #ffffff;
  --black: #000000;
  --gold: #b38c00;
}

.tasa-orbiter {
  font-family: "TASA Orbiter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

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

html,
body {
  height: 100%;
}

h2 {
  font-size: clamp(45px, 6vw, 66px);
  line-height: 1em;
}

body {
  font-family: "TASA Orbiter", sans-serif;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.4;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

p.blue {
  color: #050D42;
  leading-trim: both;
  text-edge: cap;
  font-family: "TASA Orbiter";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 23.4px */
}

p.white {
  color: #F3F1EB;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-family: "TASA Orbiter";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 26px */
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8eaf5;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
}

.hide{
  display: none;
}

.nav a:hover {
  color: var(--blue-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: var(--blue-600);
  color: var(--cream);
}

.btn.outline {
  border-color: var(--blue-600);
  background: transparent;
  color: var(--blue-600);
}

.btn.outline.light {
  border-color: var(--cream);
  color: var(--cream);
}

.btn.dark {
  background: var(--black);
  color: var(--white);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.hero-copy{
      max-width: 500px;    
      margin: 0 0 0 auto;    
      text-align: left;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.95;
  margin: 0 0 24px;
  color: var(--blue-900);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.hero-line {
  display: block;
}

.hero-rotating {
  display: block;
  position: relative;
  height: 1.1em;
  color: var(--blue-600);
  overflow: hidden;
}

.rotating-word {
  position: absolute;
  inset: 0 auto auto 0;
}

.hero-body {
  max-width: 480px;
}

.hero-actions {
  margin-top: 32px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: 0;
  box-shadow: none;
  max-width: 100%;
  object-fit: cover;
}

/* Scholarship + Countdown (matches Figma layout) */
.scholarship-banner {
  padding: 70px 0 0;
  background: var(--white);
  text-align: center;
}

.scholarship-headline {
  margin: 0;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--blue-600);
  text-transform: uppercase;
  line-height: 1.2;
  display: inline-block;
  max-width: 600px;
}

.scholarship-headline .highlight {
  color: var(--blue-900);
}

.countdown {
  padding: 40px 0 0;
  background: linear-gradient(to bottom, #ffffff 0 50%, var(--blue-900) 50% 100%);
}

.countdown-wrapper {
  display: grid;
  place-items: center;
  gap: 18px;
}

.countdown-ring {
  position: relative;
  width: 600px;
  height: 600px;
  background: var(--white);
  border-radius: 50%;
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); */
}

.ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: #F3F1EB;
  stroke-width: 2;
}

.ring-progress {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
}

.countdown-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.countdown-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--blue-600);
  font-weight: 500;
}

.timer {
  margin-top: 8px;
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 500;
  color: var(--blue-600);
  letter-spacing: -2px;
}

.timer-meta {
  text-align: center;
  display: flex;
  gap: 40px;
  color: var(--white);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 60px 0 0;
}

.timer-meta .gold {
  color: var(--gold);
  font-weight: 500;
}

/* Funding Raised (matches Figma digit boxes) */
.funding-raised {
  padding: 100px 0;
  background: var(--blue-900);
  color: var(--white);
  text-align: center;
}

.funding-raised h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.funding-raised .underline {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.funding-sub {
  margin: 12px auto 0;
  /*font-size: 11px;*/
  opacity: 0.75;
  max-width: 580px;
  line-height: 1.5;
}

.funding-ticker {
  margin-top: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.funding-dollar {
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
  margin-right: 6px;
}

.funding-digit {
  width: 100px;
  height: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-600);
  /*border-radius: 6px;*/
  font-size: 90px;
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.funding-sep {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  margin: 0 -2px;
  transform: translateY(8px);
}

/* Basic styles for remaining sections */
.advantage,
.feature {
  padding: 80px 0;
  background: var(--blue-800);
  color: var(--cream);
}

.section-header {
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header h2 {
  font-size: 60px;
  font-weight: 500;
  margin: 0 0 16px;
}

.section-header p {
  opacity: 0.85;
  font-size: 15px;
  line-height: 1.6;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.advantage-grid article {
  /*background: rgba(27, 72, 220, 0.2);*/
  padding: 24px;
  text-align: left;
}

.advantage-grid article img {
  height: auto;
  margin-bottom: 16px;
  display:flex;
  width: 100%;
}

.advantage-grid article h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.advantage-grid article p {
  opacity: 0.85;
  text-align: left;
}

/* More Section Updates */

.more {
  margin-top: 100px;
}

.more-header {
  margin: 0 auto 60px;
  max-width: 600px;
}

.more-text-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  text-align: left;
}

.more-text-columns .more-col p {
  text-align: center;
}

.more-machines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: end;
}

.machine-item {
  position: relative;
  transition: transform 0.4s ease;
}

.machine-item img {
  width: 100%;
  height: auto;
  display: block;
  /* Remove card styling to match screenshot of standalone machines */
  box-shadow: none;
  border-radius: 0;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

.machine-item:nth-child(2) {
  /* Center machine might be slightly larger or staggered */
 /* transform: scale(1.05);
  z-index: 1;*/
}

/* Impact Section Updates */
.impact {
  background: var(--blue-600);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.impact-eyebrow {
  margin: 0 0 0px;
  opacity: 0.9;
}

.impact-title {
  font-size: clamp(60px, 12vw, 140px);
  margin: 0 0 60px;
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -2px;
}

.impact-concentric {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

.impact-circle {
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  aspect-ratio: 1;
}

.inner-circle-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 30px;
  text-align: center;
}

.impact-circle h3 {
  font-size: clamp(24px, 4vw, 56px);
  font-weight: 500;
  margin: 0;
  line-height: 1;
}

.impact-circle p {
  font-size: 10px;
  margin: 5px auto 0;
  text-transform: uppercase;
  max-width: 80%;
  line-height: 1.3;
}

.impact-circle.outer {
  width: 500px;
  max-width: 90vw;
  background: var(--white);
  color: var(--blue-900);
  /* Padding top to push nested circle down visually if needed, but flex center works best for concentric */
  position: relative;
}
.impact-circle.outer > h3 {
  position: absolute;
  top: 10%;
}

.impact-circle.middle {
  width: 70%;
  background: var(--blue-600);
  color: var(--white);
  position: absolute;
  bottom: 2%;
}
.impact-circle.middle > h3 {
  top: 15%;
  position: absolute;
}

.impact-circle.inner {
  width: 55%;
  background: var(--blue-900);
  color: var(--white);
  position: absolute;
  bottom: 0px; /* Aligned to bottom of middle circle? No, concentric usually implies centered or offset. Screenshot looks offset downwards. */
  bottom: 2%;
}

.impact-footer {
  max-width: 600px;
  margin: 0 auto;
}

/* Impact Section Animation setup */
.impact-circle.middle, .impact-circle.inner {
  transform-origin: center center;
}

/* Feature Header Updates */
.feature-header-new {
  text-align: center;
  margin-bottom: 40px;
}

.feature-header-new h2 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--white);
  margin: 0;
}

.feature-specs {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 40px;
}

.spec-col {
  flex: 1;
  text-align: center;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
  position: relative;
}

.spec-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

/* Footer Layout Updates */
.site-footer {
  padding: 80px 0 0;
  background: var(--blue-600); /* Match screenshot blue */
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.footer-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  margin-bottom: 100px;
  position: relative;
  z-index: 2;
}

.footer-block-logo {
  width: 60px;
  height: 60px;
  color: var(--white);
  margin-bottom: 40px;
}

.footer-links a {
  display: block;
  color: var(--white);
  opacity: 0.8;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: left;
}

.footer-funding-label {
  font-size: 16px;
  margin: 0 0 10px;
}

.footer-funding-display {
  font-size: clamp(60px, 12vw, 140px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -4px;
  margin-bottom: 60px;
}

.footer-cta-wrapper .btn.large {
  font-size: 18px;
  padding: 16px 40px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 20px 0 30px;
  font-size: 12px;
  opacity: 0.8;
  position: relative;
  z-index: 2;
}

.footer-bg-text {
  font-size: 18vw;
  font-weight: 500;
  text-align: center;
  line-height: 0.75;
  color: rgba(0,0,0,0.2);
  pointer-events: none;
  display: block;
  transform: translateY(10%);
}

.footer-bg-text img{
  display: block;
  justify-content: center;
  margin: 0 auto;
}
  .footer-logo-wrap img{
    width:100%;
  } 
    .footer-logo-wrap { 
  max-width: 150px;
  padding:0 0 30px 0;

  }
@media (max-width: 768px) {
  .logo img {
    width: 200px;
  }
  .more-text-columns{
    grid-template-columns: 1fr;
  }
  .more-machines-grid {

  }
  .legends-copy {
    padding: 30px;
  }
  .feature-specs {
    flex-direction: column;
    gap: 5px;
  }
  .spec-col {
    flex: 0 0 45%;
  }
  .spec-col::after { display: none; }
  
  .footer-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-right { align-items: center; }
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
  .footer-logo-wrap { 
    display: flex; 
    margin: 0 auto;
    justify-content: center; 

  }

  .impact-circle p {
    margin: 0;
    max-width: 100%;
  }

  .inner-circle-wrapper {
    padding: 25px;
  }

  .impact-circle.outer {
    width: 320px;
  }
}

.impact {
  padding: 100px 0;
  background: var(--blue-600);
  color: var(--cream);
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.impact .eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  margin: 0 0 16px;
  font-weight: 500;
}

.impact h2 {
  font-size: clamp(48px, 9vw, 184px);
  font-weight: 400;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 0.95;
}

.impact-copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.impact-metrics-row {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
}

.metric-circle {
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.metric-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.metric-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 4;
}

.metric-progress {
  fill: none;
  stroke: var(--gold);
  stroke-width: 4;
  stroke-linecap: round;
}

.metric-content {
  position: relative;
  z-index: 1;
}

.metric-content h3 {
  font-size: 32px;
  font-weight: 500;
  margin: 0;
  color: var(--white);
  line-height: 1;
}

.metric-content p {
  font-size: 11px;
  margin: 6px 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  line-height: 1.4;
}

/* Legends of Tomorrow section */
.legends-section {
  background: var(--cream);
  color: var(--blue-900);
}

.legends-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.legends-section h2 {
  margin: 0 0 20px;
}

.legends-section > .container > p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 520px;
}

/* Feature Games */
.feature {
  padding: 80px 0;
  background: var(--blue-900);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.feature-grid img {
  width: 100%;
  border-radius: 12px;
  /*aspect-ratio: 9/16;*/
  object-fit: cover;
}

.center {
  text-align: center;
}

.site-footer {
  padding: 150px 0 20px 0;
  background: #0a1aa0;
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.site-footer h3 {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 8px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 16px;
}

.footer-funding {
  font-size: 32px;
  font-weight: 500;
  margin-top: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-cta {
  text-align: right;
}

.footer-cta p {
  font-size: 11px;
  margin: 12px 0 0;
  opacity: 0.7;
}

.footer-bottom {
  margin-top: 80px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}

.footer-super-logo {
  max-width: 100%;
  height: auto;
  width: 80%;
  margin: 0 auto;
  opacity: 0.3;
  mix-blend-mode: overlay;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.footer-brand p {
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .more-content,
  .impact-grid,
  .legends-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .impact-metrics-row {
    justify-content: center;
  }
  .more-images {
    flex-wrap: wrap;
  }
  .machine-card {
    flex: none;
    width: 45%;
  }
  .machine-card.center-card {
    width: 55%;
  }
  .more-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-cta {
    text-align: left;
  }
}

@media (max-width: 768px) {

  .hero-copy {
    margin: 0 auto;
    padding: 30px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nav {
    display: none;
  }
  .countdown-ring {
    width: 300px;
    height: 300px;
  }
  .timer-meta {
    margin-top: 30px;
  }
  .funding-digit {
    width: 44px;
    height: 64px;
    font-size: 40px;
  }
  .funding-sep {
    font-size: 40px;
    transform: translateY(6px);
  }
  .funding-dollar {
    font-size: 32px;
  }
  .advantage-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-circle {
    width: 140px;
    height: 140px;
  }
  .metric-content h3 {
    font-size: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

