/* ArbitrageRadar PRO — site styles
   Theme is driven by [data-theme="light"|"dark"] on <html>.

   Design language: dark-first premium fintech. Brand green accent, radar motif,
   bento feature grid, glass nav, ambient depth. Satoshi (display + body) +
   JetBrains Mono (prices, numeric data). */

:root {
  --font-sans: 'Satoshi', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  /* 2026-09-12 perf: font-weight 800 KULLANILMIYOR. Satoshi 400/500/700/900
     yükleniyor; 800 istendiğinde tarayıcı sentetik kalın üretiyordu (kalitesiz).
     Kodda 800 geçen her yer 700'e eşlendi — ek font dosyası indirmeden düzeldi. */
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --brand:        #2BA189;  /* AR PRO badge green */
  --brand-2:      #34d399;  /* profit / live accent (semantic) */
  --brand-deep:   #0f3b34;
  --green:        #10b981;
  --red:          #f87171;
  /* Purple is reserved for the semantic cross-pair flag (matches the app). */
  --purple:       #7c3aed;
  --purple-bg:    rgba(124,58,237,0.10);
  --purple-bd:    rgba(124,58,237,0.28);
  --purple-tx:    rgba(120,80,220,0.95);

  --radius-btn:   12px;
  --radius-card:  16px;
  --radius-box:   20px;

  /* Light defaults */
  --bg:           #f6f7f9;
  --bg-2:         #ffffff;
  --bg-elev:      #ffffff;
  --text:         #0b1220;
  --text-soft:    #46566b;
  --text-fade:    #8b9bb0;
  --hair:         #e3e8ee;
  --hair-2:       #eef1f5;
  --shadow-lg:    0 30px 80px -20px rgba(11,27,46,0.16), 0 10px 30px -10px rgba(11,27,46,0.08);
  --shadow-md:    0 12px 32px -8px rgba(11,27,46,0.09), 0 4px 10px -4px rgba(11,27,46,0.05);
  --shadow-sm:    0 6px 18px -6px rgba(11,27,46,0.09);
  --nav-bg:       rgba(255,255,255,0.68);
  --nav-bd:       rgba(11,27,46,0.07);
  --grain-opacity: 0.028;
}

[data-theme="dark"] {
  --bg:           #090d12;
  --bg-2:         #0c1117;
  --bg-elev:      #10161e;
  --text:         #e8ecf1;
  --text-soft:    #aebbcb;
  --text-fade:    #5e6e82;
  --hair:         #1d2733;
  --hair-2:       #141b24;
  --shadow-lg:    0 30px 80px -10px rgba(0,0,0,0.6), 0 10px 30px -10px rgba(0,0,0,0.4);
  --shadow-md:    0 14px 36px -10px rgba(0,0,0,0.55);
  --shadow-sm:    0 6px 18px -6px rgba(0,0,0,0.5);
  --nav-bg:       rgba(9,13,18,0.62);
  --nav-bd:       rgba(255,255,255,0.06);
  --grain-opacity: 0.04;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }

html, body { background: var(--bg); color: var(--text); }
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-sans);
  font-feature-settings: 'ss01','cv11';
  letter-spacing: -0.005em;
}

/* Fixed grain overlay — breaks digital flatness. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgba(43,161,137,0.25); }

.font-display {
  font-family: var(--font-sans);
  letter-spacing: -0.035em;
  font-weight: 900;
}

.eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-fade); font-weight: 700;
  font-family: var(--font-mono);
}

.dotpulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2);
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: dotpulse 1.6s ease-out infinite;
  display: inline-block;
}
@keyframes dotpulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
@media (prefers-reduced-motion: reduce) { .dotpulse { animation: none; } }

/* ============================== FLUID SYSTEM ============================== */
.section-pad { padding-block: clamp(72px, 10vw, 136px); }

.t-h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--text);
}
.t-h3 {
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
}
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-fade);
}

/* ============================== BUTTONS ============================== */
.btn-brand {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff;
  border-radius: var(--radius-btn);
  font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(43,161,137,0.5), inset 0 1px 0 rgba(255,255,255,0.14);
  transition: transform .2s cubic-bezier(0.16,1,0.3,1), box-shadow .2s ease, background .2s ease;
}
.btn-brand:hover {
  background: #259178;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -8px rgba(43,161,137,0.55), inset 0 1px 0 rgba(255,255,255,0.14);
}
.btn-brand:active { transform: translateY(0) scale(0.98); }

/* ============================== BENTO / CARDS ============================== */
.bento-cell {
  position: relative;
  border-radius: var(--radius-box);
  border: 1px solid var(--hair);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3.2vw, 40px);
  min-width: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: var(--bg);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  max-width: 100%;
}
.chip > span { overflow: hidden; text-overflow: ellipsis; }

.snap-row {
  display: flex; gap: 8px; overflow-x: auto;
  scroll-snap-type: x proximity; padding-bottom: 6px;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.snap-row > * { scroll-snap-align: start; flex-shrink: 0; }

/* Alerts stage — phone rises from cell bottom edge; lower half clipped. */
.alerts-stage {
  position: relative;
  height: clamp(330px, 34vw, 410px);
  overflow-x: visible;
  overflow-y: clip;
  display: flex;
  justify-content: center;
  margin-bottom: calc(-1 * clamp(20px, 3.2vw, 40px));
}
.alerts-stage::after {
  content: '';
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 72px;
  background: linear-gradient(to top, var(--bg-elev), transparent);
  pointer-events: none; z-index: 40;
}

/* CTA wordmark — container-query scaled so the PRO chip never overflows. */

/* ============================== MATCH CARD ============================== */
.ar-card {
  position: relative;
  border-radius: var(--radius-card);
  padding: 10px 12px;
  border: 1px solid var(--hair);
  background: var(--bg-elev);
  color: var(--text);
  box-shadow: var(--shadow-md);
  width: 340px;
  overflow: hidden;
  font-family: var(--font-sans);
  transition: transform .35s cubic-bezier(0.16,1,0.3,1), box-shadow .35s ease, border-color .35s ease;
}
.ar-card:hover { transform: translateY(-2px); border-color: rgba(43,161,137,0.35); }
.ar-card-dark {
  background: #0c1117;
  color: #e8ecf1;
  border-color: #1d2733;
  box-shadow: 0 14px 36px -10px rgba(0,0,0,0.55);
}
.ar-card-compact { width: 324px; padding: 9px 11px; border-radius: 14px; }

.ar-flash {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--flash, transparent);
  transition: background .55s ease;
  border-radius: inherit;
}
.ar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; position: relative; }
.ar-head-l { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ar-coin { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.ar-card-compact .ar-coin { font-size: 15px; }
.ar-pair {
  border-radius: 6px; padding: 3px 7px;
  border: 1px solid var(--hair); background: var(--hair-2);
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--text-soft);
  font-family: var(--font-mono);
}
.ar-card-dark .ar-pair { background: #141b24; border-color: #1d2733; color: #8b9bb0; }
.ar-pair.ar-pair-cross { background: var(--purple-bg); border-color: var(--purple-bd); color: var(--purple-tx); }
.ar-head-r { display: flex; align-items: center; gap: 10px; position: relative; }
.ar-profit {
  font-size: 15px; font-weight: 700; color: var(--green);
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.ar-card-compact .ar-profit { font-size: 13.5px; }
.ar-profit.neg { color: var(--red); }
.ar-star { font-size: 18px; color: #c7ccd3; }
.ar-card-dark .ar-star { color: #4b5563; }
.ar-bell { position: relative; display: inline-block; width: 22px; text-align: center; font-size: 16px; filter: grayscale(1) opacity(0.85); }
.ar-bell-strike { position: absolute; left: 0; right: 0; top: 11px; height: 2.5px; background: #FF2020; border-radius: 1.5px; transform: rotate(35deg); }
.ar-divider { height: 1px; background: var(--hair-2); margin-bottom: 7px; }
.ar-card-dark .ar-divider { background: #141b24; }

.ar-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 5px; position: relative; }
.ar-badge {
  width: 44px; text-align: center; border-radius: 6px; padding: 3px 0;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; border: 1px solid;
  font-family: var(--font-mono);
}
.ar-buy  { color: #10b981; background: rgba(16,185,129,0.10);  border-color: rgba(16,185,129,0.22); }
.ar-sell { color: #ef4444; background: rgba(239,68,68,0.10);   border-color: rgba(239,68,68,0.22); }
.ar-main { flex: 1; min-width: 0; }
.ar-line { display: flex; align-items: center; gap: 6px; }
.ar-line-meta { margin-top: 1px; }
.ar-exch { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; letter-spacing: -0.005em; }
.ar-exch > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-card-compact .ar-exch { font-size: 13px; }
.ar-price {
  font-size: 13.5px; font-weight: 600; white-space: nowrap; margin-left: auto;
  font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
}
.ar-card-compact .ar-price { font-size: 12.5px; }
.ar-sym { flex: 1; font-size: 11.5px; color: var(--text-fade); letter-spacing: 0; font-family: var(--font-mono); }
.ar-vol { font-size: 11.5px; color: var(--text-fade); white-space: nowrap; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ar-orig { font-size: 11.5px; color: var(--text-fade); margin-right: 4px; white-space: nowrap; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ============================== NAV — floating glass pill ============================== */
.ar-nav {
  position: sticky; top: 0; z-index: 50;
  padding: 10px 12px 4px;
  background: transparent;
}
.ar-nav-inner {
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid var(--nav-bd);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

/* ============================== iPHONE FRAME ============================== */
.iphone-frame {
  position: relative;
  border-radius: 56px;
  padding: 12px;
  background: linear-gradient(155deg, #4a4744 0%, #2a2826 28%, #1a1816 58%, #3c3936 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.09),
    inset 0 0 0 2.5px #0a0908,
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 70px 110px -30px rgba(0,0,0,0.55),
    0 24px 60px -20px rgba(0,0,0,0.4);
}
[data-theme="light"] .iphone-frame {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.10),
    inset 0 0 0 2.5px #0a0908,
    inset 0 1px 0 rgba(255,255,255,0.20),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 70px 110px -30px rgba(11,27,46,0.28),
    0 24px 60px -20px rgba(11,27,46,0.18);
}
.iphone-frame::before, .iphone-frame::after {
  content: ''; position: absolute;
  background: linear-gradient(90deg, #1a1816, #3a3633, #1a1816);
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.5);
}
.iphone-frame::after { right: -1.5px; top: 27%; width: 3px; height: 90px; border-radius: 2px; }
.iphone-frame::before {
  left: -1.5px; top: 22%; width: 3px; height: 60px; border-radius: 2px;
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.5), 0 78px 0 0 #2a2624, 0 90px 0 0 #2a2624, 0 100px 0 0 #2a2624;
}
.iphone-screen { position: relative; border-radius: 46px; overflow: hidden; background: #fff; width: 100%; height: 100%; }
.iphone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 112px; height: 32px; background: #000; border-radius: 20px; z-index: 3; box-shadow: 0 0 0 2px #0a0908; }
.iphone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
/* iOS home indicator (2026-10-05). Ekran görüntüsünün altına biniyor; altta
   yumuşak bir karartma var ki açık içerikli ekranlarda da görünsün. */
.iphone-home {
  position: absolute; left: 50%; bottom: 7px;
  transform: translateX(-50%);
  width: 34%; height: 5px; border-radius: 999px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 0 6px 2px rgba(0,0,0,0.35);
  z-index: 4; pointer-events: none;
}

/* ============================== iPhone AURA — breathing radial glow ============================== */

@keyframes auraBreathe { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: 0.82; } }

/* Alert-popup breathing pulse: centers (translateX -50%) AND pulses 1.0→1.1. */
@keyframes alertPopupPulse {
  0%, 100% { transform: translateX(-50%) scale(1);   }
  50%      { transform: translateX(-50%) scale(1.1); }
}
.alert-popup-pulse {
  animation: alertPopupPulse 2.4s ease-in-out infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .alert-popup-pulse { animation: none; transform: translateX(-50%) scale(1); }
}

/* Feature-C mockup gentle fade-in + pop when scrolled into view */
@keyframes fadeInPop {
  0%   { opacity: 0; transform: scale(0.92); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}
.fadein-pop { opacity: 0; transform: scale(0.92); will-change: transform, opacity; }
.fadein-pop.is-visible { animation: fadeInPop 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@media (prefers-reduced-motion: reduce) {
  .fadein-pop, .fadein-pop.is-visible { opacity: 1; transform: none; animation: none; }
}

/* CTA App Store mockup slide-in from left when scrolled into view */
@keyframes ctaSlideInLeft {
  0%   { transform: translateX(-80px); opacity: 0; }
  100% { transform: translateX(0);     opacity: 1; }
}

/* ============================== RADAR MOTIF (hero) ============================== */
/* Hero: telefonun arkasında ortadan yayılan marka yeşili gradyan.
   (2026-09-12, kullanıcı isteği.) Geçmiş: ilk denemede aynı fikir fazla dozda
   uygulanmıştı ve halka gibi okunuyordu. Bu kez ambient ışık gibi davranması
   için üç ayar: geniş yayılım (telefondan belirgin taşar), düşük tepe opaklık,
   ve sert kenar bırakmayan iki kademeli sönüm. Statik — animasyon yok. */
.hero-glow {
  position: absolute;
  top: 46%; left: 50%;
  width: min(780px, 135%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(43,161,137,0.26) 0%, rgba(43,161,137,0.13) 34%, rgba(43,161,137,0.04) 56%, transparent 72%);
}
[data-theme="light"] .hero-glow {
  background:
    radial-gradient(circle at 50% 50%, rgba(43,161,137,0.20) 0%, rgba(43,161,137,0.10) 34%, rgba(43,161,137,0.03) 56%, transparent 72%);
}
@media (max-width: 640px) {
  .hero-glow { width: min(520px, 128%); }
}
/* ============================== HERO ENTRY + FLOAT ============================== */
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.hero-enter > * { animation: heroRise 0.7s cubic-bezier(0.16,1,0.3,1) both; }
.hero-enter > *:nth-child(1) { animation-delay: 0.05s; }
.hero-enter > *:nth-child(2) { animation-delay: 0.14s; }
.hero-enter > *:nth-child(3) { animation-delay: 0.24s; }
.hero-enter > *:nth-child(4) { animation-delay: 0.32s; }
.hero-enter > *:nth-child(5) { animation-delay: 0.40s; }
.hero-enter > *:nth-child(6) { animation-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) { .hero-enter > * { animation: none; } }

/* ============================== HERO BACKDROP ============================== */
.hero-backdrop { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; will-change: transform; }
.hero-blob-1 {
  width: 720px; height: 720px; right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(43,161,137,0.5), transparent 65%);
  animation: blobDrift1 22s ease-in-out infinite;
}
.hero-blob-2 {
  width: 600px; height: 600px; left: -160px; bottom: -200px;
  background: radial-gradient(circle, rgba(70,86,107,0.28), transparent 65%);
  animation: blobDrift2 26s ease-in-out infinite;
}
[data-theme="dark"] .hero-blob-1 { opacity: 0.42; }
[data-theme="dark"] .hero-blob-2 { opacity: 0.3; background: radial-gradient(circle, rgba(43,161,137,0.16), transparent 65%); }
@keyframes blobDrift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,30px) scale(1.08); } }
@keyframes blobDrift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .hero-blob-1, .hero-blob-2 { animation: none; } }

/* ============================== FEATURE CARD IDENTITIES ============================== */
.card-ink, .bento-cell.card-ink {
  --text:       #f4f3fa;
  --text-soft:  rgba(224,221,240,0.85);
  --text-fade:  rgba(224,221,240,0.6);
  --hair:       rgba(255,255,255,0.16);
  --hair-2:     rgba(255,255,255,0.09);
  --bg:         rgba(255,255,255,0.07);
  --bg-elev:    rgba(255,255,255,0.09);
  background:
    radial-gradient(700px 460px at 110% -20%, rgba(139,92,246,0.5), transparent 60%),
    radial-gradient(480px 340px at -15% 115%, rgba(124,58,237,0.22), transparent 60%),
    linear-gradient(150deg, #1b1730 0%, #100d1d 58%, #171229 100%);
  border: 1px solid rgba(167,139,250,0.28);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), var(--shadow-md);
}
.card-meadow, .bento-cell.card-meadow {
  background:
    radial-gradient(640px 420px at -10% 120%, rgba(43,161,137,0.28), transparent 62%),
    linear-gradient(0deg, rgba(43,161,137,0.05), rgba(43,161,137,0.05)),
    var(--bg-elev);
  border-color: rgba(43,161,137,0.28);
}
[data-theme="dark"] .card-meadow, [data-theme="dark"] .bento-cell.card-meadow {
  background:
    radial-gradient(640px 420px at -10% 120%, rgba(43,161,137,0.16), transparent 62%),
    linear-gradient(150deg, #0e1a17 0%, #0c1117 60%, #0d1614 100%);
  border-color: rgba(43,161,137,0.18);
}

/* ============================== CTA COLOR-BLOCK PANEL ============================== */

/* Live background — rotating radar sweep + drifting green aura behind content. */

@keyframes ctaSweep { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ctaAura {
  0%, 100% { transform: translate(0, 0) scale(1);    opacity: 0.9; }
  50%      { transform: translate(-40px, 30px) scale(1.12); opacity: 0.6; }
}

/* ============================== EXCHANGE WALL ============================== */
/* Integrations-style logo wall: one bordered panel, dense uniform logo cells,
   monochrome by default → full color + lift on hover. Logos carry the section;
   each cell links to the venue's site. Compact and refined, not a name list. */
.ex-wall {
  border: 1px solid var(--hair);
  border-radius: var(--radius-box);
  background: var(--bg-elev);
  overflow: hidden;
  /* inner hairline grid via gap showing the panel bg */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 1px;
  background-color: var(--hair);
}
.ex-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 104px;
  padding: 16px 10px;
  background: var(--bg-elev);
  color: var(--text-soft);
  text-decoration: none;
  text-align: center;
  transition: background .2s ease, color .2s ease, transform .2s cubic-bezier(0.16,1,0.3,1);
}
.ex-cell:hover { background: var(--bg-2); color: var(--text); }
.ex-cell:focus-visible { outline-offset: -2px; }
.ex-logo {
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter .2s ease, opacity .2s ease, transform .2s cubic-bezier(0.16,1,0.3,1);
}
.ex-cell:hover .ex-logo { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }
.ex-cell .ex-name {
  font-size: 11.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (prefers-reduced-motion: reduce) {
  .ex-cell, .ex-logo { transition: none; }
  .ex-cell:hover .ex-logo { transform: none; }
}
/* Mobil borsa duvarı (2026-10-04, kullanıcı: "satıra 3 değil 5 sığsın,
   kareler küçülsün, çerçeveler çok boşluklu, sütunda çok uzun").
   ÖLÇÜM: 53 borsa × minmax(112px) → 390px'te 3 sütun = 18 satır ≈ 1.900px
   yüksekliğinde bir blok. 5 sütun + sıkı hücre = 11 satır ≈ 800px.
   Hücre genişliği 390px'te (350 - 4px gap) / 5 = 69px.
   Eşik 639 değil 767px: 640'ta ölçtüğümde duvar eski uzun hücreye (104px)
   dönüp 1.051px'e çıkıyordu. 767'de 5 sütun = 145px hücre, hâlâ düzgün. */
@media (max-width: 767px) {
  .ex-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ex-cell {
    min-height: 0;
    padding: 10px 3px 9px;
    gap: 5px;
  }
  /* Logo ölçüsü JSX'te inline geliyor (MiniExchangeLogo size=30), mobilde
     küçültmenin tek yolu !important. 30 → 24px. */
  .ex-logo img, .ex-logo > span {
    width: 24px !important; height: 24px !important; font-size: 12px !important;
  }
  /* 69px hücrede nowrap+ellipsis "Mercado Bitcoin"i "Merc…"e çeviriyordu;
     iki satıra izin verip kırpmayı 2. satırda yapıyoruz. */
  .ex-cell .ex-name {
    font-size: 10px; line-height: 1.15; letter-spacing: -0.015em;
    white-space: normal; word-break: break-word;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    text-overflow: clip;
  }
}

/* ============================== KÜNYE (FOOTER) ============================== */
/* Mobil künye yerleşimi (2026-10-05). Kullanıcı: "desteği sağa, yasalın altına
   al; share app'i de sosyalin soluna al, daha çok yer kazanırız."

   Otomatik grid akışı bunu veremez: Product 8 linkle ~220px, Legal 3 linkle
   ~100px. Satır satır akışta Legal'in altında 120px'lik ölü boşluk kalıyordu.
   Çözüm: yerleşimi açıkça vermek ve Product'ı sol sütunda İKİ SATIR boyunca
   uzatmak — yanına üç kısa blok (Legal, Support, Social) diziliyor.

     marka  marka
     Product  Legal
     Product  Support
     Share    Social

   lg (1024px) ve üstünde bu blok hiç çalışmıyor; orada beş sütunlu masaüstü
   düzeni Tailwind sınıflarıyla duruyor. */
@media (max-width: 1023px) {
  .ft-grid { align-items: start; }
  .ft-brand   { grid-column: 1 / -1; grid-row: 1; }
  .ft-product { grid-column: 1; grid-row: 2 / span 2; }
  .ft-legal   { grid-column: 2; grid-row: 2; }
  .ft-support { grid-column: 2; grid-row: 3; }
  .ft-share   { grid-column: 1; grid-row: 4; }
  .ft-social  { grid-column: 2; grid-row: 4; }
}

/* ============================== MARQUEE ============================== */
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.marquee-left  .marquee-track { animation: scrollLeft  55s linear infinite; }
.marquee-right .marquee-track { animation: scrollRight 65s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-left .marquee-track, .marquee-right .marquee-track { animation-duration: 200s; }
}

/* ============================== STORE BUTTONS ============================== */
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #0a0a0c; color: #fff;
  border-radius: var(--radius-btn); padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .2s cubic-bezier(0.16,1,0.3,1), box-shadow .2s ease;
  box-shadow: 0 10px 30px -10px rgba(11,27,46,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(11,27,46,0.55), inset 0 1px 0 rgba(255,255,255,0.08); }
.store-btn:active { transform: translateY(0) scale(0.98); }
.store-btn .glyph { width: 26px; height: 26px; }
.store-btn .small { font-size: 11px; opacity: 0.65; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.store-btn .big   { font-size: 18px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }

/* Koyu temada buton AÇIK, açık temada KOYU (2026-10-05, kullanıcı isteği).
   Öncesinde tek kural vardı: her iki temada da #0a0a0c. Koyu temada sayfa
   zemini #0e1116 olduğu için buton zeminden neredeyse ayrışmıyordu — sadece
   ince beyaz çerçevesiyle duruyordu. Artık zıt: koyu modda açık buton.
   Apple glyph'i `currentColor` kullandığı için yazıyla birlikte koyuyor;
   Play glyph'i sabit renkli (yeşil/sarı/kırmızı/mavi), beyaz zeminde standart
   görünümü bu. `.small` %65 opaklıkla açık zeminde ~5,4:1 kontrast — AA. */
[data-theme="dark"] .store-btn {
  background: #f3f5f7;
  color: #0a0a0c;
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.7);
}
[data-theme="dark"] .store-btn:hover {
  background: #ffffff;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.7);
}

.store-btn-disabled { opacity: 0.45; filter: grayscale(0.4); cursor: not-allowed; pointer-events: none; box-shadow: none; }
.store-btn-disabled:hover { transform: none; box-shadow: none; }
.store-coming-soon { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; text-align: center; padding: 2px 6px; }

/* ============================== FAQ ============================== */
.faq-item { border-top: 1px solid var(--hair); }
.faq-item:last-child { border-bottom: 1px solid var(--hair); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 22px 4px; text-align: left;
  font-size: 18px; font-weight: 600; color: var(--text);
  background: transparent; border: none; cursor: pointer;
  letter-spacing: -0.01em; transition: color .2s ease;
}
.faq-q:hover { color: var(--brand); }
.faq-q .plus { transition: transform .35s cubic-bezier(0.16,1,0.3,1); color: var(--brand); font-weight: 600; font-size: 22px; }
.faq-item[data-open="true"] .plus { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(0.16,1,0.3,1); }
.faq-a > div { overflow: hidden; }
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 4px 22px; color: var(--text-soft); line-height: 1.65; font-size: 15.5px; max-width: 70ch; }

/* ============================== UTILS ============================== */
.hairline { border: 1px solid var(--hair); }
.soft-card { background: var(--bg-elev); border: 1px solid var(--hair); border-radius: var(--radius-box); box-shadow: var(--shadow-sm); }
.kbd { font-family: var(--font-mono); font-size: 12px; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--hair); background: var(--hair-2); color: var(--text-soft); }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

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

/* Canlı kartlarda token kimliğini perdeleme (2026-10-04, kullanıcı isteği).
   Amaç: fırsatın VARLIĞI görünsün, hangi token olduğu görünmesin — uygulamayı
   indirmeye teşvik. Logo, kısaltma ve parite sembolüne uygulanır.
   ⚠️ Görsel perde; veri DOM'da duruyor. Gerçek gizleme için alan hiç
   gönderilmemeli. */
.ar-blur {
  filter: blur(4.5px);
  -webkit-filter: blur(4.5px);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
/* Görsel logo metinden daha az bulanıklıkla bile okunmaz hale geliyor;
   fazlası kartı kirletiyor. */
img.ar-blur { filter: blur(3.5px); -webkit-filter: blur(3.5px); }
@media (prefers-reduced-motion: reduce) { .ar-blur { filter: blur(4.5px); } }

/* ── Android telefon çerçevesi (2026-10-04) ──────────────────────────────
   iPhone'dan ayrışsın diye: daha az yuvarlak köşe (34 vs 56), tek tip ince
   çerçeve, ortada punch-hole kamera. Hero'da iPhone'un sağ ARKASINDA
   duruyor — derinlik için; öne çıkmaması gerekiyor, o yüzden döndürülmüş,
   küçük ve hafif karartılmış. */
.android-frame {
  position: relative;
  border-radius: 34px;
  /* 2026-10-04: iPhone ile AYNI çerçeve kalınlığı (12px). Önce 7px'ti,
     yan yana durunca Android daha ince çerçeveli görünüyordu. */
  padding: 12px;
  background: linear-gradient(160deg, #3f3d3a 0%, #232120 30%, #161514 62%, #332f2d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 0 2px #0a0908,
    0 50px 80px -28px rgba(0,0,0,0.6);
}
.android-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 22px; overflow: hidden; background: #0b0f14;
}
.android-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
/* Android üç tuşlu navigasyon çubuğu (2026-10-05). Ekran görüntüsünün üstüne
   biniyor; alttaki gradyan karartma hem çubuğu zeminden ayırıyor hem de
   açık temalı ekran görüntüsünde beyaz tuşların kaybolmasını engelliyor.
   Tuşlar CSS geometrisi (üçgen için border hilesi) — cihaz kasası motifi,
   ikon kütüphanesi işi değil. */
.android-nav {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 26px;
  display: flex; align-items: center; justify-content: center; gap: 17%;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.34) 60%, rgba(0,0,0,0) 100%);
  z-index: 4; pointer-events: none;
}
.android-nav i { display: block; opacity: 0.95; }
.android-nav .nav-back {
  width: 0; height: 0;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
  border-right: 9px solid #fff;
}
.android-nav .nav-square {
  width: 9.5px; height: 9.5px;
  border: 1.7px solid #fff; border-radius: 1.5px;
}
.android-nav .nav-circle {
  width: 10.5px; height: 10.5px;
  border: 1.7px solid #fff; border-radius: 50%;
}
.android-punch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: #05070a; box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
  z-index: 2;
}
/* Hero'daki konum: iPhone'un sağ arkası. 2026-10-04 revizyonu:
   · DÜZ duruyor (eğim kaldırıldı)
   · Soluk değil — opacity ve karartma filtresi kaldırıldı
   · Örtüşme HESAPLANDI: bildirimdeki AR PRO logosu, çerçevenin solundan
     ~14px içeride başlıyor (görselde %5.1). iPhone'un arkasında kalan pay
     bundan fazla olursa logo gizlenir. Bu yüzden sol kenar, iPhone'un sağ
     kenarının yalnızca 14px arkasına giriyor: hem "solu arkada" duruyor
     hem logo görünüyor.
   · Konumlandırma left:50% + translateX ile yapılıyor; kapsayıcı genişliğinden
     bağımsız, iPhone her zaman 340px ve ortalanmış olduğu için güvenilir. */
/* Android telefon yerleşimi — 2026-10-04 üçüncü revizyon.
   Kullanıcı: Android %10 daha küçük, biraz daha sağa (iPhone'un arkasına
   daha çok girsin), çerçeve kalınlıkları eşit olsun.

   GEOMETRİ (hesaplanarak):
   · Android 323 → 291px (%10 küçük). iPhone 340px sabit.
   · Örtüşme 65 → 102px (Android'in %35'i) — "sadece sağ çerçeve girmiş"in karşılığı.
   · İkili genişlik = 340 + 291 - 102 = 529px. Sağ kolon her ekranda 570px
     (kapsayıcı 1280'de sabit) → ARTIK KOLONA SIĞIYOR. Bu yüzden eşik
     1440 → 1280'e indirildi, daha çok kullanıcı görüyor.
   · 2026-10-04 (4. tur): "çok girmiş, genişliğin %10'u kadar sola" →
     291 x 0.10 = 29px sola. Sol kenar center-294.
     Örtüşme 101 → 72px (%35 → %24).
     Metin sütunuyla boşluk 68 → 39px; dört genişlikte çakışma yok.
     (Önce 40px denenmişti; kullanıcının verdiği oran 29px.)
   · 2026-10-04 (5. tur): "%5 büyüt, %5 kadar sola" →
     291 x 1.05 = 306px; 306 x 0.05 = 15px sola → sol kenar center-309.
     Büyüme sağa, kaydırma sola olduğu için SAĞ KENAR SABİT (center-3):
     örtüşme 72px'te kalıyor, telefon yalnızca sola doğru büyüyor.
   · 2026-10-04 (6. tur): "%3 büyüt, %3 sola" →
     306 x 1.03 = 315px; 315 x 0.03 = 9px sola → sol kenar center-318.
     Sağ kenar yine center-3, örtüşme yine 72px.
     DİKKAT: metin sütunuyla boşluk 1280px'te 20 → 11px'e indi. Daha fazla
     sola alınırsa 1280'de metne girer; bir sonraki turda eşiği yükseltmek
     veya iPhone'u sağa kaydırmak gerekecek.
   · Çerçeve kalınlıkları artık eşit: ikisi de padding 12px. */
/* ── MOCKUP RAYI ─────────────────────────────────────────────────────────
   2026-10-04. Kullanıcı: "mobilde mockuplar sağa sola kaydırılabilsin,
   mockuplar çok kötü duruyor."

   ÖNCESİNDEKİ SORUN: mobilde tek bir iPhone 86vw genişlikte duruyordu;
   56px köşe yarıçapı ve 112px notch o ölçekte orantısız kalıyordu, Android
   ise 1280px altında tamamen gizliydi (display:none) — yani telefondan
   bakan kullanıcı Play Store sürümünü hiç görmüyordu.

   ŞİMDİ: üç ekran tek bir scroll-snap rayında. Kaydırma saf CSS
   (scroll-snap-type: x mandatory); JS'in tek işi aktif noktayı işaretlemek.
   Komşu slayt kasıtla PAYLAŞIYOR (slide 62vw + gap): kaydırılabilirliğin
   göstergesi bu taşma, ayrıca "Scroll" yazısı gibi bir etiket gerekmiyor.

   ÜÇ KIRILMA NOKTASI:
   · ≤1023px  → tam genişlik (full-bleed) ray, slayt min(252px, 62vw)
   · 1024-1279 → kolona SIĞAN ray (full-bleed olsa metin sütununu ezerdi)
   · ≥1280px  → eski kompozisyon: iPhone + sağ arkasında Android         */
.hero-stage { position: relative; }
.hero-dots { display: none; }

@media (max-width: 1279px) {
  .hero-rail {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Üstte/altta pay: iPhone çerçevesinin gölgesi kırpılmasın. */
    padding-block: 8px 14px;
    padding-inline: calc((100% - var(--slide)) / 2);
  }
  .hero-rail::-webkit-scrollbar { display: none; }
  .hero-slide {
    flex: 0 0 var(--slide);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  /* IPhone/AndroidPhone genişliğini inline style ile veriyor (JSX prop).
     Rayda slaytın tamamını doldurmaları gerekiyor; inline style'ı yenmenin
     tek yolu !important. */
  .hero-rail .iphone-frame,
  .hero-rail .android-frame { width: 100% !important; }
  /* Çerçeve metrikleri küçük ölçeğe göre yeniden ayarlandı — 56px köşe ve
     112px notch 250px genişlikte karikatür gibi duruyordu. */
  .hero-rail .iphone-frame  { border-radius: 40px; padding: 9px; }
  .hero-rail .iphone-screen { border-radius: 32px; }
  .hero-rail .iphone-notch  { width: 82px; height: 24px; top: 8px; border-radius: 14px; }
  .hero-rail .android-frame  { border-radius: 27px; padding: 9px; }
  .hero-rail .android-screen { border-radius: 19px; }
  /* Rayda telefonlar 242px (masaüstünde 315/340) — navigasyon öğeleri
     sabit px olduğu için oranı korumak adına küçültülüyor. */
  .hero-rail .iphone-home { height: 4px; bottom: 5px; }
  .hero-rail .android-nav { height: 20px; gap: 16%; }
  .hero-rail .android-nav .nav-back   { border-top-width: 4.5px; border-bottom-width: 4.5px; border-right-width: 7px; }
  .hero-rail .android-nav .nav-square { width: 7.5px; height: 7.5px; border-width: 1.5px; }
  .hero-rail .android-nav .nav-circle { width: 8.5px; height: 8.5px; border-width: 1.5px; }

  .hero-dots {
    display: flex; justify-content: center; align-items: center;
    gap: 4px; margin-top: 2px;
  }
  .hero-dot {
    width: 26px; height: 26px; padding: 0; border: 0; background: none;
    display: grid; place-items: center; cursor: pointer;
  }
  .hero-dot > span {
    display: block; width: 7px; height: 7px; border-radius: 999px;
    background: color-mix(in srgb, var(--text-fade) 55%, transparent);
    transition: width .25s ease, background .25s ease;
  }
  .hero-dot[aria-current="true"] > span { width: 20px; background: var(--brand); }
  @media (prefers-reduced-motion: reduce) {
    .hero-dot > span { transition: none; }
  }
}

@media (max-width: 1023px) {
  /* Ray kenardan kenara: hero kapsayıcısının px-5 (20px) padding'ini negatif
     margin'le geri alıyor. `width:100vw` + `margin-inline: calc(50% - 50vw)`
     da işi yapardı AMA 100vw masaüstü tarayıcıda scrollbar'ı da sayıyor —
     ölçümde rayı 7px sola kaçırmıştı. Padding'e bağlamak scrollbar
     matematiğinden tamamen kurtarıyor. */
  .hero-stage { --slide: min(252px, 62vw); margin-inline: -20px; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  /* Bu aralıkta hero iki kolonlu; full-bleed ray metin sütununu ezerdi. */
  .hero-stage { --slide: 216px; }
}

@media (min-width: 1280px) {
  .hero-rail { position: relative; display: flex; justify-content: center; }
  /* Üçüncü ekran yalnızca rayda var; masaüstü kompozisyonu iki telefon. */
  .hero-extra { display: none; }
  .hero-android {
    display: block;
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-318px, -50%);
    z-index: 5;
    pointer-events: none;
  }
  .hero-phone { position: relative; z-index: 10; transform: translateX(95px); }
  /* iPhone'un gölgesi Android'in ÜZERİNE düşsün (z-index 10 vs 5). */
  .hero-phone .iphone-frame {
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.09),
      inset 0 0 0 2.5px #0a0908,
      inset 0 1px 0 rgba(255,255,255,0.18),
      inset 0 -1px 0 rgba(0,0,0,0.4),
      -54px 26px 64px -18px rgba(0,0,0,0.58),
      -18px 10px 28px -12px rgba(0,0,0,0.45),
      0 70px 110px -30px rgba(0,0,0,0.55),
      0 24px 60px -20px rgba(0,0,0,0.4);
  }
}
