/* ===== ScoreBil - Ana Stil Dosyası ===== */

:root {
  --bg: #0b0f14;
  --bg-alt: #111826;
  --card: #161f30;
  --card-hover: #1c2740;
  --border: #253046;
  --text: #e8edf6;
  --text-muted: #94a3b8;
  --accent: #f5e11a;
  --accent-dark: #d6c400;
  --accent-2: #ff9f0a;
  --danger: #ef4444;
  --radius: 14px;
  --max-width: 1140px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

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

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
}

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

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

.btn-store:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-store svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.btn-store .store-label small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.btn-store .store-label strong {
  font-size: 0.95rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.footer-about .brand-logo {
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: 90px 0 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hero-stats div strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}

.hero-stats div span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Phone mockup (pure CSS) */
.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: 260px;
  height: 530px;
  background: var(--card);
  border: 8px solid #0a0e14;
  border-radius: 38px;
  box-shadow: var(--shadow);
  padding: 18px 14px;
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 8px;
  border-radius: 6px;
  background: #0a0e14;
}

.phone-screen {
  margin-top: 22px;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--bg-alt), var(--bg));
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-row {
  background: var(--card-hover);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
}

.phone-row .score {
  font-weight: 800;
  color: var(--accent);
}

.phone-pill {
  align-self: flex-start;
  background: var(--accent);
  color: #04160c;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  margin-top: 6px;
}

/* ===== Feature cards ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 225, 26, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-closing {
  text-align: center;
  max-width: 640px;
  margin: 44px auto 0;
}

.section-closing .lead {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-closing .note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 12px;
}

.step-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #04160c;
  font-size: 1.2rem;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(120deg, rgba(245, 225, 26, 0.15), rgba(255, 159, 10, 0.15));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  margin: 0 24px;
  max-width: calc(var(--max-width) - 48px);
  margin-inline: auto;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.cta-band .store-buttons {
  justify-content: center;
}

/* ===== Page header (inner pages) ===== */
.page-hero {
  padding: 64px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== About page ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.value-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}

.value-item .card-icon {
  margin: 0 auto 14px;
}

/* ===== Contact page ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: none;
}

.form-note.visible {
  display: block;
  color: var(--accent);
}

.form-note.visible.error {
  color: var(--danger);
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* ===== Privacy / legal content ===== */
.legal {
  max-width: 780px;
  margin: 0 auto;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.legal .data-owner {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--text);
}

.legal p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal ul {
  margin: 0 0 14px 0;
  padding-left: 0;
}

.legal ul li {
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.legal ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 14px 0 20px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--text-muted);
}

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .phone-wrap {
    order: -1;
  }

  .phone {
    width: 220px;
    height: 440px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .value-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav-links,
  .nav-cta .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
  }

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

  .value-list {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 36px 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
