/* ============================================
   ÖzgürApp Landing — DilekçeYaz Visual Language
   Light theme default, dark theme optional
   ============================================ */

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

:root {
  /* Brand — Turuncu */
  --brand: #E85D1A;
  --brand-hover: #C84A0E;
  --brand-light: #FF8A4C;
  --brand-accent: #FFB088;

  /* Accent — Mor */
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --purple-soft: #F0E7FF;

  /* Status */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  /* Soft icon tints */
  --tint-orange: #FFE4D1;
  --tint-green: #D4F4E0;
  --tint-purple: #F0E7FF;
  --tint-blue: #DBEAFE;
  --tint-yellow: #FEF3C7;

  /* Light Theme (Default) */
  --bg-primary: #FBF7F4;
  --bg-secondary: #F4EEE7;
  --bg-card: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --text-heading: #1F1B16;
  --text-body: #4A4540;
  --text-muted: #7A746E;
  --text-disabled: #A8A29C;
  --border: #EDE7E0;
  --border-hover: #D6CEC4;

  /* Soft shadows (sıcak ton) */
  --shadow-sm: 0 1px 2px rgba(31, 27, 22, 0.04);
  --shadow-md: 0 1px 3px rgba(31, 27, 22, 0.06), 0 1px 2px rgba(31, 27, 22, 0.04);
  --shadow-lg: 0 10px 30px -10px rgba(232, 93, 26, 0.15);
  --shadow-xl: 0 20px 40px -15px rgba(232, 93, 26, 0.2);
}

[data-theme="dark"] {
  --bg-primary: #1A1614;
  --bg-secondary: #221E1B;
  --bg-card: #262220;
  --bg-elevated: #2F2A27;
  --text-heading: #F5EFE8;
  --text-body: #C9C2BA;
  --text-muted: #8A837C;
  --text-disabled: #5A544F;
  --border: #3A3530;
  --border-hover: #4A4540;

  --tint-orange: #3A2418;
  --tint-green: #1A3329;
  --tint-purple: #2A1F3D;
  --tint-blue: #1A2A3D;
  --tint-yellow: #3A2F18;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.5s; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

#navbar.scrolled {
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-heading);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 12px -2px rgba(232, 93, 26, 0.35);
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.logo-highlight {
  color: var(--brand);
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-body);
  transition: all 0.2s ease;
}

.theme-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.sun-icon {
  display: none;
}

[data-theme="dark"] .sun-icon {
  display: block;
}

[data-theme="dark"] .moon-icon {
  display: none;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-body);
}

.mobile-menu {
  display: none;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  background: var(--bg-secondary);
  color: var(--brand);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 12px -2px rgba(232, 93, 26, 0.3);
}

.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 8px 20px -4px rgba(232, 93, 26, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-heading);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--tint-orange);
  transform: translateY(-1px);
}

/* ============================================
   Hero — Split Layout
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1 1 480px;
  min-width: 0;
}

.hero-mock {
  flex: 0 1 540px;
  min-width: 320px;
  position: relative;
  min-height: 380px;
  animation: mockFloat 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1 1 480px;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--tint-orange);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 32px;
  border: 1px solid rgba(232, 93, 26, 0.15);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--text-heading);
}

.heading-primary {
  color: var(--text-heading);
  display: block;
}

.heading-orange {
  color: var(--brand);
  display: block;
}

.heading-gradient {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.feature-item svg {
  color: var(--brand);
}

/* Mock browser (sağ sütun) */
.hero-mock {
  position: relative;
  min-height: 380px;
  animation: mockFloat 6s ease-in-out infinite;
}

.hero-mock-editor {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}

.hero-mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.mock-dot-red { background: #FF5F57; }
.mock-dot-yellow { background: #FEBC2E; }
.mock-dot-green { background: #28C840; }

.hero-mock-editor-body {
  padding: 24px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.editor-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}

.editor-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--tint-purple);
  color: var(--purple);
  letter-spacing: 0;
}

.editor-line {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0;
}

.editor-line.muted {
  color: var(--text-muted);
  font-size: 12px;
}

.editor-suggestion {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--tint-purple);
  color: var(--purple);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.suggestion-icon {
  font-size: 14px;
  line-height: 1;
}

/* Mahkeme seçimi açılır penceresi (overlay) */
.hero-mock-court {
  position: absolute;
  right: -28px;
  bottom: 36px;
  width: 240px;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: 14px;
  z-index: 2;
}

.court-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.01em;
}

.court-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--tint-orange);
}

.court-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-body);
  font-weight: 500;
  margin-bottom: 2px;
  position: relative;
}

.court-item.selected {
  background: var(--tint-orange);
  color: var(--brand);
  font-weight: 600;
}

.court-emoji {
  font-size: 12px;
  line-height: 1;
}

.court-check {
  position: absolute;
  right: 10px;
  color: var(--purple);
  font-weight: 700;
  font-size: 13px;
}

/* ============================================
   Hero-Mock — Sürekli typewriter animasyonu (JS kontrollü)
   ============================================ */

/* Editör container: sahneler arası fade geçişi */
.hero-mock-editor {
  transition: opacity 0.4s ease;
}

.hero-mock-editor.fading {
  opacity: 0;
}

/* Cursor: yazma sırasında görünür, sahne arasında blink eder */
.hero-mock .editor-line {
  border-right: 1.5px solid transparent;
  min-height: 1.5em;
}

.hero-mock .editor-line.idle {
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
  0%, 50% { border-right-color: var(--brand); }
  51%, 100% { border-right-color: transparent; }
}

/* Suggestion: yazma sırasında hafif gizli, sahne tamamlanınca görünür */
.hero-mock .editor-suggestion {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-mock .editor-suggestion.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pill (Otomatik Taslak): sürekli hafif pulse */
.hero-mock .editor-pill {
  animation: pillPulse 2.4s ease-in-out infinite;
}

@keyframes pillPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08); }
}

/* Court kartı: hafif salınım (zaten mockFloat var, ek efekt) */
.hero-mock .hero-mock-court {
  transition: transform 0.3s ease;
}

.hero-mock .court-item.selected {
  animation: rowPulse 1.8s ease-in-out infinite;
}

@keyframes rowPulse {
  0%, 100% { background-color: var(--tint-orange); }
  50% { background-color: var(--brand-accent); }
}

/* Erişilebilirlik: azaltılmış hareket tercih eden kullanıcılar için tüm
   yeni animasyonları sıfırla ve içeriği tam görünür yap. JS de ilk
   sahneyi direkt yazar, döngü yapmaz. */
@media (prefers-reduced-motion: reduce) {
  .hero-mock .editor-line {
    border-right-color: transparent;
    animation: none !important;
  }

  .hero-mock .editor-suggestion {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .hero-mock .editor-pill,
  .hero-mock .court-item.selected {
    animation: none !important;
  }

  .hero-mock-editor {
    transition: none !important;
  }
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-secondary);
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: transparent;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   Products
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand);
}

.icon-primary {
  background: var(--tint-orange);
  color: var(--brand);
}

.icon-accent {
  background: var(--tint-purple);
  color: var(--purple);
}

.icon-success {
  background: var(--tint-green);
  color: var(--success);
}

.icon-info {
  background: var(--tint-blue);
  color: var(--info);
}

.icon-warning {
  background: var(--tint-yellow);
  color: var(--warning);
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.product-card:hover .product-title {
  color: var(--brand);
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  transition: gap 0.3s ease;
}

.product-card:hover .product-link {
  gap: 12px;
}

.link-success {
  color: var(--success);
}

.link-warning {
  color: var(--warning);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--tint-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--brand);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

.icon-success-bg {
  background: var(--tint-green);
  color: var(--success);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   Stats — Turuncu→Mor gradient
   ============================================ */
.stats-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--purple) 100%);
}

.stats-content {
  position: relative;
  z-index: 10;
  padding: 56px 48px;
}

.stats-header {
  text-align: center;
  margin-bottom: 40px;
}

.stats-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stats-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

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

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 44px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  letter-spacing: -0.02em;
}

.stat-plus {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.7);
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.counter {
  display: inline-block;
}

/* ============================================
   Articles
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-image {
  height: 180px;
  background: var(--tint-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.article-image-alt {
  background: var(--tint-purple);
  color: var(--purple);
}

.article-image-success {
  background: var(--tint-green);
  color: var(--success);
}

.article-content {
  padding: 24px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.article-tag {
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--tint-orange);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

.tag-success {
  background: var(--tint-green);
  color: var(--success);
}

.article-time {
  font-size: 12px;
  color: var(--text-disabled);
}

.article-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.article-card:hover .article-title {
  color: var(--brand);
}

.article-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  transition: gap 0.3s ease;
}

.article-card:hover .article-link {
  gap: 12px;
}

.link-success {
  color: var(--success);
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   CTA
   ============================================ */
.cta-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: -16px;
  background: linear-gradient(135deg, rgba(232, 93, 26, 0.25), rgba(124, 58, 237, 0.25));
  filter: blur(40px);
}

.cta-content {
  position: relative;
  z-index: 10;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-title {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 512px;
  margin: 0 auto 32px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 16px 0 20px;
}

.footer-email {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: var(--brand);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

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

.footer-copyright {
  font-size: 13px;
  color: var(--text-disabled);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-disabled);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}

/* ============================================
   Audience Tags (kitle rozetleri)
   ============================================ */
.audience-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--tint-blue);
  color: var(--info);
  margin-left: 8px;
  vertical-align: middle;
}

.audience-tag.audience-pro {
  background: var(--tint-orange);
  color: var(--brand);
}

.audience-tag.audience-student {
  background: var(--tint-purple);
  color: var(--purple);
}

.audience-tag.audience-individual {
  background: var(--tint-green);
  color: var(--success);
}

/* ============================================
   How It Works — 3 adımlı süreç
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.step-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px -2px rgba(232, 93, 26, 0.35);
}

.step-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--brand);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--brand) 0%, var(--purple) 100%);
  border-color: transparent;
  color: white;
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
}

.pricing-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.pricing-card.featured .pricing-name {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card.featured .price-amount {
  color: white;
}

.price-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1;
}

.pricing-card.featured .price-currency {
  color: white;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card.featured .price-period {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 44px;
}

.pricing-card.featured .pricing-desc {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 10px;
  line-height: 1.5;
}

.pricing-card.featured .pricing-features li {
  color: rgba(255, 255, 255, 0.95);
}

.pricing-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--success);
  margin-top: 1px;
}

.pricing-card.featured .pricing-check {
  color: white;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
}

.pricing-card.featured .btn-primary {
  background: white;
  color: var(--brand);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured .btn-primary:hover {
  background: var(--bg-secondary);
  color: var(--brand-hover);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--warning);
}

.testimonial-rating svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial-avatar.avatar-blue {
  background: linear-gradient(135deg, var(--info), var(--purple));
}

.testimonial-avatar.avatar-green {
  background: linear-gradient(135deg, var(--success), var(--info));
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

/* ============================================
   FAQ (details/summary)
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--brand);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tint-orange);
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: '−';
  background: var(--brand);
  color: white;
  transform: rotate(180deg);
}

.faq-question:hover {
  color: var(--brand);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.faq-answer a:hover {
  border-bottom-color: var(--brand);
}

/* ============================================
   Newsletter Band
   ============================================ */
.newsletter-band {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.newsletter-band::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tint-orange), var(--tint-purple));
  opacity: 0.5;
  z-index: 0;
}

.newsletter-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.newsletter-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.newsletter-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.newsletter-form {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.newsletter-input {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-heading);
  font-size: 14px;
  font-family: inherit;
  min-width: 240px;
  transition: border-color 0.2s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--brand);
}

.newsletter-input::placeholder {
  color: var(--text-disabled);
}

/* ============================================
   Footer genişletme — sosyal & 4. sütun
   ============================================ */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.2s ease;
}

.footer-lang:hover {
  color: var(--brand);
  border-color: var(--brand);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-mock {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-mock-court {
    right: 12px;
    bottom: 16px;
  }

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

  .steps-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .newsletter-band {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 32px 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .btn-sm {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-mock {
    min-height: auto;
  }

  .hero-mock-court {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
    animation: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .stats-content {
    padding: 32px 24px;
  }

  .stat-number {
    font-size: 32px;
  }

  .cta-content {
    padding: 32px 24px;
  }
}

/* ============================================
   Scrollbar & Selection
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

::selection {
  background: rgba(232, 93, 26, 0.2);
  color: var(--text-heading);
}
