/* ============================================================
   DusNote — dusnote.com
   Tasarım tokenleri uygulamadan (Theme.swift) birebir alındı.
   ============================================================ */

:root {
  /* Uygulama paleti — light */
  --canvas: #F4F6FD;
  --card: #FFFFFF;
  --card-2: #F8FAFF;
  --border: #E6EBFF;
  --heading: #1F2D5A;
  --text: #24335C;
  --muted: #5D6A94;
  --primary: #0A6DC2;
  --primary-deep: #0B3D91;
  --accent: #00B4D8;
  --hero-top: #071857;
  --hero-bottom: #123EA9;
  --glow: #3157FF;
  --sky: #4AB8FF;
  --purple: #7D4DFF;
  --orange: #FF8A3D;
  --success: #41C98B;
  --shadow-soft: 0 8px 24px rgba(31, 45, 90, 0.06);
  --shadow-card: 0 16px 40px rgba(31, 45, 90, 0.08);
  --nav-bg: rgba(244, 246, 253, 0.82);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #090F1D;
    --card: #141B2D;
    --card-2: #1A2238;
    --border: #27314A;
    --heading: #F7F9FF;
    --text: #F3F6FF;
    --muted: #9AA6C8;
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.45);
    --nav-bg: rgba(9, 15, 29, 0.82);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background: var(--canvas);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--primary); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.brand-word b { color: var(--primary); font-weight: inherit; }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(10, 109, 194, 0.30);
  flex: none;
}

.brand-mark svg { width: 20px; height: 20px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:not(.btn):hover { color: var(--heading); }

.nav-links a.active {
  color: var(--heading);
  font-weight: 600;
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 109, 194, 0.28);
}

.btn-primary:hover {
  background: #0961AE;
  box-shadow: 0 10px 28px rgba(10, 109, 194, 0.36);
}

.btn-ghost {
  background: var(--card);
  color: var(--heading);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--muted); }

.btn-light {
  background: #fff;
  color: var(--hero-bottom);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
}

.btn-light:hover { background: #EAF0FF; }

.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 16px; }

.btn-nav { padding: 10px 18px; font-size: 14px; }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at 12% -8%, rgba(49, 87, 255, 0.10), transparent 65%),
    radial-gradient(560px 420px at 96% 82%, rgba(0, 180, 216, 0.08), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.5rem, 5.2vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--heading);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  margin: 0 0 32px;
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.trust li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust { padding: 0; margin: 0; }

.trust svg { width: 16px; height: 16px; color: var(--primary); flex: none; }

/* ---------- Telefon mockup ---------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: 312px;
  border-radius: 52px;
  padding: 11px;
  background: linear-gradient(160deg, #24304f, #0b1226);
  box-shadow: 0 40px 80px rgba(7, 24, 87, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.14);
  position: relative;
}

.screen {
  border-radius: 42px;
  background: var(--canvas);
  overflow: hidden;
  padding: 16px 14px 12px;
}

.island {
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #0b1226;
  margin: 0 auto 14px;
}

.app-greet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  margin-bottom: 12px;
}

.app-greet small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.app-greet strong {
  color: var(--heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--purple));
  flex: none;
}

.app-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 16px;
  background: linear-gradient(135deg, var(--hero-top), var(--hero-bottom));
  color: #fff;
  margin-bottom: 14px;
}

.app-hero-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -50px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 87, 255, 0.55), transparent 70%);
}

.app-hero-card .label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.app-hero-card .goal {
  font-size: 15px;
  font-weight: 700;
  margin: 4px 0 12px;
}

.track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  margin-bottom: 12px;
}

.track i {
  display: block;
  height: 100%;
  width: 64%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky), #fff);
}

.chips { display: flex; gap: 8px; position: relative; }

.chip {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 600;
}

.app-section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--heading);
  padding: 2px 4px 8px;
  letter-spacing: -0.01em;
}

.course-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.course-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

.course-row .name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--heading);
  flex: 1;
  line-height: 1.3;
}

.course-row .pct { font-size: 11px; font-weight: 600; color: var(--muted); }

.course-bar {
  height: 4px;
  width: 52px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  flex: none;
}

.course-bar i { display: block; height: 100%; border-radius: 999px; }

.app-tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  margin-top: 12px;
}

.app-tabbar svg { width: 17px; height: 17px; color: var(--muted); }
.app-tabbar svg.on { color: var(--primary); }

.float-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3;
}

.float-card small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.float-star { top: 104px; left: calc(50% - 296px); transform: rotate(-4deg); }
.float-q { bottom: 104px; right: calc(50% - 302px); transform: rotate(3deg); }

.float-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}

.float-ico svg { width: 16px; height: 16px; }

/* ---------- Bölüm başlıkları ---------- */

.section { padding: 88px 0; }

.section-head {
  max-width: 560px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--heading);
}

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

/* ---------- Özellik kartları ---------- */

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

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.feature-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature-ico svg { width: 23px; height: 23px; }

.tint-blue   { background: rgba(10, 109, 194, 0.10);  color: #0A6DC2; }
.tint-navy   { background: rgba(47, 97, 255, 0.10);   color: #2F61FF; }
.tint-orange { background: rgba(255, 138, 61, 0.14);  color: #E8701C; }
.tint-purple { background: rgba(125, 77, 255, 0.12);  color: #7D4DFF; }
.tint-sky    { background: rgba(74, 184, 255, 0.14);  color: #1E8FD8; }
.tint-cyan   { background: rgba(0, 180, 216, 0.12);   color: #0095B4; }

@media (prefers-color-scheme: dark) {
  .tint-blue   { color: #59A9E8; }
  .tint-navy   { color: #7C9BFF; }
  .tint-orange { color: #FFA25E; }
  .tint-purple { color: #A88AFF; }
  .tint-sky    { color: #6FC4FF; }
  .tint-cyan   { color: #3FCDE8; }
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--heading);
}

.feature p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Deneme bandı ---------- */

.exam-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 52px 56px;
  background: linear-gradient(135deg, var(--hero-top), var(--hero-bottom));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.exam-band::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 87, 255, 0.5), transparent 70%);
  pointer-events: none;
}

.exam-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.exam-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  max-width: 46ch;
}

.exam-band > * { position: relative; z-index: 1; }

.exam-band .btn { flex: none; }

.exam-meta {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.exam-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.exam-meta svg { width: 16px; height: 16px; color: var(--sky); }

/* ---------- Kapanış CTA ---------- */

.closing { text-align: center; padding: 96px 0 110px; }

.closing h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
}

.closing p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
}

.closing .note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ---------- Deneme sayfası ---------- */

.exam-hero {
  position: relative;
  text-align: center;
  padding: 80px 0 56px;
}

.exam-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(640px 380px at 50% -10%, rgba(49, 87, 255, 0.10), transparent 65%);
  pointer-events: none;
}

.exam-hero h1 {
  margin: 20px 0 14px;
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--heading);
}

.exam-hero p {
  margin: 0 auto 36px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 17.5px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 40px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 12px;
  box-shadow: var(--shadow-soft);
}

.stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.stat span { font-size: 13.5px; font-weight: 500; color: var(--muted); }

.exam-login-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

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

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(10, 109, 194, 0.10);
  color: var(--primary);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}

@media (prefers-color-scheme: dark) {
  .step-num { color: #59A9E8; }
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.015em;
}

.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

.premium-note {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 30px;
}

.premium-note .txt h3 {
  margin: 0 0 4px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--heading);
}

.premium-note .txt p { margin: 0; font-size: 14.5px; color: var(--muted); }

.premium-note .btn { flex: none; }

/* ---------- Yasal sayfalar ---------- */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 0 88px;
}

.legal h1 {
  margin: 14px 0 6px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
}

.legal .updated {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 36px;
}

.legal h2 {
  margin: 36px 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--heading);
}

.legal p, .legal li {
  font-size: 15.5px;
  color: var(--muted);
  margin: 0 0 12px;
}

.legal ul {
  padding-left: 22px;
  margin: 0 0 12px;
}

.legal li { margin-bottom: 8px; }

.legal li b, .legal p b { color: var(--text); font-weight: 600; }

.legal a { font-weight: 600; }

.legal .note-box {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 20px 0;
}

.legal .note-box p { margin: 0; font-size: 14.5px; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer .brand { font-size: 17px; }

.footer-tag {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 34ch;
}

.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.footer-links a:hover { color: var(--heading); }

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-sub { max-width: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .exam-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
  }
  .steps { grid-template-columns: 1fr; }
  .premium-note { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat b { font-size: 20px; }
  .stat span { font-size: 12px; }
  .nav-links { gap: 16px; }
  .nav-inner { gap: 16px; }
  .nav-hide-sm { display: none; }
  .nav .brand-word { display: none; }
  .hero-actions .btn { flex: 1; }
  .float-card { display: none; }
}
