/*
 * Yeni ana sayfa (as1120; templates/home_v2.php). Renkler site.css data-theme bloklarından (uygulamanın LightFixed / DarkFixed
 * paleti); burada yalnız yerleşim ve bileşen. Owner 20.11: "Kaliteni göster web tarafı üst düzey görünmeli premium ve CTA iş yapmalı".
 */

/* ---------- Bölüm ritmi (owner 20.11 aynen "diğer yerler aralar çok uzun ve bir standartı yok") ----------
   Tek ölçü: her bölümün üstünde ve altında --hv-sec; iki bölüm içeriği arası 2 x --hv-sec. Başlık bloğu ile içerik arası
   --hv-head. Kutulu bölüm (Örüntü) aynı ritimle, kendi iç boşluğu ayrı. */
:root[data-theme] { --hv-sec: 32px; --hv-head: 28px; } /* owner 20.11 "biraz daha daraltır mısın": 96 -> 64 px */
@media (max-width: 720px) { :root[data-theme] { --hv-sec: 24px; --hv-head: 22px; } }
:root[data-theme] .container > section { padding: var(--hv-sec) 0; }
:root[data-theme] .container > section.hv-oruntu { margin: var(--hv-sec) 0; padding: 56px 64px; }
@media (max-width: 980px) { :root[data-theme] .container > section.hv-oruntu { padding: 36px 24px; } }
:root[data-theme] .section-head { margin-bottom: var(--hv-head); }
:root[data-theme] .section-head .eyebrow { margin-bottom: 14px; }
:root[data-theme] .section-head h2 { margin-bottom: 12px; }
:root[data-theme] .container > footer { margin-top: var(--hv-sec); }

/* ---------- Düğmeler ---------- */
.hv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cta);
  color: var(--on-cta);
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 15.5px;
  letter-spacing: .1px;
  box-shadow: 0 12px 28px rgba(var(--gold-rgb), 0.30);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.hv-btn:hover { color: var(--on-cta); background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(var(--gold-rgb), 0.38); }
.hv-btn-lg { padding: 17px 34px; font-size: 17px; }
.hv-mobile-only { display: none; }

/* ---------- Giriş ---------- */
.hv-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 32px 0 calc(var(--hv-sec) - 20px); /* görselin kendi 20px alt payıyla tam --hv-sec */
}
.hv-hero h1 { font-size: clamp(46px, 6.2vw, 80px); line-height: 1.02; margin: 0 0 22px; letter-spacing: -1px; }
.hv-hero .lead { font-size: 19.5px; line-height: 1.6; color: var(--text-muted); max-width: 560px; margin: 0 0 30px; }
.hv-stores { margin: 0; }
.hv-trust {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 26px 0 0; padding: 0;
  font-size: 14px; color: var(--text-muted);
}
.hv-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hv-trust svg, .hv-plan svg { width: 18px; height: 18px; flex: none; color: var(--accent); }

.hv-hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.hv-halo {
  position: absolute; inset: 4% 8%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(var(--accent-rgb), 0.30), transparent 72%),
    radial-gradient(closest-side at 70% 70%, rgba(232, 165, 197, 0.35), transparent 70%);
  filter: blur(18px);
}
.hv-hero-visual .device { width: 100%; max-width: 330px; position: relative; z-index: 1; transform: rotate(2deg); transition: transform .5s ease; }
.hv-hero-visual:hover .device { transform: rotate(0) translateY(-6px); }
.hv-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface-soft);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-size: 14px; font-weight: 650;
  white-space: nowrap;
  animation: hv-float 7s ease-in-out infinite;
}
.hv-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--pink)); }
.hv-chip-1 { top: 12%; left: 2%; }
.hv-chip-2 { top: 34%; right: 0; animation-delay: -2s; }
.hv-chip-3 { bottom: 26%; left: -2%; animation-delay: -4s; }
.hv-chip-4 { bottom: 8%; right: 6%; animation-delay: -5.5s; }
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hv-chip { animation: none; } .hv-hero-visual .device { transition: none; } }

/* ---------- Ortak ---------- */
.hv-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hv-tag-lg { font-size: 13px; padding: 7px 14px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.10); border: 1px solid var(--gold-line); }

/* ---------- Örüntü ---------- */
section.hv-oruntu {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 64px;
  margin: 0;
  border-radius: 36px;
  background: linear-gradient(140deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.hv-oruntu h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; margin: 8px 0 20px; }
.hv-oruntu p { font-size: 17.5px; line-height: 1.7; color: var(--text); margin: 0 0 16px; }
.hv-oruntu .hv-btn { margin-top: 12px; }
.hv-timeline {
  margin: 0;
  padding: 30px 30px 18px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.hv-timeline figcaption { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--ink); margin-bottom: 18px; font-size: 15px; }
.hv-sample { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.10); color: var(--accent); }
.hv-timeline ol { list-style: none; margin: 0; padding: 0; position: relative; }
.hv-timeline ol::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 26px; width: 2px; background: linear-gradient(var(--border-strong), rgba(var(--accent-rgb), 0.5)); }
.hv-timeline li { position: relative; display: grid; grid-template-columns: 1fr; gap: 3px; padding: 0 0 22px 34px; }
.hv-timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent-soft); }
.hv-timeline li.is-next::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.16); }
.hv-when { font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--accent); }
.hv-event { font-weight: 650; color: var(--ink); font-size: 16px; }
.hv-sky { color: var(--text-muted); font-size: 14.5px; line-height: 1.5; }
.hv-timeline li.is-next .hv-sky { color: var(--text); }

/* ---------- Özellikler ---------- */
.hv-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hv-card {
  position: relative;
  padding: 30px 28px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.hv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-line); }
.hv-card h3 { font-family: 'Fraunces', Georgia, serif; font-size: 22px; line-height: 1.2; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.hv-card p { margin: 0; color: var(--text-muted); font-size: 15.5px; line-height: 1.6; }
.hv-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(var(--accent-rgb), 0.10); color: var(--accent); margin-bottom: 18px; }
.hv-icon svg { width: 24px; height: 24px; }

.hv-card-tarot {
  grid-column: span 2;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center;
  background: linear-gradient(150deg, #45306B 0%, #2B1D46 100%);
  border-color: rgba(214, 180, 106, 0.35);
}
.hv-card-tarot h3 { color: #FFFFFF; font-size: 28px; }
.hv-card-tarot p { color: #D6C6EE; }
.hv-card-tarot .hv-tag { color: #D6B46A; }
.hv-tarot { position: relative; height: 210px; }
.hv-tarot span {
  position: absolute; top: 14px; left: 50%;
  width: 108px; height: 168px; margin-left: -54px;
  display: grid; place-items: center;
  background: url('/assets/tarot_back.svg') center / 100% 100% no-repeat;
  border-radius: 15px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.38);
  transition: transform .35s ease;
}
.hv-tarot span img { width: 46%; height: auto; display: block; }
.hv-tarot span:nth-child(1) { transform: translateX(-62px) rotate(-14deg); }
.hv-tarot span:nth-child(3) { transform: translateX(62px) rotate(14deg); }
.hv-card-tarot:hover .hv-tarot span:nth-child(1) { transform: translateX(-78px) rotate(-18deg); }
.hv-card-tarot:hover .hv-tarot span:nth-child(2) { transform: translateY(-10px); }
.hv-card-tarot:hover .hv-tarot span:nth-child(3) { transform: translateX(78px) rotate(18deg); }

.hv-card-months { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; background: linear-gradient(160deg, var(--surface), var(--bg-2)); }
.hv-months { display: flex; flex-wrap: wrap; gap: 8px; }
.hv-months span {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 46px; padding: 9px 8px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.hv-months i { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
.hv-months span.is-key { color: var(--ink); border-color: var(--gold-line); }
.hv-months span.is-key i { background: linear-gradient(135deg, var(--accent), var(--pink)); width: 8px; height: 8px; }

/* ---------- Uygulamanın içinden ---------- */
.hv-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 1000px; margin: 0 auto; align-items: start; }
.hv-gallery figure { margin: 0; text-align: center; }
.hv-gallery .device { max-width: 280px; margin: 0 auto; transition: transform .3s ease; }
.hv-gallery figure:nth-child(2) .device { transform: translateY(-22px); }
.hv-gallery figure:hover .device { transform: translateY(-8px); }
.hv-gallery figcaption { margin-top: 18px; font-weight: 650; color: var(--ink); font-size: 16px; }
@media (max-width: 720px) {
  .hv-gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 10px 4px 20px; margin: 0 -4px; }
  .hv-gallery figure { scroll-snap-align: center; }
  .hv-gallery figure:nth-child(2) .device { transform: none; }
}

/* ---------- Ücretsiz ve Premium ---------- */
.hv-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.hv-plan { position: relative; padding: 34px 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.hv-plan h3 { font-family: 'Fraunces', Georgia, serif; font-size: 28px; font-weight: 600; color: var(--ink); margin: 0 0 20px; }
.hv-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hv-plan li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 16px; line-height: 1.5; }
.hv-plan li svg { margin-top: 2px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(var(--accent-rgb), 0.12); }
.hv-plan-prem { border: 2px solid var(--accent); background: linear-gradient(160deg, var(--surface) 30%, rgba(var(--accent-rgb), 0.08)); box-shadow: var(--shadow-md); }
.hv-plan-prem li svg { background: var(--accent); color: #FFFFFF; }
.hv-badge { position: absolute; top: -13px; right: 26px; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), #A8679F); color: #FFFFFF; font-size: 12px; font-weight: 700; letter-spacing: .6px; }
.hv-plan-foot { text-align: center; margin-top: 34px; }
.hv-plan-foot p { margin: 14px 0 0; color: var(--text-dim); font-size: 14px; }

/* ---------- Neden ---------- */
.hv-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hv-why-item { padding: 30px 28px; border-radius: 24px; background: var(--surface-soft); border: 1px solid var(--border); }
.hv-num { font-family: 'Fraunces', Georgia, serif; font-size: 34px; font-style: italic; background: linear-gradient(135deg, var(--accent), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hv-why-item h3 { font-size: 19px; color: var(--ink); margin: 10px 0 8px; }
.hv-why-item p { margin: 0; color: var(--text-muted); font-size: 15.5px; line-height: 1.6; }

/* ---------- Web araçları ---------- */
.hv-tools { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; }
.hv-tools a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--ink); font-weight: 600; font-size: 15px; transition: border-color .2s ease, transform .2s ease; }
.hv-tools a span { color: var(--accent); transition: transform .2s ease; }
.hv-tools a:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.hv-tools a:hover span { transform: translateX(3px); }

/* ---------- Son çağrı ---------- */
.hv-final {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 72px 40px;
  border-radius: 36px;
  background: linear-gradient(135deg, #8256AC 0%, #A8679F 100%);
  box-shadow: 0 30px 70px rgba(130, 86, 172, 0.35);
  color: #FFFFFF;
}
:root[data-theme="dark"] .hv-final { background: linear-gradient(135deg, #5E3D86 0%, #8256AC 100%); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.hv-final-moon { position: absolute; width: 380px; height: 380px; right: -90px; top: -110px; opacity: .22; pointer-events: none; }
.hv-final .eyebrow { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.35); color: #FFFFFF; }
.hv-final .eyebrow::before { background: #FFFFFF; box-shadow: none; }
.hv-final h2 { color: #FFFFFF; font-size: clamp(32px, 4vw, 50px); margin: 14px 0 14px; position: relative; }
.hv-final h2 em { background: none; -webkit-background-clip: initial; background-clip: initial; color: #FBE3EE; }
.hv-final p { color: rgba(255, 255, 255, 0.88); font-size: 18px; max-width: 560px; margin: 0 auto 28px; position: relative; }
.hv-final .cta-row { justify-content: center; position: relative; }
.hv-final .store-btn { background: #FFFFFF; color: #35264D; border-color: #FFFFFF; }
.hv-final .store-btn .small { color: rgba(53, 38, 77, 0.65); }
.hv-final .ms-qr figcaption { color: #FFFFFF; }
.hv-final .hv-btn { background: #FFFFFF; color: #6F4697; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18); }

/* ---------- Duyarlı ---------- */
@media (max-width: 980px) {
  .hv-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; text-align: left; }
  .hv-hero-visual .device { max-width: 290px; }
  section.hv-oruntu { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .hv-bento { grid-template-columns: 1fr 1fr; }
  .hv-card-tarot { grid-column: span 2; }
  .hv-why { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hv-mobile-only { display: flex; width: 100%; }
  .hv-hero .hv-stores, .hv-final .hv-stores { display: none; }
  .hv-hero h1 { font-size: 46px; }
  .hv-hero .lead { font-size: 17.5px; }
  .hv-chip-3, .hv-chip-4 { display: none; }
  .hv-chip { font-size: 13px; padding: 8px 13px; }
  .hv-bento { grid-template-columns: 1fr; }
  .hv-card-tarot { grid-column: auto; grid-template-columns: 1fr; }
  .hv-tarot { height: 190px; }
  .hv-plans { grid-template-columns: 1fr; }
  .hv-final { padding: 52px 22px; border-radius: 28px; }
}
