/* =====================================================================
   ASINScout Pro — SİTE TEMASI (anasayfa, fiyatlar, giriş/kayıt, blog, yasal)
   ---------------------------------------------------------------------
   premium.css'ten SONRA yüklenir. Panel temasıyla (panel.css) aynı dil:
   gece mavisi zemin, mor→mavi→camgöbeği vurgu, cam efektli kartlar.
   ===================================================================== */

:root {
  --bg:  #070a1d;
  --bg2: #0a0f26;
  --bg3: #111836;
  --bg-elev: #121a3b;

  --text:  #eef1ff;
  --text2: #9aa3c9;
  --text3: #5e6792;

  --orange: #7c83ff;   /* eski vurgu değişkeni -> indigo */
  --pink:   #a855f7;
  --blue:   #3b82f6;
  --cyan:   #22d3ee;
  --green:  #22c55e;
  --red:    #f43f5e;

  --border:  rgba(120,140,255,.14);
  --border2: rgba(120,140,255,.10);

  --grad-primary: linear-gradient(100deg, #8b5cf6 0%, #6366f1 40%, #3b82f6 70%, #22d3ee 100%);
  --grad-text:    linear-gradient(100deg, #c084fc 0%, #818cf8 45%, #22d3ee 100%);
  --grad-card:    linear-gradient(180deg, rgba(22,29,66,.78) 0%, rgba(12,17,42,.78) 100%);

  --glow-orange: 0 12px 36px -10px rgba(99,102,241,.7);
  --glow-pink:   0 12px 36px -10px rgba(168,85,247,.6);
  --shadow-lg:   0 30px 80px -30px rgba(0,0,0,.9);
}

body {
  background:
    radial-gradient(1100px 620px at 85% -10%, rgba(99,102,241,.20), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(139,92,246,.13), transparent 60%),
    radial-gradient(900px 600px at 110% 80%, rgba(34,211,238,.07), transparent 60%),
    var(--bg) !important;
  background-attachment: fixed !important;
  color: var(--text);
}
::selection { background: rgba(99,102,241,.35); color: #fff; }
* { scrollbar-color: #26305e transparent; }
*::-webkit-scrollbar-thumb { background: #26305e; background-clip: content-box; }

/* ============================ LOGO ============================ */
.logo { display: inline-flex !important; align-items: center; }
.logo-img { display: block; height: 38px; width: auto; }
footer .logo-img { height: 34px; }
.auth-container .logo { justify-content: center; width: 100%; margin-bottom: 34px !important; }
.auth-container .logo-img { height: 46px; }

/* ============================ NAV ============================ */
nav {
  background: rgba(7,10,29,.72) !important;
  border-bottom: 1px solid var(--border2) !important;
  backdrop-filter: saturate(160%) blur(18px);
}
.nav-links a:not(.btn):hover { color: #fff !important; }
.nav-links a:not(.btn)::after { background: var(--grad-primary) !important; }
.lang-btn { border-color: var(--border) !important; border-radius: 8px !important; }
.lang-btn:hover, .lang-btn.active { border-color: rgba(129,140,248,.6) !important; color: #fff !important; background: rgba(99,102,241,.18) !important; }

/* ============================ BUTONLAR ============================ */
.btn-primary, .announcement-btn {
  background: var(--grad-primary) !important; color: #fff !important; border: none !important;
  box-shadow: var(--glow-orange) !important;
}
.btn-primary:hover { box-shadow: 0 16px 42px -10px rgba(99,102,241,.9) !important; }
.btn-outline {
  background: rgba(255,255,255,.03) !important; border: 1px solid var(--border) !important; color: var(--text) !important;
  backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: rgba(129,140,248,.6) !important; color: #fff !important; background: rgba(99,102,241,.12) !important; }

/* ============================ BÖLÜMLER / KARTLAR ============================ */
.features, .pricing, .faq, .metrics { background: transparent !important; }
.features, .faq { position: relative; }
.section-title h2 { color: #fff; }
.section-title h2 span, .hero h1 span {
  background: var(--grad-text) !important; -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.feature-card, .price-card, .testimonial, .faq-item, .compare-wrap, .auth-card, .contact-card, .info-card, .card, .step-card {
  background: var(--grad-card) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 24px 60px -34px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter: blur(10px);
}
.feature-card:hover, .price-card:hover { border-color: rgba(129,140,248,.5) !important; box-shadow: 0 26px 60px -28px rgba(99,102,241,.55) !important; }
.feature-icon {
  background: linear-gradient(135deg, rgba(139,92,246,.35), rgba(59,130,246,.2)) !important;
  border: 1px solid rgba(139,92,246,.4); color: #c4b5fd; box-shadow: 0 10px 30px -12px rgba(139,92,246,.8);
}
.feature-icon svg { width: 26px; height: 26px; }
.step-number { border-color: rgba(129,140,248,.7) !important; color: #c7d2fe !important; background: rgba(17,24,54,.9) !important; box-shadow: 0 0 0 6px rgba(99,102,241,.08), 0 10px 30px -10px rgba(99,102,241,.7); }
.price-card.popular { border-color: rgba(129,140,248,.7) !important; box-shadow: 0 30px 70px -30px rgba(99,102,241,.8) !important; }
.price-card.popular::before { background: var(--grad-primary) !important; }
.price-credits, .price-features li::before { color: #4ade80 !important; }
.testimonial-avatar { background: var(--grad-primary) !important; color: #fff; }
.faq-item.open { border-color: rgba(129,140,248,.55) !important; }
.faq-q .chev { color: #818cf8 !important; }
.cta {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(99,102,241,.25), transparent 70%),
    linear-gradient(180deg, rgba(17,24,54,.6), rgba(7,10,29,.2)) !important;
  border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2);
}
.col-us-bg { background: linear-gradient(180deg, rgba(99,102,241,.14), rgba(34,211,238,.05)) !important; }
.compare-head .col-us { color: #a5b4fc !important; }

/* Form alanları (giriş/kayıt/iletişim) */
input:not([type=checkbox]):not([type=radio]), select, textarea {
  background: rgba(6,9,26,.75) !important; border-color: var(--border) !important; color: var(--text) !important;
}
input:focus, select:focus, textarea:focus { border-color: rgba(129,140,248,.7) !important; box-shadow: 0 0 0 3px rgba(99,102,241,.18) !important; outline: none; }
.free-badge { background: rgba(34,211,238,.1) !important; border-color: rgba(34,211,238,.35) !important; color: #67e8f9 !important; }
.auth-footer a, .terms a, .forgot-link, .auth-card a:not(.btn) { color: #93a4ff !important; }

/* Footer */
footer { border-top: 1px solid var(--border2) !important; background: linear-gradient(180deg, transparent, rgba(10,15,38,.6)); }
.footer-links a:hover { color: #a5b4fc !important; }
.metric b { background: var(--grad-text) !important; -webkit-background-clip: text !important; background-clip: text !important; }
.stat-value { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #818cf8; }

/* Yasal / içerik sayfaları */
.legal-content a, .content a, article a { color: #93a4ff; }
.sticky-cta { background: rgba(7,10,29,.9) !important; border-top: 1px solid var(--border) !important; }

/* ============================ ANASAYFA HERO ============================ */
.hero { isolation: isolate; }
.hero::before { /* ince ızgara + üstten ışık */
  width: 100% !important; height: 100% !important; left: 0 !important; transform: none !important; top: 0 !important;
  background:
    radial-gradient(700px 380px at 50% 8%, rgba(99,102,241,.28), transparent 70%),
    linear-gradient(rgba(120,140,255,.07) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(120,140,255,.07) 1px, transparent 1px) 0 0 / 56px 56px !important;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  z-index: -1;
}
.hero .container { position: relative; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; z-index: -1; animation: orbFloat 14s ease-in-out infinite; }
.orb-1 { width: 340px; height: 340px; background: #7c3aed; left: -120px; top: 60px; }
.orb-2 { width: 300px; height: 300px; background: #0891b2; right: -100px; top: 260px; animation-delay: -7s; opacity: .4; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-26px); } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; margin-bottom: 26px;
  border-radius: 999px; font-size: 14px; color: #c7d2fe; font-weight: 500;
  background: rgba(17,24,54,.7); border: 1px solid rgba(129,140,248,.35);
  box-shadow: 0 10px 30px -12px rgba(99,102,241,.7); backdrop-filter: blur(8px);
}
.hb-tag { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--grad-primary); }
.hero h1 { font-size: 62px !important; letter-spacing: -.04em; color: #fff; }
.hero p { color: var(--text2) !important; }

.browser-mock {
  background: linear-gradient(180deg, rgba(22,29,66,.9), rgba(10,14,36,.95)) !important;
  border: 1px solid rgba(129,140,248,.3) !important;
  box-shadow: 0 40px 100px -40px rgba(99,102,241,.9), 0 0 0 1px rgba(255,255,255,.02) inset !important;
}
.scan-count b { background: var(--grad-text) !important; -webkit-background-clip: text !important; background-clip: text !important; font-size: 26px !important; }
.scan-progress > i { background: linear-gradient(90deg, #8b5cf6, #3b82f6, #22d3ee) !important; box-shadow: 0 0 14px rgba(34,211,238,.6); }
.asin-row { background: rgba(99,102,241,.05) !important; border-color: rgba(120,140,255,.12) !important; }
.asin-row .ok { color: #4ade80 !important; }
.hero-stats .stat { padding: 18px 26px; border-radius: 16px; background: rgba(17,24,54,.45); border: 1px solid var(--border2); min-width: 170px; }
.flags span { filter: none; }

@media (max-width: 768px) {
  .hero h1 { font-size: 38px !important; }
  .hero-badge { font-size: 12px; }
  .orb-1, .orb-2 { width: 200px; height: 200px; }
  .hero-stats .stat { min-width: 0; }
}

/* ============================ NASIL ÇALIŞIR (yeni nesil) ============================ */
.how-it-works { position: relative; overflow: hidden; }
.how-it-works::before {
  content: ''; position: absolute; left: 50%; top: 55%; width: 900px; height: 420px; transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(99,102,241,.16), transparent); pointer-events: none;
}
.steps-v2 { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
/* kartları birbirine bağlayan akan ışık çizgisi */
.steps-v2::before {
  content: ''; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, rgba(139,92,246,.1), rgba(99,102,241,.55), rgba(34,211,238,.55), rgba(34,211,238,.1));
}
.steps-v2::after {
  content: ''; position: absolute; top: 55px; left: 12%; width: 90px; height: 8px; border-radius: 8px; z-index: 0;
  background: radial-gradient(closest-side, #a5f3fc, rgba(34,211,238,0));
  animation: stepFlow 3.6s cubic-bezier(.45,0,.55,1) infinite;
}
@keyframes stepFlow { 0% { left: 12%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(88% - 90px); opacity: 0; } }

.stp {
  position: relative; z-index: 1; overflow: hidden; text-align: left;
  padding: 30px 28px 26px; border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(22,29,66,.92), rgba(10,14,36,.92)) padding-box,
    linear-gradient(160deg, rgba(139,92,246,.55), rgba(120,140,255,.08) 40%, rgba(34,211,238,.35)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.stp:hover { transform: translateY(-8px); box-shadow: 0 40px 80px -36px rgba(99,102,241,.8), inset 0 1px 0 rgba(255,255,255,.06); }
.stp::after { /* üst köşe parıltısı */
  content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(99,102,241,.28), transparent); pointer-events: none; transition: opacity .4s;
  opacity: .6;
}
.stp:hover::after { opacity: 1; }
.stp-bg {
  position: absolute; right: 18px; bottom: -22px; font-size: 130px; font-weight: 900; line-height: 1; letter-spacing: -.06em;
  background: linear-gradient(180deg, rgba(129,140,248,.14), rgba(129,140,248,0)); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; pointer-events: none; user-select: none;
}
.stp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.stp-ic {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff;
  background: var(--grad-primary); box-shadow: 0 14px 34px -10px rgba(99,102,241,.95), inset 0 1px 0 rgba(255,255,255,.3);
  position: relative;
}
.stp-ic::before { content: ''; position: absolute; inset: -6px; border-radius: 20px; border: 1px solid rgba(129,140,248,.3); }
.stp-ic svg { width: 26px; height: 26px; }
.stp-no {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #a5b4fc; padding: 6px 12px; border-radius: 999px;
  background: rgba(99,102,241,.12); border: 1px solid rgba(129,140,248,.28);
}
.stp h3 { font-size: 21px !important; font-weight: 700; color: #fff; margin-bottom: 10px !important; letter-spacing: -.02em; }
.stp p { color: var(--text2) !important; font-size: 15px !important; line-height: 1.65; margin-bottom: 22px; }
.stp-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: #c7d2fe;
  background: rgba(6,9,26,.6); border: 1px solid rgba(120,140,255,.16);
}
.stp-chip i { width: 7px; height: 7px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 10px #22d3ee; }

@media (max-width: 900px) {
  .steps-v2 { grid-template-columns: 1fr; gap: 20px; max-width: 520px; margin-left: auto; margin-right: auto; }
  .steps-v2::before { top: 40px; bottom: 40px; left: 57px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(99,102,241,.6), rgba(34,211,238,.5)); }
  .steps-v2::after { display: none; }
}

/* ============================ FİYATLAR (sabit / karusel) ============================ */
.pricing-shell { position: relative; margin-top: 10px; }
.pricing-shell .pricing-grid { position: relative; }
.pr-nav, .pr-dots { display: none; }

/* <=3 paket: ortalanmış sabit ızgara */
.pr-static .pricing-grid {
  display: grid !important; overflow: visible !important; scroll-snap-type: none !important;
  grid-template-columns: repeat(var(--pr-count), minmax(0, 360px)); justify-content: center;
  gap: 26px; padding: 24px 0 10px !important;
}
.pr-static .price-card { flex: none !important; width: auto !important; }

/* 4+ paket: karusel — masaüstünde tam 3 kart görünür */
.pr-carousel { padding: 0 64px; }
.pr-carousel .pricing-grid {
  display: flex !important; gap: 24px; overflow-x: auto !important; scroll-snap-type: x mandatory;
  padding: 26px 4px 30px !important; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.pr-carousel .pricing-grid::-webkit-scrollbar { display: none; }
.pr-carousel .price-card { flex: 0 0 calc((100% - 48px) / 3) !important; scroll-snap-align: center; }
.pr-carousel .pr-nav {
  display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; color: #fff;
  background: rgba(17,24,54,.85); border: 1px solid rgba(129,140,248,.4); backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -10px rgba(99,102,241,.8); transition: opacity .2s, transform .2s, background .2s;
}
.pr-carousel .pr-nav:hover { background: rgba(99,102,241,.45); transform: translateY(-50%) scale(1.06); }
.pr-carousel .pr-nav svg { width: 22px; height: 22px; }
.pr-prev { left: 0; } .pr-next { right: 0; }
.pr-carousel.at-start .pr-prev, .pr-carousel.at-end .pr-next { opacity: .3; pointer-events: none; }
.pr-carousel + .pr-dots, .pricing-shell.pr-carousel ~ .pr-dots { display: flex; }
.pr-dots { justify-content: center; gap: 8px; margin-top: 6px; }
.pr-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; cursor: pointer; background: rgba(129,140,248,.3); transition: width .3s, background .3s; }
.pr-dots button.on { width: 26px; background: linear-gradient(90deg, #8b5cf6, #22d3ee); }
.scroll-hint { color: #a5b4fc !important; }

@media (max-width: 1100px) {
  .pr-carousel .price-card { flex-basis: calc((100% - 24px) / 2) !important; }
}
@media (max-width: 899px) {
  .pr-carousel { padding: 0; }
  .pr-carousel .pr-nav { display: none; }
  .pr-carousel .pricing-grid { padding: 26px 7.5% 30px !important; -webkit-mask-image: none; mask-image: none; }
  .pr-carousel .price-card { flex-basis: 85% !important; }
}
