/* ============================================================
   pages/home.css — ana sayfa bölümleri
   ============================================================ */

/* ---------- HERO (slider yerine değer önerisi) ---------- */
.hero{ padding:36px 0 8px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:34px; align-items:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:.04em; color:var(--primary-color);
  background:var(--primary-tint); padding:7px 13px; border-radius:var(--radius-pill); margin-bottom:18px;
}
.hero-eyebrow i{ color:var(--accent-color); }
.hero h1{ font-size:43px; line-height:1.08; letter-spacing:-.02em; margin-bottom:16px; }
.hero h1 .accent{ color:var(--accent-color); }
.hero-sub{ font-size:16px; color:var(--muted); max-width:480px; margin:0 0 24px; line-height:1.6; }

/* kumandanı bul kutusu */
.finder{
  background:#fff; border:1px solid var(--seperator-color); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm); padding:20px; max-width:520px;
}
.finder-label{ display:flex; align-items:center; gap:9px; font-weight:700; font-size:14px; color:var(--primary-color); margin-bottom:14px; }
.finder-label i{ color:var(--accent-color); }
.finder-row{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:10px; }
.finder-field label{ display:block; font-size:11.5px; font-weight:700; color:var(--muted); margin-bottom:5px; letter-spacing:.02em; }
.finder-field select, .finder-field input{
  width:100%; border:1px solid var(--seperator-dark-color); border-radius:9px;
  padding:11px 13px; font-family:inherit; font-size:14px; color:var(--ink); background:#fff; outline:none;
  transition:border-color .15s ease;
}
.finder-field select:focus, .finder-field input:focus{ border-color:var(--primary-color); }
.finder .btn{ margin-top:4px; }
.finder-foot{ margin-top:12px; font-size:12px; color:var(--muted); display:flex; align-items:center; gap:7px; }
.finder-foot i{ color:var(--success-color); }

/* hero görsel kompozisyonu — sistemin çalışmasını gösteren canlı sahne */
.hero-visual{ position:relative; }
.hero-stage{
  position:relative; aspect-ratio:1/1; border-radius:24px; isolation:isolate;
  background:radial-gradient(120% 120% at 70% 18%, #12386B 0%, #0A2750 58%, #06193D 100%);
  overflow:hidden; box-shadow:var(--shadow-lg); color:#fff;
}

/* drift eden aurora ışıkları */
.hero-aurora{ position:absolute; inset:-20%; z-index:0; pointer-events:none; }
.hero-aurora::before, .hero-aurora::after{ content:""; position:absolute; border-radius:50%; filter:blur(44px); }
.hero-aurora::before{ width:58%; height:58%; left:6%; top:52%; background:radial-gradient(circle, rgba(242,106,27,.7), transparent 70%); opacity:.6; animation:heroAuroraA 24s ease-in-out infinite alternate; }
.hero-aurora::after{ width:52%; height:52%; right:4%; top:4%; background:radial-gradient(circle, rgba(46,120,210,.55), transparent 70%); opacity:.55; animation:heroAuroraB 28s ease-in-out infinite alternate; }
@keyframes heroAuroraA{ from{ transform:translate(-4%,3%) scale(1.02);} to{ transform:translate(6%,-5%) scale(1.12);} }
@keyframes heroAuroraB{ from{ transform:translate(4%,-3%) scale(1.05);} to{ transform:translate(-6%,6%) scale(.96);} }

/* nokta dokusu — sönük taban */
.hero-grid-dots{ position:absolute; inset:0; z-index:1; background-image:radial-gradient(rgba(255,255,255,.12) 1.3px, transparent 1.4px); background-size:22px 22px; }

/* düzenli parlayan noktalar — yumuşak ışık nokta tarlasında gezinir */
.hero-dots-glow{
  position:absolute; inset:0; z-index:2; pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.95) 1.5px, transparent 1.7px);
  background-size:22px 22px;
  -webkit-mask:radial-gradient(circle 140px at 50% 50%, #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
  mask:radial-gradient(circle 140px at 50% 50%, #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
  -webkit-mask-size:280px 280px; mask-size:280px 280px;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  animation:dotGlow 15s ease-in-out infinite alternate;
}
@keyframes dotGlow{
  0%{   -webkit-mask-position:12% 18%; mask-position:12% 18%; }
  33%{  -webkit-mask-position:80% 28%; mask-position:80% 28%; }
  66%{  -webkit-mask-position:52% 84%; mask-position:52% 84%; }
  100%{ -webkit-mask-position:16% 58%; mask-position:16% 58%; }
}
.hero-stage[data-state="thinking"] .hero-dots-glow{ animation-duration:3.5s; }

/* durum etiketi */
.hero-status{
  position:absolute; top:16px; left:16px; z-index:5; display:inline-flex; align-items:center; gap:9px;
  max-width:calc(100% - 32px);
  background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  border-radius:999px; padding:8px 14px; font-size:12px; font-weight:600; color:#EAF1FB;
}
.hs-text{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hs-dot{ width:8px; height:8px; flex:0 0 auto; border-radius:50%; background:var(--accent-color); animation:hsPulse 1.6s ease-out infinite; }
@keyframes hsPulse{ 0%{ box-shadow:0 0 0 0 rgba(242,106,27,.55);} 100%{ box-shadow:0 0 0 9px rgba(242,106,27,0);} }
.hero-stage[data-state="thinking"] .hs-dot{ background:#F8A06A; }
.hero-stage[data-state="success"] .hs-dot{ background:#34D399; animation:none; }

/* merkez kompozisyon: cihaz → akış → kumanda */
.hero-match{ position:absolute; inset:0; z-index:3; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:0 8%; }
.hero-chip-device{
  display:inline-flex; align-items:center; gap:11px;
  background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  border-radius:16px; padding:10px 16px;
}
.hero-chip-device.swap{ animation:heroSwap .45s ease; }
@keyframes heroSwap{ 0%{ transform:scale(.9); opacity:.35;} 100%{ transform:scale(1); opacity:1;} }
.hc-ico{ width:30px; height:30px; color:#fff; display:block; }
.hc-ico svg{ width:100%; height:100%; display:block; }
.hc-name{ font-family:var(--font-head); font-weight:600; font-size:15px; }

/* veri akışı noktaları */
.hero-link{ display:flex; gap:8px; height:9px; align-items:center; }
.hero-link span{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.32); animation:heroFlow 1.4s ease-in-out infinite; }
.hero-link span:nth-child(2){ animation-delay:.18s; }
.hero-link span:nth-child(3){ animation-delay:.36s; }
@keyframes heroFlow{ 0%,100%{ background:rgba(255,255,255,.3); transform:translateY(0);} 50%{ background:var(--accent-color); transform:translateY(-3px);} }
.hero-stage[data-state="success"] .hero-link span{ background:#34D399; animation:none; }

/* kumanda + onay rozeti */
.hero-remote-wrap{ position:relative; }
.hero-remote-wrap .ph-remote{ width:92px; height:auto; color:#fff; filter:drop-shadow(0 12px 22px rgba(0,0,0,.32)); animation:heroFloat 5s ease-in-out infinite alternate; }
@keyframes heroFloat{ from{ transform:translateY(-5px);} to{ transform:translateY(7px);} }
.hero-check{
  position:absolute; right:-12px; bottom:8px; width:30px; height:30px; border-radius:50%;
  background:#21C177; color:#fff; display:flex; align-items:center; justify-content:center; font-size:14px;
  transform:scale(0); transition:transform .4s cubic-bezier(.34,1.56,.64,1);
  box-shadow:0 6px 14px rgba(33,193,119,.5); z-index:2;
}
.hero-stage[data-state="success"] .hero-check{ transform:scale(1); }

/* marka çipi */
.hero-brand-chip{
  position:absolute; bottom:18px; left:50%; transform:translateX(-50%); z-index:5;
  background:#fff; color:var(--primary-color); font-family:var(--font-head); font-weight:600; font-size:13px;
  padding:7px 16px; border-radius:999px; box-shadow:var(--shadow-md); white-space:nowrap;
}
.hero-brand-chip::before{ content:"Marka: "; color:var(--muted-soft); font-family:var(--font-body); font-weight:600; }

/* ====== sonuç ızgarası (seçim yapılınca) ====== */
.hero-results{
  position:absolute; inset:0; z-index:4; display:none;
  grid-template-columns:repeat(var(--cols,3),1fr);
  grid-template-rows:repeat(var(--rows,3),1fr);
  gap:9px; padding:54px 14px 14px;
}
.hero-stage[data-state="results"] .hero-match,
.hero-stage[data-state="results"] .hero-brand-chip{ display:none; }
.hero-stage[data-state="results"] .hero-results{ display:grid; }
/* sonuç ızgarası köşeleri kapanmasın diye yüzen rozetleri gizle */
.hero-visual.show-results .hero-float,
.hero-visual:has(.hero-stage[data-state="results"]) .hero-float{ opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s ease, visibility .2s; }

.hr-card{
  display:flex; flex-direction:column; align-items:center; gap:5px; min-height:0;
  background:#fff; border-radius:12px; padding:8px 7px; text-decoration:none; overflow:hidden;
  border:2px solid transparent; box-shadow:0 6px 16px rgba(0,0,0,.18);
  transition:transform .22s ease, box-shadow .22s ease, border-color .18s ease;
  animation:hrIn .38s ease both;
}
.hr-card:hover{ transform:translateY(-3px); box-shadow:0 12px 26px rgba(0,0,0,.26); border-color:var(--primary-tint-strong); }
.hr-img{
  flex:1 1 auto; width:100%; min-height:0; display:flex; align-items:center; justify-content:center;
  background:radial-gradient(120% 120% at 50% 22%, #fff 0%, #EEF2F7 100%); border-radius:8px;
}
.hr-img .ph-remote{ height:84%; width:auto; max-width:60%; color:var(--primary-color); }
.hr-name{
  flex:0 0 auto; font-size:10.5px; font-weight:700; color:var(--ink); text-align:center; line-height:1.2;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%;
}
.hr-price{ flex:0 0 auto; font-family:var(--font-head); font-size:11px; font-weight:700; color:var(--primary-color); }
.hr-tag{ position:absolute; top:5px; left:5px; font-size:8.5px; font-weight:800; color:#fff; background:var(--accent-color); border-radius:999px; padding:2px 7px; }
.hr-img{ position:relative; }
.hr-card.hr-best{ border-color:var(--accent-color); box-shadow:0 10px 24px rgba(242,106,27,.4); }
.hr-card.hr-best .hr-img{ background:radial-gradient(120% 120% at 50% 22%, #fff 0%, #FDEEE2 100%); }

/* "Hepsini gör" kartı */
.hr-card.hr-more{ justify-content:center; gap:3px; background:var(--primary-color); }
.hr-more-plus{ font-family:var(--font-head); font-size:20px; font-weight:800; color:#fff; line-height:1; }
.hr-more-txt{ font-size:11px; font-weight:700; color:#EAF1FB; }
.hr-more-arrow{ width:24px; height:24px; border-radius:50%; background:var(--accent-color); color:#fff; display:flex; align-items:center; justify-content:center; font-size:11px; margin-top:2px; transition:transform .18s ease; }
.hr-card.hr-more:hover{ transform:translateY(-3px); border-color:rgba(255,255,255,.4); }
.hr-card.hr-more:hover .hr-more-arrow{ transform:translateX(2px); }

/* iskelet (API beklerken) */
.hr-skel{ background:#fff; border-radius:12px; padding:8px 7px; display:flex; flex-direction:column; gap:6px; box-shadow:0 6px 16px rgba(0,0,0,.14); overflow:hidden; }
.hr-skel .sk-img{ flex:1 1 auto; min-height:0; border-radius:8px; }
.hr-skel .sk-line{ flex:0 0 auto; height:9px; border-radius:5px; width:78%; align-self:center; }
.hr-skel .sk-line.short{ width:46%; }
.sk-img, .sk-line{ background:linear-gradient(100deg,#EEF2F7 30%,#F7FAFD 50%,#EEF2F7 70%); background-size:220% 100%; animation:skShimmer 1.1s ease-in-out infinite; }
@keyframes skShimmer{ from{ background-position:180% 0; } to{ background-position:-40% 0; } }

/* daha az aday → isim büyür (yakınlaşma hissi) */
.hero-results[data-count="1"] .hr-name,
.hero-results[data-count="2"] .hr-name{ font-size:14px; white-space:normal; }
.hero-results[data-count="3"] .hr-name,
.hero-results[data-count="4"] .hr-name{ font-size:12px; }
@keyframes hrIn{ from{ opacity:0; transform:scale(.9); } to{ opacity:1; transform:scale(1); } }

@media (prefers-reduced-motion:reduce){
  .hero-aurora::before, .hero-aurora::after, .hero-dots-glow,
  .hero-remote-wrap .ph-remote, .hs-dot, .hero-link span, .hr-card, .sk-img, .sk-line{ animation:none !important; }
}

.hero-float{
  position:absolute; z-index:2; background:#fff; border-radius:14px; box-shadow:var(--shadow-md);
  padding:12px 14px; display:flex; align-items:center; gap:11px;
}
.hero-float .hf-ico{ width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:17px; }
.hero-float small{ display:block; font-size:11px; color:var(--muted); font-weight:600; }
.hero-float b{ font-size:14px; color:var(--primary-color); font-family:var(--font-head); }
.hero-float.f1{ top:18px; right:-10px; }
.hero-float.f1 .hf-ico{ background:var(--accent-tint); color:var(--accent-color); }
.hero-float.f2{ bottom:20px; left:-14px; }
.hero-float.f2 .hf-ico{ background:#E9F6EE; color:var(--success-color); }

@media (max-width:991px){
  .hero-grid{ grid-template-columns:1fr; gap:26px; }
  .hero h1{ font-size:34px; }
  .hero-visual{ display:none; }
  .finder{ max-width:none; }
}
@media (max-width:575px){
  .hero h1{ font-size:27px; }
  .finder-row{ grid-template-columns:1fr; }
}

/* ---------- Kategori kısayolları ---------- */
.cat-shortcuts{ display:grid; grid-template-columns:repeat(8,1fr); gap:12px; }
.cat-card{
  background:#fff; border:1px solid var(--seperator-color); border-radius:var(--radius);
  padding:16px 10px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px;
  transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.cat-card:hover{ border-color:var(--primary-tint-strong); box-shadow:var(--shadow-sm); transform:translateY(-3px); }
.cat-card .cc-ico{
  width:50px; height:50px; border-radius:14px; background:var(--primary-tint); color:var(--primary-color);
  display:flex; align-items:center; justify-content:center; font-size:22px;
  transition:background .16s ease, color .16s ease;
}
.cat-card:hover .cc-ico{ background:var(--accent-color); color:#fff; }
.cat-card b{ font-size:12.5px; font-weight:700; color:var(--ink); line-height:1.25; }
.cat-card small{ font-size:11px; color:var(--muted-soft); }
@media (max-width:991px){ .cat-shortcuts{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:575px){ .cat-shortcuts{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Ürün ızgarası ---------- */
.product-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.product-grid.cols-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:1100px){ .product-grid{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:900px){ .product-grid, .product-grid.cols-4{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:680px){ .product-grid, .product-grid.cols-4{ grid-template-columns:repeat(2,1fr); gap:12px; } }

/* carousel şeridindeki kart genişliği effect.css'te (.hscroll) tanımlı — tüm sayfalarda ortak */

/* ---------- Kampanya bantları ---------- */
.promo-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:18px; }
.promo-tile{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; padding:26px;
  min-height:184px; display:flex; flex-direction:column; justify-content:center; color:#fff;
  isolation:isolate;
}
.promo-tile::after{ content:""; position:absolute; inset:0; z-index:-1; }
.promo-tile.big{ background:linear-gradient(120deg,#06193D,#0E2F63); }
.promo-tile.big::after{ background:radial-gradient(circle at 88% 20%, rgba(242,106,27,.4), transparent 45%); }
.promo-tile.accent{ background:linear-gradient(135deg,#F26A1B,#d85a12); }
.promo-tile.dark{ background:linear-gradient(135deg,#15202B,#243341); }
.promo-tile .pt-eyebrow{ font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; opacity:.85; margin-bottom:9px; }
.promo-tile h3{ color:#fff; font-size:23px; line-height:1.15; margin-bottom:8px; }
.promo-tile.big h3{ font-size:29px; max-width:320px; }
.promo-tile p{ font-size:13.5px; opacity:.9; margin:0 0 16px; max-width:280px; }
.promo-tile .btn{ align-self:flex-start; }
.promo-tile .pt-deco{ position:absolute; right:-20px; bottom:-30px; font-size:150px; opacity:.10; transform:rotate(-12deg); }
@media (max-width:900px){ .promo-grid{ grid-template-columns:1fr 1fr; } .promo-tile.big{ grid-column:1/-1; } }
@media (max-width:575px){ .promo-grid{ grid-template-columns:1fr; } }

/* ---------- Marka şeridi ---------- */
.brand-strip{ background:#fff; border:1px solid var(--seperator-color); border-radius:var(--radius-lg); padding:22px 26px; }
.brand-strip-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.brand-strip-head h3{ font-size:16px; font-family:var(--font-body); font-weight:800; color:var(--ink); }
.brand-logos{ display:grid; grid-template-columns:repeat(8,1fr); gap:10px; }
.brand-chip{
  height:58px; border:1px solid var(--seperator-color); border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-weight:700; font-size:15px; color:var(--muted);
  letter-spacing:.01em; transition:color .15s ease, border-color .15s ease, background .15s;
}
.brand-chip:hover{ color:var(--primary-color); border-color:var(--primary-tint-strong); background:var(--light-gray); }
@media (max-width:900px){ .brand-logos{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:575px){ .brand-logos{ grid-template-columns:repeat(3,1fr); } }

/* ---------- Bilgi / SSS teaser ---------- */
.home-help{ background:var(--primary-tint); border-radius:var(--radius-lg); padding:30px; display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center; }
.home-help h3{ font-size:22px; margin-bottom:8px; }
.home-help p{ color:var(--muted); margin:0; max-width:520px; font-size:14.5px; }
.home-help .hh-actions{ display:flex; gap:10px; }
@media (max-width:680px){ .home-help{ grid-template-columns:1fr; } .home-help .hh-actions{ flex-direction:column; } }

/* ---------- Değer şeridi (nasıl çalışır) ---------- */
.steps-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.step-card{ background:#fff; border:1px solid var(--seperator-color); border-radius:var(--radius); padding:22px; display:flex; gap:15px; align-items:flex-start; }
.step-card .sc-num{ width:40px; height:40px; flex:0 0 auto; border-radius:11px; background:var(--primary-color); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:700; font-size:17px; }
.step-card h4{ font-size:15px; font-family:var(--font-body); font-weight:800; color:var(--ink); margin-bottom:5px; }
.step-card p{ font-size:13px; color:var(--muted); margin:0; line-height:1.5; }
@media (max-width:768px){ .steps-row{ grid-template-columns:1fr; } }
