/* Pratik Ön muhasebe — uygulama ile aynı renk paleti (global.css) */
:root {
  --bg-primary: #f0f4f9;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e8eef6;
  --bg-hover: #dce8f4;
  --border: #9eb4cc;
  --text-primary: #071018;
  --text-secondary: #1a334d;
  --text-muted: #334d66;

  --accent: #0d47a1;
  --accent-hover: #082f6e;
  --accent-muted: rgba(13, 71, 161, 0.14);
  --accent-light: #1565c0;

  --success: #1b5e20;
  --success-muted: rgba(27, 94, 32, 0.14);
  --warning: #bf360c;
  --warning-muted: rgba(191, 54, 12, 0.12);
  --danger: #b71c1c;

  --header-bg: #0d47a1;
  --header-bg-dark: #082f6e;
  --header-text: #ffffff;
  --header-text-muted: rgba(255, 255, 255, 0.94);

  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(7, 16, 24, 0.12);
  --font: 'Segoe UI', 'Segoe UI Variable', system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.55;
  font-size: 14px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

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

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

/* ── Site header (uygulama menubar) ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-bg-dark);
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--header-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 0;
}

.brand:hover { text-decoration: none; opacity: 0.95; }
.brand img { border-radius: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--header-text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm, 4px);
  transition: background 0.15s;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--header-text);
  text-decoration: none;
}

.nav-cta {
  background: var(--bg-secondary) !important;
  color: var(--accent) !important;
  font-weight: 600 !important;
  margin-left: 4px;
}

.nav-cta:hover {
  background: var(--bg-tertiary) !important;
}

/* ── Buttons (uygulama .btn) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--accent-hover);
  transition: background 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-lg { padding: 12px 24px; font-size: 14px; }

.btn[disabled], .btn.disabled {
  opacity: 0.55;
  pointer-events: none;
}

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

/* ── Cards ── */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.card h2 { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 13px; margin-bottom: 16px; }

.badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-sm, 4px);
  font-size: 12px;
  font-weight: 600;
  background: var(--success-muted);
  color: var(--success);
  border: 1px solid rgba(27, 94, 32, 0.25);
}

.badge-warn {
  background: var(--warning-muted);
  color: var(--warning);
  border-color: rgba(191, 54, 12, 0.25);
}

.meta { margin-top: 12px; font-size: 12px; color: var(--text-muted); }
.meta strong { color: var(--text-secondary); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.info-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 12px;
}

.info-item span { display: block; color: var(--text-muted); margin-bottom: 4px; font-weight: 500; }
.info-item strong { color: var(--text-primary); }

/* ── Hero ── */
.hero-section {
  padding: 48px 20px 56px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-content,
.hero-visual { min-width: 0; max-width: 100%; }

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm, 4px);
  margin-bottom: 14px;
}

.hero-section h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 700;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 520px;
  line-height: 1.65;
}

.hero-actions { margin-bottom: 12px; }
.hero-version { font-size: 12px; color: var(--text-muted); font-weight: 500; }

.hero-visual-frame {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(7, 16, 24, 0.15);
  overflow: hidden;
  background: var(--bg-tertiary);
  aspect-ratio: 1360 / 860;
}

.hero-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
}

/* Mock preview fallback */
.app-preview {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.preview-bar {
  background: var(--header-bg);
  padding: 10px 14px;
  display: flex;
  gap: 6px;
}

.preview-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.preview-body { display: flex; min-height: 260px; }
.preview-sidebar { width: 72px; background: var(--bg-tertiary); border-right: 1px solid var(--border); }
.preview-main { flex: 1; padding: 20px; background: var(--bg-primary); }
.preview-line { height: 10px; background: var(--border); border-radius: 4px; margin-bottom: 10px; opacity: 0.5; }
.preview-line.w80 { width: 80%; }
.preview-line.w60 { width: 60%; }
.preview-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.preview-cards div { height: 48px; background: var(--accent-muted); border-radius: var(--radius); }
.preview-table div { height: 8px; background: var(--border); border-radius: 3px; margin-bottom: 8px; opacity: 0.4; }

/* ── Sections ── */
.section { padding: 56px 20px; }
.section-alt { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1100px; margin: 0 auto; min-width: 0; }

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  text-align: center;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text-primary);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 14px;
}

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

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 4px 16px rgba(13, 71, 161, 0.12);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  background: var(--accent-muted);
  border-radius: var(--radius);
  color: var(--accent);
}
.feature-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.feature-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.feature-card p { color: var(--text-muted); font-size: 13px; margin: 0; line-height: 1.55; }

/* Screenshots */
.section-screenshots { padding-top: 48px; overflow: hidden; background: var(--bg-primary); }

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

.screenshot-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  min-width: 0;
  box-shadow: var(--shadow);
}

.screenshot-media {
  width: 100%;
  aspect-ratio: 1360 / 860;
  overflow: hidden;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
}

.screenshot-card figcaption { padding: 14px 16px; }
.screenshot-card strong { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--text-primary); }
.screenshot-card span { color: var(--text-muted); font-size: 12px; line-height: 1.5; }

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.benefit-item {
  padding: 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  background: var(--accent-muted);
  border-radius: var(--radius);
  color: var(--accent);
}
.benefit-icon svg { width: 18px; height: 18px; stroke-width: 2; }
.benefit-item strong { display: block; margin-bottom: 6px; font-size: 14px; color: var(--text-primary); }
.benefit-item p { color: var(--text-muted); font-size: 13px; margin: 0; }

/* CTA */
.cta-section { padding: 48px 20px 64px; background: var(--bg-primary); }

.cta-box {
  text-align: center;
  background: var(--accent-muted);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  box-shadow: var(--shadow);
}

.cta-box h2 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 700; color: var(--accent); }
.cta-box p { color: var(--text-secondary); margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto; font-size: 14px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  background: var(--bg-secondary);
}

.footer-inner p { color: var(--text-muted); font-size: 12px; margin-bottom: 4px; }
.footer-inner a { color: var(--accent); font-weight: 500; }
.footer-note { font-size: 11px !important; color: var(--text-muted); }

/* Download page */
.page-download .hero { text-align: center; margin-bottom: 32px; }
.page-download .logo { width: 72px; height: 72px; border-radius: 14px; margin-bottom: 16px; border: 1px solid var(--border); }
.page-download h1 { font-size: 1.5rem; font-weight: 700; }
.page-download .subtitle { color: var(--text-muted); }

.card-muted { background: var(--bg-tertiary); }

.check-list { list-style: none; color: var(--text-secondary); font-size: 13px; }
.check-list li { padding: 6px 0 6px 22px; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.check-list a { color: var(--accent); font-weight: 600; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; width: 100%; }
  .hero-visual-frame { max-height: 220px; aspect-ratio: auto; }
  .site-nav a:not(.nav-cta) { display: none; }
}
