/* FinAsist landing — Figma belirteçleri (bkz. apps/mobile/src/theme/colors.ts) */
:root {
  --primary: #1552f0;
  --primary-soft: #e3ebff;
  --ink: #0a0b0d;
  --text-2: #646b78;
  --muted: #8d919a;
  --stroke: #ced2db;
  --bg: #f5f8ff;
  --surface: #ffffff;
  --up: #00ac63;
  --down: #df052a;
  --orange-1: #fb6b14;
  --orange-2: #fdb522;
  --pink: #ff52f0;
  --radius: 12px;
  --shadow: 0 20px 50px -20px rgba(21, 82, 240, 0.35);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #3d72ff;
    --primary-soft: #16264d;
    --ink: #f2f4f7;
    --text-2: #a3abb8;
    --muted: #808a98;
    --stroke: #2b3139;
    --bg: #0b0e11;
    --surface: #181a20;
    --up: #1bc47d;
    --down: #f0435f;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 16px;
}
.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(780px, 100% - 32px);
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn:hover {
  transform: translateY(-1px);
}

/* Üst menü */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--stroke) 60%, transparent);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 34px;
  height: 34px;
}
.brand__word {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.2px;
}
.brand__word b {
  font-weight: 600;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-2);
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.nav__toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}
.mobilemenu {
  display: grid;
  gap: 4px;
  padding: 8px 16px 16px;
  border-top: 1px solid var(--stroke);
  background: var(--bg);
}
.mobilemenu a:not(.btn) {
  padding: 12px 4px;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--stroke);
}
.mobilemenu .btn {
  margin-top: 8px;
}
.mobilemenu[hidden] {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}
.blob--a {
  width: 520px;
  height: 520px;
  right: -120px;
  top: -140px;
  background: linear-gradient(135deg, var(--orange-1), var(--orange-2));
  opacity: 0.28;
}
.blob--b {
  width: 560px;
  height: 560px;
  right: 180px;
  bottom: -260px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  opacity: 0.22;
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--up) 20%, transparent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--up) 0%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dot {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.grad {
  background: linear-gradient(90deg, var(--primary), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 20px 0 28px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--text-2);
  max-width: 34em;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.1;
  transition: transform 0.15s ease;
}
.store:hover {
  transform: translateY(-1px);
}
.store svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.store small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  opacity: 0.75;
}
.trust {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 600;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust svg,
.checks li::before {
  width: 16px;
  height: 16px;
  stroke: var(--up);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Telefon çerçevesi */
.phone {
  margin: 0;
  flex: none;
  width: 270px;
  border-radius: 40px;
  padding: 10px;
  background: #0a0b0d;
  box-shadow: 0 30px 60px -20px rgba(10, 11, 13, 0.45), inset 0 0 0 2px #2b3139;
}
.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 375 / 812;
  object-fit: cover;
  object-position: top;
  border-radius: 31px;
}
.hero__phones {
  position: relative;
  height: 600px;
}
.hero__phones .phone {
  position: absolute;
}
.phone--front {
  left: 16%;
  top: 30px;
  z-index: 2;
  transform: rotate(-4deg);
}
.phone--back {
  right: 4%;
  top: 0;
  transform: rotate(6deg) scale(0.92);
  opacity: 0.95;
}

/* Fiyat şeridi */
.ticker {
  border-block: 1px solid var(--stroke);
  background: var(--surface);
}
.ticker__in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}
.ticker__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.ticker__label:not(.is-live) .dot {
  background: var(--muted);
  box-shadow: none;
  animation: none;
}
.ticker__list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker__list::-webkit-scrollbar {
  display: none;
}
.ticker__item {
  display: grid;
  white-space: nowrap;
  line-height: 1.3;
}
.ticker__name {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 600;
}
.ticker__price {
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.ticker__chg {
  font-size: 12px;
  font-weight: 700;
}
.up {
  color: var(--up);
}
.down {
  color: var(--down);
}
.flat {
  color: var(--muted);
}
.ticker__note {
  margin: 0 auto;
  padding-bottom: 10px;
  font-size: 12px;
  color: var(--muted);
}
.ticker__note:empty {
  display: none;
}

/* Bölümler */
.section {
  padding: 96px 0;
}
.section--tint {
  background: var(--surface);
}
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sub {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 17px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card,
.promise {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
}
.section--tint .card {
  background: var(--bg);
}
.card h3,
.promise h3 {
  font-size: 19px;
  margin: 16px 0 8px;
}
.card p,
.promise p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}
.ico {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--blue {
  color: #1552f0;
  background: #e3ebff;
}
.ico--orange {
  color: #fb6b14;
  background: #fff1e6;
}
.ico--gold {
  color: #b38600;
  background: #fff7d6;
}
.ico--green {
  color: #00ac63;
  background: #e3f7ee;
}
.ico--purple {
  color: #7b3fe4;
  background: #efe7ff;
}
.ico--pink {
  color: #d6249f;
  background: #ffe4f5;
}

/* Vitrin bölümleri */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.split--rev .split__media {
  order: 2;
}
.split__media {
  display: flex;
  justify-content: center;
}
.split__media--duo {
  gap: 20px;
}
.split__media--duo .phone {
  width: min(240px, calc(50% - 10px));
}
.phone--offset {
  margin-top: 80px;
}
.split__text h2 {
  font-size: clamp(26px, 3vw, 36px);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
}
.checks li::before {
  content: '';
  flex: none;
  margin-top: 4px;
  background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ac63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Fiyatlar */
.billing {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 32px;
  padding: 4px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--stroke);
}
.billing__btn {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-2);
  font: 700 14px var(--font-body);
  cursor: pointer;
}
.billing__btn.is-active {
  background: var(--primary);
  color: #fff;
}
.save {
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--orange-1);
  color: #fff;
  font-size: 11px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--stroke);
}
.plan h3 {
  font-size: 20px;
}
.plan__price {
  margin: 14px 0 2px;
  font-family: var(--font-head);
}
.amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.per {
  font-size: 16px;
  color: var(--text-2);
  margin-left: 2px;
}
.plan__note {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-2);
  min-height: 1.6em;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.plan li {
  display: flex;
  gap: 10px;
}
.plan li::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231552f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.plan--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--orange-1), var(--orange-2)) border-box;
  box-shadow: 0 24px 50px -24px rgba(251, 107, 20, 0.5);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 4px 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.fineprint {
  margin: 24px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* SSS */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 22px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 28px 18px 0;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--primary);
  font-weight: 400;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  margin: 0 0 18px;
  color: var(--text-2);
}

/* Son çağrı */
.cta {
  padding: 0 0 96px;
}
.cta__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(120deg, #1552f0, #ff52f0);
  color: #fff;
}
.cta h2 {
  color: #fff;
}
.cta p {
  margin: 10px 0 0;
  opacity: 0.9;
  max-width: 32em;
}
.stores--light .store {
  background: #fff;
  color: #0a0b0d;
}

/* Alt bilgi */
.footer {
  border-top: 1px solid var(--stroke);
  background: var(--surface);
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer h4 {
  font-size: 14px;
  margin-bottom: 12px;
}
.footer nav {
  display: grid;
  gap: 8px;
  align-content: start;
}
.footer nav a {
  color: var(--text-2);
  text-decoration: none;
}
.footer nav a:hover {
  color: var(--ink);
}
.footer__desc {
  color: var(--text-2);
  max-width: 28em;
}
.footer__legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 12px;
}
.footer__legal p {
  margin: 0 0 8px;
}
.footer__attr:empty {
  display: none;
}

/* Duyarlı düzen */
@media (max-width: 980px) {
  .hero__in,
  .split {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 48px;
  }
  .hero__phones {
    height: 520px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
  .split--rev .split__media {
    order: 0;
  }
  .grid,
  .grid--3,
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta__in {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 760px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: inline-grid;
    place-items: center;
  }
  .section {
    padding: 72px 0;
  }
  .grid,
  .grid--3,
  .plans {
    grid-template-columns: 1fr;
  }
  .phone {
    width: 230px;
  }
  .hero__phones {
    height: 460px;
  }
  .phone--front {
    left: 2%;
  }
  .phone--back {
    right: 0;
  }
  .split__media--duo .phone {
    width: min(170px, calc(50% - 10px));
  }
  .phone--offset {
    margin-top: 48px;
  }
  .cta__in {
    padding: 32px 24px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .plan--featured {
    order: -1;
  }
}
