/* Siparix – siparix.io promotional site */
:root {
  --green: #058961;
  --green-dark: #046b4c;
  --green-deep: #03553c;
  --green-soft: #e6f6f0;
  --green-mid: #0d9a70;
  --teal: #0f766e;
  --gold: #e8b923;
  --ink: #0f1f1a;
  --muted: #4a5c56;
  --line: #d5e5df;
  --bg: #f7faf8;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(5, 137, 97, 0.12);
  --max: 1100px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: 2px; }
a:hover { color: var(--green); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 0; min-height: 64px;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: none; gap: 1.1rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--green-dark); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.lang-toggle {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  border-radius: 999px; padding: .35rem .7rem; font-size: .8rem; font-weight: 600; cursor: pointer;
}
.lang-toggle[aria-pressed="true"] { background: var(--green-soft); color: var(--green-dark); border-color: #b7e2d2; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.mobile-nav {
  display: none; flex-direction: column; gap: .75rem;
  padding: 0 0 1rem; border-top: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: .35rem 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 999px; padding: .8rem 1.25rem; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: none; cursor: pointer; transition: .15s ease;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(5,137,97,.25); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--green-dark); border: 1px solid #b7e2d2; }
.btn-secondary:hover { background: var(--green-soft); color: var(--green-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .875rem; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(232,185,35,.18), transparent 55%),
    linear-gradient(160deg, #046b4c 0%, #058961 45%, #0f766e 100%);
  color: #fff; padding: 2.5rem 0 3rem; overflow: hidden;
}
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  color: #fff; border-radius: 999px; padding: .35rem .75rem; font-size: .8rem; font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 0 .85rem; font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.15; letter-spacing: -.02em; max-width: 16ch;
}
.hero .lead { margin: 0 0 1.5rem; font-size: 1.05rem; color: rgba(255,255,255,.9); max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.hero-note { margin: 0; font-size: .85rem; color: rgba(255,255,255,.75); }
.hero-visual {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px; padding: .75rem; box-shadow: var(--shadow);
}
.hero-visual img { border-radius: 12px; width: 100%; }

/* Sections */
section { padding: 3.25rem 0; }
.section-head { margin-bottom: 1.75rem; max-width: 40rem; }
.section-head .eyebrow {
  color: var(--green); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .4rem;
}
.section-head h2 { margin: 0 0 .5rem; font-size: clamp(1.45rem, 3.5vw, 2rem); letter-spacing: -.02em; line-height: 1.2; }
.section-head p { margin: 0; color: var(--muted); }

/* Problem */
.problem { background: #fff; }
.problem-grid { display: grid; gap: 1rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: 0 2px 8px rgba(15,31,26,.03);
}
.card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-dark); font-size: 1.2rem; margin-bottom: .75rem;
}
.card.warn .icon { background: #fff3e0; color: #b35a00; }
.card.ok { border-color: #b7e2d2; background: linear-gradient(180deg, #fff, var(--green-soft)); }

/* Features */
.features-grid { display: grid; gap: 1rem; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.feature img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #eef6f3; }
.feature-body { padding: 1.1rem 1.2rem 1.3rem; }
.feature-body h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.feature-body p { margin: 0; color: var(--muted); font-size: .95rem; }

/* How it works */
.how { background: #fff; }
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.2rem 1.2rem 1.2rem;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: .9rem;
  margin-bottom: .7rem;
}
.step h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Plans */
.plans-grid { display: grid; gap: 1rem; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem; display: flex; flex-direction: column; gap: .75rem;
}
.plan.featured { border-color: var(--green); box-shadow: var(--shadow); position: relative; }
.plan .tag {
  position: absolute; top: -.7rem; right: 1rem;
  background: var(--gold); color: #3a2d00; font-size: .72rem; font-weight: 700;
  padding: .25rem .55rem; border-radius: 999px;
}
.plan h3 { margin: 0; font-size: 1.15rem; }
.price { margin: 0; font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.price span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan .annual { margin: -.4rem 0 0; font-size: .85rem; color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; flex: 1; }
.plan li {
  position: relative; padding: .35rem 0 .35rem 1.4rem; color: var(--muted); font-size: .92rem;
}
.plan li::before {
  content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700;
}
.plan .trial { font-size: .85rem; color: var(--green-dark); font-weight: 600; margin: 0; }
.plans-note { margin-top: 1.25rem; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: .9rem 1rem; margin-bottom: .65rem;
}
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--green); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .65rem 0 0; color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--green-deep), var(--teal));
  color: #fff; padding: 2.75rem 0; text-align: center;
}
.cta-band h2 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-band p { margin: 0 0 1.25rem; color: rgba(255,255,255,.85); }
.cta-band .hero-cta { justify-content: center; }

/* Footer */
.site-footer {
  background: #0b1c16; color: rgba(255,255,255,.78); padding: 2.5rem 0 1.5rem; font-size: .92rem;
}
.footer-grid {
  display: grid; gap: 1.5rem; margin-bottom: 1.75rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: .5rem; }
.site-footer h4 { margin: 0 0 .6rem; color: #fff; font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem;
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between;
  color: rgba(255,255,255,.55); font-size: .85rem;
}

/* Legal pages */
.legal-page { background: #fff; }
.legal-wrap { width: min(100% - 2rem, 820px); margin: 0 auto; padding: 2rem 0 3.5rem; }
.legal-wrap h1 { margin-top: 0; font-size: 1.75rem; }
.legal-wrap h2 { margin-top: 1.75rem; font-size: 1.2rem; }
.legal-wrap table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .9rem; }
.legal-wrap th, .legal-wrap td { border: 1px solid var(--line); padding: .5rem; vertical-align: top; text-align: left; }
.legal-wrap th { background: var(--green-soft); }
.legal-nav { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; font-size: .9rem; }
.legal-wrap details { margin: .5rem 0; }
.legal-wrap summary { font-weight: 600; cursor: pointer; }

[hidden], .lang-en:not(html[lang="en"] *) { }
html[lang="tr"] .lang-en { display: none !important; }
html[lang="en"] .lang-tr { display: none !important; }

@media (min-width: 720px) {
  .menu-btn { display: none; }
  .nav-links { display: flex; }
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hero { padding: 3.5rem 0 4rem; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 2.5rem; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .plans-grid { grid-template-columns: repeat(4, 1fr); }
}
