@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --accent: #2997ff;
  --accent-hover: #0077ed;
  --accent-glow: rgba(41,151,255,0.15);
  --success: #30d158;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 64px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

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

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(0,0,0,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--transition);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--accent); }

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

.nav-links a {
  font-size: .875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
  letter-spacing: -0.01em;
}

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

/* ── LANG SWITCHER ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  margin-left: .5rem;
}

.lang-switcher span {
  color: var(--text-tertiary);
}

.lang-btn {
  color: var(--text-tertiary);
  text-decoration: none;
  padding: .2rem .4rem;
  border-radius: 6px;
  transition: color var(--transition);
  letter-spacing: .03em;
}

.lang-btn:hover { color: var(--text-primary); }

.lang-btn.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: .45rem 1rem;
  border-radius: 20px;
  font-size: .8rem !important;
  font-weight: 500;
  transition: background var(--transition) !important;
}

.nav-cta:hover { background: var(--accent-hover) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── DROPDOWN ── */
.nav-dropdown { position: relative; }

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
}

.dropdown-trigger::after {
  content: '▾';
  font-size: .7rem;
  color: var(--text-tertiary);
  transition: transform var(--transition);
}

.nav-dropdown:hover .dropdown-trigger::after { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .75rem;
  min-width: 240px;
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  margin-top: 8px;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .85rem !important;
  color: var(--text-secondary) !important;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary) !important;
}

.dropdown-menu a span.dd-icon {
  font-size: 1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: .5rem .85rem;
}

/* Mobile open */
@media (max-width: 640px) {
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(0,0,0,0.96);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: .25rem 0 .25rem 1rem;
  }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(41,151,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: .35rem .9rem;
  border: 1px solid rgba(41,151,255,0.3);
  border-radius: 20px;
  background: rgba(41,151,255,0.08);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #f5f5f7 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 980px;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); transform: scale(1.02); }

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

/* ── SECTIONS ── */
section { padding: 6rem 2rem; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  border: 1px solid rgba(41,151,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
}

.card p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .85rem;
  color: var(--accent);
  margin-top: 1rem;
  font-weight: 500;
}

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── FOOTER ── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: .875rem;
  color: var(--text-tertiary);
  margin-top: .75rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a {
  font-size: .875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--text-primary); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: .8rem;
  color: var(--text-tertiary);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-height) + 5rem) 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(41,151,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #f5f5f7 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp .7s ease both; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .3s; }
.fade-up-4 { animation-delay: .4s; }

/* ── ÜRÜN HERO (dikey: resim üstte, içerik altta) ── */
.prod-hero-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* Resim kutusu */
.prod-img-box, .product-visual {
  width: 100%;
  max-width: 560px;
  min-height: 360px;
  background: linear-gradient(135deg, rgba(41,151,255,0.08) 0%, rgba(41,151,255,0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.prod-img-box img, .product-visual img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

/* İçerik kutusu */
.prod-hero-wrap > div:last-child {
  width: 100%;
  max-width: 860px;
  text-align: center;
}

/* Feature/spec kartlarının içi sola dayalı kalsın */
.prod-hero-wrap .feature-item,
.prod-hero-wrap .feature-grid,
.prod-hero-wrap table {
  text-align: left;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Ürün sayfaları */
  .product-detail {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    padding: 2.5rem 0 !important;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* İletişim */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 1.25rem; }
  .page-hero { padding: calc(var(--nav-height) + 3rem) 1.25rem 2.5rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr !important; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { padding: 0 1.25rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Hero butonlar */
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Başlık boyutları */
  .section-title { font-size: 1.75rem; }
  .page-hero h1 { font-size: 2rem; }

  /* Kart padding */
  .card { padding: 1.5rem; }

  /* Ürün görseli */
  .product-visual { min-height: 280px !important; }

  /* Doz chip'leri */
  .dose-chips { gap: .25rem; }
}

/* Hamburger → X animasyonu */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menü açık overlay */
.mobile-open {
  animation: slideDown .25s ease both;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}