:root {
  --bg: #0b0f19;
  --bg-card: rgba(17, 24, 39, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --text-muted: #cbd5e1;
  --link-color: #38bdf8;
  --stat-lbl-color: #cbd5e1;
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.25);
  --nav-bg: rgba(11, 15, 25, 0.85);
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.95);
  --border: rgba(0, 0, 0, 0.08);
  --text: #0f172a;
  --text-muted: #475569;
  --link-color: #0369a1;
  --stat-lbl-color: #334155;
  --accent: #0284c7;
  --accent-glow: rgba(2, 132, 199, 0.2);
  --nav-bg: rgba(248, 250, 252, 0.92);
}

[data-theme="light"] .navbar {
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .footer-brand-link {
  color: #0284c7;
}

[data-theme="light"] .logo,
[data-theme="light"] .feature-card h3,
[data-theme="light"] .step-card h3,
[data-theme="light"] .section-title {
  color: #0f172a;
}

[data-theme="light"] .nav-links a {
  color: #475569;
}

[data-theme="light"] .nav-links a:hover {
  color: #0284c7;
}

[data-theme="light"] .store-btn {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

[data-theme="light"] .store-btn:hover {
  border-color: #0284c7;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .github-btn {
  background: rgba(0, 0, 0, 0.06);
  color: #0f172a !important;
}

[data-theme="light"] .theme-toggle-btn {
  color: #475569;
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Arka Plan Glow Efektleri */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}

.glow-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25), transparent 70%);
  top: -100px;
  left: 10%;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  top: 300px;
  right: 5%;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 6px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.lang-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
  will-change: transform, opacity;
}

.lang-btn.active, .lang-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.flag-svg {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.portal-btn {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8 !important;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

[data-theme="light"] .portal-btn {
  background: rgba(2, 132, 199, 0.1);
  color: #0369a1 !important;
  border-color: rgba(2, 132, 199, 0.3);
}

/* Koyu / Açık Tema Şık Hap Buton */
.theme-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 12px 5px 6px;
  border-radius: 24px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  user-select: none;
  will-change: transform;
}

.theme-toggle-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.theme-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
  transition: transform 0.25s ease, background-color 0.25s ease;
  will-change: transform;
}

.theme-toggle-pill:hover .theme-icon-wrap {
  transform: rotate(15deg) scale(1.05);
  background: rgba(56, 189, 248, 0.25);
}

.theme-label {
  font-size: 12px;
  letter-spacing: 0.2px;
}

[data-theme="light"] .theme-toggle-pill {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #475569;
}

[data-theme="light"] .theme-toggle-pill:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: #0284c7;
  color: #0f172a;
}

[data-theme="light"] .theme-icon-wrap {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.15);
}

#sun-icon { display: none; }
#moon-icon { display: block; }
[data-theme="light"] #sun-icon { display: block !important; }
[data-theme="light"] #moon-icon { display: none !important; }


.github-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 8px;
  color: #fff !important;
}

/* Hero Section */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
}

[data-theme="light"] .badge {
  background: rgba(2, 132, 199, 0.12);
  color: #0369a1;
  border-color: rgba(2, 132, 199, 0.35);
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 800px;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 30px;
}

/* Kedi Görsel Vitrini */
.cat-showcase-wrap {
  position: relative;
  max-width: 720px;
  width: 100%;
  aspect-ratio: 800 / 446;
  margin: 0 auto 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(56, 189, 248, 0.2);
  transition: transform 0.3s ease;
  contain: layout paint;
}

.cat-showcase-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.3);
}

.cat-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 800 / 446;
  display: block;
  object-fit: cover;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(10px);
  will-change: transform;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.store-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Desteklenen Tarayıcılar Satırı */
.supported-browsers-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.browsers-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.browser-badge-list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

[data-theme="light"] .browser-badge-list {
  background: rgba(0, 0, 0, 0.03);
}

.browser-badge-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
  will-change: transform, opacity;
}

.browser-badge-list a:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* Features */
.features-section, .how-section {
  padding: 70px 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}

.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 16px;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #0b0f19;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-content a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-content a:hover {
  text-decoration-color: currentColor;
  opacity: 0.85;
}

.footer-brand-link {
  color: var(--link-color) !important;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--link-color) !important;
}

/* Nostaljik Sayaç Hapı (Retro Stats Pill) */
.retro-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 11.5px;
  color: var(--text-muted);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}

[data-theme="light"] .retro-stats-pill {
  background: rgba(241, 245, 249, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.retro-stats-pill:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.retro-led-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseLed 2s infinite ease-in-out;
  will-change: opacity, transform;
}

@keyframes pulseLed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.stat-lbl {
  color: var(--stat-lbl-color);
  font-weight: 500;
}

.retro-stat-item strong {
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 0.3px;
}

[data-theme="light"] .retro-stat-item strong {
  color: #0369a1;
}

.stat-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
}

[data-theme="light"] .stat-sep {
  color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 34px;
  }
  .nav-links {
    display: none;
  }
}

/* UI/UX Pro Max & SEO Core Web Vitals (a11y & Interactions) */
button,
a,
input,
select,
[role="button"] {
  outline: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px var(--accent-glow) !important;
}

button,
.store-btn,
.github-btn,
.portal-btn,
.theme-toggle-pill,
.lang-btn {
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}

.store-btn:active,
.github-btn:active,
.portal-btn:active,
.theme-toggle-pill:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


