:root {
  --bg: #090b16;
  --bg-deep: #050712;
  --surface: rgba(18, 24, 38, 0.78);
  --surface-solid: #121826;
  --surface-light: #171f31;
  --primary: #00b8ff;
  --primary-soft: #29d8ff;
  --blue: #3f8cff;
  --purple: #8b3dff;
  --pink: #d946ef;
  --text: #ffffff;
  --muted: #aeb8ca;
  --border: rgba(122, 145, 190, 0.2);
  --border-bright: rgba(41, 216, 255, 0.35);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --gradient: linear-gradient(90deg, #00b8ff, #4f7dff, #8b3dff);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 184, 255, 0.08), transparent 28%),
    radial-gradient(circle at 85% 40%, rgba(139, 61, 255, 0.1), transparent 30%),
    var(--bg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: 0.18;
}

.page-glow-one {
  top: 15%;
  left: -180px;
  background: var(--primary);
}

.page-glow-two {
  right: -180px;
  bottom: 10%;
  background: var(--purple);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: 0.3s ease;
}

.site-header.scrolled {
  border-color: var(--border);
  background: rgba(5, 7, 18, 0.82);
  backdrop-filter: blur(20px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(0, 184, 255, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links > a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: 0.2s ease;
}

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

.nav-links .nav-cta {
  padding: 10px 18px;
  color: var(--text);
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  background: rgba(0, 184, 255, 0.08);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(18, 24, 38, 0.8);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 840px;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("youtube_logo_banner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  opacity: 0.56;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 18, 0.98) 0%, rgba(5, 7, 18, 0.88) 38%, rgba(5, 7, 18, 0.42) 72%, rgba(5, 7, 18, 0.75) 100%),
    linear-gradient(180deg, rgba(5, 7, 18, 0.18), var(--bg) 98%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 100px 140px;
}

.eyebrow,
.section-label {
  color: var(--primary-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 184, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 184, 255, 0.08);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-soft);
  box-shadow: 0 0 14px var(--primary);
}

.hero h1 {
  max-width: 870px;
  margin: 28px 0 24px;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: inline-block;
  padding-bottom: 8px;
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: #c8d1e1;
  font-size: clamp(1.06rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gradient);
  box-shadow: 0 16px 38px rgba(79, 125, 255, 0.28);
}

.button-primary:hover {
  box-shadow: 0 20px 48px rgba(79, 125, 255, 0.4);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(18, 24, 38, 0.72);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  border-color: var(--border-bright);
}

.play-icon {
  font-size: 0.85rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-pills span {
  padding: 8px 13px;
  color: #c6d2e6;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(9, 11, 22, 0.58);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
}

.section {
  padding: 110px 0;
}

.intro-section {
  padding-top: 70px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 70px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.cta-copy h2 {
  margin: 14px 0 20px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-copy p,
.section-heading p,
.cta-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.mission-card {
  position: relative;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(0, 184, 255, 0.09), transparent 45%),
    linear-gradient(315deg, rgba(139, 61, 255, 0.12), transparent 48%),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mission-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--purple);
  filter: blur(90px);
  opacity: 0.16;
}

.mission-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(41, 216, 255, 0.36);
  border-radius: 18px;
  color: var(--primary-soft);
  background: rgba(0, 184, 255, 0.08);
  font-family: "JetBrains Mono", monospace;
  font-size: 1.15rem;
  font-weight: 700;
}

.mission-quote {
  margin: 28px 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.mission-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--purple), transparent);
}

.mission-tamil {
  margin: 22px 0 0;
  color: var(--muted);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 50px;
}

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

.learning-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(24, 31, 49, 0.74), rgba(14, 18, 31, 0.76));
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.learning-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-bright);
  background: linear-gradient(180deg, rgba(28, 38, 60, 0.9), rgba(14, 18, 31, 0.84));
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid currentColor;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(0, 184, 255, 0.08);
}

.icon-blue {
  color: var(--blue);
}

.icon-cyan {
  color: var(--primary-soft);
}

.icon-purple {
  color: #a46bff;
}

.icon-pink {
  color: #dd5df1;
}

.learning-card h3,
.playlist-card h3,
.principle h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.learning-card p,
.playlist-card p,
.principle p {
  margin: 0;
  color: var(--muted);
}

.playlists-section {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 31, 0.72), transparent);
}

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

.playlist-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 20, 34, 0.82);
  transition: 0.25s ease;
}

.playlist-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 61, 255, 0.45);
}

.playlist-card.featured {
  min-height: 330px;
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 61, 255, 0.16), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(0, 184, 255, 0.12), transparent 44%),
    rgba(15, 20, 34, 0.92);
}

.playlist-card > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.playlist-number {
  color: var(--primary-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.playlist-tag {
  padding: 5px 10px;
  border: 1px solid rgba(139, 61, 255, 0.32);
  border-radius: 999px;
  color: #cdafff;
  background: rgba(139, 61, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.playlist-card h3 {
  margin-top: 26px;
  font-size: 1.65rem;
}

.playlist-card a {
  display: inline-flex;
  gap: 8px;
  margin-top: 26px;
  color: var(--primary-soft);
  font-weight: 700;
}

.journey-section {
  overflow: hidden;
}

.journey-track {
  display: grid;
  grid-template-columns: repeat(11, auto);
  gap: 14px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(14, 18, 31, 0.76);
  overflow-x: auto;
}

.journey-step {
  min-width: 135px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.journey-step span {
  color: var(--primary-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
}

.journey-step strong {
  line-height: 1.25;
}

.journey-arrow {
  color: #586b8f;
}

.principles-section {
  padding-top: 35px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--border);
}

.principle {
  min-height: 260px;
  padding: 30px;
  background: var(--bg);
}

.principle span {
  color: var(--primary-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
}

.principle h3 {
  margin-top: 50px;
}

.cta-section {
  padding-top: 60px;
}

.cta-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(41, 216, 255, 0.28);
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(0, 184, 255, 0.1), transparent 38%),
    linear-gradient(300deg, rgba(139, 61, 255, 0.14), transparent 40%),
    var(--surface);
  box-shadow: var(--shadow);
}

.cta-card > img {
  width: 116px;
  height: 116px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 0 45px rgba(0, 184, 255, 0.22);
}

.cta-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.cta-copy p {
  margin: 0;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: rgba(5, 7, 18, 0.78);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.footer-brand strong {
  display: block;
}

.footer-brand p,
.footer-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-content > a {
  color: var(--primary-soft);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero {
    min-height: 760px;
  }

  .hero-image {
    background-position: 56% center;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .learning-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-card {
    grid-template-columns: auto 1fr;
  }

  .cta-card .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 800px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(5, 7, 18, 0.97);
    backdrop-filter: blur(20px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
    box-shadow: var(--shadow);
  }

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

  .nav-links > a {
    padding: 13px 14px;
  }

  .nav-links .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    background-position: 67% center;
    opacity: 0.42;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 18, 0.98), rgba(5, 7, 18, 0.74)),
      linear-gradient(180deg, rgba(5, 7, 18, 0.12), var(--bg) 97%);
  }

  .hero-content {
    padding-block: 90px;
  }

  .playlist-grid {
    grid-template-columns: 1fr;
  }

  .journey-track {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .journey-step {
    min-width: 0;
    padding: 12px 0;
  }

  .journey-arrow {
    transform: rotate(90deg);
    justify-self: start;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section {
    padding: 82px 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .learning-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .learning-card {
    min-height: auto;
  }

  .mission-card,
  .playlist-card,
  .learning-card {
    padding: 24px;
  }

  .cta-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .cta-card > img {
    width: 88px;
    height: 88px;
  }

  .cta-card .button {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 22px;
}
.contact-links a,
.footer-note a {
  color: var(--primary-soft);
  font-weight: 700;
}
.contact-links a:hover {
  color: var(--text);
}
