@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../fonts/publicsans-regular.woff2) format('woff2');
  }

  :root {
    --bg: #ffffff;
    --surface: #f5f5f7;
    --ink: #1d1d1f;
    --ink-muted: #6e6e73;
    --accent: #e07d1a;
    --accent-contrast: #ffffff;
    --line: rgba(0, 0, 0, 0.09);
    --radius-lg: 22px;
    --radius-md: 14px;
    --max-w: 1180px;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #000000;
      --surface: #1d1d1f;
      --ink: #f5f5f7;
      --ink-muted: #86868b;
      --accent: #ff9f2e;
      --accent-contrast: #1d1200;
      --line: rgba(255, 255, 255, 0.14);
    }
  }
  :root[data-theme="dark"] {
    --bg: #000000;
    --surface: #1d1d1f;
    --ink: #f5f5f7;
    --ink-muted: #86868b;
    --accent: #ff9f2e;
    --accent-contrast: #1d1200;
    --line: rgba(255, 255, 255, 0.14);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  h1, h2, h3, .display {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-wrap: balance;
    margin: 0;
  }

  a { color: inherit; }

  .wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
  }

  .eyebrow {
    font-family: 'Public Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }

  /* ---------- header ---------- */
  header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    border-bottom: 1px solid var(--line);
  }
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    max-width: var(--max-w);
    margin: 0 auto;
    gap: 20px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  .brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
  .brand span {
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-muted);
  }
  .nav-links a { text-decoration: none; transition: color 0.15s; }
  .nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
  .nav-cta {
    background: var(--accent);
    color: var(--accent-contrast);
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s;
  }
  .nav-cta:hover { opacity: 0.82; }

  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
  }

  /* ---------- hero ---------- */
  .hero { padding: 84px 0 48px; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1.06;
    margin: 16px 0 22px;
  }
  .hero h1 .accent-word { color: var(--accent); }
  .hero-sub {
    font-size: 1.14rem;
    color: var(--ink-muted);
    max-width: 44ch;
    margin: 0 0 32px;
  }
  .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
  }
  .btn-hero { padding: 16px 30px; font-size: 1rem; }
  .hero-link {
    font-weight: 600;
    text-decoration: none;
    color: var(--accent);
  }

  .hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
  }
  .hero-plate {
    position: absolute;
    width: min(400px, 82%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--surface);
  }
  .hero-bean {
    width: min(280px, 60%);
    position: relative;
    z-index: 2;
    animation: float 8s ease-in-out infinite;
    transition: opacity 0.5s ease;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  .hero-cup-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  .hero-cup-canvas.ready { opacity: 1; }
  .hero-art.has-3d .hero-bean,
  .hero-art.has-3d .hero-plate { opacity: 0; }

  /* ---------- generic sections ---------- */
  .section { padding: 96px 0; }
  .section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
  .section-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-top: 10px; }
  .section-head p { color: var(--ink-muted); font-size: 1.05rem; margin-top: 14px; }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .steps-4 { grid-template-columns: repeat(4, 1fr); }
  .step {
    background: var(--bg);
    padding: 36px 30px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .step.visible { opacity: 1; transform: translateY(0); }
  .step-num {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ink-muted);
    line-height: 1;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
  }
  .step h3 { font-size: 1.15rem; margin-bottom: 8px; }
  .step p { color: var(--ink-muted); margin: 0; font-size: 0.96rem; }
  .feature-icon {
    margin-bottom: 20px;
    color: var(--accent);
  }
  .feature-icon svg { width: 28px; height: 28px; display: block; }

  /* ---------- phone frame ---------- */
  .phone {
    width: 222px;
    border-radius: 34px;
    background: var(--ink);
    padding: 8px;
  }
  .phone-screen {
    position: relative;
    background: var(--bg);
    border-radius: 26px;
    overflow: hidden;
    aspect-ratio: 9 / 19;
    display: flex;
    flex-direction: column;
  }
  .phone-island {
    position: absolute;
    top: 9px; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 15px;
    background: var(--ink);
    border-radius: 999px;
    z-index: 5;
  }

  /* ---------- app showcase (real screenshots) ---------- */
  .showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    margin-top: 56px;
    flex-wrap: wrap;
  }

  .showcase-phone-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .showcase-nav {
    position: relative;
    z-index: 5;
    display: flex;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  }
  .showcase-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--surface);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  }
  .showcase-arrow:hover:not(:disabled) { background: var(--accent); color: var(--accent-contrast); }
  .showcase-arrow:disabled { opacity: 0.32; cursor: default; }
  .showcase-arrow svg { width: 19px; height: 19px; }

  .showcase-phone {
    position: relative;
    width: 280px;
    border-radius: 46px;
    background: linear-gradient(155deg, #4b4e56 0%, #2a2c31 18%, #131418 42%, #050506 60%, #1c1e22 82%, #45474e 100%);
    padding: 10px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
  .showcase-screen {
    position: relative;
    border-radius: 38px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 1206 / 2622;
    cursor: grab;
    touch-action: pan-y;
  }
  .showcase-screen:active { cursor: grabbing; }
  .showcase-track {
    display: flex;
    width: calc(var(--slide-count, 5) * 100%);
    height: 100%;
    transition: transform 0.44s cubic-bezier(0.22, 0.8, 0.32, 1);
  }
  .showcase-track.dragging { transition: none; }
  .showcase-slide {
    width: calc(100% / var(--slide-count, 5));
    height: 100%;
    flex: 0 0 calc(100% / var(--slide-count, 5));
  }
  .showcase-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
  }

  .showcase-dots { display: flex; gap: 8px; }
  .showcase-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .showcase-dots span.active { background: var(--accent); transform: scale(1.3); }

  .showcase-caption {
    max-width: 360px;
    transition: opacity 0.2s ease;
  }
  .showcase-caption-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin: 0 0 10px;
  }
  .showcase-caption h3 { font-size: 1.5rem; margin: 0 0 12px; }
  .showcase-caption p { color: var(--ink-muted); line-height: 1.6; margin: 0; }

  /* ---------- showcase duo: İşletme Paneli + Müşteri Deneyimi yan yana ---------- */
  .showcase-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 460px));
    grid-template-rows: auto auto;
    gap: 28px 48px;
    justify-content: center;
  }
  .showcase-col {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    justify-items: center;
    min-width: 0;
  }
  .showcase-col .section-head {
    max-width: 100%;
    margin: 0;
  }
  .showcase-col .section-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
  .showcase-col .section-head p { font-size: 0.98rem; margin-top: 12px; }
  .showcase-col .showcase {
    flex-direction: column;
    flex-wrap: nowrap;
    align-self: start;
    gap: 24px;
    margin-top: 0;
    width: 100%;
  }
  .showcase-col .showcase-phone { width: min(258px, 72vw); }
  .showcase-col .showcase-caption { max-width: 380px; text-align: center; }

  /* ---------- desktop feature ---------- */
  .desktop-feature {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 52px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
  .desktop-feature .feature-icon { margin-bottom: 10px; }
  .desktop-feature h2 { margin-top: 4px; }
  .desktop-feature p.body { color: var(--ink-muted); max-width: 52ch; margin: 10px 0 0; }

  /* ---------- Safari tarayıcı mockup (masaüstü panel görseli) ---------- */
  .browser-mock {
    width: 100%;
    max-width: 760px;
    margin: 40px auto 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--line);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
  }
  .browser-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
  .browser-dots { display: flex; gap: 8px; flex: none; }
  .browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18);
  }
  .browser-dots span:nth-child(1) { background: #ff5f57; }
  .browser-dots span:nth-child(2) { background: #febc2e; }
  .browser-dots span:nth-child(3) { background: #28c840; }
  .browser-address {
    flex: 1;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
  }
  .browser-address svg { width: 12px; height: 12px; flex: none; opacity: 0.7; }
  .browser-spacer { flex: none; width: 52px; }
  .browser-viewport {
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    background: #f6f7f9;
  }
  .browser-viewport img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
  @media (max-width: 600px) {
    .browser-address { font-size: 0.72rem; max-width: none; }
    .browser-spacer { width: 18px; }
    .browser-viewport { aspect-ratio: 4 / 3.4; }
  }

  /* ---------- closing CTA ---------- */
  .closing {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 72px 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .closing h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); max-width: 20ch; }
  .closing p { color: var(--ink-muted); font-size: 1.02rem; max-width: 50ch; margin-top: 14px; }
  .closing .btn { margin-top: 30px; }

  /* ---------- footer ---------- */
  footer { padding: 60px 0 40px; }
  .foot-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .foot-brand { max-width: 320px; }
  .foot-brand .brand { margin-bottom: 12px; }
  .foot-brand p { color: var(--ink-muted); font-size: 0.92rem; }
  .foot-cols { display: flex; gap: 44px; flex-wrap: wrap; }
  .foot-col { max-width: 240px; }
  .foot-col h4 {
    font-family: 'Public Sans', sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 14px;
    font-weight: 600;
  }
  .foot-col a {
    display: block;
    text-decoration: none;
    color: var(--ink);
    font-size: 0.94rem;
    margin-bottom: 10px;
  }
  .foot-col a:hover { color: var(--accent); }
  .foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 26px;
    color: var(--ink-muted);
    font-size: 0.86rem;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* ---------- shared button ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
    font-family: 'Public Sans', sans-serif;
  }
  .btn:hover { opacity: 0.82; }
  .btn svg { width: 17px; height: 17px; flex: none; }
  .btn-solid { background: var(--ink); color: var(--bg); }
  .btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
  .btn-accent { background: var(--accent); color: var(--accent-contrast); }

  /* ---------- pricing ---------- */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
  }
  .price-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
  }
  .price-card.featured {
    border: 2px solid var(--accent);
    position: relative;
  }
  .price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--accent-contrast);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
  }
  .price-tier { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
  .price-amount { font-size: 2rem; font-weight: 700; color: var(--ink); margin: 10px 0 4px; letter-spacing: -0.02em; }
  .price-amount span { font-size: 0.95rem; font-weight: 500; color: var(--ink-muted); }
  .price-desc { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 22px; }
  .price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
  .price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--ink); }
  .price-card li svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--accent); }
  .price-card .btn { width: 100%; }

  /* ---------- partner cta ---------- */
  .partner-cta {
    margin-top: 20px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }
  .partner-cta h3 { font-size: 1.15rem; margin-bottom: 4px; }
  .partner-cta p { color: var(--ink-muted); margin: 0; font-size: 0.92rem; }

  /* ---------- faq ---------- */
  .faq-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .faq-col h3 {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ink-muted);
    margin-bottom: 16px;
    font-weight: 600;
  }
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 0;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary .plus {
    flex: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    color: var(--ink-muted);
    transition: transform 0.2s;
  }
  .faq-item[open] summary .plus { transform: rotate(45deg); }
  .faq-item p { color: var(--ink-muted); margin: 0 0 18px; font-size: 0.94rem; max-width: 56ch; }

  .faq-contact {
    text-align: center;
    max-width: 560px;
    margin: 64px auto 0;
  }
  .faq-contact h3 { font-size: 1.25rem; }
  .faq-contact p { color: var(--ink-muted); margin: 12px 0 22px; }
  .faq-contact .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

  @media (max-width: 880px) {
    .nav-links { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { order: -1; min-height: 280px; }
    .steps { grid-template-columns: 1fr; }
    .showcase { flex-direction: column; gap: 28px; }
    .showcase-caption { max-width: 340px; text-align: center; }
    .showcase-phone { width: min(260px, 72vw); }
    .showcase-duo { grid-template-columns: minmax(0, 460px); }
    .showcase-col { grid-row: auto; grid-template-rows: none; }
    .desktop-feature { padding: 40px 24px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .partner-cta { flex-direction: column; align-items: flex-start; text-align: left; }
    .faq-cols { grid-template-columns: 1fr; gap: 8px; }
    .closing { padding: 44px 28px; }
    .foot-grid { flex-direction: column; }
  }
  @media (max-width: 1000px) {
    .steps-4 { grid-template-columns: repeat(2, 1fr); }
  }

  /* ---------- landing pages ---------- */
  .lp-prose { max-width: 720px; margin: 0 auto; }
  .lp-prose > p { color: var(--ink-muted); font-size: 1.06rem; line-height: 1.72; margin: 0 0 18px; }
  .lp-prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 40px 0 14px; }
  .lp-prose h2:first-child { margin-top: 0; }
  .lp-prose strong { color: var(--ink); }
  .lp-prose ul { color: var(--ink-muted); font-size: 1.04rem; line-height: 1.7; padding-left: 1.15em; margin: 0 0 18px; }
  .lp-prose li { margin-bottom: 8px; }

  .compare-wrap { overflow-x: auto; max-width: 760px; margin: 0 auto; }
  .compare { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 460px; }
  .compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
  .compare thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); }
  .compare tbody td:first-child { color: var(--ink-muted); }
  .compare .yes { color: var(--accent); font-weight: 700; }
  .compare .no { color: var(--ink-muted); }

  .method-list { max-width: 760px; margin: 0 auto; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  .method { background: var(--bg); padding: 26px 30px; }
  .method .method-n { color: var(--accent); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em; }
  .method h3 { margin: 6px 0 8px; font-size: 1.13rem; }
  .method p { margin: 0; color: var(--ink-muted); font-size: 0.98rem; line-height: 1.65; }

  .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 940px; margin: 0 auto; }
  .related-card { display: block; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; color: var(--ink); background: var(--bg); font-weight: 700; transition: border-color .15s ease, transform .15s ease; }
  .related-card:hover { border-color: var(--accent); transform: translateY(-2px); }
  .related-card span { display: block; font-size: 0.82rem; font-weight: 500; color: var(--ink-muted); margin-top: 6px; }

  @media (max-width: 880px) {
    .related-grid { grid-template-columns: 1fr; }
  }
