/* ZetaChess tanıtım sitesi. Marka: Royal #0B1F6B, Teal #00D8C6, Midnight #0B0F1A, Ice #F5F8FF, #334E9E; Inter. */

:root {
  --royal: #0b1f6b;
  --royal-2: #334e9e;
  --teal: #00d8c6;
  --midnight: #0b0f1a;
  --ice: #f5f8ff;
  --bg: #f5f8ff;
  --surface: #ffffff;
  --text: #0b0f1a;
  --muted: #5a6687;
  --line: rgba(11, 31, 107, 0.1);
  --grad-brand: linear-gradient(135deg, #0b1f6b 0%, #1c3a9c 58%, #0e8fa6 125%);
  --grad-dark: linear-gradient(165deg, #0b1f6b 0%, #0b1650 58%, #0b0f1a 100%);
  --grad-cta: linear-gradient(135deg, #00d8c6 0%, #2aa3e8 100%);
  --grad-soft: linear-gradient(135deg, rgba(0, 216, 198, 0.12) 0%, rgba(51, 78, 158, 0.1) 100%);
  --sq-light: #eef2f9;
  --sq-dark: #5b74b1;
  --good: #00d8c6;
  --bad: #ff5d7a;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b0f1a;
    --surface: #131a2e;
    --text: #eef2fb;
    --muted: #9aa7c7;
    --line: rgba(255, 255, 255, 0.1);
  }
}

:root[data-theme='dark'] {
  --bg: #0b0f1a;
  --surface: #131a2e;
  --text: #eef2fb;
  --muted: #9aa7c7;
  --line: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
}

.wrap {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
}

.narrow {
  width: min(100% - 32px, 760px);
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
  font-weight: 400;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 24px;
}

.grad-text {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- düğmeler --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.period button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.btn.primary {
  background: var(--grad-cta);
  color: #06202a;
  box-shadow: 0 10px 26px rgba(0, 216, 198, 0.35);
}

.btn.ghost {
  border: 1.5px solid currentColor;
  color: inherit;
}

.btn.small {
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: 11px;
}

.btn.wide {
  width: 100%;
}

/* --- üst çubuk --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 31, 107, 0.92);
  backdrop-filter: blur(10px);
  color: #fff;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.logo img {
  height: 26px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.85;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  display: flex;
  gap: 8px;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .nav-cta .ghost {
    display: none;
  }
}

/* --- giriş --- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 80px;
  background:
    radial-gradient(700px 380px at 90% 10%, rgba(0, 216, 198, 0.25), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(51, 78, 158, 0.5), transparent 60%),
    var(--grad-brand);
  color: #fff;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  font-size: 0.92rem;
  opacity: 0.9;
}

.hero-points li::before {
  content: '✓ ';
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Telefon çerçevesi içinde uygulama görünümü (HTML ile çizilir). */
.phone {
  justify-self: center;
  width: min(100%, 340px);
  border-radius: 36px;
  padding: 10px;
  background: #050812;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-top {
  display: flex;
  justify-content: center;
  padding: 12px;
  border-radius: 28px 28px 0 0;
  background: var(--grad-brand);
}

.phone-top img {
  height: 18px;
  width: auto;
}

.phone-body {
  padding: 14px;
  border-radius: 0 0 28px 28px;
  background: #f5f8ff;
  color: #0b0f1a;
}

.phone-title {
  margin: 0;
  font-weight: 800;
}

.phone-chip {
  display: inline-block;
  margin: 6px 0 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 216, 198, 0.16);
  color: #00766d;
  font-size: 0.72rem;
  font-weight: 600;
}

.idea {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 216, 198, 0.14), rgba(51, 78, 158, 0.12));
  font-size: 0.82rem;
}

.idea p {
  margin: 4px 0 0;
}

/* --- tahta --- */

.board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
}

.board .sq {
  position: relative;
  background: var(--sq-light);
}

.board .sq.dark {
  background: var(--sq-dark);
}

.board .sq.mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 216, 198, 0.45);
}

.board .sq img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.board svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* --- bantlar ve bölümler --- */

.band {
  padding: 64px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.section {
  padding: 84px 0;
}

.section.dark {
  background: var(--grad-dark);
  color: #fff;
}

.section.dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section.soft {
  background: var(--grad-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.steps li {
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(11, 31, 107, 0.06);
}

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

.step-no {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 64px;
}

.feature.reverse > :first-child {
  order: 2;
}

@media (max-width: 860px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature.reverse > :first-child {
    order: 0;
  }
}

.ticks {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  margin: 6px 0;
}

.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

.card-visual {
  justify-self: center;
  width: min(100%, 420px);
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.cv-title {
  margin: 0 0 12px;
  font-weight: 700;
  color: #fff !important;
}

.cv-note {
  margin: 12px 0 0;
  font-size: 0.88rem;
}

.board.small {
  max-width: 300px;
  margin: 0 auto;
}

/* Örnek karne çubukları. */
.skills {
  display: grid;
  gap: 12px;
}

.skill {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  font-size: 0.9rem;
}

.skill b {
  font-size: 1rem;
}

.skill .track {
  grid-column: 1 / -1;
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.skill .fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #334e9e, #00d8c6);
}

.skill.weak .fill {
  background: linear-gradient(90deg, #8a5a9e, #ff7f9b);
}

.skill .mid {
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: rgba(255, 255, 255, 0.6);
}

/* Örnek sohbet. */
.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  margin: 0;
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
}

.bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0b1f6b, #334e9e);
  color: #fff !important;
  border-bottom-right-radius: 4px;
}

.bubble.coach {
  align-self: flex-start;
  background: rgba(0, 216, 198, 0.14);
  color: #eef2fb !important;
  border-bottom-left-radius: 4px;
}

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

.mini {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini h3 {
  font-size: 1.02rem;
}

.mini p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .mini-grid {
    grid-template-columns: 1fr;
  }
}

/* --- fiyatlar --- */

.period {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  margin: 24px auto 32px;
  padding: 4px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.period button {
  border: 0;
  padding: 9px 16px;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.period button.on {
  background: var(--grad-brand);
  color: #fff;
}

.save {
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 216, 198, 0.2);
  color: inherit;
  font-size: 0.75rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.plan .ticks {
  flex: 1;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.plan.popular {
  background: var(--grad-brand);
  color: #fff;
  border: 0;
  box-shadow: 0 24px 60px rgba(11, 31, 107, 0.35);
  transform: translateY(-8px);
}

.plan.popular .ticks {
  color: rgba(255, 255, 255, 0.85);
}

.badge {
  position: absolute;
  top: -12px;
  left: 22px;
  margin: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--grad-cta);
  color: #06202a;
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  margin: 0 0 8px;
}

.price strong {
  font-size: 2.4rem;
  letter-spacing: -0.03em;
}

.price span {
  margin-left: 6px;
  opacity: 0.75;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .plan.popular {
    transform: none;
  }
}

/* --- sık sorulanlar --- */

details {
  margin: 10px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.final {
  padding: 84px 0;
  background: var(--grad-brand);
  color: #fff;
}

.final .lead {
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  padding: 28px 0;
  background: var(--midnight);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

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

.footer-logo {
  height: 20px;
  width: auto;
}

.footer p {
  margin: 0;
}

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

  .btn {
    transition: none;
  }
}

/* Premium kartında ürünün kalbi: günlük çalışma. */
.plan .ticks li.heart {
  margin: 4px 0 14px;
  padding: 12px 12px 12px 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.plan .ticks li.heart::before {
  left: 14px;
  top: 12px;
}

.plan .ticks li.heart strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.plan .ticks li.heart span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* --- hukuki sayfalar --- */

.legal {
  padding: 48px 0 72px;
}

.legal h1 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.legal h2 {
  margin-top: 32px;
  font-size: 1.2rem;
}

.legal p,
.legal li {
  color: var(--text);
}

.legal ul {
  padding-left: 20px;
}

.legal li {
  margin: 6px 0;
}

.legal a,
.footer a {
  text-decoration: underline;
}
