/*
 * Düğün Takı Takip — web sitesi stilleri.
 * Renkler ve ölçüler uygulamanın src/theme.ts dosyasındaki tasarım
 * belirteçlerinden birebir alınmıştır (koyu lacivert + altın tema).
 */

:root {
  --background: #0a1628;
  --background-deep: #071020;
  --surface: #0f1b2d;
  --surface-raised: #16243a;
  --border: #1e2840;
  --divider: #1a2840;

  --text: #f4f1eb;
  --text-secondary: #8899aa;
  --text-muted: #556677;

  --accent: #c8a96e;
  --on-accent: #071020;
  --gold-badge-bg: #1a1408;
  --gold-badge-border: #3d3018;

  --positive: #2ecc8a;
  --positive-bg: #0a200c;
  --positive-border: #0f3020;

  --danger: #e5605d;
  --danger-bg: #2a1212;
  --danger-border: #4a1f1f;

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Üst bar ---------------------------------------------------------- */

.site-header {
  background: rgba(7, 16, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-badge-border);
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.site-nav a {
  color: var(--text-secondary);
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* --- Kahraman bölümü --------------------------------------------------- */

.hero {
  padding: 72px 0 56px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(200, 169, 110, 0.12), transparent),
    var(--background-deep);
  border-bottom: 1px solid var(--border);
}

.hero .app-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  border: 1px solid var(--gold-badge-border);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 .gold {
  color: var(--accent);
}

.hero .subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 560px;
  margin: 16px auto 32px;
}

.store-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 20px;
  color: var(--text);
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.store-button:hover {
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.store-button svg {
  width: 26px;
  height: 26px;
  fill: var(--text);
  flex-shrink: 0;
}

.store-button .lines small {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.2;
}

.store-button .lines strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.soon-badge {
  display: inline-block;
  margin-top: 16px;
  background: var(--gold-badge-bg);
  border: 1px solid var(--gold-badge-border);
  color: var(--accent);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* --- Bölümler ----------------------------------------------------------- */

section {
  padding: 56px 0;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 15px;
}

/* --- Özellik kartları --------------------------------------------------- */

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}

.feature-card .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gold-badge-bg);
  border: 1px solid var(--gold-badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 20px;
}

.feature-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* --- Örnek denge kartı -------------------------------------------------- */

.demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 420px;
  margin: 0 auto;
  padding: 20px;
}

.demo-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 14px;
}

.demo-card .row:last-child {
  border-bottom: none;
}

.demo-card .label {
  color: var(--text-secondary);
}

.demo-card .value {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.demo-card .value.gold {
  color: var(--accent);
}

.demo-card .value.positive {
  color: var(--positive);
}

.demo-card .value.negative {
  color: var(--danger);
}

/* --- Gizlilik şeridi ---------------------------------------------------- */

.privacy-strip {
  background: var(--background-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.privacy-strip p {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 20px;
  font-size: 15px;
}

.privacy-strip .links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
}

/* --- Makale sayfaları (gizlilik, koşullar, hesap silme) ------------------ */

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.article h1 {
  font-size: 28px;
  font-weight: 800;
}

.article .updated {
  color: var(--text-muted);
  font-size: 13px;
  margin: 6px 0 32px;
}

.article section {
  padding: 0;
  margin-bottom: 24px;
}

.article h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.article p,
.article li {
  color: var(--text-secondary);
  font-size: 15px;
}

.article ul,
.article ol {
  padding-left: 22px;
  margin-top: 6px;
}

.article .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 24px 0;
}

.article .card.danger {
  background: var(--danger-bg);
  border-color: var(--danger-border);
}

.article .card.danger h2 {
  color: var(--danger);
}

/* --- Alt bilgi ----------------------------------------------------------- */

.site-footer {
  background: var(--background-deep);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer .links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 14px;
}

.site-footer .links a {
  color: var(--text-secondary);
}

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

@media (max-width: 540px) {
  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    padding: 48px 0 40px;
  }
}
