/* tensorERP marketing site */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --brand: #0f172a;
  --brand-accent: #2563eb;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #fff;
  display: none;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lang-switch {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.lang-switch:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-main a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 14rem;
  line-height: 1.25;
  text-align: right;
}

.nav-user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.nav-user-company {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
  background: #1e293b;
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-accent {
  background: var(--brand-accent);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 0.55rem 0.75rem;
}

.cart-badge {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--brand-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}

.cart-badge.visible {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
  --hero-from: #0f172a;
  --hero-to: #475569;
  --hero-accent: #2563eb;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 72% 18%, color-mix(in srgb, var(--hero-from) 20%, transparent), transparent),
    radial-gradient(ellipse 55% 45% at 12% 85%, color-mix(in srgb, var(--hero-to) 14%, transparent), transparent),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  transition: background 0.9s ease;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-banner {
  margin-bottom: 1.25rem;
}

.hero-banner-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.hero-banner-link:hover {
  text-decoration: none;
}

.hero-banner-link:hover .hero-banner-desc {
  color: #475569;
}

.hero-banner-name {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 52%, var(--hero-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.hero-banner-desc {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--muted);
  margin: 0;
  max-width: 32rem;
  line-height: 1.5;
  transition: opacity 0.38s ease, transform 0.38s ease, color 0.2s ease;
}

.hero.is-banner-changing .hero-banner-name,
.hero.is-banner-changing .hero-banner-desc,
.hero.is-banner-changing .hero-showcase-img {
  opacity: 0;
  transform: translateY(14px);
}

.hero.is-banner-changing .hero-showcase-img:not(.is-screenshot) {
  transform: scale(0.88);
}

.hero-banner-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.35rem;
}

.hero-banner-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 999px;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 0.28s ease, background 0.28s ease;
}

.hero-banner-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--hero-from), var(--hero-to));
}

.hero-banner-dot:focus-visible {
  outline: 2px solid var(--hero-accent);
  outline-offset: 2px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  max-width: 34rem;
}

.hero-pitch {
  font-size: 1.08rem;
  color: #475569;
  margin: 0 0 1.35rem;
  max-width: 34rem;
  line-height: 1.55;
}

.hero-price-line {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-accent);
  margin: 0 0 0.5rem;
}

.hero-price-line-secondary {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  margin: 0 0 1.25rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pricing-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.pricing-card p {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.55;
}

.pricing-banner-storage {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #bfdbfe;
}

.pricing-device-note {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-stats strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.hero-visual {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.hero.is-banner-changing .hero-visual {
  box-shadow: 0 8px 32px color-mix(in srgb, var(--hero-from) 18%, transparent);
}

.hero-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.hero-showcase-glow {
  position: absolute;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hero-from) 38%, transparent) 0%, transparent 72%);
  transition: background 0.7s ease;
  filter: blur(10px);
}

.hero-showcase-img {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.42s ease, opacity 0.38s ease;
}

.hero-showcase-img.is-screenshot {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.hero-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}

.product-card-banner {
  height: 88px;
  background: linear-gradient(135deg, var(--from), var(--to));
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-icon {
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}

.product-card-price {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-accent);
}

.product-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--text);
}

.product-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.product-card-footer {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--muted);
}

.chip-business {
  background: #e0f2fe;
  color: #0369a1;
}

.chip-workspace {
  background: #ede9fe;
  color: #5b21b6;
}

.chip-platform {
  background: #f1f5f9;
  color: #0f172a;
}

/* Product detail */
.product-hero {
  padding: 3rem 0 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--from), var(--to));
}

.product-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.product-hero .tagline {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.product-hero-top {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.product-hero-icon {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 0.5rem;
  flex-shrink: 0;
}

.product-hero-price {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.95;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.product-hero-ghost {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.module-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 0.5rem;
  border: 2px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-pill {
  cursor: pointer;
  font: inherit;
  appearance: none;
}

.hero-pill.is-active {
  border-color: var(--hero-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hero-accent) 22%, transparent);
  transform: scale(1.06);
}

.hero-pill:focus-visible {
  outline: 2px solid var(--hero-accent);
  outline-offset: 2px;
}

.module-pill img {
  object-fit: contain;
}

.pricing-plan-fields {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pricing-plan-heading {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.pricing-plan-fields .form-group:last-child {
  margin-bottom: 0;
}

.pricing-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: #1e3a8a;
}

.cart-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.cart-line-icon {
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
}

.cart-line-main {
  min-width: 0;
}

.cart-line-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.05rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
}

.cart-total-row strong {
  font-size: 1.25rem;
  color: var(--brand-accent);
}

.cart-total-meta {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: right;
  margin-top: 0.25rem;
}

.product-content {
  padding: 2.5rem 0 4rem;
}

.product-detail {
  max-width: 48rem;
}

.product-breadcrumb {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

.product-breadcrumb a {
  color: inherit;
  text-decoration: underline;
}

.product-breadcrumb span[aria-hidden] {
  margin: 0 0.35rem;
  opacity: 0.7;
}

.product-section {
  margin-bottom: 2.5rem;
}

.product-section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--text);
}

.product-content .prose {
  max-width: none;
  font-size: 1.05rem;
  color: #334155;
}

.product-content .prose p {
  margin: 0 0 1rem;
}

.product-use-case-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #334155;
  line-height: 1.65;
}

.product-use-case-list li {
  margin-bottom: 0.65rem;
}

.product-faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: var(--surface);
}

.product-faq-item summary {
  font-weight: 600;
  cursor: pointer;
}

.product-faq-item p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-article-links {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.6;
}

.product-article-links a {
  color: var(--brand-accent);
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.product-related-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.product-related-card:hover {
  border-color: var(--brand-accent);
  text-decoration: none;
}

.product-related-card small {
  color: var(--muted);
  font-weight: 400;
}

.product-cta-band {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.product-cta-band h2 {
  margin: 0 0 0.5rem;
}

.product-cta-band p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.product-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Articles / Artikel */
.artikel-page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.artikel-lead {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
}

.policy-meta {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.policy-content {
  padding-top: 0;
}

.policy-content .container {
  max-width: 42rem;
}

.policy-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: #334155;
  line-height: 1.65;
}

.policy-content ul,
.policy-content ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.policy-content a {
  color: var(--brand-accent);
}

.artikel-lang-note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--brand-accent);
}

.artikel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.artikel-filter {
  font: inherit;
  font-size: 0.875rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.artikel-filter:hover {
  border-color: var(--brand-accent);
}

.artikel-filter.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.artikel-group {
  margin-bottom: 2.5rem;
}

.artikel-group-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 600;
}

.artikel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.artikel-card {
  display: block;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.artikel-card:hover {
  text-decoration: none;
  border-color: var(--brand-accent);
  box-shadow: var(--shadow);
}

.artikel-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
}

.artikel-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.artikel-card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-accent);
}

.artikel-breadcrumb {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.artikel-breadcrumb a {
  color: var(--muted);
}

.artikel-prose {
  max-width: 48rem;
}

.artikel-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  color: var(--text);
}

.artikel-prose h2:first-child {
  margin-top: 0;
}

.artikel-prose p {
  margin: 0 0 1rem;
}

.artikel-prose a {
  color: var(--brand-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.artikel-prose a:hover {
  color: var(--text);
}

.chip-link {
  text-decoration: none;
  color: inherit;
}

.chip-link:hover {
  filter: brightness(0.95);
  text-decoration: none;
}

.artikel-related,
.artikel-related-products {
  max-width: 48rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.artikel-related h2,
.artikel-related-products h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.artikel-related-links {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.6;
}

.artikel-related-links a {
  color: var(--brand-accent);
}

.artikel-related-more {
  margin: 0;
  font-size: 0.95rem;
}

.artikel-related-more a {
  color: var(--brand-accent);
}

.artikel-related-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.artikel-related-product {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.artikel-related-product:hover {
  border-color: var(--brand-accent);
  text-decoration: none;
}

.artikel-related-product span {
  font-size: 0.85rem;
  color: var(--muted);
}

.artikel-product-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.artikel-empty {
  color: var(--muted);
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.highlight-list li {
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding-left: 2.5rem;
  position: relative;
}

.highlight-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--brand-accent);
  font-weight: 700;
}

.product-feature-groups {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 720px) {
  .product-feature-groups {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-feature-groups {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-feature-group {
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.product-feature-group h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.product-feature-group ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.product-feature-group li {
  margin-bottom: 0.4rem;
}

.product-feature-group li:last-child {
  margin-bottom: 0;
}

.product-screenshot-gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .product-screenshot-gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.product-screenshot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.product-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.product-screenshot figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Checkout */
.checkout-loading-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  color: #475569;
  font-size: 0.9rem;
}

.checkout-layout.is-checkout-loading input:not([type="hidden"]),
.checkout-layout.is-checkout-loading textarea,
.checkout-layout.is-checkout-loading select,
.checkout-layout.is-checkout-loading button {
  cursor: not-allowed;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}

.checkout-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.checkout-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

[data-cart-lines] .cart-line {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

[data-cart-lines] .cart-line:last-child {
  border-bottom: none;
}

.cart-empty {
  color: var(--muted);
  font-size: 0.95rem;
}

.checkout-option {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.billing-period-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.billing-period-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}

.billing-period-option input {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--brand-accent);
}

.form-group .form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.checkout-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
}

.checkout-checkbox input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--brand-accent);
}

.checkout-implementation-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.checkout-implementation-note a {
  color: var(--brand-accent);
  font-weight: 600;
  text-decoration: none;
}

.checkout-implementation-note a:hover {
  text-decoration: underline;
}

.implementation-hero h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.implementation-eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.implementation-lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.implementation-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .implementation-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.implementation-card {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.implementation-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
}

.implementation-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.implementation-list li + li {
  margin-top: 0.45rem;
}

.implementation-steps li strong {
  color: var(--text);
}

[hidden] {
  display: none !important;
}

.business-type-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.business-type-row select {
  flex: 1;
  min-width: 0;
}

.business-type-add-btn {
  flex-shrink: 0;
  min-width: 2.75rem;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 600;
}

.business-type-custom {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.5rem;
}

.business-type-custom-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.plan-options {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.plan-option {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.plan-option:has(input:checked) {
  border-color: var(--brand-accent);
  background: #eff6ff;
}

.plan-option input {
  margin-top: 0.2rem;
}

.plan-option strong {
  display: block;
}

.plan-option span {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
}

.storage-cost-preview {
  color: #1e40af;
  font-weight: 600;
}

.cart-total-row-sub {
  margin-top: 0.5rem;
}

.cart-total-row-grand {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid #e2e8f0;
}

.cart-total-row-first-invoice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 0.75rem;
  margin-top: 0.75rem;
}

.checkout-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

.checkout-success {
  display: none;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #065f46;
  margin-top: 1rem;
}

.checkout-success.visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--brand);
  color: #94a3b8;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 2rem;
}

.site-footer a {
  color: #e2e8f0;
}

.site-footer .brand {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  transition: background 0.15s ease, color 0.15s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.social-btn svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.footer-brand-social {
  margin-top: 1rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--brand);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .checkout-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-modules {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-showcase {
    min-height: 108px;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    align-items: stretch;
  }

  .nav-main.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-user {
    max-width: 9rem;
  }

  .nav-user-name {
    font-size: 0.8rem;
  }

  .nav-user-company {
    font-size: 0.7rem;
  }
}

.plan-dl {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
}

.plan-dl dt {
  margin: 0;
  color: #64748b;
  font-weight: 500;
}

.plan-dl dd {
  margin: 0;
  font-weight: 600;
}

/* Client area welcome bar (logged-in company admin) */
.client-welcome-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e3a5f 100%);
  color: #f8fafc;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.9rem;
}

.client-welcome-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.55rem 0;
}

.client-welcome-text strong {
  font-weight: 700;
  color: #fff;
}

.client-welcome-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.client-welcome-actions a {
  color: #bfdbfe;
  font-weight: 600;
  text-decoration: none;
}

.client-welcome-actions a:hover {
  color: #fff;
  text-decoration: underline;
}

.client-welcome-signout {
  border: 1px solid rgba(191, 219, 254, 0.45);
  background: transparent;
  color: #e2e8f0;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.client-welcome-signout:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Client admin auth (login / signup) */
.client-auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(15, 23, 42, 0.06), transparent 50%),
    var(--bg);
}

.client-auth-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2.5rem 0 3.5rem;
}

.client-auth-shell {
  width: min(100% - 2rem, 920px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.client-auth-aside {
  padding: 2.5rem 2.25rem;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 55%, #2563eb 120%);
  color: #f8fafc;
}

.client-auth-aside a {
  color: #bfdbfe;
}

.client-auth-aside a:hover {
  color: #fff;
}

.client-auth-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.client-auth-aside .client-auth-eyebrow {
  color: #93c5fd;
}

.client-auth-aside h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  color: #fff;
}

.client-auth-lead {
  margin: 0 0 1.5rem;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.55;
}

.client-auth-benefits {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.client-auth-benefits li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.client-auth-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

.client-auth-note {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

.client-auth-card {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.client-auth-shell--signup {
  width: min(100% - 2rem, 980px);
}

.client-auth-card--signup {
  justify-content: flex-start;
}

.client-auth-form {
  display: grid;
  gap: 0;
}

.client-auth-form .form-group {
  margin-bottom: 0.85rem;
}

.client-auth-form .form-group:last-of-type {
  margin-bottom: 1.1rem;
}

.client-auth-form .form-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.client-auth-form .business-type-custom input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

.client-auth-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.client-auth-card-head h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.client-auth-card-desc {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.client-auth-submit {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
}

.client-auth-msg {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}

.client-auth-msg--error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.client-auth-msg--success {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.client-auth-links {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
}

.client-auth-links a {
  font-weight: 600;
}

@media (max-width: 768px) {
  .client-auth-shell {
    grid-template-columns: 1fr;
  }

  .client-auth-aside {
    padding: 2rem 1.5rem;
  }

  .client-auth-card {
    padding: 2rem 1.5rem;
  }
}

/* Client portal (login / signup / plan) */
.client-portal-page .client-auth-main {
  place-items: start center;
  padding-top: 1.25rem;
}

.client-portal-header .client-portal-nav a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.client-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 auto 1.25rem;
  width: min(100% - 2rem, 920px);
  font-size: 0.88rem;
  color: var(--muted);
}

.client-steps--auth {
  justify-content: center;
}

.client-steps a {
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.client-steps a:hover {
  color: var(--primary);
}

.client-steps .is-current {
  font-weight: 700;
  color: var(--ink);
}

.client-portal-main {
  flex: 1;
  padding: 1.25rem 0 3rem;
}

.client-portal-shell {
  width: min(100% - 2rem, 52rem);
  margin: 0 auto;
}

.client-portal-intro {
  margin-bottom: 1.25rem;
}

.client-portal-intro h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.client-portal-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.client-portal-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.client-portal-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.client-portal-panel p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.5;
}

.client-portal-panel--error {
  border-color: #fecaca;
  background: #fffafb;
}

.client-portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.client-portal-actions--stack {
  margin-top: 0.25rem;
}

.client-portal-hint {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.client-plan-loading {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
}

.client-plan-loading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.client-plan-skeleton {
  height: 1rem;
  border-radius: 6px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%);
  background-size: 200% 100%;
  animation: client-plan-shimmer 1.2s ease-in-out infinite;
}

.client-plan-skeleton--short {
  width: 55%;
}

@keyframes client-plan-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.plan-dl {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr;
  gap: 0.55rem 1rem;
  margin: 0;
}

.plan-dl dt {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.plan-dl dd {
  margin: 0;
  font-weight: 600;
}
