/* AggiNova Apps — single stylesheet, no external requests. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --panel: #ffffff;
  --line: #e4e7ec;
  --line-strong: #cfd4dc;
  --text: #17191f;
  --muted: #5b6270;
  --red: #f24822;
  --accent: #4f6bed;
  --accent-soft: #eef1fe;
  --accent-ink: #3448b8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.06);
  --font: Geist, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --bg-soft: #151820;
    --panel: #171a22;
    --line: #262a35;
    --line-strong: #353a47;
    --text: #eef0f4;
    --muted: #9aa1ae;
    --accent: #8196ff;
    --accent-soft: #1d2340;
    --accent-ink: #b3c0ff;
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 650; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 20; background: var(--panel); padding: 8px 12px; }

/* --- header ---------------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.top nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; }
.top nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.top nav a:hover, .top nav a[aria-current] { color: var(--accent-ink); }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand__mark { position: relative; width: 26px; height: 30px; display: inline-block; }
.brand__mark i {
  position: absolute; display: block; width: 7.4px; bottom: 2px;
  border-radius: 2px 2px 0 0; background: var(--red);
  transform: skew(-25deg); transform-origin: bottom;
}
.brand__mark i:nth-child(1) { left: 4.6px; height: 25px; }
.brand__mark i:nth-child(2) { left: 14.8px; height: 16.7px; transform: skew(25deg); }
.brand__mark i:nth-child(3) { left: 9.3px; width: 12px; height: 4.6px; border-radius: 1px; transform: none; }
.brand__name { font-size: 21px; font-weight: 800; letter-spacing: -0.055em; }
.brand__name span { color: var(--red); }
.brand__icon { width: 32px; height: 32px; border-radius: 8px; }
.brand__chip {
  padding: 4px 8px 3px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line);
  font: 700 11px/1 var(--mono); letter-spacing: 0.18em; color: var(--muted);
}

/* --- buttons, cards -------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent;
}
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary:hover { background: color-mix(in srgb, var(--text) 85%, var(--accent)); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: var(--panel); }
.btn--ghost:hover { border-color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow {
  /* No text-transform: in Turkish it would turn the brand into "AGGİNOVA". */
  margin: 0 0 14px; font: 600 13px/1 var(--mono); letter-spacing: 0.04em; color: var(--muted);
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* --- sections -------------------------------------------------------------- */

.sec { padding-block: 80px; }
.sec--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.sec__head { margin-bottom: 36px; max-width: 680px; }
.sec__head p { color: var(--muted); margin-top: 12px; }

.hero { padding-block: 88px 72px; }
.hero__grid { display: grid; gap: 48px; grid-template-columns: 1.3fr 1fr; align-items: center; }

.app-card {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  text-decoration: none; color: inherit;
}
.app-card:hover { border-color: var(--line-strong); }
.app-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: var(--shadow); }
.app-icon--lg { width: 120px; height: 120px; border-radius: 28px; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 12.5px; font-weight: 600;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }

.qa { display: grid; gap: 14px; }
.qa__q { font-weight: 650; }
.qa__a { color: var(--muted); margin-top: 4px; }
.demo {
  border-radius: var(--radius); padding: 22px; background: var(--panel);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.demo__bubble { padding: 12px 16px; border-radius: 14px; max-width: 90%; }
.demo__bubble--q { margin-left: auto; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.demo__bubble--a { background: var(--bg-soft); border: 1px solid var(--line); border-bottom-left-radius: 4px; margin-top: 12px; }

/* --- legal documents ------------------------------------------------------- */

.doc { padding-block: 64px 88px; }
.doc header { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.doc h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.doc h3 { margin: 24px 0 8px; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; background: var(--bg-soft); }
.table-scroll { overflow-x: auto; }
.note {
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 20px 0;
}
.toc { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; margin-top: 18px; }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 14px;
}
.ui { font-weight: 600; white-space: nowrap; }

/* --- footer ---------------------------------------------------------------- */

.foot { border-top: 1px solid var(--line); background: var(--bg-soft); padding-block: 56px 32px; font-size: 14.5px; }
.foot__grid { display: grid; gap: 32px; grid-template-columns: 2fr repeat(4, 1fr); }
.foot__grid--remyra { grid-template-columns: 2fr 1fr 1fr; }
.foot h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--accent-ink); }
.foot__about { color: var(--muted); max-width: 36ch; margin-top: 14px; }
.foot__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted);
}

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 18px; }
  .top__inner { height: auto; flex-wrap: wrap; row-gap: 6px; padding-block: 12px 10px; }
  .top nav { width: 100%; margin-left: 0; gap: 18px; overflow-x: auto; scrollbar-width: none; font-size: 14.5px; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { flex: 0 0 auto; white-space: nowrap; }
  .top nav .lang { margin-left: auto; }
  .brand__chip { display: none; }
  .hero { padding-block: 52px 44px; }
  .sec { padding-block: 56px; }
  .doc { padding-block: 40px 64px; }
  .app-card { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  html { scroll-padding-top: 120px; }
}

/* Limo Calori: its own accent on its product page; header and footer keep the site colours. */
.app-tiles { display: grid; gap: 14px; }
.app-tile { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.app-tile .app-icon { width: 64px; height: 64px; flex: 0 0 64px; }
.app-tile > span { display: grid; gap: 2px; }
.app-limo {
  --accent: #e85a10;
  --accent-soft: #fff1e6;
  --accent-ink: #b3430a;
}
@media (prefers-color-scheme: dark) {
  .app-limo {
    --accent: #ff8a3d;
    --accent-soft: #2a1a10;
    --accent-ink: #ffa96b;
  }
}
.advisory { border-left: 4px solid var(--accent); background: var(--bg-soft); }
.advisory h3 { color: var(--accent-ink); margin-bottom: 8px; }

/* Remyra ürün sayfası */
.app-remyra {
  /* Site renklerini ve değişkenlerini kullanır */
}

/* Hero ve aşama */
.app-remyra .remyra-hero__stage {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}
.app-remyra .remyra-hero__phone-wrap {
  position: relative;
}
.app-remyra .remyra-hero__phone {
  position: relative;
}
.app-remyra .remyra-hero__bubbles {
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  z-index: 4;
}
.app-remyra .remyra-hero__bubble--q {
  margin: 0 0 0 auto;
  max-width: 85%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.app-remyra .remyra-hero__bubble--a {
  margin: 0 auto 0 0;
  max-width: 88%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Öne çıkanlar çipleri */
.app-remyra .remyra-highlights {
  padding-block: 0 48px;
}
.app-remyra .remyra-highlights__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.app-remyra .remyra-highlight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}
.app-remyra .remyra-highlight__check {
  color: var(--accent);
  font-weight: 700;
}

/* Telefon çerçevesi */
.app-remyra .remyra-phone {
  position: relative;
  width: 280px;
  max-width: 100%;
  margin: 0 auto;
  padding: 11px;
  background: #181a20;
  border: 3px solid #282c37;
  border-radius: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.app-remyra .remyra-phone::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #090a0d;
  border-radius: 50%;
  z-index: 3;
}
.app-remyra .remyra-phone__screen {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0f1115;
  aspect-ratio: 540 / 1200;
  line-height: 0;
}
.app-remyra .remyra-phone__screen img,
.app-remyra .remyra-phone__screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28px;
}

/* Özellik bölümleri */
.app-remyra .remyra-feat__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}
.app-remyra .remyra-feat--reverse .remyra-feat__grid {
  grid-template-columns: 1fr 1.25fr;
}
.app-remyra .remyra-feat--reverse .remyra-feat__media {
  order: -1;
}
.app-remyra .remyra-feat__media {
  display: flex;
  justify-content: center;
}
.app-remyra .remyra-feat__text {
  max-width: 580px;
}
.app-remyra .remyra-feat__text--only {
  max-width: 580px;
  margin: 0 auto;
}
.app-remyra .remyra-feat__num {
  display: inline-block;
  font: 700 13px/1 var(--mono);
  letter-spacing: 0.1em;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 9px 3px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.app-remyra .remyra-feat h2 {
  margin-bottom: 14px;
}
.app-remyra .remyra-feat .lead {
  margin-bottom: 0;
}
.app-remyra .remyra-feat__bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.app-remyra .remyra-feat__bullets li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}
.app-remyra .remyra-feat__bullets li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

/* Planlar ve fiyatlar */
.app-remyra .remyra-plans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.app-remyra .remyra-plan-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
}
.app-remyra .remyra-plan-card--highlight {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 30px rgba(79, 107, 237, 0.15);
  position: relative;
}
.app-remyra .remyra-plan-card__badge {
  position: absolute;
  top: 16px;
  right: 18px;
}
.app-remyra .remyra-plan-card__price {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
  color: var(--accent-ink);
}
.app-remyra .remyra-plan-card__sub {
  margin: 8px 0 0;
  font-size: 14.5px;
}
.app-remyra .remyra-plan-card__items {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
  font-size: 15px;
  flex: 1;
}
.app-remyra .remyra-plan-card__items li {
  position: relative;
  padding-left: 22px;
}
.app-remyra .remyra-plan-card__items li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.app-remyra .remyra-plan-card__tiers {
  gap: 14px;
}
.app-remyra .remyra-plan-card__tiers li {
  padding-left: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.app-remyra .remyra-plan-card__tiers li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.app-remyra .remyra-plan-card__tiers li::before {
  content: "";
}
.app-remyra .remyra-plans__note {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  max-width: 64ch;
  margin-inline: auto;
}

/* SSS / FAQ */
.app-remyra .remyra-faq__list {
  display: grid;
  gap: 14px;
}
.app-remyra .remyra-faq__item {
  padding: 20px 24px;
}
.app-remyra .remyra-faq__q {
  font-weight: 650;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.app-remyra .remyra-faq__q::-webkit-details-marker {
  display: none;
}
.app-remyra .remyra-faq__q::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.app-remyra .remyra-faq__item[open] .remyra-faq__q::after {
  content: "−";
}
.app-remyra .remyra-faq__a {
  margin-top: 14px;
  line-height: 1.6;
}

/* Eylem çağrısı / Closing CTA */
.app-remyra .remyra-cta {
  text-align: center;
}
.app-remyra .remyra-cta .actions {
  justify-content: center;
}

/* Duyarlı görünüm / Responsive */
@media (max-width: 880px) {
  .app-remyra .remyra-feat__grid,
  .app-remyra .remyra-feat--reverse .remyra-feat__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .app-remyra .remyra-feat--reverse .remyra-feat__media {
    order: 1;
  }
  .app-remyra .remyra-feat__text {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .app-remyra .remyra-highlights {
    padding-block: 0 36px;
  }
  .app-remyra .remyra-highlight {
    padding: 9px 15px;
    font-size: 14px;
  }
  .app-remyra .remyra-phone {
    width: 220px;
    padding: 8px;
    border-radius: 32px;
  }
  .app-remyra .remyra-phone::before {
    top: 5px;
    width: 8px;
    height: 8px;
  }
  .app-remyra .remyra-phone__screen,
  .app-remyra .remyra-phone__screen img,
  .app-remyra .remyra-phone__screen video {
    border-radius: 22px;
  }
  .app-remyra .remyra-hero__bubbles {
    left: -10px;
    right: -10px;
    bottom: 32px;
  }
}

/* Yalnızca hareket tercihi olanlar için animasyonlar */
@media (prefers-reduced-motion: no-preference) {
  .app-remyra .remyra-hero__phone-wrap {
    animation: remyra-rise-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
  }
  .app-remyra .remyra-hero__phone {
    animation: remyra-float 6s ease-in-out 1.1s infinite;
  }
  .app-remyra .remyra-hero__bubble--q {
    animation: remyra-bubble-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
  }
  .app-remyra .remyra-hero__bubble--a {
    animation: remyra-bubble-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 2.0s both;
  }
  @keyframes remyra-rise-in {
    from {
      opacity: 0;
      transform: translateY(28px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes remyra-float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }
  @keyframes remyra-bubble-in {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @supports (animation-timeline: view()) {
    .app-remyra .remyra-feat .remyra-phone {
      animation: remyra-phone-reveal linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 40%;
    }
    @keyframes remyra-phone-reveal {
      from {
        opacity: 0;
        transform: translateY(32px) scale(0.96);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}
