/* Superity - Modern SaaS Landing Page */
/* Mobile-first, performance-optimized, secure headers via meta */

:root {
  --background-primary: #090f16;
  --white: #f2f5fb;
  --primary-color: #7ea7e8;
  --background-secondary: #121b26;
  --secondary-color: #a5c1ef;
  --tertiary-color: #d7e5ff;
  --black: black;
  --transparent: #fff0;
  
  /* Legacy variable mappings for compatibility */
  --color-bg: var(--background-primary);
  --color-bg-elevated: var(--background-secondary);
  --color-bg-card: var(--background-secondary);
  --color-surface: var(--background-secondary);
  --color-text: var(--white);
  --color-text-muted: rgba(242, 245, 251, 0.75);
  --color-accent: var(--primary-color);
  --color-accent-dim: rgba(126, 167, 232, 0.2);
  --color-accent-hover: var(--secondary-color);
  --color-border: rgba(167, 194, 234, 0.2);
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --transition: 0.25s ease;
  --container: min(100% - 2rem, 1200px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

/* Container */
.container {
  width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  padding: 1rem 0;
  background: rgba(15, 18, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: padding var(--transition), border-color var(--transition), background var(--transition);
}

.header.scrolled {
  background: rgba(15, 18, 22, 0.96);
  border-bottom-color: var(--color-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-img {
  height: 54px;
  width: auto;
  display: block;
  transition: transform var(--transition), filter var(--transition);
}

.logo:hover .logo-img,
.logo:focus-visible .logo-img {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 14px rgba(126, 167, 232, 0.3));
}

.logo:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.nav {
  display: none;
}

.nav-panel {
  display: contents;
}

.nav-panel-footer {
  display: none;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-toggle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.lang-icon {
  width: 20px;
  height: 14px;
  object-fit: contain;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent-dim);
}

/* Menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-text);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

/* COBE globe (cobe-globe-pulse) */
.hero-globe-shell {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 90vw);
  max-height: min(72vh, 520px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: auto;
}

#heroGlobeCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  opacity: 0;
  transition: opacity 1.2s ease;
  border-radius: 50%;
  touch-action: none;
}

.hero-globe-pulse {
  z-index: 2;
}

@keyframes hero-pulse-expand {
  0% {
    transform: scale(0.3);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.hero-globe-pulse-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  opacity: 0;
  animation: hero-pulse-expand 2s ease-out infinite;
}

.hero-globe-pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.85),
    0 0 0 5px var(--color-accent);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 52%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, transparent 42%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(126, 167, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 167, 232, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 3;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 4;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--color-accent-dim);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

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

@media (max-width: 767px) {
  .hero-globe-shell {
    right: 50%;
    transform: translateX(50%);
    top: auto;
    bottom: 6%;
    width: min(300px, 78vw);
    max-height: 42vh;
    opacity: 0.8;
  }
}

/* Platform benefits marquee */
.platform-benefits-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(167, 194, 234, 0.32);
  border-bottom: 1px solid rgba(167, 194, 234, 0.28);
  background:
    linear-gradient(120deg, rgba(29, 44, 64, 0.92), rgba(14, 23, 35, 0.96)),
    radial-gradient(110% 110% at 8% 0%, rgba(126, 167, 232, 0.2) 0%, transparent 56%);
  box-shadow:
    0 16px 36px rgba(2, 8, 16, 0.34) inset,
    0 -8px 24px rgba(4, 10, 18, 0.22) inset;
}

.benefits-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: benefits-marquee-scroll 32s linear infinite;
}

.platform-benefits-marquee:hover .benefits-marquee-track {
  animation-play-state: paused;
}

.benefits-marquee-group {
  display: flex;
  align-items: center;
  gap: 6.2rem;
  padding: 1.6rem 1.6rem;
}

.benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: rgba(242, 245, 251, 0.96);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.65vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.15;
  text-shadow: 0 4px 18px rgba(4, 10, 18, 0.28);
}

.benefit-item i {
  color: var(--color-accent-hover);
  font-size: 1.2rem;
}

@keyframes benefits-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .benefits-marquee-group {
    gap: 2rem;
    padding: 1.2rem 1rem;
  }

  .benefit-item {
    font-size: 1.08rem;
    gap: 0.5rem;
  }

  .benefit-item i {
    font-size: 1rem;
  }
}

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

.section-header {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* Animate in */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in.visible:nth-child(1) { transition-delay: 0.05s; }
.animate-in.visible:nth-child(2) { transition-delay: 0.1s; }
.animate-in.visible:nth-child(3) { transition-delay: 0.15s; }
.animate-in.visible:nth-child(4) { transition-delay: 0.2s; }
.animate-in.visible:nth-child(5) { transition-delay: 0.25s; }
.animate-in.visible:nth-child(6) { transition-delay: 0.3s; }
.animate-in.visible:nth-child(7) { transition-delay: 0.35s; }
.animate-in.visible:nth-child(8) { transition-delay: 0.4s; }

/* Services — dotted WebGL layer + content */
.section-services {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-elevated);
}

.section-services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  min-height: 280px;
}

.section-services-bg canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.section-services-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    ellipse 90% 55% at 50% 25%,
    rgba(126, 167, 232, 0.12),
    transparent 58%
  );
}

.section-services > .container {
  position: relative;
  z-index: 2;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.service-card {
  position: relative;
  padding: 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  /* Opacity for .animate-in scroll reveal + clean float hover (no 3D skew) */
  transition:
    opacity 0.6s ease-out,
    transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    border-color 0.35s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: linear-gradient(
    160deg,
    rgba(126, 167, 232, 0.1) 0%,
    transparent 42%,
    transparent 100%
  );
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  border-color: rgba(126, 167, 232, 0.45);
  box-shadow:
    0 4px 0 rgba(255, 255, 255, 0.04) inset,
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(126, 167, 232, 0.15);
  transform: translateY(-5px) scale(1.01);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-dim);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  transition:
    transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    background 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease;
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.05);
  background: rgba(126, 167, 232, 0.2);
  box-shadow: 0 10px 28px rgba(126, 167, 232, 0.2);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.section-services--industries .service-card--industry {
  display: block;
  color: inherit;
  text-decoration: none;
}

.section-services--industries .service-card--industry h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.section-services--industries .service-card--industry h3 i {
  font-size: 0.85rem;
  color: rgba(215, 231, 254, 0.72);
  transition: transform var(--transition), color var(--transition);
}

.section-services--industries .service-card--industry:hover h3 i {
  transform: translateX(3px);
  color: var(--color-accent-hover);
}

.section-services--industries .service-card--industry .service-icon {
  background: linear-gradient(145deg, rgba(126, 167, 232, 0.2), rgba(126, 167, 232, 0.1));
  border: 1px solid rgba(167, 194, 234, 0.32);
}

.section-services--industries .service-card--industry .service-icon i {
  font-size: 1.18rem;
}

.hero--industry .hero-content {
  max-width: 760px;
}

.hero--industry .hero-title {
  margin-bottom: 1rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero--industry .hero-desc {
  max-width: 68ch;
  line-height: 1.72;
}

.hero--industry .hero-desc--local {
  margin-top: 0.25rem;
}

.hero--industry .hero-actions {
  margin-top: 1.85rem;
  gap: 1rem;
}

.section-generator-features .service-card--feature {
  border-color: rgba(167, 194, 234, 0.22);
  background:
    radial-gradient(circle at 110% -25%, rgba(126, 167, 232, 0.18), transparent 50%),
    var(--color-bg-card);
}

.section-generator-features .service-card--feature .service-icon {
  background: linear-gradient(145deg, rgba(126, 167, 232, 0.22), rgba(126, 167, 232, 0.08));
  border: 1px solid rgba(167, 194, 234, 0.3);
}

.section-generator-features .service-card--feature .service-icon i {
  font-size: 1.15rem;
}

.section-generator-features .service-card--feature p {
  color: rgba(236, 242, 251, 0.88);
}

.section-generator-process {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 95% at 0% 0%, rgba(126, 167, 232, 0.2), transparent 56%),
    radial-gradient(120% 95% at 100% 100%, rgba(112, 200, 255, 0.14), transparent 60%),
    linear-gradient(165deg, #090f18 0%, #0b1322 45%, #090f18 100%);
}

.section-generator-process::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.62), transparent 88%);
}

.section-generator-process .section-badge {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.67rem;
}

.section-generator-process .container {
  position: relative;
  z-index: 2;
}

.section-generator-process .how-bg-glow {
  position: absolute;
  width: clamp(220px, 34vw, 460px);
  height: clamp(220px, 34vw, 460px);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(62px);
  opacity: 0.5;
  z-index: 1;
}

.section-generator-process .how-bg-glow-1 {
  top: -90px;
  left: -130px;
  background: rgba(105, 153, 255, 0.42);
}

.section-generator-process .how-bg-glow-2 {
  right: -130px;
  bottom: -120px;
  background: rgba(54, 206, 255, 0.34);
}

.section-generator-process .section-header--process {
  text-align: center;
  margin-inline: auto;
  max-width: 760px;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-generator-process .section-header--process .section-title {
  margin-bottom: 0.7rem;
}

.section-generator-process .section-header--process .section-desc {
  max-width: 62ch;
  margin-inline: auto;
  color: rgba(220, 234, 252, 0.8);
  line-height: 1.7;
  font-size: clamp(0.95rem, 2vw, 1.07rem);
}

.section-generator-process .process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  z-index: 2;
}

.section-generator-process .process-timeline::before,
.section-generator-process .process-timeline::after {
  content: '';
  position: absolute;
  left: 1.18rem;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  pointer-events: none;
}

.section-generator-process .process-timeline::before {
  background: linear-gradient(to bottom, rgba(126, 167, 232, 0), rgba(126, 167, 232, 0.56), rgba(126, 167, 232, 0));
}

.section-generator-process .process-timeline::after {
  background: linear-gradient(to bottom, rgba(156, 194, 255, 0), rgba(156, 194, 255, 0.45), rgba(156, 194, 255, 0));
  filter: blur(1px);
  animation: process-rail-flow 5.6s linear infinite;
}

.section-generator-process .process-step {
  position: relative;
  padding-left: 3.55rem;
}

.section-generator-process .process-marker {
  position: absolute;
  left: 0;
  top: 2rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(167, 194, 234, 0.54);
  background: radial-gradient(circle at 30% 30%, rgba(183, 209, 250, 0.35), rgba(31, 52, 77, 0.94));
  color: rgba(240, 248, 255, 0.95);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  box-shadow:
    0 0 0 6px rgba(126, 167, 232, 0.12),
    0 0 22px rgba(126, 167, 232, 0.28);
  animation: process-marker-pulse 3.6s ease-in-out infinite;
}

.section-generator-process .process-card {
  position: relative;
  overflow: hidden;
  z-index: 2;
  padding: 1.52rem 1.45rem 1.42rem;
  border: 1px solid rgba(167, 194, 234, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(20, 33, 50, 0.8), rgba(11, 19, 31, 0.9));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 14px 34px rgba(3, 8, 16, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 248px;
}

.section-generator-process .process-card::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 2.15rem;
  width: 2rem;
  height: 1px;
  background: linear-gradient(to right, rgba(158, 197, 255, 0), rgba(158, 197, 255, 0.66));
}

.section-generator-process .process-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(130deg, rgba(126, 167, 232, 0.2), transparent 46%),
    radial-gradient(circle at 80% 0%, rgba(114, 210, 255, 0.18), transparent 48%);
  transition: opacity 0.3s ease;
}

.section-generator-process .process-step:hover .process-card {
  transform: translateY(-6px);
  border-color: rgba(167, 194, 234, 0.52);
  box-shadow:
    0 20px 42px rgba(2, 7, 15, 0.5),
    0 0 0 1px rgba(126, 167, 232, 0.22),
    0 0 32px rgba(126, 167, 232, 0.14);
}

.section-generator-process .process-step:hover .process-card::after {
  opacity: 1;
}

.section-generator-process .process-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(167, 194, 234, 0.35);
  background: linear-gradient(145deg, rgba(126, 167, 232, 0.24), rgba(92, 200, 255, 0.1));
  box-shadow:
    0 12px 26px rgba(5, 12, 22, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.section-generator-process .process-icon i {
  font-size: 1.24rem;
  color: rgba(237, 245, 255, 0.95);
  transition: text-shadow 0.3s ease, color 0.3s ease;
}

.section-generator-process .process-step:hover .process-icon i {
  color: #f2f8ff;
  text-shadow: 0 0 16px rgba(135, 203, 255, 0.7);
}

.section-generator-process .process-card h3 {
  margin-bottom: 0.52rem;
  font-size: clamp(1.15rem, 2vw, 1.36rem);
  line-height: 1.2;
}

.section-generator-process .process-time {
  margin-bottom: 0.78rem;
  color: rgba(222, 235, 253, 0.82);
  font-size: 0.88rem;
  line-height: 1.35;
}

.section-generator-process .process-time strong {
  font-size: 0.96rem;
  color: rgba(237, 244, 255, 0.96);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-generator-process .process-description {
  color: rgba(228, 238, 251, 0.9);
  line-height: 1.66;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .section-generator-process .process-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.55rem 2.6rem;
    padding: 0.65rem 0;
  }

  .section-generator-process .process-timeline::before,
  .section-generator-process .process-timeline::after {
    left: 50%;
    transform: translateX(-50%);
    top: 0.9rem;
    bottom: 0.9rem;
    width: 2px;
  }

  .section-generator-process .process-step {
    padding-left: 0;
  }

  .section-generator-process .process-step:nth-child(odd) {
    padding-right: 2.8rem;
  }

  .section-generator-process .process-step:nth-child(even) {
    padding-left: 2.8rem;
  }

  .section-generator-process .process-marker {
    top: 50%;
    transform: translateY(-50%);
  }

  .section-generator-process .process-step:nth-child(odd) .process-marker {
    left: auto;
    right: -1.25rem;
  }

  .section-generator-process .process-step:nth-child(even) .process-marker {
    left: -1.25rem;
  }

  .section-generator-process .process-card::before {
    top: 50%;
    width: 2.05rem;
  }

  .section-generator-process .process-step:nth-child(odd) .process-card::before {
    left: auto;
    right: -2.05rem;
    background: linear-gradient(to right, rgba(158, 197, 255, 0.68), rgba(158, 197, 255, 0));
  }

  .section-generator-process .process-step:nth-child(even) .process-card::before {
    left: -2.05rem;
  }
}

@media (min-width: 1100px) {
  .section-generator-process .container {
    width: min(100% - 2rem, 1360px);
  }

  .section-generator-process .process-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: start;
    padding: 4.15rem 0 0.2rem;
  }

  .section-generator-process .process-timeline::before,
  .section-generator-process .process-timeline::after {
    display: none;
  }

  .section-generator-process .process-step,
  .section-generator-process .process-step:nth-child(odd),
  .section-generator-process .process-step:nth-child(even) {
    padding: 0;
    position: relative;
  }

  .section-generator-process .process-step--up {
    padding-bottom: 0;
  }

  .section-generator-process .process-step--down {
    padding-top: 0;
  }

  .section-generator-process .process-marker,
  .section-generator-process .process-step:nth-child(odd) .process-marker,
  .section-generator-process .process-step:nth-child(even) .process-marker {
    left: 50%;
    right: auto;
    top: -3.55rem;
    transform: translateX(-50%);
  }

  .section-generator-process .process-card {
    max-width: none;
    margin-inline: auto;
    min-height: 272px;
  }

  .section-generator-process .process-card::before {
    left: 50%;
    top: -2.35rem;
    width: 1px;
    height: 2.35rem;
    transform: translateX(-50%);
    background: linear-gradient(to top, rgba(158, 197, 255, 0), rgba(158, 197, 255, 0.7));
  }

  .section-generator-process .process-step--up .process-card::before,
  .section-generator-process .process-step:nth-child(odd) .process-card::before {
    right: auto;
    bottom: auto;
  }

  .section-generator-process .process-step--down .process-card::before,
  .section-generator-process .process-step:nth-child(even) .process-card::before {
    top: -2.35rem;
    bottom: auto;
    height: 2.35rem;
    background: linear-gradient(to top, rgba(158, 197, 255, 0), rgba(158, 197, 255, 0.7));
  }
}

@keyframes process-rail-flow {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 0.85;
  }
}

@keyframes process-marker-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 6px rgba(126, 167, 232, 0.12),
      0 0 22px rgba(126, 167, 232, 0.28);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(126, 167, 232, 0.2),
      0 0 28px rgba(126, 167, 232, 0.36);
  }
}

.section-generator-pricing .pricing-grid--generator {
  max-width: 980px;
  margin-inline: auto;
}

.section-generator-pricing .pricing-grid--generator .pricing-card--generator {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.section-generator-pricing .pricing-grid--generator .pricing-amount {
  margin-top: auto;
}

.section-generator-faq .service-card--faq {
  border-color: rgba(167, 194, 234, 0.24);
}

.section-generator-faq .service-card--faq .service-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: rgba(126, 167, 232, 0.14);
  border: 1px solid rgba(167, 194, 234, 0.28);
}

.section-generator-faq .service-card--faq .service-icon i {
  font-size: 1rem;
}

.section-generator-faq .services-grid--faq {
  gap: 1.2rem;
}

.section-generator-related .related-marquee-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid rgba(167, 194, 234, 0.22);
  border-bottom: 1px solid rgba(167, 194, 234, 0.16);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(126, 167, 232, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(20, 31, 45, 0.98), rgba(14, 23, 35, 1));
}

.section-generator-related .related-marquee {
  position: relative;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.section-generator-related .related-marquee + .related-marquee {
  margin-top: 0;
}

.section-generator-related .related-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.section-generator-related .related-marquee--left .related-marquee-track {
  animation: related-marquee-left 30s linear infinite;
}

.section-generator-related .related-marquee--right .related-marquee-track {
  animation: related-marquee-right 30s linear infinite;
}

.section-generator-related .related-marquee:hover .related-marquee-track {
  animation-play-state: paused;
}

.section-generator-related .related-marquee-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.95rem 1.2rem;
}

.section-generator-related .service-card--related {
  flex: 0 0 auto;
  display: block;
  min-width: 360px;
  max-width: 360px;
  text-decoration: none;
  color: inherit;
  padding: 1.1rem 1.25rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(167, 194, 234, 0.28);
  background: linear-gradient(155deg, rgba(25, 37, 55, 0.96), rgba(17, 27, 40, 0.98));
  box-shadow: 0 8px 28px rgba(2, 8, 16, 0.28);
}

.section-generator-related .service-card--related h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.24rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.section-generator-related .service-card--related h3 i {
  color: var(--color-accent-hover);
  font-size: 1.18rem;
}

.section-generator-related .service-card--related h3 span {
  white-space: normal;
}

@keyframes related-marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes related-marquee-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 767px) {
  .section-generator-related .related-marquee-group {
    gap: 0.75rem;
    padding: 0.7rem 0.75rem;
  }

  .section-generator-related .service-card--related {
    min-width: 250px;
    max-width: 250px;
    padding: 0.9rem 0.95rem;
  }

  .section-generator-related .service-card--related h3 {
    font-size: 1.05rem;
  }
}

/* About Us */
.section-about {
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}

.about-text .section-badge {
  margin-bottom: 0.75rem;
}

.about-text .section-title {
  margin-bottom: 1.25rem;
}

.about-lead {
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.about-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 700px) {
  .about-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-metric {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 100%;
  background: linear-gradient(155deg, rgba(20, 29, 42, 0.96) 0%, rgba(16, 24, 36, 0.98) 100%);
  border: 1px solid rgba(167, 194, 234, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 24px rgba(0, 0, 0, 0.28);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.about-metric-shine {
  display: none;
}

.about-metric-border {
  display: none;
}

.about-metric-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.9rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: inherit;
}

.about-metric:hover {
  border-color: rgba(165, 193, 239, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 30px rgba(0, 0, 0, 0.34);
}

@keyframes about-metric-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.about-metric:focus-within {
  outline: none;
}

.about-metric:focus-within .about-metric-inner {
  outline: 2px solid rgba(126, 167, 232, 0.65);
  outline-offset: 2px;
}

.about-metric-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(126, 167, 232, 0.24),
    rgba(126, 167, 232, 0.08)
  );
  color: var(--secondary-color);
  border: 1px solid rgba(167, 194, 234, 0.32);
  box-shadow: 0 6px 20px rgba(7, 12, 20, 0.45);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.about-metric:hover .about-metric-icon {
  border-color: rgba(165, 193, 239, 0.55);
  box-shadow:
    0 6px 16px rgba(126, 167, 232, 0.16),
    0 0 0 1px rgba(126, 167, 232, 0.25);
}

.about-metric-body {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}

.about-metric-value {
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color 0.35s ease;
}

.about-metric:hover .about-metric-value {
  color: var(--tertiary-color);
}

.about-metric-label {
  display: none;
}

/* About metrics — mobile */
@media (max-width: 699px) {
  .about-metrics {
    gap: 0.8rem;
  }

  .about-metric-inner {
    padding: 0.95rem 0.9rem 1rem;
    gap: 0.75rem;
  }

  .about-metric-icon {
    width: 2.35rem;
    height: 2.35rem;
  }

  .about-metric-value {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-metric,
  .about-metric-icon,
  .about-metric-shine,
  .about-metric-border {
    transition: none;
  }

  .about-metric:hover {
    transform: none;
  }

  .about-metric:hover .about-metric-shine {
    animation: none;
    opacity: 0.6;
  }

  .about-metric:hover .about-metric-icon {
    transform: none;
  }

  .pricing-card,
  .subscription-card {
    transition: none;
  }

  .pricing-card:hover,
  .subscription-card:hover {
    transform: none;
  }

  .pricing-card:hover::before,
  .subscription-card:hover::before {
    animation: none;
    opacity: 0.5;
  }

  .subscription-card:hover .subscription-visual img {
    transform: none;
  }

  .service-card:hover {
    transform: translateY(-3px);
  }

  .service-card:hover::after {
    opacity: 0.35;
  }

  .service-card:hover .service-icon {
    transform: none;
  }
}

.section-faq {
  position: relative;
  overflow: hidden;
}

.section-faq::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
}

.section-faq .container {
  position: relative;
  z-index: 1;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(167, 194, 234, 0.3);
  background: linear-gradient(155deg, rgba(19, 29, 43, 0.96) 0%, rgba(16, 24, 36, 0.98) 100%);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 14px 34px rgba(3, 8, 15, 0.34);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 167, 232, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 44px rgba(3, 8, 15, 0.42);
}

.faq-item--open {
  border-color: rgba(126, 167, 232, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 44px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(126, 167, 232, 0.15);
}

.faq-trigger {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1.15rem;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  transition: background var(--transition);
}

.faq-trigger:hover {
  background: rgba(126, 167, 232, 0.1);
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.faq-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(126, 167, 232, 0.85);
  width: 2rem;
  text-align: center;
  line-height: 1.2;
}

.faq-q {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.faq-chevron {
  flex-shrink: 0;
  display: flex;
  color: rgba(242, 245, 251, 0.55);
  transition: transform 0.3s ease, color var(--transition);
}

.faq-item--open .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item--open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-a {
  margin: 0;
  padding: 0 1.15rem 1.15rem 4.25rem;
  font-size: 0.9375rem;
  color: rgba(242, 245, 251, 0.82);
  line-height: 1.65;
}

@media (max-width: 479px) {
  .faq-a {
    padding-left: 1.15rem;
    padding-top: 0.25rem;
  }
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.about-text .btn {
  margin-top: 0.5rem;
}

.about-photos {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "main main"
    "photo2 photo3";
}

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

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

.about-photo-main {
  grid-area: main;
  aspect-ratio: 16 / 9;
}

.about-photo-2 {
  grid-area: photo2;
  aspect-ratio: 4 / 3;
}

.about-photo-3 {
  grid-area: photo3;
  aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .about-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "main photo2"
      "main photo3";
  }

  .about-photo-main {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .about-photo-2,
  .about-photo-3 {
    aspect-ratio: 1;
  }
}

/* Pricing */
.section-pricing {
  background: var(--color-bg-elevated);
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

.pricing-grid--two {
  max-width: 960px;
  margin-inline: auto;
}

.pricing-grid--split .pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-color: rgba(167, 194, 234, 0.3);
  background: linear-gradient(155deg, rgba(19, 29, 43, 0.96) 0%, rgba(16, 24, 36, 0.98) 100%);
}

.pricing-grid--split .pricing-desc {
  min-height: 2.6em;
}

.pricing-grid--split .pricing-features {
  margin-top: 0.15rem;
  margin-bottom: 1.25rem;
}

.pricing-grid--split .pricing-amount {
  margin-top: auto;
}

.pricing-grid--cene .pricing-card--cene {
  padding: clamp(1.55rem, 2.2vw, 2.2rem);
  border: 1px solid rgba(167, 194, 234, 0.35);
  border-radius: calc(var(--radius-lg) + 2px);
  background:
    radial-gradient(circle at 12% -10%, rgba(126, 167, 232, 0.28) 0%, rgba(126, 167, 232, 0) 48%),
    radial-gradient(circle at 90% 120%, rgba(165, 193, 239, 0.18) 0%, rgba(165, 193, 239, 0) 45%),
    linear-gradient(165deg, rgba(22, 33, 47, 0.98) 0%, rgba(16, 25, 37, 0.98) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 20px 42px rgba(6, 10, 17, 0.55);
}

.pricing-grid--cene .pricing-card--cene:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(165, 193, 239, 0.62);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 22px 52px rgba(4, 8, 14, 0.62),
    0 0 0 1px rgba(126, 167, 232, 0.2),
    0 0 64px rgba(126, 167, 232, 0.2);
}

.pricing-grid--cene .pricing-part-head {
  margin-bottom: 0.6rem;
  gap: 0.75rem;
}

.pricing-grid--cene .pricing-part-head span:last-child {
  font-size: clamp(1.2rem, 1.7vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pricing-grid--cene .pricing-part-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-color: rgba(165, 193, 239, 0.5);
  background: linear-gradient(140deg, rgba(126, 167, 232, 0.28), rgba(126, 167, 232, 0.08));
  color: #d5e6ff;
  box-shadow: 0 0 0 3px rgba(126, 167, 232, 0.12);
}

.pricing-grid--cene .pricing-part-icon i {
  font-size: 1rem;
}

.pricing-grid--cene .pricing-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(225, 236, 252, 0.8);
  margin-bottom: 1.2rem;
}

.pricing-grid--cene .pricing-features {
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}

.pricing-grid--cene .pricing-features span {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(234, 242, 252, 0.92);
  line-height: 1.55;
}

.pricing-grid--cene .pricing-features span::before {
  content: none;
}

.pricing-grid--cene .pricing-features i {
  color: #9ec1ff;
  font-size: 0.88rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  filter: drop-shadow(0 0 8px rgba(126, 167, 232, 0.35));
}

.pricing-grid--cene .pricing-amount {
  margin-bottom: 0;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(167, 194, 234, 0.3);
  font-size: clamp(2rem, 2.6vw, 2.3rem);
  line-height: 1;
  color: #f4f8ff;
  text-shadow: 0 0 26px rgba(126, 167, 232, 0.26);
}

.pricing-part-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-part-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(167, 194, 234, 0.34);
  background: rgba(126, 167, 232, 0.12);
  color: var(--color-accent-hover);
  flex-shrink: 0;
}

.pricing-card {
  position: relative;
  isolation: isolate;
  padding: 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(126, 167, 232, 0.15) 48%,
    rgba(165, 193, 239, 0.09) 52%,
    transparent 60%
  );
  background-size: 200% 200%;
  pointer-events: none;
  z-index: 0;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(126, 167, 232, 0.5);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 14px 44px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(126, 167, 232, 0.22),
    0 0 52px rgba(126, 167, 232, 0.14);
}

.pricing-card:hover::before {
  opacity: 1;
  animation: about-metric-shimmer 2.2s ease-in-out infinite;
}

.pricing-featured:hover {
  border-color: rgba(165, 193, 239, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 16px 48px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(126, 167, 232, 0.35),
    0 0 64px rgba(126, 167, 232, 0.22);
}

.pricing-featured {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(126, 167, 232, 0.16) 0%, var(--color-bg-card) 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.pricing-desc {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.pricing-features span::before {
  content: '✓ ';
  color: var(--color-accent);
  margin-right: 0.5rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.pricing-amount strong {
  color: var(--color-accent);
}

.pricing-card .btn {
  width: 100%;
}

/* Subscription card */
.pricing-subscription {
  margin-top: 2rem;
}

.subscription-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(
    145deg,
    rgba(22, 32, 46, 0.98) 0%,
    rgba(18, 27, 38, 1) 55%,
    rgba(22, 35, 52, 0.95) 100%
  );
  border: 1px solid rgba(167, 194, 234, 0.22);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 8px 40px rgba(0, 0, 0, 0.38);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.subscription-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: linear-gradient(
    125deg,
    transparent 35%,
    rgba(126, 167, 232, 0.22) 48%,
    rgba(165, 193, 239, 0.14) 52%,
    transparent 65%
  );
  background-size: 200% 200%;
  pointer-events: none;
  z-index: 0;
}

.subscription-card > * {
  position: relative;
  z-index: 1;
}

.subscription-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(126, 167, 232, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 20px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(126, 167, 232, 0.35),
    0 0 72px rgba(126, 167, 232, 0.28),
    0 0 120px rgba(126, 167, 232, 0.08);
}

.subscription-card:hover::before {
  opacity: 1;
  animation: about-metric-shimmer 2.2s ease-in-out infinite;
}

.subscription-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.subscription-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.subscription-price {
  font-size: 1.5rem;
  margin-bottom: 1.25rem !important;
}

.subscription-price strong {
  color: var(--color-accent);
  font-size: 2rem;
}

.subscription-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.subscription-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.subscription-card:hover .subscription-visual img {
  transform: scale(1.06);
}

/* Portfolio */
.section-portfolio {
  background: var(--color-bg-elevated);
}

.portfolio-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin-inline: auto;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.portfolio-card:hover {
  border-color: rgba(126, 167, 232, 0.45);
}

.portfolio-mockup {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-bottom: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, #2a2f36 0%, #1e2228 100%);
  border-bottom: 1px solid var(--color-border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #5f87c8; }
.mockup-dots span:nth-child(2) { background: #8fb4eb; }
.mockup-dots span:nth-child(3) { background: #bdd3f5; }

.mockup-url {
  flex: 1;
  padding: 0.4rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
}

@media (max-width: 767px) {
  .portfolio-preview {
    aspect-ratio: 9 / 16;
  }
}

.portfolio-iframe-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 720px;
  transform-origin: 0 0;
  z-index: 1;
}

.portfolio-iframe {
  width: 1280px;
  height: 720px;
  border: none;
  display: block;
}

.portfolio-preview:has(.portfolio-iframe.loaded) .portfolio-fallback {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.portfolio-preview:has(.portfolio-iframe.failed) .portfolio-iframe-wrap,
.portfolio-preview--image-only .portfolio-iframe-wrap {
  opacity: 0;
  pointer-events: none;
}

.portfolio-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-info h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.portfolio-info p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.portfolio-info .btn {
  margin-top: 0;
}

/* Partner */
.section-partner {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-elevated);
}

.section-partner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 22, 0.72) 0%,
    rgba(24, 26, 30, 0.55) 50%,
    rgba(18, 18, 22, 0.78) 100%
  );
}

.section-partner .container {
  position: relative;
  z-index: 2;
}

.partner-content {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.partner-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.partner-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.partner-text .section-badge {
  margin-bottom: 0.75rem;
}

.partner-text .section-title {
  margin-bottom: 1rem;
}

.partner-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* CTA Banner */
.section-cta-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 0;
  border-bottom: 0;
  background: var(--color-bg-elevated);
}

.section-cta-banner::before {
  content: none;
}

.section-cta-banner .container--wide {
  position: relative;
  z-index: 1;
}

.container--wide {
  max-width: min(100% - 2rem, 1200px);
}

.cta-banner-grid {
  width: 100%;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

/* Base CTA shape (used on generator/other pages) */
.section-cta-banner .cta-banner-grid {
  position: relative;
  isolation: isolate;
  padding: clamp(1.5rem, 3.3vw, 2.6rem);
  border: 1px solid rgba(167, 194, 234, 0.34);
  border-radius: 22px 110px 26px 72px;
  overflow: hidden;
  background:
    linear-gradient(132deg, rgba(26, 38, 56, 0.96) 0%, rgba(17, 25, 36, 0.98) 52%, rgba(22, 34, 49, 0.96) 100%);
  box-shadow:
    0 28px 70px rgba(2, 6, 13, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(126, 167, 232, 0.12);
}

.section-cta-banner .cta-banner-grid::before {
  content: '';
  position: absolute;
  top: -34%;
  right: -12%;
  width: min(340px, 62vw);
  height: min(340px, 62vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 167, 232, 0.26) 0%, rgba(126, 167, 232, 0.06) 45%, transparent 72%);
  z-index: -1;
}

.section-cta-banner .cta-banner-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(110deg, transparent 34%, rgba(126, 167, 232, 0.2) 49%, transparent 65%);
  opacity: 0.35;
}

.cta-banner-visual {
  justify-self: start;
}

.cta-banner-icon-ring {
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(126, 167, 232, 0.28) 0%, rgba(126, 167, 232, 0.06) 100%);
  border: 1px solid rgba(167, 194, 234, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--color-accent-hover);
}

.cta-banner-icon {
  filter: drop-shadow(0 2px 8px rgba(126, 167, 232, 0.35));
}

.cta-banner-copy {
  min-width: 0;
  justify-self: start;
  width: 100%;
}

.cta-banner-eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary-color);
  background: rgba(126, 167, 232, 0.12);
  border: 1px solid rgba(167, 194, 234, 0.22);
  border-radius: 999px;
}

.cta-banner-headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  color: var(--color-text);
}

.cta-banner-sub {
  color: var(--color-text-muted);
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.55;
  margin: 0 0 0.85rem;
  max-width: 38rem;
}

.cta-banner-note {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(242, 245, 251, 0.55);
  letter-spacing: 0.02em;
}

.cta-banner-action {
  justify-self: stretch;
}

.cta-banner-btn {
  width: 100%;
  justify-content: center;
  padding-inline: 1.5rem;
  box-shadow: 0 8px 28px rgba(126, 167, 232, 0.22);
}

.cta-banner-btn:hover {
  box-shadow: 0 12px 36px rgba(126, 167, 232, 0.28);
}

.cta-banner-btn:hover .cta-banner-btn-arrow {
  transform: translateX(4px);
}

.cta-banner-btn-arrow {
  flex-shrink: 0;
  transition: transform var(--transition);
}

/* Homepage-only premium CTA variant */
.section-cta-banner--spotlight {
  padding: clamp(2.2rem, 5vw, 4rem) 0;
  border: 0;
}

.section-cta-banner--spotlight .container--wide {
  max-width: min(100% - 0.75rem, 1380px);
}

.section-cta-banner--spotlight::before {
  content: '';
  opacity: 0.3;
}

/* FAQ + CTA: one shared visual background zone */
.section-faq,
.section-cta-banner--spotlight {
  background:
    radial-gradient(95% 70% at 12% 0%, rgba(126, 167, 232, 0.16) 0%, transparent 56%),
    radial-gradient(70% 60% at 100% 100%, rgba(165, 193, 239, 0.1) 0%, transparent 62%),
    linear-gradient(180deg, rgba(10, 15, 23, 0.96) 0%, rgba(13, 20, 30, 0.98) 100%);
}

.section-faq::before,
.section-cta-banner--spotlight::before {
  background:
    linear-gradient(115deg, transparent 34%, rgba(126, 167, 232, 0.11) 50%, transparent 66%);
}

/* FAQ + CTA true shared background wrapper */
.faq-cta-zone {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(95% 70% at 12% 0%, rgba(126, 167, 232, 0.16) 0%, transparent 56%),
    radial-gradient(70% 60% at 100% 100%, rgba(165, 193, 239, 0.1) 0%, transparent 62%),
    linear-gradient(180deg, rgba(10, 15, 23, 0.96) 0%, rgba(13, 20, 30, 0.98) 100%);
}

.faq-cta-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 34%, rgba(126, 167, 232, 0.11) 50%, transparent 66%);
  opacity: 0.3;
}

.faq-cta-zone .section-faq,
.faq-cta-zone .section-cta-banner--spotlight {
  position: relative;
  z-index: 1;
  background: transparent;
}

.faq-cta-zone .section-faq::before,
.faq-cta-zone .section-cta-banner--spotlight::before {
  content: none;
}

.faq-cta-zone .section-cta-banner::before {
  content: none;
}

.faq-cta-zone .section-cta-banner {
  border-top: 0;
  border-bottom: 0;
}

.section-cta-banner--spotlight .cta-banner-grid {
  position: relative;
  isolation: isolate;
  padding: clamp(1.5rem, 3.3vw, 2.6rem);
  border: 1px solid rgba(167, 194, 234, 0.34);
  border-radius: 22px 110px 26px 72px;
  overflow: hidden;
  background:
    linear-gradient(132deg, rgba(26, 38, 56, 0.96) 0%, rgba(17, 25, 36, 0.98) 52%, rgba(22, 34, 49, 0.96) 100%);
  box-shadow:
    0 28px 70px rgba(2, 6, 13, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(126, 167, 232, 0.12);
}

.section-cta-banner--spotlight .cta-banner-grid::before {
  content: '';
  position: absolute;
  top: -34%;
  right: -12%;
  width: min(340px, 62vw);
  height: min(340px, 62vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 167, 232, 0.26) 0%, rgba(126, 167, 232, 0.06) 45%, transparent 72%);
  z-index: -1;
}

.section-cta-banner--spotlight .cta-banner-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(110deg, transparent 34%, rgba(126, 167, 232, 0.2) 49%, transparent 65%);
  opacity: 0.35;
}

.section-cta-banner--spotlight .cta-banner-eyebrow {
  background: rgba(126, 167, 232, 0.2);
  border-color: rgba(165, 193, 239, 0.42);
  color: #e4eeff;
}

.section-cta-banner--spotlight .cta-banner-headline {
  font-size: clamp(1.55rem, 3.7vw, 2.2rem);
}

.section-cta-banner--spotlight .cta-banner-sub {
  color: rgba(242, 245, 251, 0.84);
}

.section-cta-banner--spotlight .cta-banner-note {
  color: rgba(242, 245, 251, 0.68);
}

.section-cta-banner--spotlight .cta-banner-btn {
  background: linear-gradient(140deg, #9fc0f3 0%, #7ea7e8 45%, #5f87c8 100%);
  color: #071320;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px 999px 26px 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    0 16px 40px rgba(88, 124, 185, 0.5),
    0 2px 0 rgba(255, 255, 255, 0.3) inset;
}

.section-cta-banner--spotlight .cta-banner-btn:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 22px 46px rgba(88, 124, 185, 0.6),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
}

@media (max-width: 767px) {
  .section-cta-banner--spotlight .cta-banner-grid {
    border-radius: 20px 56px 22px 44px;
    padding: 1.35rem 1.15rem 1.25rem;
  }

  .section-cta-banner--spotlight .cta-banner-btn {
    border-radius: 999px 999px 18px 999px;
  }
}

@media (min-width: 1280px) {
  .section-cta-banner--spotlight .container--wide {
    max-width: min(100% - 1.5rem, 1480px);
  }
}

/* Contact — Aether-style particle canvas + overlay */
.section-contact {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background: var(--color-bg-elevated);
}

.section-contact::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 22, 0.72) 0%,
    rgba(24, 26, 30, 0.55) 50%,
    rgba(18, 18, 22, 0.78) 100%
  );
}

.contact-aether-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.section-contact .container {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin-inline: auto;
}

.contact-info .section-badge {
  margin-bottom: 0.75rem;
}

.contact-info .section-title {
  margin-bottom: 0.75rem;
}

.contact-desc {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
  padding: 0.875rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-botcheck {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-feedback {
  font-size: 0.9rem;
  margin-top: -0.5rem;
}

.form-feedback.success {
  color: var(--color-accent);
}

.form-feedback.error {
  color: #e57373;
}

.toast-stack {
  position: fixed;
  right: 1rem;
  top: 3.5rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(92vw, 360px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(167, 194, 234, 0.3);
  background: linear-gradient(145deg, rgba(20, 29, 42, 0.95), rgba(16, 24, 36, 0.98));
  color: var(--color-text);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast.is-hiding {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

.toast__icon {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.toast--success .toast__icon {
  background: rgba(126, 167, 232, 0.24);
  color: #e4efff;
}

.toast--success {
  border-color: rgba(126, 167, 232, 0.68);
  background: linear-gradient(145deg, rgba(24, 41, 64, 0.96), rgba(16, 29, 45, 0.98));
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(126, 167, 232, 0.24),
    0 0 34px rgba(126, 167, 232, 0.3);
  padding: 1rem 1rem;
  gap: 0.85rem;
}

.toast--success .toast__icon {
  width: 1.85rem;
  height: 1.85rem;
  font-size: 1rem;
  box-shadow: 0 0 0 3px rgba(126, 167, 232, 0.2);
}

.toast--success .toast__text {
  color: #eaf3ff;
  font-size: 0.97rem;
  font-weight: 600;
}

.toast--error .toast__icon {
  background: rgba(255, 102, 102, 0.24);
  color: #ffd6d6;
}

.toast--error {
  border-color: rgba(255, 110, 110, 0.72);
  background: linear-gradient(145deg, rgba(68, 18, 24, 0.96), rgba(44, 13, 19, 0.98));
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 120, 120, 0.26),
    0 0 34px rgba(255, 76, 76, 0.32);
  padding: 1rem 1rem;
  gap: 0.85rem;
}

.toast--error .toast__icon {
  width: 1.85rem;
  height: 1.85rem;
  font-size: 1rem;
  box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.22);
}

.toast--error .toast__text {
  color: #ffe3e3;
  font-size: 0.98rem;
  font-weight: 600;
}

.toast__text {
  font-size: 0.92rem;
  line-height: 1.45;
}

.toast__close {
  appearance: none;
  background: transparent;
  border: none;
  color: rgba(242, 245, 251, 0.7);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.toast__close:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
  .toast-stack {
    right: 0.75rem;
    left: 0.75rem;
    top: 5.25rem;
    width: auto;
  }
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
    align-items: start;
  }
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  background: var(--color-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.footer-divider {
  background: rgba(255, 255, 255, 0.08);
}

.footer-divider--horizontal {
  height: 1px;
  margin: 0;
  flex-shrink: 0;
}

.footer-divider--vertical {
  display: none;
  width: 1px;
  min-height: 40px;
  align-self: stretch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-contact-item {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.footer-email {
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: color var(--transition);
}

.footer-link {
  color: var(--color-text);
  transition: color var(--transition);
}

.footer-email:hover {
  color: var(--color-accent);
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: 1.5rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    z-index: 1001;
    display: block;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
  }

  .nav.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
    border-right: 1px solid var(--color-border);
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.4);
  }

  .nav-panel-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-panel-header .logo {
    font-size: 1.5rem;
  }

  .nav-panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .nav-panel-content .nav-list {
    padding: 1.5rem 1.5rem 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 500;
  }

  .nav-panel-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding: 1.5rem 1.5rem 2.5rem;
    border-top: 1px solid var(--color-border);
  }

  .nav-panel-lang {
    align-self: flex-start;
  }

  .nav-panel-tagline {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
  }

  .header-actions .header-cta {
    display: none;
  }

  .nav-overlay {
    z-index: 1000;
  }

  .nav-overlay.active {
    display: block;
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Tablet and up */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: block;
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    transform: none;
    visibility: visible;
  }

  .nav-panel {
    display: contents;
  }

  .nav-panel-footer {
    display: none;
  }

  .nav-panel-header {
    display: none;
  }

  .nav-list li {
    border-bottom: none;
  }

  .header-actions .header-cta {
    display: inline-flex;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-generator-process .services-grid--steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
    margin-inline: auto;
  }

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

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

  .subscription-card {
    grid-template-columns: 1fr 320px;
  }

  .subscription-visual img {
    height: 100%;
    min-height: 240px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .partner-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-brand,
  .footer-links {
    padding-bottom: 0;
    border-bottom: none;
  }

  .footer-divider--vertical {
    display: block;
  }

  .footer-divider--horizontal {
    margin-top: 0.5rem;
  }

  .cta-banner-grid {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(2rem, 5vw, 3.25rem);
    row-gap: 1.5rem;
  }

  .cta-banner-action {
    justify-self: end;
  }

  .cta-banner-btn {
    width: auto;
    min-width: min(240px, 100%);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

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

  .cta-banner-grid {
    column-gap: clamp(3rem, 7vw, 5.5rem);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cta-banner-btn:hover .cta-banner-btn-arrow {
    transform: none;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }

  .logo:hover .logo-img,
  .logo:focus-visible .logo-img {
    transform: none;
    filter: none;
  }

  .hero-globe-shell {
    display: none;
  }

  .benefits-marquee-track {
    animation: none;
  }

  .section-generator-related .related-marquee-track {
    animation: none;
  }

  .section-generator-process .services-grid--steps::after,
  .section-generator-process .process-timeline::after,
  .section-generator-process .process-marker {
    animation: none;
  }
}

/* SEO landing helpers: shared breadcrumbs hero + header offset */
.main-offset {
  padding-top: 6.5rem;
}

.main-offset .breadcrumb {
  margin-top: 0;
}

.breadcrumbs-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding-top: 6.5rem;
}

.breadcrumbs-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.breadcrumbs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 11, 18, 0.82) 0%,
    rgba(7, 11, 18, 0.58) 52%,
    rgba(7, 11, 18, 0.32) 100%
  );
}

.breadcrumbs-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 2.1rem;
}

.breadcrumbs-hero-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(242, 245, 251, 0.86);
}

.breadcrumbs-hero-link {
  color: rgba(242, 245, 251, 0.78);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumbs-hero-link:hover {
  color: rgba(255, 255, 255, 0.98);
}

.breadcrumbs-hero-sep {
  color: rgba(242, 245, 251, 0.56);
}

.breadcrumbs-hero-current {
  color: #ffffff;
  font-weight: 700;
}

.breadcrumbs-hero-title {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 700;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.32);
  max-width: 18ch;
}

.breadcrumbs-hero-btn {
  border-radius: 999px;
  font-weight: 600;
}


@media (max-width: 767px) {
  .main-offset {
    padding-top: 6rem;
  }

  .breadcrumbs-hero {
    min-height: 270px;
    margin-top: 0;
    padding-top: 5.9rem;
  }

  .breadcrumbs-hero-bg {
    object-position: center;
  }

  .breadcrumbs-hero-content {
    gap: 0.75rem;
    padding-block: 1.5rem;
  }

  .breadcrumbs-hero-trail {
    font-size: 0.8125rem;
  }

  .breadcrumbs-hero-title {
    font-size: clamp(1.5rem, 7.6vw, 2.15rem);
    max-width: 100%;
  }

  .breadcrumbs-hero-btn {
    padding: 0.8rem 1.2rem;
  }

}

/* Blog: listing + article experience */
.blog-listing-section {
  padding-top: 4rem;
}

.blog-listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 40;
}

.blog-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-filter-btn {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text-muted);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.blog-filter-btn:hover,
.blog-filter-btn:focus-visible {
  color: var(--color-text);
  border-color: rgba(126, 167, 232, 0.5);
  outline: none;
}

.blog-filter-btn.is-active {
  color: #ffffff;
  background: rgba(126, 167, 232, 0.22);
  border-color: rgba(126, 167, 232, 0.7);
}

.blog-toolbar-side {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-toolbar-label {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.blog-search-input {
  border: 1px solid var(--color-border);
  background: rgba(9, 15, 22, 0.86);
  color: var(--color-text);
  border-radius: 0.75rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.875rem;
}

.blog-search-input {
  min-width: 220px;
}

.blog-search-input:focus-visible {
  outline: 2px solid rgba(126, 167, 232, 0.5);
  outline-offset: 1px;
}

.blog-sort-wrap {
  position: relative;
  min-width: 170px;
  z-index: 55;
}

.blog-sort-trigger {
  width: 100%;
  border: 1px solid var(--color-border);
  background: linear-gradient(140deg, rgba(9, 15, 22, 0.92), rgba(10, 18, 29, 0.95));
  color: var(--color-text);
  border-radius: 0.78rem;
  padding: 0.56rem 0.72rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 6px 16px rgba(6, 9, 15, 0.22);
}

.blog-sort-trigger:hover,
.blog-sort-wrap.is-open .blog-sort-trigger {
  border-color: rgba(126, 167, 232, 0.55);
}

.blog-sort-trigger:focus-visible {
  outline: 2px solid rgba(126, 167, 232, 0.5);
  outline-offset: 1px;
}

.blog-sort-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 1200;
  border: 1px solid rgba(126, 167, 232, 0.35);
  border-radius: 0.8rem;
  background: rgba(9, 14, 24, 0.98);
  backdrop-filter: blur(4px);
  padding: 0.35rem;
  box-shadow: 0 14px 30px rgba(2, 6, 12, 0.44);
}

.blog-sort-option {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  border-radius: 0.6rem;
  padding: 0.52rem 0.6rem;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all var(--transition);
}

.blog-sort-option:hover,
.blog-sort-option:focus-visible {
  color: #ffffff;
  background: rgba(126, 167, 232, 0.16);
  outline: none;
}

.blog-sort-option.is-active {
  color: #ffffff;
  background: rgba(126, 167, 232, 0.23);
}

.blog-card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.blog-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.3rem;
  border: 1px solid rgba(126, 167, 232, 0.18);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(126, 167, 232, 0.2) 0%, rgba(126, 167, 232, 0.04) 35%, rgba(126, 167, 232, 0) 62%),
    linear-gradient(145deg, rgba(12, 18, 29, 0.96), rgba(8, 12, 20, 0.95));
  padding: 1.25rem 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-height: 260px;
  box-shadow: 0 12px 28px rgba(2, 6, 12, 0.28);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(126, 167, 232, 0.15), rgba(126, 167, 232, 0.9), rgba(126, 167, 232, 0.15));
  opacity: 0.75;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 167, 232, 0.52);
  box-shadow: 0 22px 42px rgba(4, 8, 14, 0.42);
}

.blog-card-meta {
  margin: 0;
  font-size: 0.79rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--color-text-muted);
}

.blog-card-category {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(126, 167, 232, 0.55);
  background: rgba(126, 167, 232, 0.16);
  color: #d9e7ff;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.blog-readtime-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.2rem 0.52rem;
  background: rgba(255, 255, 255, 0.04);
  color: #f3f8ff;
  font-weight: 600;
}

.blog-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
}

.blog-card-title a {
  color: var(--color-text);
  text-decoration: none;
}

.blog-card-title a:hover,
.blog-card-title a:focus-visible {
  color: var(--color-accent-light);
}

.blog-card-excerpt {
  margin: 0;
  color: rgba(226, 235, 249, 0.82);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .btn {
  margin-top: auto;
  align-self: flex-start;
  border-color: rgba(126, 167, 232, 0.5);
  color: #dceaff;
}

.blog-card .btn:hover {
  background: rgba(126, 167, 232, 0.16);
}

.blog-listing-cta-grid {
  margin-top: 0.5rem;
}

.blog-empty-state {
  margin: 1rem 0 0;
  color: var(--color-text-muted);
}

.blog-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(126, 167, 232, 0.95), rgba(88, 133, 214, 0.95));
  z-index: 1200;
  transition: width 0.15s ease-out;
}

.blog-article-shell {
  padding-top: 2.4rem;
}

.blog-article-layout {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr);
  align-items: start;
}

.blog-article-main {
  border: 1px solid var(--color-border);
  border-radius: 1.2rem;
  background: linear-gradient(140deg, rgba(11, 17, 28, 0.94), rgba(8, 12, 20, 0.92));
  padding: 1.4rem;
}

.blog-article-header {
  margin-bottom: 1.25rem;
}

.blog-article-title {
  margin-top: 0.55rem;
  margin-bottom: 0.9rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.blog-article-meta {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.blog-article-excerpt {
  margin: 0.9rem 0 0;
  color: #e7edf9;
  line-height: 1.7;
}

.blog-article-content {
  color: #e7edf9;
}

.blog-feature-image {
  margin: 0 0 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(9, 15, 22, 0.92);
}

.blog-feature-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.blog-content-section {
  margin-bottom: 1.6rem;
  scroll-margin-top: 7rem;
}

.blog-content-section:target {
  background: rgba(126, 167, 232, 0.08);
  border-radius: 0.75rem;
  padding: 0.6rem;
  margin-left: -0.6rem;
  margin-right: -0.6rem;
}

.blog-content-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.25;
}

.blog-content-section p {
  margin: 0 0 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.blog-content-section ul {
  margin: 0.3rem 0 0;
  padding-left: 0;
  list-style: none;
}

.blog-content-section li {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.7;
  position: relative;
  padding-left: 1.2rem;
}

.blog-content-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(126, 167, 232, 0.95);
  box-shadow: 0 0 0 3px rgba(126, 167, 232, 0.14);
}

.blog-content-section a {
  color: var(--color-accent-light);
}

.blog-content-section a:focus-visible {
  outline: 2px solid rgba(126, 167, 232, 0.55);
  outline-offset: 1px;
  border-radius: 0.25rem;
}

.blog-figure {
  margin: 0 0 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(9, 15, 22, 0.92);
}

.blog-inline-svg {
  width: 100%;
  height: auto;
  display: block;
}

.blog-figure figcaption {
  margin: 0;
  padding: 0.75rem 0.9rem;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  border-top: 1px solid var(--color-border);
}

.blog-mid-cta {
  margin: 1.8rem 0;
  border: 1px solid rgba(126, 167, 232, 0.35);
  border-radius: 1rem;
  background: rgba(126, 167, 232, 0.08);
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.blog-mid-cta p {
  margin: 0;
  color: #e9f1ff;
}

.blog-article-sidebar {
  display: grid;
  gap: 0.8rem;
  position: sticky;
  top: 6.5rem;
}

.blog-sidebar-card {
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: rgba(10, 15, 24, 0.86);
  padding: 1rem;
}

.blog-sidebar-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  color: var(--color-text);
}

.blog-sidebar-card p {
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 0.9rem;
}

.blog-share-btn {
  margin-left: 0.75rem;
}

.blog-post-cta-compact {
  margin-top: 0.5rem;
  padding: 1.35rem 1.45rem;
  border-radius: 1rem;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(167, 194, 234, 0.34);
}

.blog-article-main .section-cta-banner--spotlight {
  background: transparent;
  padding: 1.15rem 0 0.35rem;
}

.blog-article-main .section-cta-banner--spotlight::before {
  content: none;
}

.blog-article-main .section-cta-banner--spotlight .container--wide {
  max-width: 100%;
  padding-inline: 0;
}

.blog-article-main .blog-post-cta-compact::before,
.blog-article-main .blog-post-cta-compact::after {
  content: none;
}

.blog-post-cta-compact .cta-banner-headline {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  margin-bottom: 0.35rem;
}

.blog-post-cta-compact .cta-banner-sub {
  margin-bottom: 0;
}

.blog-post-cta-compact .cta-banner-btn {
  padding: 0.8rem 1.1rem;
  width: auto;
  min-width: 0;
  white-space: nowrap;
}

.blog-post-cta-compact .cta-banner-action {
  justify-self: end;
}

@media (max-width: 980px) {
  .blog-post-cta-compact {
    grid-template-columns: 1fr;
  }

  .blog-post-cta-compact .cta-banner-action {
    justify-self: start;
  }
}

.blog-toc {
  display: grid;
  gap: 0.35rem;
}

.blog-toc a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.4;
  border-left: 2px solid transparent;
  padding-left: 0.55rem;
  transition: all var(--transition);
}

.blog-toc a:hover,
.blog-toc a:focus-visible {
  color: var(--color-text);
  border-left-color: rgba(126, 167, 232, 0.66);
  outline: none;
}

.blog-toc a.is-active {
  color: #ffffff;
  border-left-color: #7ea7e8;
}

.blog-related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.blog-related-list a {
  color: var(--color-text-muted);
  text-decoration: none;
  line-height: 1.5;
  font-size: 0.875rem;
}

.blog-related-list a:hover,
.blog-related-list a:focus-visible {
  color: var(--color-accent-light);
}

@media (max-width: 991px) {
  .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-article-sidebar {
    position: static;
  }

  .blog-search-input {
    min-width: 180px;
  }
}

@media (max-width: 767px) {
  .blog-card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-listing-toolbar,
  .blog-toolbar-side {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search-input {
    min-width: 0;
    width: 100%;
  }

  .blog-article-main {
    padding: 1rem;
  }

  .blog-post-cta-compact {
    padding: 1.05rem;
    grid-template-columns: 1fr;
  }

  .blog-mid-cta {
    align-items: flex-start;
  }
}
