/* ==========================================================================
   LANDING PAGES DESIGN SYSTEM & MODULAR WIDGETS
   adsoyad.org.tr - Tier 1, Tier 2, Tier 3 Keyword Landing Pages
   ========================================================================== */

/* 1. Global Page Hero & Subtitle Enhancements */
.page-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* 2. Interactive A-Z Harf Şeridi & Canlı Filtre */
.az-filter-wrapper {
  margin-bottom: 2rem;
  padding: 1.25rem;
}

.az-filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.az-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.az-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.az-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(108, 92, 231, 0.06);
}

.az-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.az-btn-all {
  width: auto;
  padding: 0 0.75rem;
}

.live-search-input-wrapper {
  margin-top: 1rem;
  position: relative;
}

.live-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.live-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}

.live-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

/* 3. Cards & Grid System for Landing Names */
.names-landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.landing-name-card {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.landing-name-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.name-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.name-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.name-card-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-fav-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.2rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.btn-fav-toggle:hover {
  transform: scale(1.15);
  color: #e84393;
}

.btn-fav-toggle.favorited {
  color: #e84393;
}

.btn-speak {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.2rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.name-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.name-card-meaning {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.name-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.name-card-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
}

.name-card-link:hover {
  text-decoration: underline;
}

/* 4. Tier 1 - Kız Bebek İsimleri: Melodi & Zarafet Blokları */
.melodic-sound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.melodic-sound-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(253, 242, 248, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.melodic-sound-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #be185d;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.melodic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.melodic-tag {
  background: #ffffff;
  border: 1px solid #fbcfe8;
  color: #9d174d;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* 5. Tier 1 - Erkek Bebek İsimleri: Liderlik & Akustik Matrisi */
.charisma-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.charisma-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.charisma-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.acoustic-meter-wrapper {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.acoustic-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.acoustic-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 4px;
}

/* 6. Tier 2 - Kur'an'da Geçen İsimler: Doğrulama & Kara Liste */
.quran-verse-card {
  border-left: 4px solid #10b981;
  background: rgba(240, 253, 244, 0.5);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1rem;
}

.quran-surah-ref {
  font-weight: 700;
  color: #065f46;
  font-size: 0.85rem;
}

.quran-verse-text {
  font-style: italic;
  color: #1f2937;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.misleading-blacklist-box {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.misleading-title {
  color: #c53030;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

/* 7. Tier 2 - Öz Türkçe İsimler: Göktürkçe & Kök Ağacı */
.gokturk-display-box {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: #f7fafc;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.gokturk-runic-text {
  font-size: 1.75rem;
  font-family: 'Segoe UI Historic', 'Noto Sans Old Turkic', serif;
  letter-spacing: 4px;
  color: #f6e05e;
}

.root-tree-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.root-tree-node {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: var(--bg-card);
  text-align: center;
}

.root-tree-kök {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

/* 8. Tier 2 - Modern & Nadir İsimler: Nadirlik Radarı */
.rarity-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.rarity-pill-ultra {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.rarity-pill-rare {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

/* 9. Tier 3 - Soyadı & Çift İsim: Canlı T.C. Kimlik Kartı Mockup */
.id-card-preview-container {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.tc-id-card-mockup {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
  border: 2px solid #60a5fa;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
  position: relative;
  color: #1e3a8a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.id-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(30, 58, 138, 0.2);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.id-card-header-left {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.id-card-header-right {
  font-size: 0.75rem;
  font-weight: 700;
}

.id-card-body {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: center;
}

.id-card-photo-box {
  width: 80px;
  height: 95px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed #3b82f6;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #3b82f6;
  text-align: center;
}

.id-card-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.id-field-row {
  display: flex;
  flex-direction: column;
}

.id-field-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #475569;
  font-weight: 600;
}

.id-field-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.id-chip-icon {
  width: 36px;
  height: 28px;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  border-radius: 4px;
  border: 1px solid #d97706;
  margin-bottom: 0.5rem;
}

/* 10. Tier 3 - Kardeş İsimleri & Aile Rezonans Hesaplayıcı */
.sibling-matcher-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.twins-pair-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.twins-pair-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.twin-name-box {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  background: rgba(108, 92, 231, 0.05);
  border-radius: var(--radius-sm);
}

.twin-name-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.twin-symbol {
  font-size: 1.25rem;
  color: var(--primary);
}

/* 10. Tier 3 - Kardeş İsimleri Hibrit Eşleştirici */
.sibling-matcher-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.sibling-results-summary-box {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.9) 0%, rgba(238, 242, 255, 0.9) 100%);
  border: 1px solid #c7d2fe;
}

.sibling-card-scores {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.5rem 0;
  padding: 0.4rem 0.6rem;
  background: rgba(108, 92, 231, 0.06);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.sibling-score-badge {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
}

.sibling-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.4rem 0;
}

.sibling-tag-chip {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
}

.sibling-collision-alert {
  font-size: 0.78rem;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.5rem;
  margin-top: 0.4rem;
}


/* 11. High-Converting AI CTA Banners & Buttons */
.landing-cta-banner {
  background: linear-gradient(135deg, #6c5ce7 0%, #4834d4 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
  box-shadow: 0 10px 25px -5px rgba(108, 92, 231, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
}

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

/* Kesin Görünürlük & Yüksek Kontrast CTA Butonu */
.btn-cta-primary {
  background-color: #ffffff;
  color: #4338ca;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.85rem 1.85rem;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid transparent;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
  background-color: #f8fafc;
  color: #312e81;
}

/* 12. Floating WhatsApp Favorite Drawer */
.fav-floating-bar {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  display: none;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  z-index: 1000;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
}

.fav-floating-bar:hover {
  transform: scale(1.05);
}

.fav-count-badge {
  background: #ffffff;
  color: #25d366;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

/* 13. Formula Boxes & Utilities */
.acoustic-bar-fill-88 {
  width: 88%;
}

.formula-box-purple {
  background: rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.formula-box-red {
  background: rgba(239, 68, 68, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.formula-box-green {
  background: rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.formula-box-blue {
  background: rgba(59, 130, 246, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.id-field-value-sm {
  font-size: 0.85rem;
}

.grid-col-full {
  grid-column: 1 / -1;
}

.w-100 {
  width: 100%;
}

.align-end {
  align-items: flex-end;
}

.btn-sibling-submit {
  min-height: 48px;
}

.btn-lg {
  font-size: 1.1rem;
  padding: 0.85rem 1.85rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  letter-spacing: 0.3px;
}

.btn-match-cta {
  background: linear-gradient(135deg, #6c5ce7 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-match-cta:hover {
  background: linear-gradient(135deg, #5b48e0 0%, #4338ca 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5);
}

.btn-show-in-sim {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--primary);
  border-color: #c7d2fe;
  background: rgba(108, 92, 231, 0.05);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-show-in-sim:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* 13.5 Button Spinner & Dynamic Loading States */
.btn-spinner {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btn-spin-anim 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.4rem;
}

@keyframes btn-spin-anim {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.results-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.4) 0%, rgba(238, 242, 255, 0.4) 100%);
  border: 2px dashed #c7d2fe;
  border-radius: var(--radius-lg);
  margin: 1rem 0;
  text-align: center;
}

.results-spinner-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.15) 0%, rgba(79, 70, 229, 0.25) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  animation: pulse-bubble 1.2s infinite ease-in-out;
  border: 2px solid #818cf8;
  margin-bottom: 1rem;
}

@keyframes pulse-bubble {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.4); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(108, 92, 231, 0); }
}

.landing-name-card {
  animation: cardFadeIn 0.35s ease-out;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 14. Dynamic Multi-Sibling Input Components */
.sibling-inputs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.sibling-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.sibling-input-wrap .form-input {
  padding-right: 2.25rem;
}

.btn-remove-sibling {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.btn-remove-sibling:hover {
  color: var(--danger);
  background: rgba(225, 112, 85, 0.12);
}

.btn-add-sibling {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* 15. Responsive Adjustments */
@media (max-width: 768px) {
  .names-landing-grid {
    grid-template-columns: 1fr;
  }
  .landing-cta-banner {
    padding: 1.75rem 1.25rem;
  }
  .cta-title {
    font-size: 1.35rem;
  }
  .cta-desc {
    font-size: 0.95rem;
  }
  .az-filter-bar {
    gap: 0.25rem;
  }
  .az-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  .tc-id-card-mockup {
    padding: 1rem;
  }
}
