:root {
  --bg: #F7F6FC;
  --surface: #FFFFFF;
  --text: #1D1B33;
  --muted: #5E5C78;
  --border: #E6E4F2;
  --primary: #4B4BC6;
  --shadow: 0 20px 50px rgba(36, 30, 90, 0.08);
  --radius: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1020;
    --surface: #1A1B2E;
    --text: #F2F1FF;
    --muted: #A6A4C2;
    --border: #2D2F4A;
    --primary: #8283FF;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }
}

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

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(75, 75, 198, 0.14), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.10), transparent 35%);
  pointer-events: none;
  z-index: -1;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 24px 16px 64px; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 40px;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4F46D8, #7058E0 60%, #F97316);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand span { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }

header nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; }

header nav a:hover { color: var(--text); }

.hero { text-align: center; padding: 24px 0 48px; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin: 0 auto 16px;
}

.hero p { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin: 0 auto; }

.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }

.app {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--glow);
  opacity: 0.16;
  pointer-events: none;
}

.app.astroruya { --accent: #7A5AE6; --glow: #8B6CF0; }
.app.mileday { --accent: #4B4BC6; --glow: #F97316; }

@media (prefers-color-scheme: dark) {
  .app.mileday { --accent: #8283FF; }
  .app.astroruya { --accent: #A88DFF; }
}

.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }

.app-head img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); flex-shrink: 0; }

.app-head h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }

.app-head p { color: var(--muted); font-size: 0.92rem; font-weight: 500; }

.status {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 3px 10px;
  border-radius: 999px;
}

.app .desc { margin-bottom: 18px; }

.app ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }

.app li { display: flex; gap: 10px; color: var(--muted); font-size: 0.95rem; }

.app li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #fff; }

.btn-ghost { color: var(--text); border: 1px solid var(--border); }

.btn-disabled { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); cursor: default; }

.btn-disabled:hover { transform: none; }

.section { margin-top: 48px; }

.section h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }

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

.feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }

.feature p { color: var(--muted); font-size: 0.93rem; }

footer {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* Yasal belgeler (gizlilik politikası) */
.doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.doc-header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }

.doc-header h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }

.doc-header .meta { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

.lang-switch { display: flex; gap: 8px; margin-top: 14px; }

.lang-switch a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
}

.doc h2 { font-size: 1.15rem; font-weight: 800; margin: 26px 0 10px; }

.doc p, .doc li { color: var(--muted); }

.doc p { margin-bottom: 10px; }

.doc ul { padding-inline-start: 20px; margin-bottom: 10px; }

.doc li { margin-bottom: 8px; }

.doc strong { color: var(--text); }

.doc a { color: var(--primary); }

.doc-divider { border: none; border-top: 1px solid var(--border); margin: 40px 0 8px; }

@media (max-width: 600px) {
  .doc { padding: 24px 18px; }
}
