/* Gamyoncu pages — shares bakikaradeniz.com portfolio design system.
   Monochrome neutral palette, Inter font, 0.5rem radius, mono labels,
   bordered cards, pill CTAs. Mirrors src/index.css tokens. */

:root {
  --background: hsl(0 0% 97.6%);
  --foreground: hsl(0 0% 4%);
  --border: hsl(0 0% 88%);
  --card: hsl(0 0% 100%);
  --primary: hsl(0 0% 4%);
  --primary-foreground: hsl(0 0% 97.6%);
  --secondary: hsl(0 0% 94%);
  --muted: hsl(0 0% 94%);
  --muted-foreground: hsl(0 0% 40%);

  --app-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --app-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --radius: 0.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--app-font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--foreground);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--muted-foreground);
}

::selection {
  background: var(--foreground);
  color: var(--background);
}

/* ---------- Layout ---------- */

.container {
  width: min(1024px, calc(100% - 48px));
  margin: 0 auto;
}

.container-narrow {
  width: min(768px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Topbar (mirrors portfolio Navbar) ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(248, 248, 248, 0.8);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--app-font-sans);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--foreground);
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
}

.section + .section,
.section.divider {
  border-top: 1px solid var(--border);
}

.kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.03);
  padding: 4px 12px;
  font-family: var(--app-font-mono);
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 24px;
}

.eyebrow {
  font-family: var(--app-font-mono);
  font-size: 12px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--foreground);
}

.section-lede {
  font-size: 18px;
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0 0 48px;
  line-height: 1.55;
}

/* ---------- Buttons / CTAs (matches portfolio's rounded-full) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: hsl(0 0% 14%);
  color: var(--primary-foreground);
}

.btn-ghost {
  background: var(--card);
  color: var(--foreground);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--muted);
}

/* ---------- Status dot ---------- */

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: hsl(150 60% 40%);
}

.dot-muted {
  background: var(--muted-foreground);
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 64px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
}

.hero-copy h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 20px;
}

.hero-copy .lede {
  font-size: 20px;
  color: var(--muted-foreground);
  max-width: 560px;
  margin: 0 0 32px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--muted-foreground);
  font-family: var(--app-font-mono);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Store badges (portfolio-styled) ---------- */

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

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  transition: background 0.15s ease;
}

.store-button:hover {
  background: hsl(0 0% 14%);
  color: var(--primary-foreground);
}

.store-button[data-store="play"] {
  /* Same look, slight differentiation via font weight */
  font-weight: 600;
}

.store-button .store-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.store-button .store-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.store-button .store-line-1 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}

.store-button .store-line-2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Persona cards (mirrors portfolio Product cards) ---------- */

.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.persona-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--card);
  border: 2px solid hsl(0 0% 90%);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.15s ease;
}

.persona-card:hover {
  border-color: hsl(0 0% 60%);
}

.persona-card .persona-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--app-font-mono);
  font-size: 12px;
  color: var(--muted-foreground);
}

.persona-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.persona-card .persona-sub {
  margin: -8px 0 0;
  color: var(--muted-foreground);
  font-size: 16px;
}

.persona-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.persona-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--foreground);
}

.persona-card li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--foreground);
  margin-top: 9px;
}

/* ---------- Steps (mirrors portfolio Work row pattern) ---------- */

.steps {
  display: flex;
  flex-direction: column;
  border-top: 1px solid hsl(0 0% 90%);
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid hsl(0 0% 90%);
}

.step .step-num {
  font-family: var(--app-font-mono);
  font-size: 12px;
  color: var(--muted-foreground);
}

.step h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  font-size: 15px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ---------- Feature grid (mirrors portfolio Tools) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature .feature-eyebrow {
  font-family: var(--app-font-mono);
  font-size: 12px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ---------- Inline tags ---------- */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 4px 12px;
  font-size: 12px;
  font-family: var(--app-font-sans);
  color: var(--muted-foreground);
}

/* ---------- Legal / FAQ block (mirrors portfolio case-study sections) ---------- */

.legal-block {
  border-top: 1px solid hsl(0 0% 90%);
  padding: 40px 0 16px;
}

.legal-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-block h2 {
  font-family: var(--app-font-mono);
  font-size: 12px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 0 0 16px;
}

.legal-block p,
.legal-block li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--foreground);
}

.legal-block p {
  margin: 0 0 16px;
}

.legal-block ul,
.legal-block ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-block li {
  margin-bottom: 8px;
}

.faq-list {
  border-top: 1px solid hsl(0 0% 90%);
}

.faq-list .faq-item {
  padding: 28px 0;
  border-bottom: 1px solid hsl(0 0% 90%);
}

.faq-list .faq-item .faq-num {
  font-family: var(--app-font-mono);
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 8px;
  display: block;
}

.faq-list .faq-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq-list .faq-item p {
  margin: 0;
  font-size: 16px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ---------- CTA section (mirrors portfolio Contact band) ---------- */

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 0;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--muted-foreground);
  margin: 0 0 32px;
}

.cta-section .hero-ctas {
  justify-content: center;
}

/* ---------- Footer (mirrors portfolio footer) ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  font-family: var(--app-font-mono);
  color: var(--muted-foreground);
}

.footer-inner a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-family: var(--app-font-mono);
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 16px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .section,
  .hero {
    padding: 64px 0;
  }

  .persona-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }

  .step p {
    grid-column: 2 / -1;
  }
}

@media (max-width: 640px) {
  .container,
  .container-narrow {
    width: calc(100% - 32px);
  }

  .topbar-inner {
    padding: 0 16px;
  }

  .nav {
    gap: 16px;
    font-size: 13px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step p {
    grid-column: 1 / -1;
  }

  .footer-inner {
    flex-direction: column;
  }

  .store-button {
    height: 52px;
    padding: 0 16px;
  }

  .store-button .store-line-2 {
    font-size: 16px;
  }
}
