/* Resisto Landing Page - Exact Reference Match */

/* ==================== CSS RESET & BASE ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none !important;
  outline-offset: 0 !important;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111827;
  background-color: #ffffff;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Resisto Brand Colors (from brandbook) */
  /* Primary: Electric Blue #168BFF */
  --blue-50: #EEF1FF;
  --blue-100: #DCE3FF;
  --blue-200: #B9C7FF;
  --blue-300: #96ABFF;
  --blue-400: #4D6EFF;
  --blue-500: #168BFF;
  --blue-600: #168BFF;
  --blue-700: #0026CC;
  --blue-800: #001D99;
  --blue-900: #001466;
  
  --indigo-600: #4f46e5;
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-500: #5B5FDE;
  --purple-600: #9333ea;
  
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #0F9F91;
  --green-500: #0F9F91;
  --green-600: #16a34a;
  
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  
  --cyan-500: #06b6d4;
  
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;
  
  --white: #ffffff;
  --black: #000000;
}

/* ==================== TYPOGRAPHY ==================== */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-9xl { font-size: 8rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.line-through { text-decoration: line-through; }
.underline { text-decoration: underline; }
.decoration-4 { text-decoration-thickness: 4px; }
.underline-offset-4 { text-underline-offset: 4px; }

/* ==================== LAYOUT ==================== */
.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* ==================== HEADER ==================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.5rem 0;
  background: transparent;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo svg {
  height: 1.5rem;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
}

.nav-links a:hover {
  color: var(--blue-600);
  transition: color 0.2s;
}

.btn-contact {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--blue-600);
  color: white;
  box-shadow: 0 10px 15px -3px rgb(0 111 214 / 0.3);
  transition: all 0.2s;
}

.btn-contact:hover {
  background: var(--blue-700);
  box-shadow: 0 10px 15px -3px rgb(0 111 214 / 0.4);
}

.btn-login {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-600);
  transition: all 0.2s;
}

.btn-login:hover {
  background: var(--blue-600);
  color: white;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 40;
  padding: 6rem 2rem 2rem;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 5rem;
  overflow: hidden;
  background: white;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 9rem;
    padding-bottom: 8rem;
  }
}

/* Background Abstract */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-blob-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 800px;
  height: 800px;
  background: linear-gradient(to bottom right, var(--blue-50), var(--purple-50));
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
}

.hero-bg-blob-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: linear-gradient(to top right, var(--orange-50), #EAFBF8);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto 5rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: white;
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  margin-bottom: 2rem;
  transition: transform 0.2s;
  cursor: default;
}

.hero-badge:hover {
  transform: scale(1.05);
}

.hero-badge-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.hero-badge-dot .ping {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--blue-400);
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-badge-dot .dot {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--blue-500);
}

.hero-badge-text {
  color: var(--gray-600);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero Title */
.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
  color: var(--gray-900);
  line-height: 0.9;
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 8rem; }
}

.hero-logo {
  height: 4rem;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-logo {
    height: 5.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-logo {
    height: 7rem;
  }
}

/* Hero Description */
.hero-description {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 1.25rem;
  color: var(--gray-500);
  line-height: 1.625;
  font-weight: 300;
}

@media (min-width: 768px) {
  .hero-description { font-size: 1.5rem; }
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--gray-900);
  color: white;
  border-radius: 9999px;
  font-weight: 700;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  transition: all 0.3s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--blue-600), var(--blue-500));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  box-shadow: 0 20px 25px -5px rgb(0 111 214 / 0.2);
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-primary svg {
  transition: transform 0.2s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: white;
  color: var(--gray-900);
  border: 1px solid var(--gray-200);
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.btn-secondary svg {
  fill: var(--gray-900);
  transition: all 0.2s;
}

.btn-secondary:hover svg {
  color: var(--blue-600);
  fill: var(--blue-600);
}

/* Hero Cards */
.hero-cards {
  position: relative;
  max-width: 72rem;
  margin: 5rem auto 0;
}

.hero-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
  align-items: stretch;
}

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

/* Card Base */
.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 2.5rem;
  transition: all 0.3s;
}

/* Card 1: Website */
.hero-card-website {
  background: white;
  border: 1px solid var(--blue-100);
  box-shadow: 0 20px 40px -10px rgba(22, 139, 255, 0.15), 0 8px 16px -8px rgba(22, 139, 255, 0.1);
}

.hero-card-website:hover {
  box-shadow: 0 25px 50px -12px rgba(22, 139, 255, 0.25), 0 10px 20px -10px rgba(22, 139, 255, 0.15);
  border-color: var(--blue-200);
  transform: translateY(-4px);
}

/* Card 2: App (Featured) */
.hero-card-app {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  box-shadow: 0 25px 50px -12px rgb(0 70 138 / 0.2);
  color: white;
  ring: 4px solid white;
  box-shadow: 0 0 0 4px white, 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

@media (min-width: 768px) {
  .hero-card-app {
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
    z-index: 20;
  }
}

.hero-card-app:hover {
  transform: translateY(-4px);
}

/* Card 3: Services */
.hero-card-services {
  background: linear-gradient(to bottom right, var(--orange-50), white, white);
  border: 1px solid var(--orange-100);
  box-shadow: 0 20px 25px -5px rgb(15 159 145 / 0.1);
  justify-content: center;
}

.hero-card-services:hover {
  box-shadow: 0 25px 50px -12px rgb(15 159 145 / 0.2);
  border-color: var(--orange-200);
}

/* Card Badge */
.card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-badge-gray {
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.card-badge-blue {
  background: var(--blue-600);
  color: white;
  box-shadow: 0 10px 15px -3px rgb(0 111 214 / 0.3);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Card Icon */
.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  clip-path: url(#superellipse-clip); /* iOS-style superellipse (squircle) */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

/* Fallback for browsers without clip-path support */
@supports not (clip-path: url(#superellipse-clip)) {
  .card-icon {
    border-radius: 25%;
  }
}

.hero-card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon-blue {
  background: var(--blue-50);
  color: var(--blue-600);
}

.card-icon-white {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(8px);
}

.card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* Card Content */
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-title-dark {
  color: var(--gray-900);
}

.card-title-light {
  color: white;
}

.card-description {
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-description-gray {
  color: var(--gray-500);
}

.card-description-muted {
  color: var(--gray-400);
}

/* Card Price */
.card-price-section {
  border-top: 1px solid;
  padding-top: 1rem;
}

.card-price-section-light {
  border-color: var(--gray-100);
}

.card-price-section-dark {
  border-color: var(--gray-800);
}

.card-price-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.card-price-label-gray { color: var(--gray-400); }
.card-price-label-muted { color: var(--gray-500); }

.card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.card-price-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.card-price-value-dark { color: var(--gray-900); }
.card-price-value-light { color: white; }

.card-price-currency {
  font-size: 0.875rem;
}

.card-price-currency-gray { color: var(--gray-500); }
.card-price-currency-muted { color: var(--gray-400); }

/* Services Card Specific */
.services-badge {
  display: inline-block;
  width: fit-content;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--orange-100);
  color: var(--orange-600);
  border: 1px solid var(--orange-200);
  margin-bottom: 1rem;
}

.services-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.services-title-accent {
  color: var(--orange-500);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.services-item-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--orange-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.services-item-icon svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--orange-600);
}

/* Card Connector */
.card-connector {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.card-connector-mobile {
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .card-connector-mobile { display: none; }
}

.card-connector-desktop {
  display: none;
  left: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  .card-connector-desktop { display: flex; }
}

.card-connector-white {
  background: white;
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.card-connector-dark {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.card-connector svg {
  width: 0.75rem;
  height: 0.75rem;
}

.card-connector-white svg { color: var(--gray-400); }
.card-connector-dark svg { color: white; }

/* Hero Note */
.hero-note {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-top: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* Floating Elements */
.floating-card {
  position: absolute;
  display: none;
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  border: 1px solid var(--gray-100);
  max-width: 200px;
}

@media (min-width: 1024px) {
  .floating-card { display: block; }
}

.floating-card-left {
  top: 25%;
  left: 2.5rem;
  transform: rotate(-6deg);
  animation: float 3s ease-in-out infinite;
}

.floating-card-right {
  bottom: 25%;
  right: 2.5rem;
  transform: rotate(6deg);
  animation: float 3s ease-in-out infinite 0.5s;
}

.floating-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.floating-card-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.floating-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
}

.floating-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
}

.floating-card-subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.floating-card-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.floating-card-change {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-500);
}

/* ==================== FEATURES SECTION ==================== */
.features {
  padding: 6rem 0;
  background: rgba(249, 250, 251, 0.5);
}

.features-header {
  margin-bottom: 4rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .features-header { text-align: center; }
}

.features-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .features-title { font-size: 3rem; }
}

.features-title-gradient {
  background: linear-gradient(to right, var(--blue-600), var(--indigo-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-description {
  color: var(--gray-500);
  font-size: 1.125rem;
}

/* Bento Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  grid-auto-rows: minmax(280px, auto);
}

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

/* Feature Card Base */
.feature-card {
  position: relative;
  border-radius: 2.5rem;
  padding: 2rem;
  overflow: hidden;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .feature-card { padding: 2.5rem 3rem; }
}

/* Feature Card - Attraction (Wide) */
.feature-card-attraction {
  background: white;
  border: 1px solid var(--gray-100);
  box-shadow: 0 20px 25px -5px rgb(0 70 138 / 0.05);
}

@media (min-width: 768px) {
  .feature-card-attraction { grid-column: span 2; }
}

.feature-card-attraction:hover {
  border-color: var(--blue-200);
}

.feature-card-attraction .feature-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 20rem;
  height: 20rem;
  background: var(--blue-50);
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(33%, -50%);
  opacity: 0.6;
  transition: background 0.3s;
}

.feature-card-attraction:hover .feature-blob {
  background: var(--blue-100);
}

/* Feature Card - Analytics (Tall Dark) */
.feature-card-analytics {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  color: white;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .feature-card-analytics { grid-row: span 2; }
}

.feature-card-analytics::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--gray-800), var(--gray-950));
}

.feature-card-analytics .feature-blob {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(25%, 25%);
}

/* Feature Card - Conversion */
.feature-card-conversion {
  background: white;
  border: 1px solid var(--gray-100);
  box-shadow: 0 20px 25px -5px rgb(0 111 214 / 0.05);
}

.feature-card-conversion:hover {
  border-color: var(--green-200);
}

.feature-card-conversion .feature-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background: var(--green-50);
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(50%, -50%);
}

/* Feature Card - Retention */
.feature-card-retention {
  background: white;
  border: 1px solid var(--gray-100);
  box-shadow: 0 20px 25px -5px rgb(15 159 145 / 0.05);
}

.feature-card-retention:hover {
  border-color: var(--orange-200);
}

.feature-card-retention .feature-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background: var(--orange-50);
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(50%, -50%);
}

/* Feature Content */
.feature-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-content-grow {
  flex-grow: 1;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0; /* не даём длинному заголовку в .feature-header сжимать иконку */
  clip-path: url(#superellipse-clip); /* iOS-style superellipse (squircle) */
  display: flex;
  align-items: center;
  justify-content: center;
}

@supports not (clip-path: url(#superellipse-clip)) {
  .feature-icon {
    border-radius: 25%;
  }
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.feature-icon-blue {
  background: var(--blue-600);
  color: white;
  box-shadow: 0 10px 15px -3px rgb(0 111 214 / 0.2);
}

.feature-icon-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.feature-icon-glass svg {
  color: #82BEFF;
}

.feature-icon-green {
  background: var(--green-50);
  color: var(--green-600);
}

.feature-icon-orange {
  background: var(--orange-50);
  color: var(--orange-600);
}

.feature-title {
  font-size: 1.875rem;
  font-weight: 700;
}

.feature-title-dark { color: var(--gray-900); }
.feature-title-light { color: white; }
.feature-title-medium { font-size: 1.5rem; }

.feature-description {
  font-size: 1.125rem;
  line-height: 1.625;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.feature-description-gray { color: var(--gray-500); }
.feature-description-muted { color: var(--gray-400); }

/* Feature Tags */
.feature-tags {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

.feature-tag {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(239, 246, 255, 0.5);
  border-radius: 0.75rem;
  border: 1px solid var(--blue-50);
  transition: background 0.2s;
}

.feature-tag:hover {
  background: var(--blue-50);
}

.feature-tag svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--blue-600);
  margin-top: 0.125rem;
}

.feature-tag span {
  font-weight: 700;
  color: var(--gray-700);
  font-size: 0.875rem;
}

/* Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
}

.feature-list-item-gray { color: var(--gray-600); }

.feature-list-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.feature-list-dot-green { background: var(--green-500); }
.feature-list-dot-orange { background: var(--orange-500); }

/* Analytics Stats */
.analytics-stats {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  margin-top: auto;
  transition: background 0.3s;
}

.feature-card-analytics:hover .analytics-stats {
  background: rgba(255, 255, 255, 0.1);
}

.analytics-stat {
  margin-bottom: 1rem;
}

.analytics-stat:last-child {
  margin-bottom: 0;
}

.analytics-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.analytics-stat-label {
  color: var(--gray-400);
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 700;
}

.analytics-stat-value {
  font-size: 0.875rem;
  font-weight: 700;
}

.analytics-stat-value-green { color: #0F9F91; }
.analytics-stat-value-blue { color: var(--blue-400); }

.analytics-progress {
  height: 0.5rem;
  background: var(--gray-700);
  border-radius: 9999px;
  overflow: hidden;
}

.analytics-progress-bar {
  height: 100%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.analytics-progress-bar-purple {
  width: 70%;
  background: linear-gradient(to right, #5B5FDE, #5B5FDE);
}

.analytics-progress-bar-blue {
  width: 85%;
  background: linear-gradient(to right, var(--blue-500), var(--cyan-500));
}

/* ==================== DASHBOARD PREVIEW SECTION ==================== */
.dashboard {
  padding: 6rem 0;
  background: var(--gray-900);
  overflow: hidden;
}

.dashboard-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .dashboard-inner { flex-direction: row; }
}

.dashboard-content {
  flex: 1;
}

@media (min-width: 1024px) {
  .dashboard-content { width: 50%; }
}

.dashboard-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .dashboard-title { font-size: 2.25rem; }
}

.dashboard-title-accent {
  display: block;
  color: var(--blue-400);
}

.dashboard-description {
  color: var(--gray-400);
  font-size: 1.125rem;
  line-height: 1.625;
  margin-bottom: 2rem;
}

.dashboard-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.dashboard-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-300);
}

.dashboard-feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.dashboard-link {
  color: var(--blue-400);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.dashboard-link:hover {
  color: var(--blue-300);
}

/* Dashboard Preview Window */
.dashboard-preview {
  flex: 1;
  width: 100%;
}

@media (min-width: 1024px) {
  .dashboard-preview { width: 50%; }
}

.dashboard-window {
  background: var(--gray-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  position: relative;
}

.dashboard-window-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-window-dots {
  display: flex;
  gap: 0.375rem;
}

.dashboard-window-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.dashboard-window-dot-red { background: rgba(239, 68, 68, 0.2); }
.dashboard-window-dot-yellow { background: rgba(234, 179, 8, 0.2); }
.dashboard-window-dot-green { background: rgba(34, 197, 94, 0.2); }

.dashboard-window-title {
  margin-left: 1rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Dashboard Charts Grid */
.dashboard-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .dashboard-charts { grid-template-columns: repeat(2, 1fr); }
}

.dashboard-chart {
  background: rgba(3, 7, 18, 0.5);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-chart-header {
  margin-bottom: 1rem;
}

.dashboard-chart-label {
  color: var(--gray-400);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-chart-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.dashboard-chart-value span {
  font-size: 0.875rem;
  color: var(--green-500);
  margin-left: 0.25rem;
}

/* Simple CSS Charts */
.chart-area {
  height: 10rem;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.chart-area-bar {
  flex: 1;
  background: linear-gradient(to top, var(--blue-500), transparent);
  border-radius: 4px 4px 0 0;
  min-height: 20%;
}

.chart-bars {
  height: 10rem;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.chart-bar {
  flex: 1;
  background: #5B5FDE;
  border-radius: 4px 4px 0 0;
  min-height: 20%;
}

/* Dashboard Stats */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.dashboard-stat {
  text-align: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
}

.dashboard-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.dashboard-stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
}

/* ==================== CONNECTIONS SECTION ==================== */
.connections {
  padding: 8rem 0;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.connections-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .connections-header { flex-direction: row; }
}

.connections-header-content {
  max-width: 42rem;
}

.connections-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  margin-bottom: 1rem;
}

.connections-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .connections-title { font-size: 3rem; }
}

.connections-title-underline {
  color: var(--blue-600);
  text-decoration: underline;
  text-decoration-color: var(--blue-200);
  text-underline-offset: 4px;
}

.connections-description {
  color: var(--gray-500);
  font-size: 1.125rem;
  line-height: 1.625;
}

.connections-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--gray-900);
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .connections-link { display: flex; }
}

.connections-link:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  border-color: var(--blue-100);
  color: var(--blue-600);
}

.connections-link svg {
  transition: transform 0.2s;
}

.connections-link:hover svg {
  transform: translateX(4px);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid var(--gray-200);
  background: white;
  color: var(--gray-500);
  transition: all 0.3s;
  text-transform: capitalize;
}

.filter-tab:hover {
  border-color: var(--blue-400);
  color: var(--blue-600);
}

.filter-tab.active {
  background: var(--gray-900);
  color: white;
  border-color: var(--gray-900);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Connection Cards Grid */
.connections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .connections-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Connection Card */
.connection-card {
  background: white;
  border-radius: 2rem;
  padding: 2rem;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
}

.connection-card:hover {
  border-color: var(--blue-200);
  box-shadow: 0 20px 25px -5px rgb(0 111 214 / 0.05);
}

/* Decorative ID */
.connection-card-id {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  background: var(--gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.connection-card:hover .connection-card-id {
  background: var(--blue-50);
}

.connection-card-id span {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gray-200);
  transition: color 0.3s;
}

.connection-card:hover .connection-card-id span {
  color: var(--blue-200);
}

.connection-card-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Connection Tags */
.connection-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.connection-tag {
  font-size: 0.625rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  background: var(--gray-50);
  border-radius: 9999px;
  color: var(--gray-500);
  border: 1px solid var(--gray-100);
  transition: background 0.3s;
}

.connection-card:hover .connection-tag {
  background: white;
}

/* Connection Header */
.connection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.connection-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
  transition: color 0.3s;
}

.connection-card:hover .connection-title {
  color: var(--blue-600);
}

.connection-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-300);
  transition: color 0.3s;
}

.connection-card:hover .connection-header svg {
  color: var(--blue-600);
}

/* Marketing Essence */
.connection-essence {
  background: rgba(255, 247, 237, 0.5);
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(254, 215, 170, 0.5);
  transition: background 0.3s;
}

.connection-card:hover .connection-essence {
  background: var(--orange-50);
}

.connection-essence-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.connection-essence svg {
  width: 1rem;
  height: 1rem;
  color: var(--orange-400);
  margin-top: 0.25rem;
  flex-shrink: 0;
  fill: var(--orange-400);
}

.connection-essence p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  font-style: italic;
}

/* Connection Description */
.connection-description {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Connection Footer */
.connection-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-50);
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.connection-result-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.connection-result-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
  transition: color 0.3s;
}

.connection-card:hover .connection-result-value {
  color: var(--blue-600);
}

.connection-arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.connection-card:hover .connection-arrow {
  background: var(--blue-600);
  color: white;
  transform: rotate(-45deg);
}

.connection-arrow svg {
  width: 1rem;
  height: 1rem;
}

/* Главная: редакционная витрина реальных продуктовых связок */
.connections-showcase {
  padding: 7rem 0;
  background: white;
}

.connections-showcase-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: 4rem;
  align-items: end;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--gray-300);
}

.connections-showcase-eyebrow {
  margin-bottom: 1rem;
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.connections-showcase-header h2 {
  max-width: 42rem;
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.02;
}

.connections-showcase-intro {
  max-width: 35rem;
  justify-self: end;
}

.connections-showcase-intro p {
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.connections-showcase-intro a {
  display: inline-flex;
  gap: 0.625rem;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--blue-600);
  font-size: 0.875rem;
  font-weight: 700;
}

.connections-showcase-intro a span,
.connection-pick-arrow {
  transition: transform 180ms ease;
}

.connections-showcase-intro a:hover span,
.connection-pick:hover .connection-pick-arrow {
  transform: translate(0.2rem, -0.2rem);
}

.connections-showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.connection-feature {
  display: flex;
  min-width: 0;
  min-height: 38rem;
  flex-direction: column;
  padding: 3rem;
  background: var(--blue-600);
  color: white;
}

.connection-feature-type,
.connection-pick-number {
  font-size: 0.75rem;
  font-weight: 700;
}

.connection-feature-type {
  color: rgba(255, 255, 255, 0.7);
}

.connection-feature h3 {
  max-width: 35rem;
  margin-top: 3rem;
  font-size: 3rem;
  line-height: 1.04;
}

.connection-feature > p {
  max-width: 31rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
}

.connection-feature-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.28);
}

.connection-feature-stats > div {
  display: flex;
  min-width: 0;
  min-height: 7rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  background: var(--blue-600);
}

.connection-feature-stats strong {
  font-size: 2.25rem;
  line-height: 1;
}

.connection-feature-stats span {
  max-width: 12rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  line-height: 1.45;
}

.connection-feature-footer {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.connection-feature-footer > span {
  max-width: 18rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.6875rem;
  line-height: 1.5;
}

.connection-feature-footer strong {
  white-space: nowrap;
  font-size: 0.8125rem;
}

.connection-picks {
  border-top: 1px solid var(--gray-300);
}

.connection-pick {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) minmax(7rem, 0.32fr) 1.25rem;
  gap: 1rem;
  align-items: start;
  min-height: 9.5rem;
  padding: 1.75rem 0 1.75rem 2.25rem;
  border-bottom: 1px solid var(--gray-300);
  transition: background-color 180ms ease, padding 180ms ease;
}

.connection-pick:hover {
  padding-right: 1rem;
  background: var(--gray-50);
}

.connection-pick-number {
  padding-top: 0.25rem;
  color: var(--gray-400);
}

.connection-pick-copy h3 {
  margin-bottom: 0.625rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.connection-pick-copy p {
  max-width: 30rem;
  color: var(--gray-500);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.connection-pick-result {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.4rem;
}

.connection-pick-result strong {
  color: var(--blue-600);
  font-size: 1.5rem;
  line-height: 1;
}

.connection-pick-result span {
  color: var(--gray-500);
  font-size: 0.6875rem;
  line-height: 1.4;
}

.connection-pick-arrow {
  color: var(--blue-600);
  font-size: 1.125rem;
  line-height: 1;
}

@media (max-width: 1023px) {
  .connections-showcase-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .connections-showcase-intro { justify-self: start; }
  .connections-showcase-layout { grid-template-columns: 1fr; }
  .connection-feature { min-height: 32rem; }
  .connection-pick { padding-left: 0; }
}

@media (max-width: 767px) {
  .connections-showcase { padding: 5rem 0; }
  .connections-showcase-header h2 { font-size: 2.5rem; }
  .connection-feature {
    min-height: 0;
    padding: 2rem 1.5rem;
  }
  .connection-feature h3 {
    margin-top: 2rem;
    font-size: 2.25rem;
  }
  .connection-feature-stats { margin-top: 2rem; }
  .connection-feature-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 2.5rem;
  }
  .connection-pick {
    grid-template-columns: 2rem minmax(0, 1fr) 1.25rem;
    min-height: 0;
    padding: 1.5rem 0;
  }
  .connection-pick:hover { padding-right: 0; }
  .connection-pick-result {
    grid-column: 2 / 3;
    flex-direction: row;
    align-items: baseline;
  }
  .connection-pick-result strong { font-size: 1.25rem; }
  .connection-pick-arrow {
    grid-column: 3;
    grid-row: 1;
  }
}

/* ==================== EDITORIAL HOME: COMMUNICATIONS ==================== */
body .sms-killer {
  padding: 7rem 0;
  color: var(--white);
  background: var(--gray-900);
  border-top: 0;
}

.sms-killer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: 4rem;
  align-items: end;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sms-killer .sms-killer-title {
  max-width: 48rem;
  margin: 0;
  color: var(--white);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.02;
}


.sms-killer-heading > p {
  color: var(--gray-300);
  font-size: 1.125rem;
  line-height: 1.7;
}

.sms-killer .sms-killer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 5rem;
  align-items: stretch;
  padding-top: 3.5rem;
}

.sms-killer-impact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 2.5rem 2rem;
}

.sms-impact-item strong {
  display: block;
  color: var(--blue-300);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.sms-impact-item span {
  display: block;
  max-width: 10rem;
  margin-top: 0.8rem;
  color: var(--gray-300);
  line-height: 1.45;
}

.sms-killer-link {
  grid-column: 1 / -1;
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  color: var(--white);
  font-weight: 700;
}

.sms-killer-link .nucleo-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.sms-killer-link:hover .nucleo-icon { transform: translateX(0.25rem); }

.sms-channel-comparison {
  padding-left: 3rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.sms-channel-row {
  padding: 0 0 2rem;
}

.sms-channel-row + .sms-channel-row {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.sms-channel-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: baseline;
}

.sms-channel-head h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}

.sms-channel-head strong {
  color: var(--white);
  font-size: 1.5rem;
}

.sms-channel-row-old .sms-channel-head,
.sms-channel-row-old .sms-channel-head h3,
.sms-channel-row-old .sms-channel-head strong { color: var(--gray-400); }

.sms-channel-scale {
  height: 0.4rem;
  margin: 1.2rem 0 0.8rem;
  background: rgba(255, 255, 255, 0.09);
}

.sms-channel-scale span {
  display: block;
  height: 100%;
}

.sms-channel-row-old .sms-channel-scale span {
  width: 100%;
  background: var(--gray-500);
}

.sms-channel-row-new .sms-channel-scale span {
  width: 10%;
  min-width: 2.5rem;
  background: var(--blue-400);
}

.sms-channel-row p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.sms-channel-row-new p { color: var(--gray-300); }

.sms-channel-note {
  margin: 0 0 2rem;
  color: var(--gray-400);
  font-size: 0.75rem;
  line-height: 1.6;
}

.sms-notification-example {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sms-notification-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--white);
  background: var(--blue-500);
  clip-path: url(#superellipse-clip);
}

.sms-notification-icon .nucleo-icon { width: 1.25rem; height: 1.25rem; }
.sms-notification-example strong { display: block; font-size: 1rem; }
.sms-notification-example p { margin-top: 0.4rem; color: var(--gray-400); font-size: 0.875rem; line-height: 1.5; }

/* ==================== ABOUT: EDITORIAL COMPANY STORY ==================== */
.page-about .about-hero {
  padding: 10rem 0 0;
  background: var(--white);
}

.page-about .about-hero::before { display: none; }

.about-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr);
  gap: 5rem;
  align-items: end;
  padding-bottom: 5rem;
}

.page-about .about-hero h1 {
  max-width: 52rem;
  margin: 0;
  color: var(--gray-900);
  font-size: 4.75rem;
  font-weight: 700;
  line-height: 1.03;
}

.about-hero-copy {
  padding-bottom: 0.5rem;
}

.about-hero-copy p {
  margin: 0;
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.about-hero-copy p + p { margin-top: 1.25rem; }

.about-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
}

.about-facts > div {
  min-width: 0;
  padding: 2rem 1.5rem 2.25rem;
  border-right: 1px solid var(--gray-300);
}

.about-facts > div:first-child { padding-left: 0; }
.about-facts > div:last-child { border-right: 0; }
.about-facts strong { display: block; color: var(--blue-600); font-size: 2.75rem; line-height: 1; }
.about-facts span { display: block; margin-top: 0.75rem; color: var(--gray-600); font-size: 0.875rem; }

.about-manifesto {
  margin-top: 7rem;
  padding: 7rem 0;
  color: var(--white);
  background: var(--blue-600);
}

.about-manifesto-grid,
.about-team-grid,
.contacts-support-grid,
.contacts-resources-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: 6rem;
  align-items: start;
}

.about-manifesto h2,
.about-team h2,
.contacts-support h2 {
  margin: 0;
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.08;
}

.about-manifesto-copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.125rem;
  line-height: 1.75;
}

.about-manifesto-copy p + p { margin-top: 1.5rem; }

.about-principles { padding: 7rem 0; }

.about-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.7fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.about-section-heading h2,
.contacts-resources h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: 3rem;
  line-height: 1.1;
}

.about-section-heading p { color: var(--gray-600); font-size: 1.0625rem; line-height: 1.7; }

.about-principles-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--gray-300);
}

.about-principle {
  padding: 2.5rem 2rem 0;
  border-right: 1px solid var(--gray-300);
}

.about-principle:first-child { padding-left: 0; }
.about-principle:last-child { padding-right: 0; border-right: 0; }

.about-principle-icon,
.contact-line-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-50);
  clip-path: url(#superellipse-clip);
}

.about-principle-icon .nucleo-icon,
.contact-line-icon .nucleo-icon { width: 1.25rem; height: 1.25rem; }

.about-principle h3 { margin-top: 2rem; color: var(--gray-900); font-size: 1.35rem; }
.about-principle p { margin-top: 1rem; color: var(--gray-600); line-height: 1.7; }

.about-team {
  padding: 7rem 0;
  color: var(--white);
  background: var(--gray-900);
}

.about-team-copy p { color: var(--gray-300); font-size: 1.0625rem; line-height: 1.75; }
.about-team-copy p + p { margin-top: 1.4rem; }
.about-team-link,
.contacts-support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
  color: var(--white);
  font-weight: 700;
}

.about-team-link span,
.contacts-support-link span { transition: transform 0.2s ease; }
.about-team-link:hover span,
.contacts-support-link:hover span { transform: translate(0.2rem, -0.2rem); }

/* ==================== CONTACTS: WORKING DIRECTORY ==================== */
.page-contacts .contacts-hero {
  padding: 10rem 0 5rem;
  background: var(--white);
}

.page-contacts .contacts-hero::before { display: none; }

.contacts-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  gap: 5rem;
  align-items: end;
}

.page-contacts .contacts-hero h1 {
  max-width: 48rem;
  margin: 0;
  color: var(--gray-900);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.04;
}

.contacts-hero-copy p { color: var(--gray-600); font-size: 1.0625rem; line-height: 1.7; }
.contacts-hero-copy p + p { margin-top: 1.25rem; }

.contacts-directory { padding: 1rem 0 7rem; }

.contact-line {
  display: grid;
  grid-template-columns: 3rem 9rem minmax(15rem, 1fr) minmax(13rem, 0.7fr) 1.5rem;
  gap: 1.5rem;
  align-items: center;
  min-height: 7.25rem;
  border-top: 1px solid var(--gray-300);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.contact-line:last-child { border-bottom: 1px solid var(--gray-300); }
.contact-line:hover { color: var(--blue-600); background: var(--blue-50); }
.contact-line:hover .contact-line-icon { color: var(--white); background: var(--blue-600); }
.contact-line-label { color: var(--gray-500); font-size: 0.875rem; font-weight: 600; }
.contact-line strong { min-width: 0; overflow-wrap: anywhere; color: var(--gray-900); font-size: 1.4rem; }
.contact-line-note { color: var(--gray-500); font-size: 0.875rem; line-height: 1.45; }
.contact-line-arrow { justify-self: end; color: var(--gray-400); font-size: 1.25rem; }

.contacts-support {
  padding: 6rem 0;
  color: var(--white);
  background: var(--blue-600);
}

.contacts-support-copy p { color: rgba(255, 255, 255, 0.84); font-size: 1.125rem; line-height: 1.7; }

.contacts-resources { padding: 7rem 0; }

.contacts-resource-links {
  border-top: 1px solid var(--gray-300);
}

.contacts-resource-links a {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 0.8fr) 1.5rem;
  gap: 2rem;
  align-items: center;
  min-height: 6.5rem;
  border-bottom: 1px solid var(--gray-300);
  transition: color 0.2s ease, padding 0.2s ease;
}

.contacts-resource-links a:hover { padding-left: 0.75rem; color: var(--blue-600); }
.contacts-resource-links span { color: var(--gray-900); font-size: 1.125rem; font-weight: 700; }
.contacts-resource-links small { color: var(--gray-500); font-size: 0.875rem; }
.contacts-resource-links b { justify-self: end; color: var(--gray-400); font-size: 1.125rem; }

@media (max-width: 1023px) {
  .sms-killer-heading,
  .about-hero-layout,
  .contacts-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .sms-killer-grid { gap: 3rem; }
  .sms-killer .sms-killer-title,
  .page-about .about-hero h1,
  .page-contacts .contacts-hero h1 { font-size: 3.75rem; }
  .about-manifesto-grid,
  .about-team-grid,
  .contacts-support-grid,
  .contacts-resources-grid { gap: 3rem; }
  .contact-line { grid-template-columns: 3rem 7rem minmax(12rem, 1fr) minmax(11rem, 0.7fr) 1.5rem; gap: 1rem; }
}

@media (max-width: 767px) {
  .sms-killer { padding: 5rem 0; }
  .sms-killer-heading { padding-bottom: 2.5rem; }
  .sms-killer .sms-killer-title { font-size: 2.75rem; }
  .sms-killer .sms-killer-grid { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .sms-killer-impact { gap: 2rem 1rem; }
  .sms-impact-item strong { font-size: 2.25rem; }
  .sms-channel-comparison { padding: 2.5rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.2); border-left: 0; }
  .sms-channel-head { align-items: flex-start; }
  .sms-channel-head h3 { max-width: 11rem; }
  .sms-killer-link { width: auto; }

  .page-about .about-hero,
  .page-contacts .contacts-hero { padding: 8rem 0 3.5rem; }
  .page-about .about-hero h1,
  .page-contacts .contacts-hero h1 { font-size: 2.75rem; }
  .about-hero-layout { padding-bottom: 3.5rem; }
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-facts > div,
  .about-facts > div:first-child { padding: 1.5rem 1rem; border-bottom: 1px solid var(--gray-300); }
  .about-facts > div:nth-child(2) { border-right: 0; }
  .about-facts > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .about-facts > div:nth-child(odd) { padding-left: 0; }
  .about-facts strong { font-size: 2rem; }

  .about-manifesto { margin-top: 4.5rem; padding: 5rem 0; }
  .about-manifesto-grid,
  .about-team-grid,
  .contacts-support-grid,
  .contacts-resources-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-manifesto h2,
  .about-team h2,
  .contacts-support h2,
  .about-section-heading h2,
  .contacts-resources h2 { font-size: 2.25rem; }
  .about-principles,
  .about-team,
  .contacts-resources { padding: 5rem 0; }
  .about-section-heading { grid-template-columns: 1fr; gap: 1.25rem; }
  .about-principles-list { grid-template-columns: 1fr; }
  .about-principle,
  .about-principle:first-child,
  .about-principle:last-child { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--gray-300); }
  .about-principle:last-child { border-bottom: 0; }
  .about-principle h3 { margin-top: 1.5rem; }

  .contacts-directory { padding-bottom: 5rem; }
  .contact-line {
    grid-template-columns: 3rem 1fr 1.5rem;
    gap: 0.5rem 1rem;
    align-items: center;
    padding: 1.5rem 0;
  }
  .contact-line-icon { grid-row: 1 / span 2; }
  .contact-line-label { grid-column: 2; }
  .contact-line strong { grid-column: 2; font-size: 1.1rem; }
  .contact-line-note { grid-column: 2 / 4; margin-top: 0.25rem; }
  .contact-line-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .contacts-support { padding: 5rem 0; }
  .contacts-resource-links a { grid-template-columns: 1fr 1.5rem; gap: 0.4rem 1rem; padding: 1.25rem 0; }
  .contacts-resource-links span { grid-column: 1; }
  .contacts-resource-links small { grid-column: 1; }
  .contacts-resource-links b { grid-column: 2; grid-row: 1 / span 2; }
}

/* ==================== SMS KILLER SECTION ==================== */
.sms-killer {
  padding: 8rem 0;
  background: white;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-100);
}

.sms-killer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .sms-killer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* SMS Killer Content */
.sms-killer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--red-50);
  color: var(--red-600);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid var(--red-100);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 1.5rem;
}

.sms-killer-badge svg {
  width: 0.75rem;
  height: 0.75rem;
}

.sms-killer-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .sms-killer-title { font-size: 3.75rem; }
}

.sms-killer-title-strike {
  color: var(--red-500);
  text-decoration: line-through;
  text-decoration-thickness: 4px;
  text-decoration-color: var(--red-200);
}

.sms-killer-description {
  font-size: 1.25rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  line-height: 1.625;
}

/* Price Comparison */
.price-comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.price-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
}

.price-item-sms {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}

.price-item-push {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.price-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.875rem;
}

.price-badge-sms {
  background: var(--red-100);
  color: var(--red-500);
}

.price-badge-push {
  background: var(--blue-600);
  color: white;
}

.price-info-title {
  font-weight: 700;
  color: var(--gray-900);
}

.price-info-subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.sms-killer-savings {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
}

.sms-killer-savings svg {
  width: 1rem;
  height: 1rem;
}

/* SMS Killer Visual */
.sms-killer-visual {
  position: relative;
}

.sms-killer-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: linear-gradient(to top right, var(--blue-100), var(--purple-100));
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.sms-messages {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 24rem;
  margin: 0 auto;
}

/* SMS Message */
.sms-message {
  background: white;
  padding: 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  border-left: 4px solid var(--red-400);
  opacity: 0.7;
  transform: scale(0.95);
  transform-origin: bottom;
  filter: blur(1px);
  user-select: none;
}

.sms-message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.sms-message-sender {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.75rem;
}

.sms-message-time {
  font-size: 0.625rem;
  color: var(--gray-400);
}

.sms-message-text {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.625;
  font-family: monospace;
}

/* Push Message */
.push-message {
  background: white;
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  border: 1px solid var(--gray-100);
  transform: scale(1.05);
  position: relative;
}

.push-message-badge {
  position: absolute;
  right: -0.75rem;
  top: -0.75rem;
  background: var(--green-500);
  color: white;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.push-message-badge svg {
  width: 1.25rem;
  height: 1.25rem;
}

.push-message-inner {
  display: flex;
  gap: 1rem;
}

.push-message-icon {
  width: 3rem;
  height: 3rem;
  background: var(--blue-600);
  border-radius: 25%;
  clip-path: url(#superellipse-clip);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 15px -3px rgb(0 111 214 / 0.3);
}

.push-message-icon span {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.push-message-content {
  flex-grow: 1;
}

.push-message-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.push-message-header h4 {
  font-weight: 700;
  color: var(--gray-900);
}

.push-message-header span {
  font-size: 0.625rem;
  color: var(--gray-400);
}

.push-message-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-top: 0.25rem;
}

.push-message-text {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
  line-height: 1.625;
}

.push-message-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.push-message-buttons button {
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s;
}

.push-btn-secondary {
  background: var(--gray-100);
  color: var(--gray-600);
}

.push-btn-secondary:hover {
  background: var(--gray-200);
}

.push-btn-primary {
  background: var(--blue-600);
  color: white;
  box-shadow: 0 4px 6px -1px rgb(0 111 214 / 0.2);
}

.push-btn-primary:hover {
  background: var(--blue-700);
}

/* ==================== CALL TO ACTION SECTION ==================== */
.cta {
  padding: 6rem 0;
  background: white;
}

.cta-wrapper {
  position: relative;
  border-radius: 3rem;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--blue-900), var(--blue-800), #003363);
}

.cta-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  opacity: 0.1;
}

.cta-blob-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  filter: blur(100px);
  transform: translate(33%, -33%);
}

.cta-blob-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  filter: blur(100px);
  transform: translate(-33%, 33%);
}

.cta-content {
  position: relative;
  z-index: 10;
  padding: 5rem 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-content { padding: 6rem; }
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  letter-spacing: -0.025em;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .cta-title { font-size: 3.75rem; }
}

.cta-title-gradient {
  background: linear-gradient(to right, var(--blue-200), var(--purple-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  color: rgba(191, 219, 254, 0.8);
  font-size: 1.25rem;
  max-width: 42rem;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cta-buttons { flex-direction: row; }
}

.cta-btn-primary {
  width: 100%;
  padding: 1.25rem 2.5rem;
  background: white;
  color: var(--blue-900);
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 25px 50px -12px rgb(0 70 138 / 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .cta-btn-primary { width: auto; }
}

.cta-btn-primary:hover {
  background: var(--blue-50);
  transform: scale(1.05);
}

.cta-btn-secondary {
  width: 100%;
  padding: 1.25rem 2.5rem;
  background: rgba(30, 64, 175, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: white;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .cta-btn-secondary { width: auto; }
}

.cta-btn-secondary:hover {
  background: rgba(30, 64, 175, 0.6);
}

.cta-note {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(147, 197, 253, 0.6);
  font-weight: 500;
}

/* ==================== FAQ SECTION ==================== */
.faq {
  padding: 6rem 0;
  background: var(--gray-50);
}

.faq-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .faq-title { font-size: 3rem; }
}

.faq-description {
  color: var(--gray-500);
}

.faq-container {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border: 1px solid var(--gray-100);
}

/* FAQ Item */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-question span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: color 0.2s;
}

.faq-question:hover span {
  color: var(--blue-600);
}

.faq-item.active .faq-question span {
  color: var(--blue-600);
}

.faq-icon {
  flex-shrink: 0;
  margin-left: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-500);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover .faq-icon {
  background: var(--blue-100);
  color: var(--blue-600);
}

.faq-item.active .faq-icon {
  background: var(--blue-600);
  color: white;
  transform: rotate(180deg);
}

.faq-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer p {
  color: var(--gray-600);
  line-height: 1.625;
  padding-right: 2rem;
  padding-bottom: 1.5rem;
  transform: translateY(-0.5rem);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer p {
  transform: translateY(0);
}

/* ==================== FOOTER ==================== */
.footer {
  background: white;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--gray-100);
}

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

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); }
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  display: block;
  margin-bottom: 1.5rem;
}

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

.footer-tagline {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.625;
}

.footer-copyright {
  color: var(--gray-400);
  font-size: 0.75rem;
  margin-top: 1rem;
}

.footer-nav h4 {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

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

.footer-nav a {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--blue-600);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--blue-600);
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
  color: var(--blue-500);
}

.footer-bottom {
  border-top: 1px solid var(--gray-100);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  transition: color 0.2s;
}

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

/* ==================== ANIMATIONS ==================== */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-10px) rotate(-6deg);
  }
}

@keyframes float-right {
  0%, 100% {
    transform: translateY(0) rotate(6deg);
  }
  50% {
    transform: translateY(-10px) rotate(6deg);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-right 3s ease-in-out infinite 0.5s;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==================== UTILITIES ==================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Страница «Складской учёт» (/skladskoy-uchet/) — точечные
   оверрайды поверх общих компонентов. Скоупятся классом
   .page-product на <body>, на другие страницы не влияют.
   ============================================================ */

/* Бейдж страницы — в шапке справа от логотипа (без точки) */
.page-product .header-left { display: flex; align-items: center; gap: 0.875rem; }
.page-product .header-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: white;
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  color: var(--gray-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .page-product .header-badge { display: none; } /* на мобиле шапка узкая */
}

/* Межстрочный интервал в заголовках */
.page-product .hero-title { line-height: 1.05; }   /* было 0.9 — тесно для многострочного текста */
.page-product .features-title,
.page-product .connections-title,
.page-product .cta-title { line-height: 1.15; }

/* Карточки фич: компактнее заголовок (плотная сетка), иконка не сжимается (flex-shrink:0 выше) */
.page-product .feature-title { font-size: 1.25rem; line-height: 1.3; }

/* «Склад работает в одной связке» (#integrations) — по 2 карточки в ряд */
@media (min-width: 768px) {
  .page-product #integrations .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* «Что умеет» (#features, 8 карточек) — 4 в ряд на десктопе / 2 на планшете.
   8 делится на 4 и 2 без «висячих» карточек (база даёт 3 в ряд → было 3+3+2). */
@media (min-width: 768px) {
  .page-product #features .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .page-product #features .features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* «Как это работает» / «Сценарии» — убираем ШАГ-теги (номер #NN остаётся) */
.page-product .connection-tags { display: none; }
.page-product .connections-grid { gap: 1.25rem; }
/* Гибкий ряд шагов: 4 шага → 4 в ряд, 5 → 5 в ряд; неполный ряд ЦЕНТРИРУЕТСЯ
   (не «висит» слева), а одиночная карточка не растягивается на всю ширину. */
@media (min-width: 768px) {
  .page-product .connections-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-product .connections-grid > .connection-card {
    flex: 1 1 200px;
    max-width: 340px;
    /* base .connection-card ставит height:100% (для grid-ячейки); во flex это
       резолвится в auto → равную высоту даёт align-items:stretch, поэтому явно auto. */
    height: auto;
  }
}
.page-product .connection-card { padding: 1.75rem; }

/* Убрать декоративную стрелку в заголовке шага «Как это работает» */
.page-product .connection-header svg { display: none; }

/* Бейдж в шапке: лёгкий подъём для оптического центра с логотипом */
.page-product .header-badge { transform: translateY(-2px); }

/* ==================== CUSTOMER CYCLE ==================== */
.customer-cycle {
  padding: 7rem 0;
  background: var(--gray-50);
}

.customer-cycle-header {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1.5rem 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.customer-cycle-eyebrow {
  grid-column: 1 / -1;
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.customer-cycle-header h2 {
  max-width: 34rem;
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.02;
}

.customer-cycle-header > p:last-child {
  max-width: 36rem;
  color: var(--gray-600);
  font-size: 1.125rem;
  line-height: 1.75;
}

.customer-cycle-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.customer-cycle-list > li {
  min-width: 0;
  padding: 2rem 1.75rem 2.25rem;
  border-right: 1px solid var(--gray-200);
}

.customer-cycle-list > li:first-child { padding-left: 0; }
.customer-cycle-list > li:last-child { padding-right: 0; border-right: 0; }

.customer-cycle-phase {
  display: block;
  min-height: 2.5rem;
  margin-bottom: 1.75rem;
  color: var(--gray-400);
  font-size: 0.75rem;
  font-weight: 600;
}

.customer-cycle-list h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  line-height: 1.1;
}

.customer-cycle-list p {
  min-height: 8.25rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.customer-cycle-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.customer-cycle-list ul li {
  padding: 0;
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 600;
}
.customer-cycle-list ul li:not(:last-child)::after {
  content: '·';
  margin-left: 0.45rem;
  color: var(--gray-300);
}

.customer-cycle-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding-top: 2rem;
}

.customer-cycle-footer p { color: var(--gray-500); }
.customer-cycle-footer a {
  color: var(--blue-600);
  font-size: 0.875rem;
  font-weight: 700;
}
.customer-cycle-footer a:hover { color: var(--blue-700); }

/* ==================== PRODUCT PAGES: EDITORIAL LAYOUT ==================== */
.page-product .hero-bg { display: none; }
.page-product .hero {
  min-height: 42rem;
  background: linear-gradient(180deg, var(--blue-50) 0%, white 100%);
}
.page-product .hero-content { max-width: 58rem; }
.page-product .hero-title { max-width: 56rem; }

.page-product .features { background: white; }
.page-product .features-header {
  max-width: 52rem;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}
.page-product .features-title-gradient {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--blue-600);
}

.page-product .features-grid,
.page-product #features .features-grid,
.page-product #integrations .features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--gray-200);
}

.page-product .feature-card,
.page-product .feature-card-conversion {
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 2rem 2.25rem 2.25rem 0;
  border: 0;
  border-bottom: 1px solid var(--gray-200);
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  transform: none;
  grid-column: auto;
  grid-row: auto;
}

.page-product .feature-card:nth-child(even) {
  padding-right: 0;
  padding-left: 2.25rem;
  border-left: 1px solid var(--gray-200);
}

.page-product .feature-card::before,
.page-product .feature-card::after,
.page-product .feature-blob { display: none; }

.page-product .feature-card:hover {
  box-shadow: none;
  transform: none;
}

.page-product .feature-content { min-height: 0; }
.page-product .feature-header { align-items: center; }
.page-product .feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  border-radius: 25%;
  background: var(--blue-50) !important;
  color: var(--blue-600) !important;
  clip-path: url(#superellipse-clip);
  box-shadow: none;
}
.page-product .feature-title,
.page-product .feature-title-dark,
.page-product .feature-title-light { color: var(--gray-900) !important; }
.page-product .feature-description,
.page-product .feature-description-gray,
.page-product .feature-description-muted { color: var(--gray-600) !important; }

.page-product .connections { background: var(--gray-50); }
.page-product .connections-header-content {
  max-width: 52rem;
  margin-left: 0;
  text-align: left;
}
.page-product .connections-title-underline {
  background: none;
  color: var(--gray-900);
  -webkit-text-fill-color: currentColor;
}
.page-product .connections-title-underline::after { display: none; }
.page-product .connections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--gray-300);
}
.page-product .connections-grid > .connection-card,
.page-product .connection-card {
  max-width: none;
  min-width: 0;
  height: auto;
  padding: 2rem 1.5rem 2.25rem;
  border: 0;
  border-right: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.page-product .connection-card:first-child { padding-left: 0; }
.page-product .connection-card:last-child { padding-right: 0; border-right: 0; }
.page-product .connection-card:hover { transform: none; box-shadow: none; }
.page-product .connection-card-id {
  display: none;
}
.page-product .connection-card-id span {
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 700;
  transform: none;
}

@media (max-width: 1023px) {
  .customer-cycle-list,
  .page-product .connections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-cycle-list > li:nth-child(2),
  .page-product .connection-card:nth-child(2) { border-right: 0; }
  .customer-cycle-list > li:nth-child(3) { padding-left: 0; }
  .customer-cycle-list > li:nth-child(-n + 2) { border-bottom: 1px solid var(--gray-200); }
}

@media (max-width: 767px) {
  .customer-cycle { padding: 5rem 0; }
  .customer-cycle-header { display: block; margin-bottom: 3rem; }
  .customer-cycle-header h2 { margin: 1rem 0 1.5rem; }
  .customer-cycle-list,
  .page-product .features-grid,
  .page-product #features .features-grid,
  .page-product #integrations .features-grid,
  .page-product .connections-grid { grid-template-columns: 1fr; }
  .customer-cycle-list > li,
  .customer-cycle-list > li:first-child,
  .customer-cycle-list > li:last-child {
    padding: 1.75rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
  }
  .customer-cycle-list > li:last-child { border-bottom: 0; }
  .customer-cycle-phase { min-height: 0; margin-bottom: 1rem; }
  .customer-cycle-list p { min-height: 0; }
  .customer-cycle-footer { align-items: flex-start; flex-direction: column; }
  .page-product .hero { min-height: 38rem; }
  .page-product .feature-card,
  .page-product .feature-card:nth-child(even) {
    padding: 1.75rem 0;
    border-left: 0;
  }
  .page-product .connection-card,
  .page-product .connection-card:first-child,
  .page-product .connection-card:last-child {
    padding: 1.75rem 0;
    border-right: 0;
  }
}


/* Cohesive Clinicus+ palette: Resisto geometry is preserved, color system is brand-specific. */
:root{
  --blue-50:#EDF6FF;--blue-100:#DCEEFF;--blue-200:#B9DCFF;--blue-300:#82BEFF;--blue-400:#168BFF;--blue-500:#006FD6;--blue-600:#005BB2;--blue-700:#00468A;--blue-800:#003363;--blue-900:#00213F;
  --indigo-600:#5B5FDE;--purple-50:#EAFBF8;--purple-100:#EAFBF8;--purple-200:#DCEEFF;--purple-500:#5B5FDE;--purple-600:#5B5FDE;
  --orange-50:#EAFBF8;--orange-100:#EAFBF8;--orange-200:#DCEEFF;--orange-400:#0F9F91;--orange-500:#0F9F91;--orange-600:#0F9F91;
  --green-50:#EDF6FF;--green-100:#DCEEFF;--green-200:#B9DCFF;--green-400:#168BFF;--green-500:#006FD6;--green-600:#005BB2;
  --red-50:#EAFBF8;--red-100:#EAFBF8;--red-200:#DCEEFF;--red-400:#D64B5F;--red-500:#D64B5F;--red-600:#D64B5F;--cyan-500:#168BFF;
}

/* Brand identity only. Page blocks and layout remain identical to Resisto. */
.brand-wordmark{display:inline-block;color:#168BFF;font-family:Inter,sans-serif;font-weight:300;letter-spacing:.015em;}
.logo .brand-wordmark,.footer-logo .brand-wordmark{width:120px;font-size:24px;line-height:18px;white-space:nowrap}
.brand-wordmark--hero{font-size:clamp(4rem,13vw,11rem);line-height:.82;white-space:nowrap}
