/* ============================================================
   YAKAMOZ MOBILE — Ortak Tasarım Sistemi (base.css)
   Sayfa teması :root üzerindeki --brand* değişkenleriyle değişir.
   Ana sayfa varsayılan: "gece denizi" laciverti + turkuaz yakamoz.
   ============================================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* --- Marka renkleri (sayfa başına override edilir) --- */
  --brand: #2DD4BF;            /* birincil vurgu (yakamoz turkuaz) */
  --brand-light: #5EEAD4;
  --brand-dark: #14B8A6;
  --accent: #93C5FD;           /* ikincil ışıltı (ay ışığı) */

  --bg: #0A1628;               /* koyu lacivert zemin */
  --surface: #0F1E38;
  --card: #142542;
  --card-hover: #1A2E4F;

  --text: #F1F5F9;
  --text-soft: #AEBCD0;
  --text-muted: #6B7A93;

  --success: #34D399;
  --warning: #FBBF24;

  /* türetilmiş (override gerektirmez) */
  --brand-rgb: 45, 212, 191;
  --brand-glow: rgba(45, 212, 191, 0.28);
  --grad: linear-gradient(135deg, var(--brand), var(--accent));
  --grad-soft: linear-gradient(135deg, var(--brand-dark), var(--brand));

  --glass-border: rgba(255, 255, 255, 0.07);

  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

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

/* Uzun kelime / başlıkların dar ekranda taşmasını önle */
h1, h2, h3, p { overflow-wrap: break-word; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
section { position: relative; }
ul { list-style: none; }

/* İkon boyutlandırma (satır içi SVG) */
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em; flex-shrink: 0; }

/* ===== Gradient metin ===== */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Bölüm başlıkları ===== */
.section-header { text-align: center; margin-bottom: 60px; }

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(var(--brand-rgb), 0.12);
  border: 1px solid rgba(var(--brand-rgb), 0.28);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto;
}

/* ===== Butonlar ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn .icon { width: 20px; height: 20px; }

.btn-primary {
  background: var(--grad);
  color: #05121f;
  box-shadow: 0 8px 28px var(--brand-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px var(--brand-glow); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
}
.btn-outline:hover {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
  transform: translateY(-2px);
}

.btn-large { padding: 17px 44px; font-size: 18px; }

/* Mağaza rozetleri (Google Play + App Store yakında) */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-radius: 14px;
  background: #05121f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: var(--transition);
  min-width: 190px;
}
.store-badge:hover { transform: translateY(-2px); border-color: rgba(var(--brand-rgb), 0.5); }
.store-badge .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.store-badge .badge-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .badge-text small { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.store-badge .badge-text strong { font-size: 16px; font-weight: 700; }

.store-badge.disabled { opacity: 0.55; cursor: default; }
.store-badge.disabled:hover { transform: none; border-color: rgba(255, 255, 255, 0.14); }
.store-badge.disabled .badge-text small { color: var(--warning); }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 0; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; }
.nav-logo .logo-mark { width: 30px; height: 30px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-soft); position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--grad); transition: var(--transition); border-radius: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 8px 20px !important;
  background: var(--grad);
  border-radius: 100px;
  color: #05121f !important;
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { box-shadow: 0 8px 24px var(--brand-glow); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 26px; height: 2.5px; background: var(--text); border-radius: 4px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========================================
   HERO (ortak)
   ======================================== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 130px 0 70px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }

.gradient-orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: 0.28; animation: orbFloat 22s ease-in-out infinite;
}
.orb-1 { width: 620px; height: 620px; background: var(--brand); top: -220px; right: -180px; }
.orb-2 { width: 520px; height: 520px; background: var(--accent); bottom: -160px; left: -160px; animation-delay: -8s; }
.orb-3 { width: 380px; height: 380px; background: var(--brand-light); top: 40%; right: 32%; animation-delay: -15s; opacity: 0.14; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* "yakamoz" — su üzerinde ışık yansıması çizgileri (ana sayfa hero'sunda) */
.shimmer { position: absolute; inset: auto 0 0 0; height: 46%; z-index: 0; opacity: 0.5; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom,
      transparent 0 7px,
      rgba(var(--brand-rgb), 0.05) 7px 8px);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
}

.hero .container { position: relative; z-index: 1; }

/* ========================================
   REVEAL animasyonları
   ======================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ========================================
   FEATURE / KART ızgaraları (ortak)
   ======================================== */
.features { padding: 110px 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--brand-rgb), 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 54px; height: 54px; border-radius: var(--radius-md);
  background: rgba(var(--brand-rgb), 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); margin-bottom: 18px; transition: var(--transition);
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature-card:hover .feature-icon { background: var(--grad); color: #05121f; transform: scale(1.05); }

.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 9px; }
.feature-card p { font-size: 15px; color: var(--text-soft); line-height: 1.7; }

/* ========================================
   EKRAN GÖRÜNTÜSÜ ŞERİDİ (yatay kaydırma)
   ======================================== */
.screens { padding: 40px 0 110px; }
.screens-strip {
  display: flex; gap: 20px; overflow-x: auto; padding: 12px 24px 24px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.screens-strip::-webkit-scrollbar { height: 8px; }
.screens-strip::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 4px; }
.screens-strip::-webkit-scrollbar-thumb { background: rgba(var(--brand-rgb), 0.4); border-radius: 4px; }
.screen-shot {
  flex: 0 0 auto; width: 230px; scroll-snap-align: center;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  background: var(--card);
}
.screen-shot img { width: 100%; height: auto; }

/* ========================================
   CTA (ortak)
   ======================================== */
.cta { padding: 110px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at bottom left, rgba(var(--brand-rgb), 0.1), transparent 60%),
              radial-gradient(ellipse at top right, rgba(147, 197, 253, 0.06), transparent 60%);
}
.cta-content { text-align: center; position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.cta-content p { font-size: 18px; color: var(--text-soft); max-width: 540px; margin: 0 auto 30px; }
.cta .store-badges { justify-content: center; }

/* ========================================
   FOOTER (ortak)
   ======================================== */
footer { background: var(--surface); border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 70px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; margin-bottom: 14px; }
.footer-logo .logo-mark { width: 28px; height: 28px; }
.footer-brand p { font-size: 15px; color: var(--text-soft); margin-bottom: 18px; max-width: 330px; line-height: 1.7; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.05);
  display: flex; align-items: center; justify-content: center; color: var(--text-soft); transition: var(--transition);
}
.footer-social a .icon { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--brand); color: #05121f; transform: translateY(-2px); }

.footer-links h4 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer-links a { display: block; font-size: 14px; color: var(--text-soft); margin-bottom: 11px; }
.footer-links a:hover { color: var(--brand); padding-left: 4px; }

.footer-bottom { padding: 22px 0; text-align: center; }
.footer-bottom p { font-size: 14px; color: var(--text-muted); }

/* ========================================
   YASAL SAYFA (gizlilik / koşullar)
   ======================================== */
.legal-page { padding: 130px 0 90px; min-height: 100vh; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 14px; margin-bottom: 28px; }
.legal-back:hover { color: var(--brand); }
.legal-back .icon { width: 18px; height: 18px; }
.legal-wrap h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; margin-bottom: 6px; letter-spacing: -0.5px; }
.legal-app { color: var(--brand-light); font-weight: 600; font-size: 16px; }
.legal-updated { color: var(--text-muted); font-size: 14px; margin: 12px 0 36px; }
.legal-body h2 { font-size: 20px; font-weight: 700; margin: 34px 0 12px; color: var(--text); }
.legal-body p { color: var(--text-soft); margin-bottom: 14px; line-height: 1.8; }
.legal-body ul { margin: 6px 0 18px; }
.legal-body li { color: var(--text-soft); padding: 5px 0 5px 22px; position: relative; line-height: 1.7; }
.legal-body li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.legal-body strong { color: var(--text); }
.legal-body a { color: var(--brand-light); }
.legal-body a:hover { text-decoration: underline; }

/* ========================================
   RESPONSIVE (ortak)
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--surface); flex-direction: column; padding: 84px 32px 32px;
    transition: var(--transition); border-left: 1px solid rgba(255, 255, 255, 0.06);
    gap: 20px; align-items: flex-start; z-index: 999;
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; z-index: 1001; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-header h2 { font-size: 27px; }
}
@media (max-width: 480px) {
  .store-badges { width: 100%; }
  .store-badge { min-width: 0; flex: 1; }
  .btn-large { padding: 15px 30px; }
}
