/* Ovena — site stilleri.
   Palet uygulamanın kendi "Nocturnal" kimliğinden birebir alındı
   (IVFMate/Design/Nocturnal.swift): zemin #241B46→#08060F, stimülasyon
   moru #A78BFA, trigger kehribarı #FBBF24, metin #EDE9FF, kadran yolu
   #1B1630. Site tek bir görsel dünyaya bağlanıyor — tema değiştirme yok,
   uygulama da gece. */

@import url("https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700&family=Karla:ital,wght@0,400;0,500;1,400&display=swap");

:root {
  --top: #241B46;
  --bottom: #08060F;
  --track: #1B1630;
  --ink: #EDE9FF;
  --ink-2: rgba(237, 233, 255, 0.62);
  --ink-3: rgba(237, 233, 255, 0.42);
  --violet: #A78BFA;
  --violet-deep: #6D5BD0;
  --amber: #FBBF24;
  --rose: #FB7185;
  --card: rgba(237, 233, 255, 0.035);
  --line: rgba(237, 233, 255, 0.10);
  --radius: 20px;
  --display: Gabarito, ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: Karla, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at 50% 0%, var(--top) 0%, var(--bottom) 68%) no-repeat, var(--bottom);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }

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

.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0 8px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand strong { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover { color: var(--violet); }

/* ---------- halka: uygulamanın kendi metaforu ---------- */

.ring { position: relative; flex-shrink: 0; }
.ring .glow, .ring .base, .ring .arc { position: absolute; inset: 0; border-radius: 50%; }
.ring .glow {
  background: radial-gradient(circle, rgba(167,139,250,0.34) 0%, rgba(167,139,250,0.10) 46%, rgba(167,139,250,0) 70%);
  transform: scale(1.22);
}
.ring .base { background: var(--track); }
.ring .arc { background: conic-gradient(from -90deg, var(--violet-deep) 0turn, var(--violet) var(--sweep, 0.72turn), transparent var(--sweep, 0.72turn)); }
.ring .base, .ring .arc {
  -webkit-mask: radial-gradient(circle, transparent 0 var(--hole), #000 var(--hole));
  mask: radial-gradient(circle, transparent 0 var(--hole), #000 var(--hole));
}
.ring .dot {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: rotate(calc(var(--sweep, 0.72turn) * 1));
}
.ring .dot i {
  position: absolute; display: block; border-radius: 50%; background: var(--amber);
  width: var(--dot); height: var(--dot);
  left: calc(var(--dot) / -2); top: calc(var(--r) * -1 - var(--dot) / 2);
  box-shadow: 0 0 calc(var(--dot) * 1.6) calc(var(--dot) * 0.25) rgba(251,191,36,0.55);
}

/* mark: küçük ikon, üst çubukta */
.mark { --hole: 10px; --r: 15px; --dot: 5px; width: 30px; height: 30px; }

/* hero halkası nefes alır — 24 saniyede bir tur, göz yormayan yavaşlıkta */
.hero-ring { --hole: 84px; --r: 112px; --dot: 20px; width: 224px; height: 224px; }
.hero-ring .arc, .hero-ring .dot { animation: fill 24s cubic-bezier(.36,.06,.2,1) infinite; }
@keyframes fill { 0% { --sweep: 0.04turn; } 62% { --sweep: 0.72turn; } 100% { --sweep: 0.04turn; } }
@property --sweep { syntax: "<angle>"; inherits: true; initial-value: 0.72turn; }
@media (prefers-reduced-motion: reduce) { .hero-ring .arc, .hero-ring .dot { animation: none; } }

/* ---------- hero ---------- */

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding: 58px 0 20px; }
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(34px, 6.4vw, 54px); line-height: 1.08;
  letter-spacing: -0.025em; margin: 0; max-width: 15ch; text-wrap: balance;
}
.hero p { margin: 0; color: var(--ink-2); font-size: 19px; max-width: 46ch; text-wrap: pretty; }
.free {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); background: var(--card);
}
.free b { color: var(--amber); font-weight: 600; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.button {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-family: var(--display); font-weight: 500; font-size: 16px;
  background: var(--violet); color: #14102A;
  transition: transform .16s ease, box-shadow .16s ease;
  box-shadow: 0 6px 30px -10px rgba(167,139,250,0.8);
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 34px -10px rgba(167,139,250,0.95); }
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.button.ghost:hover { border-color: var(--violet); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

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

section { padding: 60px 0; }
h2 {
  font-family: var(--display); font-weight: 600; font-size: clamp(25px, 3.6vw, 32px);
  letter-spacing: -0.02em; margin: 0 0 10px; text-wrap: balance;
}
.sub { color: var(--ink-2); margin: 0 0 30px; max-width: 52ch; text-wrap: pretty; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { font-family: var(--display); font-weight: 600; font-size: 17px; margin: 14px 0 7px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; text-wrap: pretty; }
.card svg { display: block; }

.never { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--card); }
.never ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.never li { display: flex; gap: 13px; align-items: baseline; color: var(--ink-2); text-wrap: pretty; }
.never li b { color: var(--ink); font-weight: 500; }
.never li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); opacity: .8; transform: translateY(-2px); }

.quiet { text-align: center; padding: 70px 0 40px; }
.quiet p { color: var(--ink-2); max-width: 44ch; margin: 0 auto; font-size: 18px; text-wrap: pretty; }
.quiet em { color: var(--ink); font-style: italic; }

/* ---------- belge sayfaları ---------- */

.doc { padding: 40px 0 20px; max-width: 68ch; }
.doc h1 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 5vw, 40px); letter-spacing: -0.02em; margin: 0 0 8px; }
.doc .updated { color: var(--ink-3); font-size: 14px; margin: 0 0 34px; }
.doc h2 { font-size: 21px; margin: 38px 0 10px; }
.doc p, .doc li { color: var(--ink-2); text-wrap: pretty; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.doc a { color: var(--violet); }
.doc .lede { color: var(--ink); font-size: 19px; }
.fill { color: var(--amber); border-bottom: 1px dashed var(--amber); }

/* ---------- alt bilgi ---------- */

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 60px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; gap: 20px; font-size: 15px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--violet); }
.foot small { color: var(--ink-3); font-size: 13.5px; }
.disclaimer { color: var(--ink-3); font-size: 13.5px; margin: 18px 0 0; max-width: 62ch; text-wrap: pretty; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 34px; }
  .top nav { gap: 14px; font-size: 14px; }
}
