:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #667085;
  --soft: #f7f8fb;
  --line: rgba(16, 24, 40, 0.1);
  --white: #ffffff;
  --green: #23c58f;
  --green-dark: #08775f;
  --lime: #dfff80;
  --blue: #5b6cff;
  --violet: #aa7cff;
  --amber: #ffc857;
  --radius: 28px;
  --shadow-soft: 0 24px 80px rgba(16, 24, 40, 0.12);
  --shadow-small: 0 12px 34px rgba(16, 24, 40, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: #fbfcf8;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(130deg, rgba(223, 255, 128, 0.24), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(91, 108, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 10% 22%, rgba(35, 197, 143, 0.16), transparent 28rem),
    #fbfcf8;
}

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

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

.page-glow {
  position: absolute;
  top: 120px;
  left: 50%;
  z-index: -1;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(35, 197, 143, 0.22), transparent 64%);
  filter: blur(20px);
  transform: translateX(-50%);
  pointer-events: none;
}

.container {
  width: min(1168px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 24, 40, 0.07);
  background: rgba(251, 252, 248, 0.78);
  backdrop-filter: blur(20px);
}

.nav {
  width: min(1168px, calc(100% - 44px));
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  color: rgba(16, 24, 40, 0.66);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.05);
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(35, 197, 143, 0.12);
}

.header-button {
  padding: 12px 17px;
  color: #fff;
  background: #101828;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.16);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1fr);
  gap: 54px;
  align-items: center;
  padding: 74px 0 50px;
}

.hero-content {
  min-width: 0;
}

.hero-badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-badge {
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(35, 197, 143, 0.22);
  border-radius: 999px;
  box-shadow: var(--shadow-small);
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(35, 197, 143, 0.14);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 24px 0 22px;
  font-size: clamp(2.35rem, 4.7vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.55vw, 2.45rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.14rem;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.85;
}

.hero-actions,
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.store-link {
  min-width: 182px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 18px;
  box-shadow: var(--shadow-small);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.store-link:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.14);
}

.store-link.apple {
  color: #fff;
  background: #101828;
  border-color: #101828;
}

.store-link small {
  display: block;
  margin-bottom: 1px;
  color: currentColor;
  font-size: 0.67rem;
  line-height: 1;
  opacity: 0.62;
}

.store-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 9px 12px;
  color: rgba(16, 24, 40, 0.67);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.app-window {
  position: absolute;
  inset: 34px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px);
}

.app-window::before {
  content: "";
  position: absolute;
  inset: -80px -80px auto auto;
  width: 260px;
  height: 260px;
  background: rgba(35, 197, 143, 0.2);
  border-radius: 50%;
  filter: blur(8px);
}

.window-top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(16, 24, 40, 0.07);
}

.window-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff6b6b;
}

.window-top span:nth-child(2) { background: #ffd166; }
.window-top span:nth-child(3) { background: #23c58f; }

.app-layout {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 168px;
  min-height: 536px;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  background: rgba(248, 250, 252, 0.78);
  border-right: 1px solid rgba(16, 24, 40, 0.06);
}

.sidebar-logo {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  background: url("favicon.png") center / contain no-repeat;
}

.app-sidebar span {
  width: 34px;
  height: 34px;
  background: rgba(16, 24, 40, 0.08);
  border-radius: 13px;
}

.app-sidebar span.active {
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 12px 28px rgba(35, 197, 143, 0.24);
}

.app-main {
  padding: 34px;
}

.input-pill {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 9px 12px;
  color: var(--green-dark);
  background: rgba(35, 197, 143, 0.12);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.app-main h2 {
  max-width: 420px;
  margin-bottom: 28px;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
}

.waveform {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, rgba(35, 197, 143, 0.09), rgba(91, 108, 255, 0.06));
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 24px;
}

.waveform i {
  flex: 1;
  max-width: 13px;
  height: 36px;
  background: linear-gradient(180deg, var(--green), var(--blue));
  border-radius: 999px;
  animation: wave 1.8s ease-in-out infinite;
}

.waveform i:nth-child(2) { height: 37px; animation-delay: 80ms; }
.waveform i:nth-child(3) { height: 23px; animation-delay: 160ms; }
.waveform i:nth-child(4) { height: 44px; animation-delay: 240ms; }
.waveform i:nth-child(5) { height: 29px; animation-delay: 320ms; }
.waveform i:nth-child(6) { height: 47px; animation-delay: 400ms; }
.waveform i:nth-child(7) { height: 21px; animation-delay: 480ms; }
.waveform i:nth-child(8) { height: 34px; animation-delay: 560ms; }
.waveform i:nth-child(9) { height: 25px; animation-delay: 640ms; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.72); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.transcript-preview {
  display: grid;
  gap: 12px;
}

.transcript-preview p {
  margin: 0;
  padding: 15px 16px;
  color: rgba(16, 24, 40, 0.68);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 24, 40, 0.06);
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.58;
}

.transcript-preview b {
  margin-right: 8px;
  color: var(--green-dark);
}

.app-insights {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 34px 22px;
  border-left: 1px solid rgba(16, 24, 40, 0.06);
}

.insight-card {
  min-height: 142px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 24px;
}

.insight-card.green {
  background: linear-gradient(145deg, rgba(223, 255, 128, 0.72), rgba(35, 197, 143, 0.18));
}

.insight-card span {
  display: block;
  margin-bottom: 20px;
  color: rgba(16, 24, 40, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-card strong {
  font-size: 4rem;
  letter-spacing: -0.08em;
}

.mini-map {
  position: relative;
  height: 70px;
}

.mini-map i {
  position: absolute;
  width: 46px;
  height: 20px;
  background: #fff;
  border-radius: 999px;
}

.mini-map i:nth-child(1) { top: 22px; left: 44px; background: #101828; }
.mini-map i:nth-child(2) { top: 0; left: 0; }
.mini-map i:nth-child(3) { right: 0; top: 8px; }
.mini-map i:nth-child(4) { left: 8px; bottom: 0; }

.floating-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(18px);
}

.floating-card strong {
  font-size: 0.95rem;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.card-summary {
  top: 0;
  right: 42px;
}

.card-translate {
  bottom: 22px;
  left: -12px;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 26px;
  box-shadow: 0 16px 46px rgba(16, 24, 40, 0.06);
}

.logo-strip span {
  padding: 18px;
  text-align: center;
  color: rgba(16, 24, 40, 0.56);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 18px;
  font-size: 0.92rem;
  font-weight: 900;
}

.capture-section,
.workflow,
.review-lab,
.download-cta {
  padding: 108px 0;
}

.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.48fr);
  gap: 44px;
  align-items: end;
  margin: 14px 0 34px;
}

.section-title-row p,
.feature-copy p,
.download-cta p,
.review-panel p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.78;
}

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

.capture-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(16, 24, 40, 0.07);
  position: relative;
}

.capture-card::before {
  content: "";
  position: absolute;
  inset: auto -44px -50px auto;
  width: 150px;
  height: 150px;
  background: rgba(35, 197, 143, 0.14);
  border-radius: 50%;
}

.capture-card.youtube::before { background: rgba(255, 88, 88, 0.14); }
.capture-card.upload::before { background: rgba(91, 108, 255, 0.14); }
.capture-card.pdf::before { background: rgba(255, 200, 87, 0.2); }

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  background: rgba(35, 197, 143, 0.12);
  border-radius: 18px;
  font-size: 0.78rem;
  font-weight: 900;
}

.capture-card.youtube .card-icon { color: #d94848; background: rgba(255, 88, 88, 0.12); }
.capture-card.upload .card-icon { color: #4351cc; background: rgba(91, 108, 255, 0.12); }
.capture-card.pdf .card-icon { color: #946100; background: rgba(255, 200, 87, 0.22); }

.capture-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.features-section {
  padding: 108px 0;
  color: #fff;
  background: #101828;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 72px;
  align-items: start;
}

.features-section .section-kicker {
  color: var(--lime);
}

.feature-copy {
  position: sticky;
  top: 116px;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.66);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
}

.feature-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #101828;
  background: var(--lime);
  border-radius: 15px;
  font-weight: 900;
}

.feature-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.68;
}

.workflow {
  text-align: center;
}

.workflow > h2 {
  max-width: 760px;
  margin: 14px auto 36px;
}

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

.timeline article {
  padding: 26px;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 26px;
  box-shadow: 0 16px 42px rgba(16, 24, 40, 0.06);
}

.timeline span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  color: #fff;
  background: #101828;
  border-radius: 14px;
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.review-lab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 20px;
}

.review-panel {
  min-height: 430px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.notes-panel {
  background:
    radial-gradient(circle at 88% 14%, rgba(35, 197, 143, 0.18), transparent 15rem),
    rgba(255, 255, 255, 0.76);
}

.note-lines {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

.note-lines i {
  height: 18px;
  background: linear-gradient(90deg, rgba(35, 197, 143, 0.22), rgba(91, 108, 255, 0.13));
  border-radius: 999px;
}

.note-lines i:nth-child(2) { width: 78%; }
.note-lines i:nth-child(3) { width: 92%; }
.note-lines i:nth-child(4) { width: 62%; }

.flashcard {
  width: 100%;
  min-height: 230px;
  margin-top: 28px;
  padding: 28px;
  color: #101828;
  text-align: left;
  background: linear-gradient(135deg, var(--lime), #fff9dd);
  border: 0;
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease;
}

.flashcard:hover,
.flashcard.is-flipped {
  transform: translateY(-4px);
}

.flashcard.is-flipped {
  background: linear-gradient(135deg, #dcfff2, #eef1ff);
}

.flashcard small {
  display: block;
  margin-bottom: 24px;
  color: rgba(16, 24, 40, 0.5);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flashcard strong {
  display: block;
  font-size: 1.42rem;
  line-height: 1.38;
  letter-spacing: -0.03em;
}

.flashcard em {
  display: none;
  margin-top: 18px;
  color: var(--green-dark);
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.62;
}

.flashcard.is-flipped em {
  display: block;
}

.download-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  margin-bottom: 86px;
  padding: 48px;
  background:
    radial-gradient(circle at 92% 12%, rgba(91, 108, 255, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(231, 255, 246, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.download-cta h2 {
  max-width: 780px;
  margin-top: 14px;
}

.download-cta p {
  max-width: 640px;
  margin-bottom: 0;
}

.footer {
  padding: 28px 0 34px;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
}

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

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

@media (max-width: 1040px) {
  .hero,
  .feature-layout,
  .section-title-row,
  .download-cta {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 620px;
  }

  .feature-copy {
    position: static;
  }

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

@media (max-width: 760px) {
  .container,
  .nav {
    width: min(100% - 30px, 1168px);
  }

  .nav-links {
    display: none;
  }

  .header-button {
    padding-inline: 14px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  .hero-actions,
  .download-buttons {
    flex-direction: column;
  }

  .store-link {
    width: 100%;
  }

  .hero-proof,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    min-height: auto;
  }

  .app-window {
    position: relative;
    inset: auto;
    margin-top: 34px;
  }

  .floating-card {
    display: none;
  }

  .app-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .app-sidebar,
  .app-insights {
    display: none;
  }

  .app-main {
    padding: 26px;
  }

  .logo-strip,
  .capture-grid,
  .timeline,
  .review-lab {
    grid-template-columns: 1fr;
  }

  .capture-section,
  .workflow,
  .review-lab,
  .download-cta,
  .features-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .capture-card {
    min-height: 240px;
  }

  .feature-list article {
    grid-template-columns: 1fr;
  }

  .review-panel,
  .download-cta {
    padding: 26px;
    border-radius: 28px;
  }

  .download-cta {
    margin-bottom: 58px;
  }
}

@media (max-width: 460px) {
  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .window-top {
    height: 46px;
  }

  .app-main h2 {
    font-size: 1.55rem;
  }
}
