/* ==========================================================================
   RDCNPS — Design System Premium SaaS
   ========================================================================== */

:root {
  --blue-deep: #1a56a8;
  --blue: #3b9fd9;
  --blue-soft: #e8f4fc;
  --blue-glow: rgba(59, 159, 217, 0.18);
  --red: #e30613;
  --yellow: #f5c518;
  --ink: #0b1220;
  --ink-soft: #1e293b;
  --muted: #5b6575;
  --line: #e6ebf2;
  --surface: #f5f7fb;
  --surface-2: #eef2f7;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-xs: 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow-sm: 0 4px 16px rgba(11, 18, 32, 0.06);
  --shadow-md: 0 12px 40px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 64px rgba(26, 86, 168, 0.12);
  --container: 1180px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px var(--blue-glow);
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 700;
}

p {
  margin: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  position: relative;
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  background:
    radial-gradient(900px 400px at 10% -10%, rgba(59, 159, 217, 0.22), transparent 55%),
    radial-gradient(700px 360px at 90% 110%, rgba(26, 86, 168, 0.35), transparent 50%),
    linear-gradient(160deg, #0b1220 0%, #122a4d 55%, #0f1c33 100%);
  color: #dbe7f5;
}

.section--dark h2,
.section--dark h3,
.section--dark .section-kicker {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.9rem;
}

.section-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
}

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.075rem;
  color: var(--muted);
  max-width: 58ch;
}

.section-head--center .section-lead {
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  box-shadow: 0 10px 28px rgba(26, 86, 168, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 14px 34px rgba(26, 86, 168, 0.36);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: #c9d4e4;
  background: #fff;
}

.btn--light {
  background: #fff;
  color: var(--blue-deep);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
  background: rgba(255, 255, 255, 0.92);
}

.site-header__inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand__logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.brand__wordmark {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand__wordmark span:first-child { color: var(--blue-deep); }
.brand__wordmark span:last-child { color: var(--blue); }

.brand img {
  height: 48px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a {
  display: inline-flex;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(1000px 520px at 85% 10%, rgba(59, 159, 217, 0.16), transparent 55%),
    radial-gradient(800px 420px at 0% 80%, rgba(245, 197, 24, 0.08), transparent 50%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 55%, #f5f7fb 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 86, 168, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 86, 168, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__brand img {
  height: 88px;
  width: auto;
  object-fit: contain;
}

.hero__title {
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  max-width: 14ch;
  margin-bottom: 1.15rem;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--blue-deep);
}

/* Product stage (CSS mock — placeholder for screenshots) */
.product-stage {
  position: relative;
  perspective: 1400px;
}

.product-stage__glow {
  position: absolute;
  inset: 10% 5% auto;
  height: 60%;
  background: radial-gradient(circle, rgba(59, 159, 217, 0.35), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}

.product-frame {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.7s var(--ease);
}

.product-stage:hover .product-frame {
  transform: rotateY(-3deg) rotateX(1deg);
}

.product-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.product-frame__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d6dde8;
}

.product-frame__bar i:nth-child(1) { background: #ff5f57; }
.product-frame__bar i:nth-child(2) { background: #febc2e; }
.product-frame__bar i:nth-child(3) { background: #28c840; }

.product-frame__body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 340px;
}

.product-sidebar {
  background: linear-gradient(180deg, #122a4d, #1a56a8);
  padding: 1rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-sidebar span {
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.product-main {
  padding: 1rem;
  background:
    linear-gradient(180deg, #fbfdff, #f3f7fc);
}

.product-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  box-shadow: var(--shadow-xs);
}

.kpi strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
}

.kpi small {
  color: var(--muted);
  font-size: 0.72rem;
}

.chart-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  height: 180px;
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
}

.chart-block span {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  opacity: 0.85;
  animation: growBar 1.2s var(--ease) both;
}

.chart-block span:nth-child(1) { height: 42%; animation-delay: 0.1s; }
.chart-block span:nth-child(2) { height: 68%; animation-delay: 0.2s; }
.chart-block span:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.chart-block span:nth-child(4) { height: 82%; animation-delay: 0.4s; }
.chart-block span:nth-child(5) { height: 70%; animation-delay: 0.5s; }
.chart-block span:nth-child(6) { height: 94%; animation-delay: 0.6s; }

@keyframes growBar {
  from { transform: scaleY(0.2); opacity: 0; transform-origin: bottom; }
  to { transform: scaleY(1); opacity: 0.85; transform-origin: bottom; }
}

.media-slot {
  border: 1px dashed #c9d6e8;
  background:
    linear-gradient(135deg, rgba(232, 244, 252, 0.9), rgba(245, 247, 251, 0.95));
  border-radius: var(--radius);
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.media-slot::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(59, 159, 217, 0.2), transparent 70%);
}

.media-slot strong {
  display: block;
  color: var(--blue-deep);
  margin-bottom: 0.35rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  color: var(--blue-deep);
  margin-bottom: 0.25rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #d5e5f5;
}

.feature-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-deep);
  margin-bottom: 1.1rem;
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Why / process */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.checklist {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--ink-soft);
}

.checklist svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  margin-top: 0.1rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 0.85rem;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.quote-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.quote-card p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  color: #e8eef7;
}

.quote-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.quote-card strong {
  color: #fff;
  font-size: 0.95rem;
}

.quote-card span {
  color: #9db0c9;
  font-size: 0.82rem;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--blue-deep);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .faq-answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(245, 197, 24, 0.18), transparent 50%),
    linear-gradient(135deg, #122a4d, #1a56a8 55%, #3b9fd9);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.55rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 48ch;
}

/* Page hero */
.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(59, 159, 217, 0.14), transparent 55%),
    linear-gradient(180deg, #f7fbff, #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-hero__lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 55ch;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card--featured {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--blue-deep), var(--blue), var(--yellow)) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.price-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue-deep);
  margin: 0.75rem 0;
}

.price-card .price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.5rem;
  flex: 1;
}

.price-card li {
  display: flex;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.price-card li svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Solutions audience */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.audience-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.audience-card h3 {
  font-size: 1.25rem;
  margin: 0.85rem 0 0.55rem;
}

.audience-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.audience-card .feature-card__icon {
  margin-bottom: 0;
}

/* About values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.value-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

.contact-card,
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
}

.contact-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-meta a,
.contact-meta span {
  display: block;
  color: var(--ink-soft);
}

.contact-meta strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-grid label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #fcfdff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--focus);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.map-embed {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Blog */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.post-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--blue-soft), #eef2f7);
}

.post-card__body {
  padding: 1.25rem;
}

.post-card__body time {
  font-size: 0.8rem;
  color: var(--muted);
}

.post-card__body h3 {
  font-size: 1.05rem;
  margin: 0.45rem 0 0.55rem;
}

.post-card__body p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Content area (Gutenberg / Elementor) */
.site-content {
  min-height: 40vh;
}

.entry-content {
  width: min(100% - 2.5rem, 760px);
  margin: 2.5rem auto 4rem;
}

.rdcnps-elementor-canvas,
.elementor-page .site-content {
  width: 100%;
}

.elementor-page .page-hero {
  display: none;
}

.entry-content > * + * {
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: #0b1220;
  color: #a8b6c9;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.site-footer .brand__wordmark span:first-child { color: #fff; }
.site-footer .brand__wordmark span:last-child { color: var(--blue); }

.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-about {
  max-width: 34ch;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.accent-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--yellow), var(--red));
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .product-frame { transform: none; }
  .chart-block span { animation: none; }
  .team-card__photo,
  .team-card__photo img,
  .team-card__name,
  .team-card__role {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  .team-card:hover .team-card__photo {
    transform: none;
    box-shadow: var(--shadow-xs);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-frame {
    transform: none;
  }

  .features-grid,
  .testimonials,
  .pricing-grid,
  .posts-grid,
  .stats-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card--featured {
    transform: none;
  }

  .header-cta .btn--ghost {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    padding: 0.85rem 1rem;
  }
}

@media (max-width: 640px) {
  .features-grid,
  .testimonials,
  .pricing-grid,
  .posts-grid,
  .stats-grid,
  .values-grid,
  .process-steps,
  .audience-grid,
  .footer-grid,
  .form-row,
  .product-kpis {
    grid-template-columns: 1fr;
  }

  .hero__title {
    max-width: none;
  }

  .product-frame__body {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    display: none;
  }
}

/* ==========================================================================
   UI product mockups
   ========================================================================== */
.ui-mock {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}
.ui-mock__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
.ui-mock__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6dde8;
}
.ui-mock__chrome span:nth-child(1) { background: #ff5f57; }
.ui-mock__chrome span:nth-child(2) { background: #febc2e; }
.ui-mock__chrome span:nth-child(3) { background: #28c840; }
.ui-mock__chrome em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}
.ui-mock__screen {
  flex: 1;
  padding: 0.85rem;
  background: linear-gradient(180deg, #fbfdff, #f3f7fc);
}
.ui-dash {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.65rem;
  min-height: 210px;
}
.ui-dash__nav {
  background: linear-gradient(180deg, #122a4d, #1a56a8);
  border-radius: 10px;
  padding: 0.55rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ui-dash__nav b,
.ui-dash__nav i {
  display: block;
  height: 18px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
}
.ui-dash__nav b { height: 22px; margin-bottom: 0.2rem; }
.ui-dash__nav i.is-on { background: rgba(255,255,255,0.28); }
.ui-dash__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
}
.ui-dash__top strong { font-size: 0.9rem; }
.ui-dash__top small { color: var(--muted); font-size: 0.72rem; }
.ui-dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}
.ui-dash__kpis div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem;
}
.ui-dash__kpis strong {
  display: block;
  color: var(--blue-deep);
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}
.ui-dash__kpis span { font-size: 0.65rem; color: var(--muted); }
.ui-dash__chart {
  height: 92px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  padding: 0.65rem;
}
.ui-dash__chart span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  opacity: 0.9;
}

.ui-bulletin {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  min-height: 210px;
}
.ui-bulletin__head {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.65rem;
}
.ui-bulletin__badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
}
.ui-bulletin__head strong { display: block; font-size: 0.88rem; }
.ui-bulletin__head small { color: var(--muted); font-size: 0.7rem; }
.ui-bulletin__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.ui-bulletin__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}
.ui-bulletin__table th,
.ui-bulletin__table td {
  text-align: left;
  padding: 0.35rem 0.25rem;
  border-bottom: 1px solid var(--line);
}
.ui-bulletin__table th { color: var(--muted); font-weight: 600; }
.ui-bulletin__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
}
.ui-bulletin__foot .ok { color: #0f9f6e; }

.ui-classes {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-height: 210px;
}
.ui-classes__top {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.ui-classes__top strong { font-size: 0.85rem; }
.ui-classes__top span { font-size: 0.72rem; color: var(--muted); }
.ui-classes__list { padding: 0.35rem 0; }
.ui-classes__row {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.2fr 0.7fr;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
  align-items: center;
}
.ui-classes__row.is-head {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.68rem;
}
.ui-classes__row:not(.is-head):nth-child(even) { background: #f8fafc; }
.pill {
  display: inline-flex;
  justify-content: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #e8f8f1;
  color: #0f9f6e;
  font-weight: 600;
  font-size: 0.65rem;
}
.pill--warn {
  background: #fff7e6;
  color: #b78105;
}

.ui-delib {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem;
  min-height: 210px;
}
.ui-delib header {
  margin-bottom: 0.85rem;
}
.ui-delib header strong { display: block; font-size: 0.9rem; }
.ui-delib header small { color: var(--muted); font-size: 0.72rem; }
.ui-delib ul {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.ui-delib li {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--line);
}
.ui-delib .ok { color: #0f9f6e; }
.ui-delib .warn { color: #c2410c; }
.ui-delib__bar {
  height: 8px;
  border-radius: 999px;
  background: #e8eef6;
  overflow: hidden;
  margin-bottom: 0.45rem;
}
.ui-delib__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  border-radius: inherit;
}
.ui-delib > small { color: var(--muted); font-size: 0.75rem; }

.seo-block {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
}
.seo-block h2 {
  font-size: 1.45rem;
  margin: 1.75rem 0 0.75rem;
}
.seo-block h3 {
  font-size: 1.15rem;
  margin: 1.35rem 0 0.55rem;
}
.seo-block p + p { margin-top: 0.85rem; }
.seo-block ul {
  margin: 0.85rem 0;
  display: grid;
  gap: 0.45rem;
}
.seo-block li {
  padding-left: 1.1rem;
  position: relative;
}
.seo-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* Official bulletin showcase */
.ui-mock--bulletin .ui-mock__screen {
  padding: 0;
  background: #eef2f7;
}
.ui-bulletin-official {
  display: block;
  position: relative;
  overflow: hidden;
  max-height: 320px;
}
.ui-bulletin-official img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}
.ui-bulletin-official:hover img {
  transform: scale(1.03);
}
.ui-bulletin-official__badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: rgba(11, 18, 32, 0.88);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}
.bulletin-showcase {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: 0.75rem;
}
.bulletin-showcase__preview {
  display: block;
  position: relative;
  max-height: 380px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f8fafc;
}
.bulletin-showcase__preview img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
  border: 0;
  border-radius: 0;
  transform: translateZ(0);
  transition: transform 0.55s var(--ease);
}
.bulletin-showcase__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 45%,
    rgba(255, 255, 255, 0.98) 100%
  );
  pointer-events: none;
}
.bulletin-showcase__cta {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--blue-deep);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(26, 86, 168, 0.28);
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.bulletin-showcase__preview:hover img {
  transform: scale(1.025);
}
.bulletin-showcase__preview:hover .bulletin-showcase__cta {
  background: var(--blue);
  transform: translateX(-50%) translateY(-2px);
}
.bulletin-showcase figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.85rem 0.5rem 0.35rem;
}

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
.team-card {
  text-align: center;
}
.team-card__photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(59, 159, 217, 0.18), transparent 55%),
    linear-gradient(160deg, #eef4fb, #f8fafc 60%, #e8eef6);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1rem;
  position: relative;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}
.team-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(11, 18, 32, 0.18) 100%
  );
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  opacity: 0.4;
  filter: saturate(0.92) brightness(0.97);
  transition:
    transform 0.75s var(--ease),
    filter 0.45s var(--ease),
    opacity 0.75s var(--ease);
}
.team-card.is-visible .team-card__photo img {
  transform: scale(1);
  opacity: 1;
}
.team-card:hover .team-card__photo {
  transform: translateY(-6px);
  border-color: rgba(59, 159, 217, 0.45);
  box-shadow: var(--shadow-md);
}
.team-card:hover .team-card__photo::after {
  opacity: 1;
}
.team-card.is-visible:hover .team-card__photo img {
  transform: scale(1.07);
  filter: saturate(1.05) brightness(1.02);
}
.team-card__name,
.team-card__role {
  transition: transform 0.45s var(--ease), color 0.3s ease;
}
.team-card:hover .team-card__name,
.team-card:hover .team-card__role {
  transform: translateY(-2px);
}
.team-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.45rem;
  color: var(--blue-deep);
}
.team-card__initials {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 8px 20px rgba(26, 86, 168, 0.25);
}
.team-card__hint {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.team-card__name {
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}
.team-card__role {
  color: var(--blue-deep);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
}
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
