:root {
  --navy: #0b2545;
  --navy-deep: #071a31;
  --brand: #2e7de9;
  --cyan: #4db7f5;
  --teal: #1a8fa8;
  --accent: #f5a524;
  --accent-soft: #fff3d6;
  --sand: #f7f4ee;
  --foam: #f4f7fb;
  --white: #ffffff;
  --text: #0b2545;
  --muted: #4a6078;
  --line: #d7e3f0;
  --success: #2f9e6b;
  --shadow: 0 18px 50px rgba(11, 37, 69, 0.12);
  --radius: 22px;
  --header-h: 76px;
  --max: 1160px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --script: "Caveat", "Segoe Print", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  min-height: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(215, 227, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 58px;
  height: 36px;
  object-fit: contain;
  aspect-ratio: 58 / 36;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name strong {
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.brand-name span {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--foam);
  color: var(--brand);
}

.nav > .btn {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch {
  position: relative;
}

.lang-switch > button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
  cursor: pointer;
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 168px;
  padding: 8px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 60;
}

.lang-switch.is-open .lang-menu,
.lang-switch:focus-within .lang-menu {
  display: block;
}

.lang-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.lang-menu a:hover,
.lang-menu a[aria-current="true"] {
  background: var(--foam);
  color: var(--brand);
}

.lang-switch-inline a {
  color: var(--white);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.18);
}

.btn-primary:hover {
  background: #12345c;
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-lg {
  min-height: 56px;
  padding: 0 26px;
  font-size: 1.05rem;
}

.hero {
  position: relative;
  padding: 48px 0 20px;
  background:
    radial-gradient(circle at 12% 12%, rgba(77, 183, 245, 0.18), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(245, 165, 36, 0.16), transparent 24%),
    linear-gradient(180deg, #fbfcfe 0%, #f3f8fc 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(77, 183, 245, 0.16);
  color: #1d6d9a;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 8px 14px;
  border-radius: 999px;
}

.hero h1,
.page-hero h1,
.section-head h2 {
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  max-width: 12ch;
  margin-top: 18px;
}

.wave-underline {
  position: relative;
  white-space: nowrap;
}

.wave-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 18' fill='none'%3E%3Cpath d='M2 11c28-12 48 8 78 0s46-12 76 0 42 8 62-4' stroke='%234DB7F5' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42ch;
  margin: 22px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.store-block {
  margin-top: 28px;
}

.store-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #111827;
  color: var(--white);
  text-decoration: none;
  min-width: 168px;
}

.store-badge.soon {
  opacity: 0.78;
  pointer-events: none;
  cursor: default;
}

.store-badge small {
  display: block;
  font-size: 0.66rem;
  opacity: 0.8;
  font-weight: 500;
}

.store-badge strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.1;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.splash {
  position: absolute;
  inset: 8% -8% 6% 4%;
  background:
    radial-gradient(circle at 30% 40%, rgba(46, 125, 233, 0.35), transparent 42%),
    radial-gradient(circle at 70% 55%, rgba(77, 183, 245, 0.45), transparent 38%);
  filter: blur(6px);
  z-index: 0;
}

.bubble {
  position: absolute;
  z-index: 3;
  background: var(--accent);
  color: var(--navy);
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 18px 18px 18px 6px;
  box-shadow: var(--shadow);
}

.bubble-hello {
  top: 54px;
  left: 8px;
  animation: floaty 4.5s ease-in-out infinite;
}

.bubble-merhaba {
  top: 118px;
  right: 12px;
  animation: floaty 5s ease-in-out infinite 0.6s;
}

.note {
  font-family: var(--script);
  color: var(--brand);
  font-size: 1.45rem;
  line-height: 1.15;
  transform: rotate(-6deg);
}

.note-hero {
  position: absolute;
  right: 0;
  bottom: 28px;
  z-index: 4;
  max-width: 12ch;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(290px, 100%);
  margin: 20px auto 0;
  background: #0e1622;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 30px 70px rgba(11, 37, 69, 0.28);
}

.phone-notch {
  width: 108px;
  height: 18px;
  background: #0e1622;
  border-radius: 0 0 14px 14px;
  margin: -4px auto 8px;
}

.phone-screen {
  background: #f6f8fb;
  border-radius: 26px;
  min-height: 500px;
  padding: 16px 14px 18px;
  color: var(--navy);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.chip {
  background: #dcecff;
  color: var(--brand);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.72rem;
}

.phone h3 {
  margin: 16px 0 4px;
  font-size: 1.15rem;
}

.muted {
  color: var(--muted);
}

.goal-card,
.continue-card,
.vocab-card,
.quiz-card {
  background: var(--white);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.06);
  margin-top: 12px;
}

.goal-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) 0 62%, #e6eef8 0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ring span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.vocab-art {
  height: 96px;
  border-radius: 16px;
  background: linear-gradient(180deg, #dcecff, #fff);
  display: grid;
  place-items: center;
  font-size: 2.4rem;
}

.vocab-word {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 8px 0 0;
}

.translit {
  color: var(--teal);
  font-size: 0.82rem;
  margin: 0;
}

.speak {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #dcecff;
  color: var(--brand);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}

.speak[aria-pressed="true"] {
  background: var(--brand);
  color: var(--white);
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 8px;
  font: inherit;
}

.quiz-option.correct {
  border-color: var(--success);
  background: #e3f7ee;
}

.section {
  padding: 84px 0;
  position: relative;
}

.section-sand {
  background: var(--sand);
}

.section-foam {
  background: var(--foam);
}

.section-navy {
  background:
    radial-gradient(circle at 80% 20%, rgba(77, 183, 245, 0.18), transparent 28%),
    linear-gradient(180deg, #0b2545, #0a2f52);
  color: var(--white);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  max-width: 16ch;
}

.section-head p {
  color: var(--muted);
  max-width: 38ch;
  margin: 8px 0 0;
}

.section-navy .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.lang-card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px 16px 22px;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.06);
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.lang-card:hover {
  transform: translateY(-4px);
  border-color: #cfe4f8;
  color: var(--navy);
}

.flag {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(11, 37, 69, 0.12);
}

.flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-card strong {
  display: block;
  font-size: 1.05rem;
}

.lang-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.feature-grid,
.steps,
.exp-grid,
.card-grid {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.step-card,
.content-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(11, 37, 69, 0.06);
}

.feature-card h3,
.step-card h3,
.content-card h3 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
}

.feature-visual {
  height: 150px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eef6ff, #fff);
  position: relative;
  overflow: hidden;
}

.bars {
  position: absolute;
  inset: auto 18px 16px 18px;
  display: flex;
  align-items: end;
  gap: 12px;
  height: 96px;
}

.bar {
  flex: 1;
  border-radius: 10px 10px 4px 4px;
  background: #d7e8fb;
  position: relative;
}

.bar:nth-child(1) {
  height: 42%;
}

.bar:nth-child(2) {
  height: 64%;
  background: #9ec9f5;
}

.bar:nth-child(3) {
  height: 88%;
  background: var(--brand);
}

.bar b {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
}

.surfer {
  position: absolute;
  right: 22px;
  top: 18px;
  font-size: 1.4rem;
}

.week {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 28px 18px 0;
}

.day {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e3f7ee;
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.day.open {
  background: #eef3f8;
  color: var(--muted);
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.audio-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.word-pills {
  display: grid;
  gap: 12px;
}

.word-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border-radius: 18px;
  padding: 14px 16px;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.06);
}

.word-pill:hover,
.word-pill:focus-visible {
  outline: 3px solid var(--cyan);
}

.exp-grid {
  grid-template-columns: repeat(3, 1fr);
}

.phones-row .phone {
  margin-top: 0;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--white);
  border-radius: 18px;
  padding: 4px 18px;
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.05);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--brand);
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0 0 16px;
  color: var(--muted);
}

.page-hero {
  padding: 48px 0 12px;
  background: linear-gradient(180deg, #f7fbfe, #fff 80%);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--brand);
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.prose h3 {
  font-size: 1.15rem;
}

.sample-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
}

.sample-table th,
.sample-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.sample-table th {
  background: var(--foam);
  font-size: 0.82rem;
}

.cta {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 49, 0.72), rgba(7, 26, 49, 0.28) 70%);
}

.cta-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  padding: 72px 0;
}

.cta-copy h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 14ch;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}

.cta .store-label {
  color: #d7eefc;
}

.cta .store-badge {
  background: rgba(7, 18, 32, 0.72);
}

.site-footer {
  background: var(--white);
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
}

.footer-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.footer-note {
  font-family: var(--script);
  color: var(--brand);
  font-size: 1.4rem;
  text-align: right;
}

.legal-missing {
  color: var(--muted);
  font-size: 0.92rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}

.card-grid {
  grid-template-columns: 1fr 1fr;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .audio-panel,
  .split,
  .footer-grid,
  .card-grid,
  .exp-grid,
  .feature-grid,
  .steps,
  .lang-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lang-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .header-actions .btn {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero {
    padding-top: 24px;
  }

  .hero-grid,
  .lang-grid,
  .feature-grid,
  .steps,
  .audio-panel,
  .exp-grid,
  .card-grid,
  .split,
  .footer-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .wave-underline {
    white-space: normal;
  }

  .hero-visual {
    min-height: 0;
    order: -1;
  }

  .note-hero {
    display: none;
  }

  .bubble-hello {
    left: 0;
  }

  .phone {
    width: min(270px, 86vw);
  }

  .cta-copy h2 {
    max-width: none;
  }

  .footer-note,
  .footer-links {
    text-align: left;
    justify-content: start;
  }

  .header-actions .btn span[aria-hidden] {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand-name {
    display: none;
  }

  .header-actions .btn {
    padding: 0 12px;
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
