/* ============================================================
   bifikrim.com — statik tanıtım sitesi stilleri
   Uygulamayla ortak tasarım dili:
   koyu lacivert zemin + ampul sarısı vurgu, Inter, 1rem köşeler
   ============================================================ */

:root {
  /* Zemin — lacivert skalası */
  --navy-950: #050b1c;
  --navy-900: #0b1b3a;
  --navy-800: #122650;
  --navy-700: #1b3468;
  --navy-600: #274582;

  /* Vurgu — ampul sarısı */
  --bulb-300: #ffe14d;
  --bulb-400: #ffd60a;
  --bulb-500: #e6bf00;

  /* Metin */
  --ink-100: #f4f7ff;
  --ink-300: #c3cde4;
  --ink-500: #8b98b8;

  --radius-card: 1rem;
  --font-sans: 'Inter', -apple-system, 'SF Pro Text', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(80rem 40rem at 50% -10rem, var(--navy-900), var(--navy-950) 60%) var(--navy-950);
  color: var(--ink-100);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  max-width: 100%;
  display: block;
}

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

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--bulb-400);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.container {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(5 11 28 / 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(39 69 130 / 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem; /* 44pt dokunma hedefi */
  color: var(--ink-100);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

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

.brand-bulb {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--bulb-400);
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.375rem 0.75rem;
  color: var(--ink-300);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 0.75rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink-100);
  background: var(--navy-800);
  text-decoration: none;
}

.site-nav .nav-cta {
  color: var(--navy-950);
  background: var(--bulb-400);
  font-weight: 700;
}

.site-nav .nav-cta:hover {
  color: var(--navy-950);
  background: var(--bulb-300);
}

@media (max-width: 40rem) {
  .site-nav .nav-plain {
    display: none;
  }
}

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

.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bulb-300);
  background: rgb(255 214 10 / 0.08);
  border: 1px solid rgb(255 214 10 / 0.25);
  border-radius: 999px;
  animation: fade-up 0.25s ease-out both;
}

.hero h1 {
  margin: 0 auto;
  max-width: 46rem;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  animation: fade-up 0.25s ease-out 0.05s both;
}

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

.hero-sub {
  margin: 1.25rem auto 0;
  max-width: 38rem;
  font-size: 1.125rem;
  color: var(--ink-300);
  animation: fade-up 0.25s ease-out 0.1s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  animation: fade-up 0.25s ease-out 0.15s both;
}

/* ---------------- Butonlar ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem; /* 48pt */
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-card);
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: var(--navy-950);
  background: var(--bulb-400);
  animation: pulse-cta 2.4s ease-in-out infinite;
}

.btn-primary:hover {
  background: var(--bulb-300);
}

.btn-ghost {
  color: var(--ink-100);
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
}

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

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

.section {
  padding: 3.5rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
}

.section-sub {
  margin: 0 auto 2.25rem;
  max-width: 36rem;
  color: var(--ink-500);
  text-align: center;
}

/* ---------------- Kartlar / adımlar ---------------- */

.card {
  background: var(--navy-900);
  border: 1px solid rgb(39 69 130 / 0.4);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover {
  border-color: rgb(255 214 10 / 0.4);
  transform: translateY(-2px);
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgb(255 214 10 / 0.12);
  color: var(--bulb-400);
  font-weight: 800;
  font-size: 1.0625rem;
}

.step h3 {
  margin: 0.5rem 0 0;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--ink-300);
  font-size: 0.9375rem;
}

/* ---------------- SSS akordeon ---------------- */

.faq {
  max-width: 44rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--navy-900);
  border: 1px solid rgb(39 69 130 / 0.4);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: rgb(255 214 10 / 0.4);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem; /* rahat dokunma hedefi */
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  user-select: none;
}

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

.faq summary::after {
  content: '+';
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--navy-800);
  color: var(--bulb-400);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .faq-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-300);
  font-size: 0.9375rem;
  animation: fade-in 0.2s ease-out both;
}

.faq .faq-body p {
  margin: 0 0 0.75rem;
}

.faq .faq-body p:last-child {
  margin-bottom: 0;
}

/* ---------------- İndirme / mağaza ---------------- */

.section-download {
  text-align: center;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-card);
  color: var(--ink-100);
  transition: background-color 0.2s ease;
}

.store-btn:hover {
  background: var(--navy-700);
  text-decoration: none;
}

.store-btn svg {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  color: var(--ink-100);
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
}

.store-text small {
  font-size: 0.6875rem;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-text strong {
  font-size: 1.0625rem;
  font-weight: 700;
}

.badge-soon {
  position: absolute;
  top: -0.5rem;
  right: -0.375rem;
  padding: 0.125rem 0.5rem;
  background: var(--bulb-400);
  color: var(--navy-950);
  font-size: 0.6875rem;
  font-weight: 800;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.store-note {
  margin: 1.25rem 0 0;
  color: var(--ink-500);
  font-size: 0.8125rem;
}

/* ---------------- Footer ---------------- */

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgb(39 69 130 / 0.35);
  text-align: center;
}

.site-footer p {
  margin: 0.25rem 0;
  color: var(--ink-500);
  font-size: 0.875rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-300);
  font-weight: 700;
  font-size: 1rem;
}

.footer-brand svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--bulb-400);
}

.site-footer a {
  color: var(--ink-300);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
  margin-top: 0.75rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem; /* 44pt dokunma hedefi */
  font-size: 0.875rem;
}

/* ---------------- Hukuki / içerik sayfaları ---------------- */

.page {
  max-width: 45rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.page h1 {
  font-size: clamp(1.625rem, 5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin: 0 0 1.5rem;
}

.page h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bulb-300);
  margin: 2rem 0 0.5rem;
}

.page p {
  margin: 0 0 1rem;
  color: var(--ink-300);
}

.page ul,
.page ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: var(--ink-300);
}

.page li {
  margin-bottom: 0.375rem;
}

.page ul.plain {
  list-style: none;
  padding-left: 0;
}

.page .card {
  margin: 1rem 0;
}

.page .card h2 {
  margin-top: 0;
}

.page .card :last-child {
  margin-bottom: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  color: var(--ink-500);
  font-size: 0.875rem;
  font-weight: 600;
}

.back-link:hover {
  color: var(--ink-300);
  text-decoration: none;
}

/* ---------------- Animasyonlar ---------------- */

@keyframes pulse-cta {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(255 214 10 / 0.45);
  }
  50% {
    box-shadow: 0 0 0 16px rgb(255 214 10 / 0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
