/* ============================================================
   SSA-System — Static Marketing Site
   ============================================================ */

:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;

  --teal-500: #06b6d4;
  --teal-600: #0891b2;

  --ink-950: #0a0a0a;
  --ink-900: #171717;
  --ink-700: #404040;
  --ink-500: #737373;
  --ink-400: #a3a3a3;
  --ink-300: #d4d4d4;
  --ink-200: #e5e5e5;
  --ink-100: #f5f5f5;
  --ink-50:  #fafafa;

  --green-500: #10b981;
  --red-500: #ef4444;

  --bg: #ffffff;
  --bg-alt: #fafafa;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 24px 48px -12px rgba(0,0,0,0.18);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --container-narrow: 880px;

  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink-950);
}
h1 { font-size: clamp(2.25rem, 4.5vw + 0.5rem, 3.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.875rem, 3vw + 0.5rem, 2.75rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.375rem, 1.5vw + 0.5rem, 1.75rem); }
p  { margin: 0 0 1em; color: var(--ink-700); }

::selection { background: var(--orange-500); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--container-narrow); }
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 10px;
  transition: transform .15s var(--easing), background-color .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -6px rgba(194,65,12,.5);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--ink-100);
  color: var(--ink-900);
}
.btn-secondary:hover { background: var(--ink-200); transform: translateY(-1px); }

.btn-ghost {
  color: var(--ink-900);
  padding: 10px 14px;
}
.btn-ghost:hover { background: var(--ink-100); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-600);
  font-weight: 600;
  font-size: 15px;
  transition: gap .2s var(--easing);
}
.link-arrow:hover { gap: 10px; color: var(--orange-700); }
.link-arrow::after { content: "→"; font-weight: 500; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-950);
  flex-shrink: 0;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav-logo span {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink-950);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 15px;
  transition: background-color .15s, color .15s;
}
.nav-link:hover {
  background: var(--ink-100);
  color: var(--ink-950);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-dropdown {
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 14px;
}
.lang-btn:hover { background: var(--ink-100); }
.lang-btn svg { width: 18px; height: 18px; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .15s, transform .15s;
}
.lang-dropdown.open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-900);
}
.lang-menu a:hover { background: var(--ink-100); }
.lang-menu a.active { background: var(--orange-50); color: var(--orange-700); font-weight: 600; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--ink-900);
}
.nav-toggle:hover { background: var(--ink-100); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav.open .nav-toggle .icon-open { display: none; }
.nav.open .nav-toggle .icon-close { display: block; }

/* Mobile menu panel */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 24px 24px;
  background: #fff;
  border-bottom: 1px solid var(--ink-200);
}
.nav.open .nav-mobile { display: flex; }
.nav-mobile .nav-link {
  padding: 14px 12px;
  font-size: 16px;
  border-radius: 10px;
}
.nav-mobile .btn {
  margin-top: 12px;
  width: 100%;
}
.nav-mobile-langs {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-100);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-mobile-langs a {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--ink-200);
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 500;
}
.nav-mobile-langs a.active {
  background: var(--orange-50);
  border-color: var(--orange-500);
  color: var(--orange-700);
}

/* Responsive: collapse to hamburger */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-right > .btn,
  .nav-right .lang-dropdown { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 96px;
  padding-bottom: 112px;
  text-align: center;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* Grid background — anchored at top center, fades down + sides */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.07) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: 50% 0;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 25%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}
.hero > .container { position: relative; }
.hero h1 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.hero .lead {
  max-width: 62ch;
  margin: 1.25rem auto 2rem;
  font-size: clamp(1.0625rem, 0.9vw + 0.8rem, 1.25rem);
  color: var(--ink-700);
}
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 2.25rem;
  display: grid;
  gap: 10px;
  max-width: 720px;
  text-align: left;
}
.benefit-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-700);
  font-size: 15.5px;
}
.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='white' d='M8.5 13.5 5 10l1.4-1.4 2.1 2.1 5.1-5.1L15 7Z'/></svg>") center/14px no-repeat,
    var(--orange-500);
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Logo Marquee ---------- */
.logo-bar {
  padding: 72px 0;
  background: var(--bg);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  overflow: hidden;
}
.logo-bar-heading {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin: 0 0 40px;
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 120px;
  flex-shrink: 0;
  align-items: center;
  animation: marquee 55s linear infinite;
  padding-right: 120px;
}
.marquee-track img {
  height: 100px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.marquee-track img.logo-sm {
  height: 50px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Quote cards (standalone + inline) ---------- */
.quote-block {
  padding: 64px 0;
}
.quote-card {
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  margin: 0 auto;
}
.quote-card blockquote {
  font-size: clamp(1.375rem, 0.8vw + 1.1rem, 1.625rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink-950);
  font-weight: 400;
  margin: 0 auto 24px;
  max-width: 800px;
}
.quote-card blockquote strong {
  font-weight: 700;
  color: var(--ink-950);
}
@media (max-width: 720px) {
  .quote-card { padding: 40px 24px; }
}
.quote-author {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.quote-author img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}
.quote-author-text {
  text-align: left;
  font-size: 14.5px;
  line-height: 1.35;
}
.quote-author-text strong { color: var(--ink-950); display: block; }
.quote-author-text span { color: var(--ink-500); }

/* ---------- Section header ---------- */
.section-header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 64px;
}
.section-header h2 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--ink-700);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-600);
  margin-bottom: 14px;
}

/* ---------- Feature Cards ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.feature.reverse .feature-text { order: 2; }
.feature.reverse .feature-media { order: 1; }
.feature-text h3 { margin-bottom: 16px; }
.feature-text > p { font-size: 1.0625rem; margin-bottom: 24px; }
.feature-text .benefit-list { max-width: none; }
.feature-text .benefit-list li::before {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='white' d='M8.5 13.5 5 10l1.4-1.4 2.1 2.1 5.1-5.1L15 7Z'/></svg>") center/14px no-repeat,
    var(--orange-500);
}
.feature-text .link-arrow { margin-top: 24px; }

.feature-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.feature-media.no-shadow {
  display: flex;
  justify-content: center;
}
.feature-media.no-shadow img {
  box-shadow: none;
  border-radius: 0;
  width: auto;
  max-width: 100%;
  max-height: 520px;
}

@media (max-width: 880px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0;
  }
  .feature.reverse .feature-text { order: 1; }
  .feature.reverse .feature-media { order: 2; }
}

/* Inline quote variant — same card style, slightly tighter margin */
.feature + .quote-card,
.quote-card + .feature {
  margin-top: 32px;
}

/* ---------- Pricing ---------- */
.pricing {
  background: var(--bg-alt);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
}
.pricing-benefits {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.pricing-benefits h3 {
  font-size: 1.125rem;
  margin-bottom: 16px;
}
.pricing-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.pricing-benefits li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink-700);
}
.pricing-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange-600);
  font-weight: 700;
}
.pricing-table {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pricing-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ink-100);
  align-items: center;
}
.pricing-row:last-child { border-bottom: 0; }
.pricing-row .label { color: var(--ink-700); font-size: 15.5px; }
.pricing-row .price {
  font-weight: 700;
  color: var(--ink-950);
  font-size: 16.5px;
  text-align: right;
  letter-spacing: -0.01em;
}
.pricing-row.subhead {
  background: var(--ink-50);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  padding: 12px 24px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--ink-200);
  padding: 4px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--ink-200); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 4px;
  position: relative;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink-950);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--ink-500);
  border-bottom: 2px solid var(--ink-500);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s var(--easing);
}
.faq details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.faq details > div {
  padding: 0 4px 24px;
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.6;
  max-width: 70ch;
}

/* ---------- Contact / Form ---------- */
.contact {
  background: var(--bg-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-person {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.contact-person img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 16px;
}
.contact-person .label {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.contact-person .name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-950);
  letter-spacing: -0.02em;
}
.contact-person .role {
  color: var(--ink-500);
  font-size: 15px;
  margin-top: 2px;
}

.form {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.field {
  margin-bottom: 16px;
  display: block;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-950);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.15);
}
.field textarea { min-height: 110px; resize: vertical; }
.form button[type="submit"] {
  width: 100%;
  margin-top: 8px;
}
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  display: none;
}
.form-status.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-status.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-950);
  color: var(--ink-300);
  padding: 56px 0 40px;
  font-size: 14.5px;
}
.footer a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 3px; }
.footer a:hover { text-decoration-color: var(--orange-500); }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo:hover { text-decoration: none; }
.footer-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.footer-logo span {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.footer-line { color: var(--ink-400); }
.footer-copy { color: var(--ink-400); font-size: 13.5px; }

/* ---------- Small utilities ---------- */
.center { text-align: center; }
.muted { color: var(--ink-500); }
.divider { height: 1px; background: var(--ink-100); margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Anchor offset for sticky nav ---------- */
section[id] { scroll-margin-top: 80px; }