/* Basit, karanlık temalı, modern görünüm. Tüm sitelerde aynı temel yapı,
   renkler PHP config üzerinden CSS değişkenleri ile yönetiliyor. */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
}

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, var(--accent-color), var(--brand-color));
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.8);
}

.logo-text {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.88rem;
}

.nav-link {
  padding: 0.4rem 0.2rem;
  color: #9ca3af;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent-color), var(--brand-color));
  transition: width 0.18s ease-out;
}

.nav-link:hover {
  color: #e5e7eb;
}

.nav-link:hover::after {
  width: 100%;
}

.site-main {
  flex: 1;
}

/* Hero */

.hero-section {
  padding: 3.5rem 0 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.9rem;
}

.hero-subtitle {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  max-width: 34rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-color), var(--accent-color));
  color: white;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.7);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.15), rgba(15, 23, 42, 0.95));
  color: #e5e7eb;
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
}

.hero-disclaimer {
  font-size: 0.78rem;
  color: #6b7280;
  max-width: 30rem;
}

/* Hero side card */

.hero-card {
  border-radius: 1.25rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, rgba(51, 65, 85, 0.45), rgba(15, 23, 42, 0.98));
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.dot-green {
  background: #22c55e;
}

.dot-amber {
  background: #fbbf24;
}

.dot-red {
  background: #ef4444;
}

.hero-card-body {
  padding: 1rem 1.15rem 1.25rem;
}

.hero-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.9rem;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  font-size: 0.86rem;
}

.hero-metrics li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.7rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Sections */

.section {
  padding: 2.5rem 0;
}

.section-muted {
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.18), rgba(15, 23, 42, 1));
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
  font-size: 0.95rem;
}

/* Grid */

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, rgba(51, 65, 85, 0.5), rgba(15, 23, 42, 0.98));
  padding: 1.1rem 1.1rem 1.2rem;
}

.info-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Table */

.table-wrapper {
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.95);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table thead {
  background: rgba(15, 23, 42, 0.98);
}

.price-table th,
.price-table td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.price-table th {
  font-weight: 500;
  color: #9ca3af;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.price-table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.9);
}

.price-table tbody tr:nth-child(odd) {
  background: rgba(15, 23, 42, 0.98);
}

.price-table tbody tr:hover {
  background: rgba(30, 64, 175, 0.45);
}

.link-cta {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 500;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.98);
  padding: 0.75rem 0.9rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
}

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

.faq-item p {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.5rem 0 1.8rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.95));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    order: -1;
  }
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .main-nav {
    display: none;
  }
}

/* Typography tweak per site: font-family üzerinden özelleşiyor */
body {
  font-family: var(--font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}
