/* ═══════════ RandevuX CRM — Tanıtım Sitesi ═══════════ */
:root {
  --bg: #14121c;
  --bg-deep: #0f0d17;
  --surface: #1c1a25;
  --surface-hi: #211e29;
  --border: rgba(230, 224, 239, 0.08);
  --text: #e6e0ef;
  --text-dim: #a29daf;
  --magenta: #d6246e;
  --magenta-soft: #ff5c9d;
  --violet: #d0bcff;
  --radius: 20px;
  --font: 'Geist', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* DİKKAT: scroll-behavior:smooth EKLEME — Lenis'in kare-başı scrollTo çağrılarını
   tarayıcı ayrıca yumuşatmaya kalkıyor, çift-easing scroll'u kilitliyor. */
html.lenis { height: auto; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

section { position: relative; }

/* ─── Navbar ─── */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 34px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  background: rgba(17, 15, 25, 0.82);
  border: 1px solid var(--border);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled .nav-inner {
  background: rgba(15, 13, 23, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem;
}
.nav-logo img { border-radius: 7px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--text); }

/* Hamburger — sadece mobilde görünür */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0;
  background: transparent; border: none; cursor: pointer;
}
.nav-burger span {
  display: block; width: 20px; height: 2px; margin: 0 auto;
  border-radius: 2px; background: var(--text);
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Butonlar ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; text-decoration: none; font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: var(--magenta); color: #fff;
  box-shadow: 0 4px 24px rgba(214, 36, 110, 0.35);
}
.btn-primary:hover {
  background: var(--magenta-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(214, 36, 110, 0.5);
}
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }

/* ─── Navbar İndir menüsü (dropdown) ─── */
.nav-download { position: relative; }
.nav-download-btn {
  gap: 6px; cursor: pointer;
  border: none; font-family: inherit; font-size: 0.9rem;
  padding: 9px 18px;
}
.nav-download-btn svg { transition: transform 0.28s ease; }
.nav-download.open .nav-download-btn svg { transform: rotate(180deg); }
.download-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  display: flex; flex-direction: column; gap: 3px;
  min-width: 232px; padding: 8px;
  background: rgba(17, 15, 25, 0.97);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transform: translate(-50%, -8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.nav-download.open .download-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.download-menu a {
  display: flex; align-items: center; gap: 13px;
  padding: 10px 12px; border-radius: 11px;
  color: var(--text); text-decoration: none;
  transition: background 0.2s ease;
}
.download-menu a:hover { background: rgba(230, 224, 239, 0.06); }
.download-menu svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--magenta-soft); }
.download-menu span { display: flex; flex-direction: column; line-height: 1.25; }
.download-menu small { font-size: 0.7rem; color: var(--text-dim); }
.download-menu strong { font-size: 0.95rem; font-weight: 600; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px;
  border-radius: 14px;
  background: rgba(28, 25, 38, 0.72);
  border: 1px solid rgba(230, 224, 239, 0.14);
  color: var(--text); text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.store-badge:hover {
  transform: translateY(-2px);
  background: rgba(230, 224, 239, 0.11);
  border-color: rgba(230, 224, 239, 0.28);
}
.store-badge span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-badge small { font-size: 0.68rem; color: var(--text-dim); }
.store-badge strong { font-size: 1.02rem; font-weight: 600; }

/* ─── Hero ─── */
.hero {
  height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: 150px 24px 0;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: var(--bg-deep);
  overflow: hidden;
}
/* Sabit premium ışıltılar — hareket YOK, sinematik derinlik */
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.9;
  pointer-events: none;
}
.hero-glow-1 {
  top: -18%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px;
  background: radial-gradient(ellipse at center, rgba(214, 36, 110, 0.34), transparent 66%);
}
.hero-glow-2 {
  top: 8%; right: -6%;
  width: 560px; height: 560px;
  background: radial-gradient(ellipse at center, rgba(160, 120, 255, 0.20), transparent 68%);
}
/* İnce ızgara dokusu — üstte yoğun, aşağı doğru silinir */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(230, 224, 239, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 224, 239, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 22%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 22%, #000 0%, transparent 72%);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(15, 13, 23, 0.35) 0%, rgba(15, 13, 23, 0.15) 40%, var(--bg) 97%);
}
.hero-content { max-width: 820px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; margin-bottom: 22px;
  padding: 7px 16px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--violet);
  background: rgba(208, 188, 255, 0.08);
  border: 1px solid rgba(208, 188, 255, 0.22);
}
.hero-sub {
  margin: 22px auto 34px;
  max-width: 640px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-dim);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Hero Telefonlar (Midas tarzı — gerçek ekranlar) ─── */
/* Hero'nun dibine yapışır, alt yarısı overflow:hidden ile kesilir — sadece hero içinde durur */
.hero-phones {
  position: absolute; z-index: 1;
  left: 50%; bottom: 0;
  width: 100%;
  max-width: 1120px;
  --phones-y: 38%;
  transform: translate(-50%, var(--phones-y));
  opacity: 0;
  animation: phonesIn 1.1s cubic-bezier(.2,.7,.2,1) 0.5s forwards;
}
@keyframes phonesIn {
  from { opacity: 0; transform: translate(-50%, calc(var(--phones-y) + 16%)); }
  to   { opacity: 1; transform: translate(-50%, var(--phones-y)); }
}
.hero-phones > img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 44px 70px rgba(0, 0, 0, 0.55));
}
.phone { flex-shrink: 0; position: relative; }

/* Yan tuşlar — sağda güç, solda ses (box-shadow ile ikizlenir) */
.phone::before {
  content: ''; position: absolute; z-index: 0;
  right: -2.5px; top: 26%;
  width: 3.5px; height: 11%;
  border-radius: 3px;
  background: linear-gradient(90deg, #4d4859, #16141d);
}
.phone::after {
  content: ''; position: absolute; z-index: 0;
  left: -2.5px; top: 21%;
  width: 3.5px; height: 40px;
  border-radius: 3px;
  background: linear-gradient(270deg, #4d4859, #16141d);
  box-shadow: 0 52px 0 0 #2e2a38;
}

/* Titanyum kasa — çok duraklı gradyan kenar ışıltısı */
.phone-frame {
  position: relative; z-index: 1;
  border-radius: 54px;
  padding: 4px;
  background: linear-gradient(150deg,
    #8a8399 0%, #37333f 16%, #15131c 36%,
    #46414f 52%, #131118 72%, #6c6579 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.55);
}
/* Ekran: siyah çerçeve (bezel) gerçek panel hissi verir */
.phone-frame img {
  display: block; width: 100%; height: auto;
  box-sizing: border-box;
  border: 9px solid #070510;
  border-radius: 50px;
  background: #070510;
}
/* Kamera deliği (punch-hole) — içerik kapatmaz */
.phone-frame::before {
  content: ''; position: absolute; z-index: 2;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 11px; height: 11px; border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #2b2837 0%, #05030a 55%);
  box-shadow: 0 0 0 2.5px rgba(5, 3, 10, 0.85);
}
/* Cam yansıması — çapraz ışık süpürmesi */
.phone-frame::after {
  content: ''; position: absolute; inset: 4px; z-index: 3;
  border-radius: 50px;
  background: linear-gradient(115deg,
    rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.025) 16%,
    transparent 30%, transparent 78%, rgba(255, 255, 255, 0.04) 94%);
  pointer-events: none;
}

.phone-center { width: min(320px, 62vw); z-index: 2; }
.phone-left, .phone-right { width: min(260px, 40vw); z-index: 1; margin-top: 46px; }
.phone-left  { margin-right: -44px; }
.phone-right { margin-left: -44px; }
/* 3D perspektif eğimi — render görünümü (parallax dış div'de, çakışmaz) */
.phone-left .phone-frame {
  transform: perspective(1200px) rotateY(17deg) rotate(-4.5deg);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    0 24px 50px rgba(0, 0, 0, 0.5);
}
.phone-right .phone-frame {
  transform: perspective(1200px) rotateY(-17deg) rotate(4.5deg);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    0 24px 50px rgba(0, 0, 0, 0.5);
}
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 3;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ─── Güven Şeridi ─── */
.trust {
  padding: 80px 24px 40px;
  text-align: center;
}
.trust > p {
  font-size: 0.8rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600;
  margin-bottom: 26px;
}
.trust-items {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
}
.trust-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(230, 224, 239, 0.035);
  border: 1px solid var(--border);
  font-size: 0.98rem; font-weight: 500; color: var(--text);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.trust-chip svg {
  width: 19px; height: 19px; flex-shrink: 0;
  color: var(--magenta-soft);
}
.trust-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 36, 110, 0.4);
  background: rgba(214, 36, 110, 0.08);
}

/* ─── Ortak Bölüm Başlığı ─── */
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; margin-bottom: 16px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--magenta-soft);
}

/* ─── Özellikler ─── */
.features { padding: 110px 24px; max-width: 1180px; margin: 0 auto; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.f-card {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(230, 224, 239, 0.045), rgba(230, 224, 239, 0.015));
  border: 1px solid var(--border);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.f-card:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 36, 110, 0.35);
  box-shadow: 0 20px 60px rgba(214, 36, 110, 0.12);
}
.f-icon {
  width: 52px; height: 52px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 15px;
  color: var(--magenta-soft);
  background: rgba(214, 36, 110, 0.1);
  border: 1px solid rgba(214, 36, 110, 0.2);
}
.f-icon svg { width: 26px; height: 26px; }
.f-card h3 { margin-bottom: 10px; }
.f-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ─── Showcase (alternating tanıtım blokları) ─── */
.showcase {
  max-width: 1180px; margin: 0 auto;
  padding: 40px 24px 60px;
  display: flex; flex-direction: column; gap: clamp(60px, 9vw, 120px);
}
.show-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}
.show-reverse .show-visual { order: 2; }

/* Görsel + arkasında renk değişen glow aura */
.show-visual {
  position: relative;
  display: flex; justify-content: center;
  padding: 30px 0;
}
.show-visual .phone-frame {
  position: relative; z-index: 2;
  width: min(300px, 68vw);
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.show-visual:hover .phone-frame { transform: translateY(-10px); }
.show-aura {
  position: absolute; z-index: 1;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 96%; aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(64px); opacity: 0.8;
  pointer-events: none;
}
.show-visual[data-glow="magenta"] .show-aura { background: radial-gradient(circle, rgba(214,36,110,0.75), transparent 66%); }
.show-visual[data-glow="violet"]  .show-aura { background: radial-gradient(circle, rgba(160,120,255,0.62), transparent 66%); }

.show-text { max-width: 480px; }
.show-text h2 { margin-bottom: 20px; }
.show-text > p { color: var(--text-dim); margin-bottom: 28px; font-size: 1.05rem; }
.show-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.show-list li { display: flex; align-items: center; gap: 13px; font-weight: 500; }
.show-badge {
  display: inline-block; margin-top: 26px;
  padding: 9px 18px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 700;
  color: var(--magenta-soft);
  background: rgba(214, 36, 110, 0.1);
  border: 1px solid rgba(214, 36, 110, 0.28);
}
.check {
  width: 26px; height: 26px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 700;
  color: var(--magenta-soft);
  background: rgba(214, 36, 110, 0.12);
  border: 1px solid rgba(214, 36, 110, 0.3);
}

/* ─── Adımlar ─── */
.steps { padding: 110px 24px; max-width: 1080px; margin: 0 auto; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  padding: 36px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  display: block; margin-bottom: 40px;
  font-size: 1rem; font-weight: 800;
  background: linear-gradient(120deg, var(--magenta-soft), var(--violet));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.95rem; }

/* ─── İstatistik ─── */
.stats {
  display: flex; justify-content: center; gap: clamp(40px, 8vw, 120px);
  padding: 80px 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 1080px; margin: 0 auto;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--magenta-soft), var(--violet));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-num em { font-style: normal; font-size: 0.55em; }
.stat p { color: var(--text-dim); margin-top: 4px; }

/* ─── SSS ─── */
.faq { padding: 110px 24px; max-width: 760px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-list details[open] { border-color: rgba(214, 36, 110, 0.3); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer; font-weight: 600; font-size: 1.02rem;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon {
  font-size: 1.3rem; font-weight: 400; color: var(--magenta-soft);
  transition: transform 0.3s ease;
}
.faq-list details[open] .faq-icon { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 24px 20px;
  color: var(--text-dim); font-size: 0.96rem;
}

/* ─── Final CTA ─── */
.final-cta {
  padding: 130px 24px 120px;
  text-align: center;
  overflow: hidden;
}
.final-glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(214, 36, 110, 0.16), transparent 65%);
  pointer-events: none;
}
.final-cta h2 { position: relative; }
.final-cta > p { color: var(--text-dim); margin: 18px 0 36px; position: relative; }
.final-cta .hero-cta { position: relative; }

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 24px 32px;
  background: var(--bg-deep);
}
.footer-inner {
  max-width: 1080px; margin: 0 auto 36px;
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer-brand p { color: var(--text-dim); font-size: 0.92rem; margin-top: 12px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.footer-contact a, .footer-contact span {
  color: var(--text-dim); text-decoration: none; font-size: 0.94rem;
}
.footer-contact a:hover { color: var(--text); }
.footer-legal {
  max-width: 1080px; margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.8rem; text-align: center;
}

/* Reveal başlangıç durumları JS'te — will-change bilinçli olarak YOK
   (onlarca elemana kalıcı compositor katmanı açtırıp belleği şişiriyordu) */

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  /* Mobil: bölüm linkleri hamburger panelinde açılır */
  .nav-inner { gap: 12px; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-links {
    position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    flex-direction: column; gap: 3px;
    padding: 8px; border-radius: 16px;
    background: rgba(17, 15, 25, 0.97);
    border: 1px solid var(--border);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav.menu-open .nav-links { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 11px 14px; border-radius: 10px; font-size: 0.98rem; }
  .nav-links a:hover { background: rgba(230, 224, 239, 0.06); }
  .footer-contact { text-align: left; }
  .show-row { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .show-reverse .show-visual { order: 0; }
  .show-text { max-width: 520px; margin: 0 auto; }
  .show-list { display: inline-flex; text-align: left; }
}
@media (max-width: 620px) {
  .features-grid { grid-template-columns: 1fr; }
  .br-desktop { display: none; }
  .phone-left, .phone-right { display: none; }
  .hero { padding-top: 116px; }
  /* Mobilde telefonları büyüt + yukarı çek: minik kalmasın, ortadaki boşluk kapansın */
  .hero-phones { --phones-y: 24%; width: 165%; max-width: none; }
}

/* ─── Hareket azaltma ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
