:root {
  /* Pipelet Brand Colors */
  --primary: #5fb3ce;
  /* Glacial Blue */
  --primary-dark: #1e677a;
  /* Deep Teal */
  --secondary: #2f7f70;
  /* Pine Green */
  --accent: #a5d6c2;
  /* Alpine Mint */
  --support: #3e5878;
  /* Mountain Shadow Blue */

  /* Neutral / Surface Colors */
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  /* Cool Slate 50 */
  --bg-glass: rgba(255, 255, 255, 0.85);

  --border-subtle: #e2e8f0;
  /* Slate 200 */
  --border-strong: #cbd5e1;
  /* Slate 300 */

  --text-main: #0f172a;
  /* Slate 900 */
  --text-soft: #475569;
  /* Slate 600 */
  --text-inverse: #ffffff;

  /* Design Tokens */
  --radius-pill: 999px;
  --radius-card: 20px;

  /* Flat Design - No Shadows (requested by user) */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-premium: none;

  --transition-fast: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "InterVariable", system-ui, -apple-system,
    BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Layout Helpers --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Header (Light / Glass) --- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-glass);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.85;
}

.logo-image {
  display: block;
  height: 42px;
  width: auto;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 0.5rem;
}

/* --- Hamburger Toggle (hidden on desktop) --- */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle--active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle--active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-link {
  color: var(--text-soft);
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-dark);
  background-color: var(--bg-soft);
}

.nav-link--active {
  color: var(--primary-dark);
  font-weight: 600;
  background-color: rgba(95, 179, 206, 0.1);
}

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(94, 179, 206, 0.3);
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
  color: var(--primary-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-cta span.icon {
  font-size: 0.75rem;
  color: var(--secondary);
}

/* --- Hero --- */

.hero {
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-title strong {
  color: var(--primary-dark);
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  animation: titleReveal 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

.hero-title-line--sub {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 52rem;
  margin-bottom: 1rem;
}

.hero-subheadline {
  color: var(--text-main);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-outcomes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-outcomes li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

/* --- Trust Strip --- */
.trust-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.trust-strip__block {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.trust-strip__block .section-title {
  margin-bottom: 1rem;
}

.trust-strip__text {
  margin: 0 0 0.75rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.trust-strip__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.trust-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--border-subtle);
  color: var(--text-soft);
  background: var(--bg-soft);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.trust-logo--placeholder::before {
  content: "Logo";
  margin-right: 0.4rem;
  font-weight: 500;
  color: var(--secondary);
}

.trust-strip__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 0 0 0.75rem;
}

.stat-card {
  background: var(--bg-soft);
  border-radius: var(--radius-card);
  padding: 0.85rem;
  border: 1px solid var(--border-subtle);
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.25rem;
}

.stat-label {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.4;
}

.trust-strip__note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

.support-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.6rem;
  line-height: 1.5;
}

.support-list strong {
  color: var(--text-main);
}

.hero-outcome-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  flex-shrink: 0;
}

.btn-primary {
  border-radius: var(--radius-pill);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  background: linear-gradient(135deg,
      var(--primary),
      var(--primary-dark));
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

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

.btn-ghost {
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: transparent;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background-color var(--transition-fast),
    border-color var(--transition-fast);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: #d1d5db;
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.hero-meta strong {
  color: var(--support);
}

/* --- Right side: Mockup-Card (für Morflax-Render) --- */

.hero-visual-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-top: 0.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1800px;
}

.hero-visual-stack {
  position: relative;
  width: min(1200px, calc(100vw - 2.5rem));
  min-height: 460px;
  transform-style: preserve-3d;
}

.hero-visual-stack::before {
  content: "";
  position: absolute;
  inset: -6% -10% -2% -10%;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.3) 95%);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: multiply;
}

.hero-visual-stack::after {
  content: "";
  position: absolute;
  inset: 10% -16% -6% 10%;
  border-radius: 32px;
  background: radial-gradient(circle at 30% 20%, rgba(95, 179, 206, 0.16), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(46, 127, 112, 0.18), transparent 65%);
  filter: blur(16px);
  z-index: 0;
}

.hero-shot {
  position: absolute;
  border-radius: 28px;
  width: 86%;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.18);
  transform: translateX(var(--start-x, 120px)) translateY(var(--start-y, 24px)) rotate(var(--start-rotate, 6deg)) rotateX(var(--start-rotate-x, 16deg)) rotateY(var(--start-rotate-y, -16deg)) scale(var(--start-scale, 1.06));
  opacity: 0;
  animation: heroFlyIn 0.95s cubic-bezier(0.18, 0.75, 0.25, 1) forwards;
  animation-delay: var(--delay, 0s);
  z-index: 1;
}

.hero-shot--primary {
  --start-x: 180px;
  --start-y: 12px;
  --start-rotate: 7deg;
  --start-rotate-x: 12deg;
  --start-rotate-y: -14deg;
  --start-scale: 1.06;
  --end-x: -1.5vw;
  --end-y: 10px;
  --end-rotate: -8deg;
  --end-rotate-x: 9deg;
  --end-rotate-y: -12deg;
  --end-scale: 1;
  width: 90%;
  left: -8%;
  top: -1%;
  z-index: 2;
}

.hero-shot--secondary {
  --start-x: 160px;
  --start-y: 40px;
  --start-rotate: 7deg;
  --start-rotate-x: 12deg;
  --start-rotate-y: -14deg;
  --start-scale: 1.06;
  --end-x: 4vw;
  --end-y: 36px;
  --end-rotate: -8deg;
  --end-rotate-x: 9deg;
  --end-rotate-y: -12deg;
  --end-scale: 1;
  width: 90%;
  right: -12%;
  top: 12%;
  animation-delay: 0.15s;
}

@keyframes heroFlyIn {
  to {
    opacity: 1;
    transform: translateX(var(--end-x, 0)) translateY(var(--end-y, 0)) rotate(var(--end-rotate, 0deg)) rotateX(var(--end-rotate-x, 0deg)) rotateY(var(--end-rotate-y, 0deg)) scale(var(--end-scale, 1));
  }
}

@keyframes titleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.mockup-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: radial-gradient(circle at top left,
      rgba(95, 179, 206, 0.16),
      transparent 55%),
    radial-gradient(circle at bottom right,
      rgba(46, 127, 112, 0.14),
      transparent 55%),
    #ffffff;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.mockup-dots {
  display: flex;
  gap: 0.3rem;
}

.mockup-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.mockup-body {
  flex: 1;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(135deg,
      rgba(15, 23, 42, 0.08),
      rgba(15, 23, 42, 0.03)),
    radial-gradient(circle at 20% 10%,
      rgba(95, 179, 206, 0.35),
      transparent 60%),
    radial-gradient(circle at 80% 85%,
      rgba(165, 214, 194, 0.4),
      transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #e5edf4;
}

.mockup-caption {
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* --- Section mit Pill-Tabs (z.B. Features) --- */

.section {
  padding: 0 0 4rem;
}

.content-strip {
  padding: 2.5rem 0;
  background: linear-gradient(135deg,
      rgba(95, 179, 206, 0.07),
      rgba(165, 214, 194, 0.08)),
    #f8fafc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.content-strip__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.content-strip__header h2 {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
}

.content-strip__subtitle {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 760px;
}

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

.content-strip__card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.content-strip__card--accent {
  background: linear-gradient(135deg,
      rgba(95, 179, 206, 0.08),
      rgba(165, 214, 194, 0.08)),
    #ffffff;
  border-color: rgba(95, 179, 206, 0.35);
}

.content-strip__title {
  margin: 0;
  font-size: 1.15rem;
}

.content-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.content-strip__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--text-soft);
  line-height: 1.5;
}

.content-strip__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-top: 0.4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 500;
}

.modules-section {
  padding-top: 3rem;
  padding-bottom: 4rem;
  background: radial-gradient(circle at 20% 20%,
      rgba(95, 179, 206, 0.08),
      transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(165, 214, 194, 0.08), transparent 30%),
    #ffffff;
}

.modules-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.modules-headline {
  margin: 0.2rem 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.modules-subtitle {
  margin: 0;
  max-width: 620px;
  color: var(--text-soft);
  line-height: 1.5;
}

.module-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.module-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.module-badge--protocol {
  border-color: rgba(95, 179, 206, 0.4);
  background: linear-gradient(135deg, rgba(95, 179, 206, 0.12), rgba(165, 214, 194, 0.12));
}

.module-badge--whitelabel {
  border-color: rgba(63, 88, 120, 0.25);
  color: var(--support);
}

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

.module-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.35rem;
  background: #ffffff;
  box-shadow: 0 15px 36px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.module-card__meta {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 700;
}

.module-card__title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.module-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.95rem;
  display: grid;
  gap: 0.35rem;
}

/* --- Cards (Unified Light Theme) --- */

.section-pills {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
}

.section-pill {
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  border: none;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.section-pill:hover {
  color: var(--text-main);
}

.section-pill--active {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

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

.feature-card {
  position: relative;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  /* Soft premium shadow */
  overflow: hidden;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border-color: rgba(95, 179, 206, 0.4);
}

.feature-card--hidden {
  display: none;
}

.feature-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 40%),
    #0b1220;
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
}

.feature-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 50%, rgba(15, 23, 42, 0.65));
}

.feature-card__content {
  padding: 1rem 1.1rem 1.35rem;
}

.feature-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
}

.feature-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.feature-card__trigger {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

.feature-card__trigger:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.feature-card__trigger:focus-visible,
.feature-modal__close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.feature-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  z-index: 1200;
}

.feature-modal[hidden] {
  display: none;
}

.feature-modal__backdrop {
  position: absolute;
  inset: 0;
}

.feature-modal__dialog {
  position: relative;
  width: min(960px, 100%);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  display: grid;
  gap: 1rem;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}

.feature-modal__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  max-height: 60vh;
  background: var(--bg-soft);
}

.feature-modal__media::after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 60%,
      #ffffff 100%);
  pointer-events: none;
}

.feature-modal__media img {
  width: 100%;
  height: 100%;
  max-height: 60vh;
  border-radius: inherit;
  object-fit: contain;
  display: block;
}

.feature-modal__content {
  position: relative;
  margin-top: clamp(-4rem, -10vw, -2rem);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* Soft shadow */
  z-index: 1;
}

.feature-modal__title {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  color: var(--text-main);
}

.feature-modal__body {
  display: grid;
  gap: 0.8rem;
  color: var(--text-soft);
}

.feature-modal__body p {
  line-height: 1.6;
}

.feature-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-main);
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.feature-modal__close:hover {
  transform: scale(1.05);
  background: var(--bg-soft);
  color: var(--primary-dark);
}

body.is-modal-open {
  overflow: hidden;
}

/* --- Pricing --- */

.pricing-hero {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.pricing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.pricing-highlight {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  background: radial-gradient(circle at 25% 20%,
      rgba(95, 179, 206, 0.1),
      transparent 45%),
    #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.pricing-highlight h3 {
  margin: 0.4rem 0 0.6rem;
  font-size: 1.2rem;
}

.pricing-highlight ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.95rem;
}

.pricing-section {
  padding-top: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.pricing-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.pricing-card--accent {
  background: linear-gradient(145deg,
      rgba(95, 179, 206, 0.08),
      rgba(165, 214, 194, 0.08)),
    #ffffff;
  border-color: rgba(95, 179, 206, 0.4);
}

.pricing-card-header h3 {
  margin: 0.4rem 0 0.5rem;
}

.pricing-card-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.price {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.price-meta {
  color: var(--text-soft);
}

.pricing-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-main);
  line-height: 1.8;
  font-size: 0.95rem;
}

.full-width {
  width: 100%;
  justify-content: center;
}

.pricing-note-box {
  margin-top: 1.4rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: #ffffff;
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.pricing-note-box p {
  margin: 0.25rem 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #f8fafc;
  color: var(--support);
}

.pill-soft {
  background: rgba(95, 179, 206, 0.08);
  border-color: rgba(95, 179, 206, 0.3);
  color: var(--primary-dark);
}

.pill-strong {
  background: rgba(46, 127, 112, 0.12);
  border-color: rgba(46, 127, 112, 0.3);
  color: var(--secondary);
}

.support-section {
  padding-top: 1rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.support-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.support-card--accent {
  background: linear-gradient(135deg,
      rgba(62, 88, 120, 0.08),
      rgba(165, 214, 194, 0.08)),
    #ffffff;
  border-color: rgba(62, 88, 120, 0.35);
}

.support-card-head h3 {
  margin: 0.2rem 0 0.3rem;
}

.support-card-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.support-meta {
  font-weight: 600;
  color: var(--support);
}

/* --- Comparison --- */

.comparison-section {
  padding-top: 1rem;
}

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

.comparison-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.35rem;
  background: #ffffff;
  box-shadow: 0 15px 36px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.comparison-card--accent {
  border-color: rgba(95, 179, 206, 0.4);
  background: linear-gradient(135deg,
      rgba(95, 179, 206, 0.08),
      rgba(165, 214, 194, 0.08)),
    #ffffff;
}

.comparison-badge {
  width: fit-content;
}

.comparison-title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.comparison-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.comparison-label {
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.comparison-copy {
  margin: 0.15rem 0 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.comparison-meta {
  font-weight: 600;
  color: var(--support);
}

.comparison-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (max-width: 1200px) {
  .pricing-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Responsive --- */

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

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    z-index: 50;
  }

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

  .nav-main .nav-link {
    padding: 0.7rem 0.75rem;
    font-size: 1rem;
  }

  .nav-main .nav-cta {
    margin: 0.5rem 0 0;
    width: 100%;
    justify-content: center;
  }

  .nav-bar {
    position: relative;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 5vw, 3rem);
  }

  .hero-visual-bleed {
    padding-top: 1rem;
  }

  .hero-visual-stack {
    min-height: 380px;
    width: min(900px, calc(100vw - 1.5rem));
  }

  .hero-shot--primary {
    left: -6%;
  }

  .hero-shot--secondary {
    right: -8%;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-hero-grid,
  .pricing-grid,
  .support-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-visual-stack {
    min-height: 320px;
  }

  .hero-shot {
    width: 96%;
  }

  .hero-shot--secondary {
    top: 20%;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Legal --- */

.legal-section {
  padding-top: 2.5rem;
}

.legal-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.legal-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.04);
  max-width: 740px;
}

.legal-card h2 {
  margin: 1.2rem 0 0.4rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.legal-card a {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* --- Modal --- */

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 200ms ease, visibility 200ms ease;
  z-index: 40;
}

.modal.is-visible {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 1.6rem;
  max-width: 460px;
  width: min(90vw, 520px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
  border: 1px solid var(--border-subtle);
  animation: modalIn 200ms ease;
}

@keyframes modalIn {
  from {
    transform: translateY(8px);
    opacity: 0.85;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-soft);
}

.modal__header {
  margin-bottom: 1rem;
}

.modal__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--secondary);
  margin: 0 0 0.25rem;
}

.modal__header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

.modal__text {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.5;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal__label {
  font-weight: 600;
  margin-top: 0.4rem;
}

.modal__input {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

textarea.modal__input {
  border-radius: var(--radius-card);
  resize: vertical;
}

.modal__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(95, 179, 206, 0.2);
}

.modal__hint {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.modal__submit {
  width: fit-content;
}

.modal__status {
  min-height: 1.2rem;
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

.modal__status--error {
  color: #b91c1c;
}

.modal__status--success {
  color: var(--secondary);
  font-weight: 600;
}

.back-link {
  color: var(--text-soft);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--primary-dark);
}

/* Accordion */
.accordion-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.accordion {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.accordion-item+.accordion-item {
  border-top: 1px solid var(--border-subtle);
}

.accordion-item summary {
  list-style: none;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}

.accordion-trigger::-webkit-details-marker {
  display: none;
}

.accordion-title {
  font-size: 1.05rem;
}

.accordion-icon {
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--text-soft);
  border-radius: 999px;
  transition: transform var(--transition-fast);
}

.accordion-icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.accordion-icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}

.accordion-item[open] .accordion-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.accordion-content {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.accordion-content ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.accordion-content li {
  margin: 0;
}

.accordion-cta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* --- Footer Styles --- */

.site-footer {
  background: #0a0a0a;
  border-top: 1px solid #1d1e1e;
  padding: 3rem 0 1.5rem;
  color: #9ca3af;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1d1e1e;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6b7280;
  max-width: 280px;
}

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

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-column h4 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links-column a {
  font-size: 0.9rem;
  color: #9ca3af;
  transition: color var(--transition-fast);
}

.footer-links-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Footer responsive */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-tagline {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Hero Background Enhancement --- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(95, 179, 206, 0.08), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(46, 127, 112, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

/* --- Enhanced Button Styles --- */

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

/* --- Platform Screenshots --- */

.platform-screenshots {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.platform-screenshot {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

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

.platform-screenshot figcaption {
  padding: 0.8rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--bg-soft);
  border-top: 1px solid var(--border-subtle);
}

/* --- Card Hover Effects --- */

.module-card {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.content-strip__card {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.content-strip__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

/* --- Partner Cards --- */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.partner-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.partner-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-soft);
}

.partner-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.partner-card__name {
  margin: 0;
  font-size: 1.2rem;
}

.partner-card__url {
  margin: 0;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.partner-card__desc {
  margin: 0.3rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- Architecture Diagram --- */

.architecture-visual {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.architecture-diagram {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
}
/* --- Documentation Tables --- */
.doc-section {
  margin-bottom: 3.5rem;
}

.doc-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.doc-section h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.doc-section h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
}

.table-responsive {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #ffffff;
}

.doc-table th,
.doc-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
}

.doc-table th {
  background: var(--bg-soft);
  color: var(--text-main);
  font-weight: 600;
  white-space: nowrap;
}

.doc-table tr:last-child td {
  border-bottom: none;
}

.doc-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85em;
  background: rgba(95, 179, 206, 0.1);
  color: var(--primary-dark);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  word-break: break-all;
}

.doc-table tr:hover td {
  background-color: #f8fafc;
}

/* --- Homepage v3 --- */

.hero-v3 {
  position: relative;
  padding: 3.2rem 0 4.4rem;
  overflow: hidden;
}

.hero-v3::before {
  content: "";
  position: absolute;
  inset: -18% -8% auto;
  height: 74%;
  background:
    radial-gradient(circle at 16% 26%, rgba(95, 179, 206, 0.22), transparent 44%),
    radial-gradient(circle at 76% 16%, rgba(47, 127, 112, 0.2), transparent 42%),
    linear-gradient(135deg, #f5faff 0%, #ecf8f2 62%, #f9fbfe 100%);
  z-index: -1;
}

.home-v3__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.8rem;
  align-items: start;
}

.home-v3__hero-copy {
  max-width: 720px;
}

.home-v3__eyebrow {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.82rem;
  color: var(--secondary);
  font-weight: 700;
}

.home-v3__title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: #062d40;
}

.home-v3__lead {
  margin: 1.15rem 0 0;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--text-soft);
}

.home-v3__difference {
  margin: 0.9rem 0 1.35rem;
  color: #0d3f57;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 600;
}

.home-v3__hero-tags {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.home-v3__hero-tags li {
  padding: 0.38rem 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  position: relative;
  padding-left: 1rem;
}

.home-v3__hero-tags li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

.home-v3__hero-visual {
  margin: 0;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
  animation: homeVisualIn 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(22px);
}

.home-v3__hero-visual img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.home-v3__hero-visual figcaption {
  margin: 0.75rem 0 0;
  color: #475569;
  font-size: 0.86rem;
}

@keyframes homeVisualIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-v3__section-head {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.home-v3__section-label {
  margin: 0 0 0.36rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: #1f5a6c;
  font-weight: 700;
}

.home-v3__section-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.36rem);
  letter-spacing: -0.03em;
}

.home-v3__section-head p {
  margin: 0.68rem 0 0;
  line-height: 1.65;
  color: var(--text-soft);
}

.home-v3__proof {
  padding-top: 0.35rem;
}

.home-v3__proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-v3__proof-card {
  border-radius: var(--radius-card);
  border: 1px solid #d8e2ec;
  background: #ffffff;
  padding: 1.28rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.home-v3__proof-card--strong {
  background: linear-gradient(150deg, rgba(95, 179, 206, 0.11), rgba(165, 214, 194, 0.09)), #ffffff;
  border-color: rgba(30, 103, 122, 0.3);
}

.home-v3__proof-number {
  margin: 0 0 0.55rem;
  color: #0e4c61;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.home-v3__proof-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.home-v3__proof-card p {
  margin: 0.7rem 0 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.home-v3__capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.home-v3__capability-card {
  border-radius: var(--radius-card);
  border: 1px solid #dae3ee;
  background: #ffffff;
  padding: 1.15rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.home-v3__capability-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 103, 122, 0.36);
}

.home-v3__capability-card h3 {
  margin: 0;
  font-size: 1.01rem;
  letter-spacing: -0.01em;
}

.home-v3__capability-card p {
  margin: 0.55rem 0 0;
  color: var(--text-soft);
  line-height: 1.58;
  font-size: 0.93rem;
}

.home-v3__value {
  position: relative;
}

.home-v3__value::before {
  content: "";
  position: absolute;
  inset: 12% 0 5%;
  background: linear-gradient(140deg, rgba(95, 179, 206, 0.07), rgba(165, 214, 194, 0.08));
  z-index: -1;
}

.home-v3__value-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.1rem;
  align-items: start;
}

.home-v3__value-visual {
  margin: 1.2rem 0 0;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #d8e2ec;
  border-radius: 20px;
}

.home-v3__value-visual img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.home-v3__value-visual figcaption {
  margin: 0.66rem 0 0;
  font-size: 0.85rem;
  color: #526171;
}

.home-v3__value-stack {
  display: grid;
  gap: 0.8rem;
}

.home-v3__value-card {
  border-radius: 16px;
  border: 1px solid #d8e2ec;
  background: #ffffff;
  padding: 1rem 1.05rem;
}

.home-v3__value-card h3 {
  margin: 0;
  font-size: 1.04rem;
}

.home-v3__value-card p {
  margin: 0.48rem 0 0;
  color: var(--text-soft);
  line-height: 1.56;
}

.home-v3__value-outcome {
  color: #0f4f65;
  font-weight: 600;
}

.home-v3__compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-v3__compare-card {
  border-radius: var(--radius-card);
  border: 1px solid #d8e2ec;
  background: #ffffff;
  padding: 1.2rem;
}

.home-v3__compare-card--accent {
  border-color: rgba(30, 103, 122, 0.34);
  background: linear-gradient(145deg, rgba(95, 179, 206, 0.11), rgba(165, 214, 194, 0.11)), #ffffff;
}

.home-v3__compare-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.54rem;
  color: #334155;
  line-height: 1.5;
}

.home-v3__deployment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  gap: 1.2rem;
  align-items: start;
}

.home-v3__deploy-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-v3__deploy-card {
  border-radius: 16px;
  border: 1px solid #dae2ee;
  background: #ffffff;
  padding: 1rem;
}

.home-v3__deploy-card h3 {
  margin: 0;
  font-size: 1rem;
}

.home-v3__deploy-card p {
  margin: 0.52rem 0 0;
  color: var(--text-soft);
  font-size: 0.91rem;
  line-height: 1.55;
}

.home-v3__deployment-visual {
  margin: 0;
  border-radius: 22px;
  border: 1px solid #d8e2ec;
  background: #ffffff;
  padding: 0.9rem;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.home-v3__deployment-visual img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.home-v3__deployment-visual figcaption {
  margin: 0.62rem 0 0;
  font-size: 0.85rem;
  color: #526171;
}

.home-v3__segment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.home-v3__segment-card {
  border-radius: var(--radius-card);
  border: 1px solid #d8e2ec;
  padding: 1.2rem;
  background: #ffffff;
}

.home-v3__segment-card--enterprise {
  background: linear-gradient(140deg, rgba(95, 179, 206, 0.12), rgba(255, 255, 255, 1));
}

.home-v3__segment-card--mid {
  background: linear-gradient(140deg, rgba(47, 127, 112, 0.12), rgba(255, 255, 255, 1));
}

.home-v3__segment-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.home-v3__segment-card ul {
  margin: 0.72rem 0 0;
  padding-left: 1rem;
  color: #334155;
  display: grid;
  gap: 0.45rem;
  line-height: 1.52;
}

.home-v3__final-cta {
  padding-bottom: 4.2rem;
}

.home-v3__final-cta-inner {
  border-radius: 24px;
  border: 1px solid rgba(30, 103, 122, 0.34);
  background:
    radial-gradient(circle at 20% 0%, rgba(95, 179, 206, 0.2), transparent 36%),
    radial-gradient(circle at 88% 86%, rgba(47, 127, 112, 0.2), transparent 34%),
    #ffffff;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.home-v3__final-cta-inner h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.9vw, 2.2rem);
  letter-spacing: -0.02em;
}

.home-v3__final-cta-inner p {
  margin: 0.55rem 0 0;
  color: #334155;
  line-height: 1.6;
  max-width: 720px;
}

@media (max-width: 1100px) {
  .home-v3__hero-grid,
  .home-v3__value-layout,
  .home-v3__deployment-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-v3__proof-grid,
  .home-v3__capability-grid,
  .home-v3__deploy-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v3__hero-visual,
  .home-v3__deployment-visual {
    max-width: 900px;
  }
}

@media (max-width: 760px) {
  .hero-v3 {
    padding-top: 2.2rem;
    padding-bottom: 3.2rem;
  }

  .home-v3__hero-tags {
    gap: 0.45rem;
  }

  .home-v3__proof-grid,
  .home-v3__capability-grid,
  .home-v3__deploy-cards,
  .home-v3__compare-grid,
  .home-v3__segment-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-v3__final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .home-v3__title {
    font-size: clamp(2.05rem, 13vw, 2.65rem);
    line-height: 1;
  }

  .home-v3__proof-number {
    font-size: 1.58rem;
  }
}
