:root {
  --bg-color: #090d16;
  --nav-bg: rgba(9, 13, 22, 0.85);
  --card-bg: rgba(15, 23, 42, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.45);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.25);
  --accent: #818cf8;
  --code-bg: rgba(15, 23, 42, 0.8);
}

body.light-theme {
  --bg-color: #f8fafc;
  --nav-bg: rgba(255, 255, 255, 0.9);
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(14, 165, 233, 0.6);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --primary: #0284c7;
  --primary-glow: rgba(2, 132, 199, 0.2);
  --accent: #6366f1;
  --code-bg: #f1f5f9;
}

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

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

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

/* Ambient Glow */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

.glow-1 {
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
}

.glow-2 {
  top: 40%;
  right: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.2), transparent 70%);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.logo-badge img {
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.3);
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

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

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

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

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

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

/* Dil Seçici Butonları (Navbar) */
.lang-switcher {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  padding: 4px 8px;
  border-radius: 999px;
  align-items: center;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.flag-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.lang-btn:hover {
  opacity: 1;
  transform: scale(1.18);
}

.lang-btn.active {
  opacity: 1;
  border: 2px solid var(--primary);
  transform: scale(1.08);
  box-shadow: 0 0 8px var(--primary-glow);
}

.github-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  color: var(--text-main) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: all 0.2s;
}

.github-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  text-decoration: none;
  transition: all 0.25s ease;
}

.portal-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

/* Hero Bölümü */
.hero {
  padding: 70px 0 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Mağaza Butonları (Store Buttons) */
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 20px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

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

.store-btn .store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.store-btn .store-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-btn .store-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.store-btn:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 10px 24px var(--primary-glow);
}

.store-btn.disabled {
  opacity: 0.8;
}

.badge-soon {
  display: inline-block;
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  margin-left: 4px;
  font-weight: 600;
  vertical-align: middle;
}

/* Theme Toggle Button (Navbar) */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Mascot Hero Section */
.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.hero-mascot-wrapper {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mascot {
  width: 280px;
  height: 280px;
  object-fit: contain;
  border-radius: 28px;
  filter: drop-shadow(0 15px 30px rgba(56, 189, 248, 0.35));
  animation: floatMascot 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.hero-mascot:hover {
  transform: scale(1.04) rotate(2deg);
}

@keyframes floatMascot {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.mascot-tag {
  position: absolute;
  bottom: -8px;
  background: var(--card-bg);
  border: 1px solid var(--border-hover);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

/* App Screenshot Showcase (Ekran Görüntüleri Vitrini) */
.showcase-section {
  text-align: center;
  margin: 40px 0 60px 0;
  position: relative;
  z-index: 1;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.showcase-card {
  position: relative;
  border-radius: 20px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(129, 140, 248, 0.2), rgba(0, 255, 102, 0.12));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.15);
  border: 1px solid var(--card-border);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 35px var(--primary-glow);
}

.showcase-card picture {
  display: block;
  width: 100%;
}

.showcase-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.showcase-card:hover img {
  transform: scale(1.02);
}

.showcase-caption {
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

@media (max-width: 860px) {
  .hero-wrapper {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-mascot {
    width: 220px;
    height: 220px;
  }
}

/* Features */
.features {
  padding: 50px 0 70px;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 26px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-card .icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

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

/* Showcase Chips */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 35px 0;
  border-top: 1px solid var(--card-border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}

.footer-portal {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--primary) !important;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.footer-portal-link:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.2);
}

.footer a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer a:hover {
  color: #67e8f9;
  text-decoration-thickness: 2px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .nav-links {
    display: none;
  }
  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
  .store-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}
