:root {
  --bg: #050508;
  --bg-elevated: #0a0b0e;
  --glass: rgba(12, 12, 16, 0.62);
  --glass-strong: rgba(10, 10, 14, 0.72);
  --glass-border: rgba(255, 255, 255, 0.1);
  --neon-red: #ff2e63;
  --neon-pink: #ff4d6d;
  --neon-cyan: #00c7ff;
  --neon-teal: #00e5c0;
  --text: #ffffff;
  --text-muted: #9a9aa0;
  --glow-red: 0 0 24px rgba(255, 46, 99, 0.45);
  --glow-cyan: 0 0 24px rgba(0, 199, 255, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --phone-aspect: 473 / 1024;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Interactive Turkey map canvas */
#map-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.58;
  transition: opacity 0.3s;
}

#map-bg.is-dragging {
  cursor: grabbing;
}

#map-bg.map-bg--fallback {
  display: none;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 46, 99, 0.14), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 199, 255, 0.06), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(255, 77, 109, 0.08), transparent);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 8, 0.55) 0%,
    rgba(5, 5, 8, 0.42) 40%,
    rgba(5, 5, 8, 0.52) 100%
  );
  pointer-events: none;
  z-index: -1;
}

img { max-width: 100%; display: block; }

.phone-shot {
  width: min(300px, 38vw);
  height: auto;
  aspect-ratio: var(--phone-aspect);
  object-fit: contain;
  object-position: center;
}
a { color: var(--neon-cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--neon-pink); }

.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--glass-strong);
  border-bottom: 1px solid var(--glass-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: var(--glow-red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--neon-red), var(--neon-pink));
  color: white;
  box-shadow: var(--glow-red);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-store {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 0.7rem 1.2rem;
}

.btn-store svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Hero */
.hero { padding: 4rem 0 3rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 46, 99, 0.12);
  border: 1px solid rgba(255, 46, 99, 0.3);
  color: var(--neon-pink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--neon-red), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.72;
  max-width: 30rem;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

.glass-panel {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone .phone-shot {
  width: min(320px, 42vw);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), var(--glow-red);
}

.hero-phone::after {
  content: "";
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(255, 46, 99, 0.25), transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

/* Stats */
.stats { padding: 2rem 0 4rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  border-color: rgba(255, 46, 99, 0.35);
  box-shadow: var(--glow-red);
}

.stat-card .number {
  font-family: "Outfit", "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--neon-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .label {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Features */
.section { padding: 4rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.25s;
}

.feature-card:hover {
  border-color: rgba(255, 46, 99, 0.22);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  background: rgba(255, 46, 99, 0.15);
  border: 1px solid rgba(255, 46, 99, 0.25);
}

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Gallery */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.gallery-tab {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-tab.active,
.gallery-tab:hover {
  background: rgba(255, 46, 99, 0.15);
  border-color: rgba(255, 46, 99, 0.4);
  color: var(--neon-pink);
}

.gallery-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.gallery-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.gallery-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.gallery-phone { display: flex; justify-content: center; }

.gallery-phone .phone-shot {
  width: min(300px, 40vw);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--glow-cyan);
  transition: opacity 0.3s;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.gallery-thumb {
  width: 44px;
  aspect-ratio: var(--phone-aspect);
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s;
  padding: 0;
  background: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--neon-red);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  aspect-ratio: unset;
}

/* CTA */
.cta { padding: 4rem 0; }

.cta-box {
  background: linear-gradient(135deg, rgba(255, 46, 99, 0.12), rgba(0, 199, 255, 0.08));
  border: 1px solid rgba(255, 46, 99, 0.25);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 199, 255, 0.1);
  border: 1px solid rgba(0, 199, 255, 0.28);
  color: var(--neon-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-box h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.cta-box h2 span {
  background: linear-gradient(135deg, var(--neon-red), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }

.footer-copy { color: var(--text-muted); font-size: 0.85rem; }

/* Privacy page */
.privacy-page { padding: 3rem 0 4rem; }

.privacy-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.privacy-page h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.privacy-meta {
  color: var(--neon-cyan);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.privacy-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 38rem;
}

.privacy-content {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.privacy-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neon-pink);
  margin: 2rem 0 0.75rem;
}

.privacy-content h2:first-child { margin-top: 0; }

.privacy-content p,
.privacy-content li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

.privacy-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.privacy-content a { word-break: break-all; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .gallery-showcase { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }

  .hero-phone { order: -1; }
  .hero-phone .phone-shot { width: min(280px, 72vw); }
  .gallery-phone .phone-shot { width: min(260px, 68vw); }
}

@media (max-width: 768px) {
  #map-bg { opacity: 0.38; }
  .glass-panel { padding: 1.5rem; }
}

.page-privacy #map-bg { opacity: 0.32; }

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 5, 8, 0.96);
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: block; }

  .features-grid { grid-template-columns: 1fr; }

  .privacy-content { padding: 1.5rem; }
}
