:root {
  --accent: #ff7a18;
  --accent-dark: #f45b00;
  --bg: #0b0b0f;
  --surface: #15151c;
  --muted: #1f1f2b;
  --text: #f5f5f5;
  --text-muted: #b7b7c7;
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(255, 122, 24, 0.35);
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 10% 20%, #1d1d2a 0%, transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(255, 122, 24, 0.15), transparent 55%),
    var(--bg);
  color: var(--text);
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.global-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.9), transparent 60%);
  filter: blur(60px);
  opacity: 0.4;
  animation: float 12s ease-in-out infinite;
}

.orb--one {
  top: -120px;
  right: -80px;
}

.orb--two {
  bottom: 10%;
  left: -160px;
  animation-duration: 18s;
}

.orb--three {
  bottom: 40%;
  right: 20%;
  width: 260px;
  height: 260px;
  animation-duration: 15s;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.3;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
}

header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 11, 15, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-mark {
  color: var(--accent);
  font-size: 1.4rem;
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top right, #1d1d2a, transparent 60%);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 10% 5% 0 5%;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.02);
  filter: blur(40px);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0 0 1rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hero-stats dd {
  margin: 0.25rem 0 0;
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 600;
}

.hero-card {
  background: linear-gradient(145deg, rgba(21, 21, 30, 0.95), #101015);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  position: relative;
  isolation: isolate;
}

.hero-card__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: url("https://images.unsplash.com/photo-1508057198894-247b23fe5ade?auto=format&fit=crop&w=900&q=80")
      center/cover,
    linear-gradient(135deg, #2d2d44, #121217);
}

.hero-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.play-btn::after {
  content: "";
  position: absolute;
  left: 53%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 16px solid var(--text);
}

.play-btn:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.hero-card__body {
  padding: 1.8rem;
}

.hero-card__body ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.section {
  padding: 4rem 0;
}

.section.muted {
  background: rgba(21, 21, 32, 0.7);
  backdrop-filter: blur(8px);
}

.section-heading {
  width: min(720px, 92vw);
  margin: 0 auto 2rem;
  text-align: center;
}

.tabs {
  display: inline-flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.25rem;
}

.tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.tab.is-active {
  background: var(--accent);
  color: #0f0f0f;
  font-weight: 600;
}

.grid {
  display: grid;
  width: min(1200px, 92vw);
  margin: 0 auto;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tutorial-card {
  background: rgba(18, 18, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.tutorial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 24, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.tutorial-card__meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.tag {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
}

.progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  width: min(1000px, 92vw);
  margin: 0 auto;
}

.resource-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 122, 24, 0.18), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.resource-card:hover::before {
  opacity: 1;
}

.resource-card > * {
  position: relative;
  z-index: 1;
}

.resource-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.community {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.community-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feed-card {
  padding: 1.2rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.community-cta {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(18, 18, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.subscribe-form input,
.subscribe-form select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0c0c12;
  color: var(--text);
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s,
    border-color 0.2s;
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn:active {
  transform: translateY(1px);
}

.btn--accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  color: #0f0f0f;
  box-shadow: 0 15px 30px var(--glow);
}

.btn--outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px dashed rgba(255, 255, 255, 0.25);
}

.btn--accent:hover {
  box-shadow: 0 18px 38px rgba(255, 122, 24, 0.5);
}

.btn--outline:hover,
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.site-footer {
  padding: 3rem 0 2rem;
  background: #050506;
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
}

.footer-grid a {
  color: inherit;
  text-decoration: none;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal__dialog {
  width: min(520px, 92vw);
  background: rgba(21, 21, 30, 0.95);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  padding: 1.5rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.video-placeholder {
  margin-top: 1rem;
  height: 220px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.25);
}

.modal__subtitle {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.curriculum-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.curriculum-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.curriculum-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}


@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .community {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .tabs {
    flex-wrap: wrap;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-35px) scale(1.05);
  }
}

