/* ==========================================================================
   Vakt-i Huzur — Modern Tanıtım Sitesi Stilleri
   Modern Web Standartları: color-scheme, semantic tokens, responsive layout
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* Marka Renkleri (Uygulama ile Birebir Zümrüt Yeşili Paleti: #10B981) */
  --emerald-primary: #10B981;
  --emerald-dark: #065F46;
  --emerald-light: #34D399;
  --emerald-soft: #A7F3D0;
  --gold-accent: #FBBF24;

  /* Işık ve Karanlık Tema Token'ları */
  --bg-body: light-dark(#F8FAFC, #080E1A);
  --bg-card: light-dark(#FFFFFF, #0F172A);
  --bg-card-subtle: light-dark(#F1F5F9, #1E293B);
  --border-color: light-dark(#E2E8F0, #1E293B);
  --border-highlight: light-dark(rgba(16, 185, 129, 0.3), rgba(52, 211, 153, 0.4));

  --text-primary: light-dark(#0F172A, #F8FAFC);
  --text-secondary: light-dark(#475569, #94A3B8);
  --text-muted: light-dark(#64748B, #64748B);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 45px -10px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   Tipografi ve Genel Elemanlar
   ========================================================================== */

a {
  color: inherit;
  text-decoration: none;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid var(--border-highlight);
  color: var(--emerald-primary);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-primary);
}

/* ==========================================================================
   Header & Navigasyon
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: light-dark(rgba(248, 250, 252, 0.88), rgba(8, 14, 26, 0.88));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

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

.brand small {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-primary);
  margin-left: 4px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--emerald-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--emerald-primary);
  color: #FFFFFF !important;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.nav-cta:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   Hero Bölümü (Ana Tanıtım)
   ========================================================================== */

.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 52px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.pill-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.pill-feature svg {
  color: var(--emerald-primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

/* Google Play Store Butonu */
.btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: #000000;
  color: #FFFFFF !important;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-playstore:hover {
  transform: translateY(-2px);
  border-color: var(--emerald-primary);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.35);
}

.btn-playstore svg {
  width: 32px;
  height: 32px;
}

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

.playstore-text small {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #CBD5E1;
}

.playstore-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-contact:hover {
  border-color: var(--emerald-primary);
  color: var(--emerald-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Gerçek Telefon Ekranı Mockup'ı (Hero Screenshot)
   ========================================================================== */

.mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.real-phone-frame {
  width: 300px;
  background: #000000;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.45), var(--shadow-glow);
  border: 4px solid #1E293B;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.real-phone-frame:hover {
  transform: translateY(-6px);
}

.real-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 36px;
}

/* ==========================================================================
   Özellikler Bölümü (Feature Grid)
   ========================================================================== */

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 10px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-primary);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Uygulama Gerçek Ekran Görüntüleri Vitrini (Gallery)
   ========================================================================== */

.gallery-section {
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.gallery-phone {
  background: #000000;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 3px solid #1E293B;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.gallery-phone:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.25);
  border-color: var(--emerald-primary);
}

.gallery-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}

.gallery-info h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.gallery-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}

/* ==========================================================================
   SSS (Sıkça Sorulan Sorular)
   ========================================================================== */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item[open] {
  border-color: var(--emerald-primary);
}

.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 30px;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color 0.2s;
}

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

/* ==========================================================================
   Responsive Uyumluluk (Mobil & Tablet)
   ========================================================================== */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-badges, .hero-actions {
    justify-content: center;
  }

  .real-phone-frame {
    width: 270px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .section {
    padding: 50px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}
