:root {
  --ink: #102a37;
  --muted: #587280;
  --line: rgba(15, 118, 110, 0.16);
  --teal: #14b8a6;
  --cyan: #0ea5e9;
  --indigo: #4f46e5;
  --violet: #8b5cf6;
  --orange: #f59e0b;
  --rose: #ec4899;
  --paper: #ffffff;
  --soft: #f4fffd;
  --shadow: 0 22px 60px -34px rgba(15, 23, 42, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(20, 184, 166, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #ecfffb 0%, #f7fbff 48%, #ffffff 100%);
  background-size: 32px 32px, 32px 32px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(20, 184, 166, 0.18);
  background: rgba(247, 255, 253, 0.88);
  backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 12px 30px -28px rgba(15, 23, 42, 0.4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  width: 164px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 28px);
  flex: 1;
  font-size: 15px;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
  color: #1f3b49;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: #0f766e; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.pill-button {
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #0284c7 52%, #4f46e5);
  box-shadow: 0 16px 30px -18px rgba(2, 132, 199, 0.9);
}

.pill-button.hot {
  background: linear-gradient(135deg, #f97316, #ec4899 58%, #8b5cf6);
  box-shadow: 0 16px 30px -18px rgba(236, 72, 153, 0.9);
}

.ghost-button {
  color: #0f766e;
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(34px, 6vw, 72px) clamp(18px, 6vw, 84px) 42px;
}

.hero-visual {
  position: relative;
  min-height: 530px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(20, 184, 166, 0.35), transparent 39%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(229, 252, 251, 0.8));
  box-shadow: var(--shadow);
}

.orbit {
  position: absolute;
  inset: 74px 54px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  inset: 58px;
  border: 1px dashed rgba(20, 184, 166, 0.22);
  border-radius: 50%;
}

.orbit::after { inset: 116px; }

.center-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #dcfbf8 72%);
  box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.18), 0 24px 48px -32px rgba(15, 23, 42, 0.45);
}

.center-mark img { width: 126px; height: 126px; object-fit: contain; }

.source-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 132px;
  min-height: 58px;
  padding: 13px 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 36px -30px rgba(15, 23, 42, 0.6);
  font-weight: 900;
  color: #244455;
}

.source-chip small {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--chip), var(--chip-2));
}

.chip-pdf { --chip: #ef4444; --chip-2: #fb7185; left: 41%; top: 10%; }
.chip-youtube { --chip: #ef4444; --chip-2: #f97316; right: 8%; top: 18%; }
.chip-link { --chip: #3b82f6; --chip-2: #06b6d4; right: 4%; top: 39%; }
.chip-quiz { --chip: #8b5cf6; --chip-2: #ec4899; right: 9%; bottom: 30%; }
.chip-ppt { --chip: #f97316; --chip-2: #f59e0b; left: 39%; bottom: 8%; }
.chip-word { --chip: #3b82f6; --chip-2: #6366f1; left: 15%; bottom: 15%; }
.chip-text { --chip: #14b8a6; --chip-2: #0d9488; left: 8%; bottom: 35%; }
.chip-doc { --chip: #14b8a6; --chip-2: #06b6d4; left: 7%; top: 35%; }
.chip-lang { --chip: #0ea5e9; --chip-2: #8b5cf6; left: 20%; top: 18%; }

.hero-copy { max-width: 820px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(204, 251, 241, 0.8);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
.page-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
  color: #112c38;
}

.gradient-text {
  background: linear-gradient(90deg, #0d9488 0%, #0ea5e9 38%, #6366f1 68%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 710px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 26px);
}

.hero-subtitle strong { color: #0f766e; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(132px, 1fr));
  gap: 16px;
  margin: 48px 0 34px;
}

.stat {
  min-height: 84px;
  padding: 17px 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 20px 34px -26px var(--b);
}

.stat b {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.format-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 980px;
  padding: 13px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.format-rail span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #244455;
  background: #f7fbff;
  font-weight: 800;
}

.section {
  padding: clamp(54px, 8vw, 94px) clamp(18px, 6vw, 84px);
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(239, 246, 255, 0.8));
}

.section-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head h2,
.page-article h2 {
  margin: 0 0 10px;
  color: #102a37;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.creator-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.92), rgba(239, 246, 255, 0.95)),
    #fff;
  box-shadow: var(--shadow);
}

.prompt-box label,
.control-card strong {
  display: block;
  margin-bottom: 9px;
  color: #244455;
  font-weight: 900;
}

.prompt-field {
  min-height: 74px;
  padding: 21px 22px;
  border: 3px solid #b7f1fb;
  border-radius: 16px;
  background: #fff;
  color: #7692a0;
  font-size: 20px;
  box-shadow: 0 0 0 8px rgba(204, 251, 241, 0.55);
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.control-card {
  min-height: 110px;
  padding: 18px;
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.select-like {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 12px;
  color: #244455;
  background: #faffff;
}

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

.topic-grid span {
  padding: 14px 15px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: #f8fafc;
  color: #244455;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 45px -38px rgba(15, 23, 42, 0.55);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--a), var(--b));
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.language-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid rgba(79, 70, 229, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
}

.language-band h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.language-band p { color: var(--muted); }

.language-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.language-chips span,
.language-chips a {
  padding: 8px 13px;
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #244455;
  text-decoration: none;
  font-weight: 700;
}

.approval-strip {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7ed, #fefce8);
  color: #713f12;
}

.approval-strip strong {
  display: block;
  margin-bottom: 6px;
  color: #9a3412;
}

.site-footer {
  position: relative;
  padding: 0 clamp(18px, 6vw, 84px) 28px;
  color: #cbd5e1;
  background:
    radial-gradient(700px 280px at 14% 0%, rgba(45, 212, 191, 0.17), transparent 72%),
    radial-gradient(700px 280px at 88% 0%, rgba(168, 85, 247, 0.18), transparent 72%),
    linear-gradient(180deg, #0b1324 0%, #0f172a 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #14b8a6, #6366f1 35%, #a855f7 65%, #f97316);
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 0 28px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-cta strong {
  display: block;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
}

.footer-cta span { color: #94a3b8; }

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 0 24px;
}

.footer-logo { width: 250px; max-width: 100%; }

.footer-brand em {
  display: block;
  margin: 18px 0 12px;
  max-width: 340px;
  color: #5eead4;
  font-size: 17px;
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  color: #94a3b8;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 5px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-col h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 12px #2dd4bf;
}

.footer-col:nth-child(3) h3::before { background: #a78bfa; box-shadow: 0 0 12px #a78bfa; }
.footer-col:nth-child(4) h3::before { background: #fb923c; box-shadow: 0 0 12px #fb923c; }

.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-col a:hover { color: #5eead4; }

.footer-langs,
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-langs {
  justify-content: flex-end;
  padding: 4px 0 22px;
}

.footer-langs span,
.footer-langs a {
  padding: 6px 13px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.footer-langs a {
  border: 0;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #14b8a6, #6366f1 55%, #a855f7);
}

.footer-base {
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: #64748b;
  font-size: 14px;
}

.page-hero {
  padding: clamp(50px, 8vw, 92px) clamp(18px, 6vw, 84px) 28px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.page-article {
  max-width: 880px;
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 38px) 72px;
  font-size: 17px;
}

.page-article p,
.page-article li { color: #334155; }

.page-article h2 {
  margin-top: 34px;
  font-size: 28px;
}

.page-article a { color: #0f766e; font-weight: 800; }

.updated {
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.doc-updated {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.notice {
  padding: 16px 18px;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  background: #f0f9ff;
}

@media (max-width: 1060px) {
  .hero,
  .language-band { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .controls-grid,
  .topic-grid,
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .site-header { align-items: center; flex-wrap: wrap; gap: 12px; }
  .header-actions { margin-left: auto; }
  .nav-toggle {
    order: 2;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    border: 1px solid rgba(20, 184, 166, 0.35);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: #1f3b49; }
  .header-actions { order: 1; }
  .site-nav {
    order: 3;
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    font-size: 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 4px; border-top: 1px solid rgba(20, 184, 166, 0.18); }
  .hero-visual { min-height: 440px; }
  .source-chip { min-width: 108px; padding: 10px 12px; font-size: 13px; }
  .stats-row,
  .controls-grid,
  .topic-grid,
  .feature-grid,
  .footer-main { grid-template-columns: 1fr; }
  .format-rail { border-radius: 22px; }
  .footer-langs { justify-content: flex-start; }
  .brand img { width: 142px; }
  h1,
  .page-hero h1 { font-size: clamp(40px, 14vw, 62px); }
}

@media (max-width: 500px) {
  .ghost-button { display: none; }
  .hero-visual { min-height: 390px; border-radius: 18px; }
  .orbit { inset: 62px 22px; }
  .center-mark { width: 154px; height: 154px; }
  .center-mark img { width: 98px; height: 98px; }
  .chip-link,
  .chip-quiz { right: 0; }
  .chip-doc,
  .chip-text { left: 0; }
}
