/* ============================================
   AquaCRM — CSS для продающего сайта
   CRM для центров детского плавания
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Nunito:wght@300;400;500;600;700&family=Raleway:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --white: #FFFFFF;
  --lavender-light: #F5F0FF;
  --lavender: #EDE5FF;
  --lavender-deep: #D4C4F5;
  --mint-light: #E8FFE8;
  --mint: #D0F5D0;
  --accent-purple: #7C3AED;
  --accent-purple-dark: #6D28D9;
  --accent-purple-light: #A78BFA;
  --accent-green: #10B981;
  --accent-green-dark: #059669;
  --accent-green-light: #6EE7B7;
  --text-dark: #1E1B4B;
  --text-body: #4B5563;
  --text-muted: #9CA3AF;
  --border-light: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(124, 58, 237, 0.06);
  --shadow-md: 0 4px 16px rgba(124, 58, 237, 0.08);
  --shadow-lg: 0 8px 32px rgba(124, 58, 237, 0.12);
  --shadow-xl: 0 16px 48px rgba(124, 58, 237, 0.16);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
}

input, textarea, select {
  font-family: var(--font-body);
  outline: none;
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--lavender-light);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.section-label svg {
  width: 16px;
  height: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.highlight {
  color: var(--accent-purple);
}

.highlight-green {
  color: var(--accent-green);
}

/* --- Animated Background Shapes --- */
.bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(80px);
}

.bg-shape--purple {
  background: var(--accent-purple);
  width: 500px;
  height: 500px;
  animation: floatShape 20s ease-in-out infinite;
}

.bg-shape--green {
  background: var(--accent-green);
  width: 400px;
  height: 400px;
  animation: floatShape 25s ease-in-out infinite reverse;
}

.bg-shape--lavender {
  background: var(--lavender-deep);
  width: 600px;
  height: 600px;
  animation: floatShape 30s ease-in-out infinite;
}

/* --- ANIMATION 1: Floating Shapes --- */
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 40px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.02); }
}

/* --- ANIMATION 2: Fade In Up (scroll-triggered) --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- ANIMATION 3: Pulse Glow --- */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.3); }
  50% { box-shadow: 0 0 0 20px rgba(124, 58, 237, 0); }
}

/* --- ANIMATION 4: Wave --- */
@keyframes wave {
  0% { transform: translateX(0) translateZ(0) scaleY(1); }
  50% { transform: translateX(-25%) translateZ(0) scaleY(0.55); }
  100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

/* --- ANIMATION 5: Typing cursor --- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- ANIMATION 6: Slide In from Left --- */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* --- ANIMATION 7: Counter Count Up --- */
@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* --- ANIMATION 8: Ripple on click --- */
@keyframes ripple {
  0% { transform: scale(0); opacity: 0.6; }
  100% { transform: scale(4); opacity: 0; }
}

/* --- ANIMATION 9: Bubble float --- */
@keyframes bubbleFloat {
  0% { transform: translateY(100%) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* --- ANIMATION 10: Shimmer --- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-green));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: transform var(--transition-bounce);
}

.logo:hover .logo-icon {
  transform: rotate(-10deg) scale(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-purple);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10.01%);
  transform: scale(10);
  opacity: 0;
  transition: transform 0.5s, opacity 1s;
  pointer-events: none;
}

.btn:active::after {
  transform: scale(0);
  opacity: 0.3;
  transition: 0s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--white);
  color: var(--accent-purple);
  border: 2px solid var(--lavender);
}

.btn-secondary:hover {
  border-color: var(--accent-purple);
  background: var(--lavender-light);
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-purple);
  padding: 14px 24px;
}

.btn-ghost:hover {
  background: var(--lavender-light);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO SECTION — Storytelling Start
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  background: linear-gradient(180deg, var(--lavender-light) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-pain {
  font-size: 1.2rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-pain strong {
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-purple);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero CRM Demo */
.hero-demo {
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-demo-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--white);
  border: 1px solid var(--border-light);
}

/* Water waves at the bottom of hero */
.hero-waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: hidden;
  z-index: 2;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,100 720,0 1080,40 C1260,60 1380,20 1440,40 L1440,100 L0,100 Z'/%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
  animation: wave 8s linear infinite;
}

.hero-wave:nth-child(2) {
  opacity: 0.5;
  animation-duration: 12s;
  animation-direction: reverse;
  bottom: -5px;
}

/* Floating bubbles */
.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.bubble {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.08);
  animation: bubbleFloat linear infinite;
}

.bubble:nth-child(1) { left: 10%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: 0s; }
.bubble:nth-child(2) { left: 25%; width: 14px; height: 14px; animation-duration: 16s; animation-delay: 2s; }
.bubble:nth-child(3) { left: 45%; width: 24px; height: 24px; animation-duration: 14s; animation-delay: 4s; }
.bubble:nth-child(4) { left: 65%; width: 12px; height: 12px; animation-duration: 18s; animation-delay: 1s; }
.bubble:nth-child(5) { left: 80%; width: 18px; height: 18px; animation-duration: 15s; animation-delay: 3s; }
.bubble:nth-child(6) { left: 35%; width: 10px; height: 10px; animation-duration: 20s; animation-delay: 5s; }
.bubble:nth-child(7) { left: 55%; width: 16px; height: 16px; animation-duration: 13s; animation-delay: 7s; }
.bubble:nth-child(8) { left: 90%; width: 22px; height: 22px; animation-duration: 17s; animation-delay: 2s; }

/* =============================================
   CRM DEMO MOCKUP (CSS-drawn, not images)
   ============================================= */
.crm-mockup {
  background: #FAFBFE;
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.8rem;
}

.crm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.crm-topbar-dots {
  display: flex;
  gap: 6px;
}

.crm-topbar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.crm-topbar-dot--red { background: #FF6B6B; }
.crm-topbar-dot--yellow { background: #FFD93D; }
.crm-topbar-dot--green { background: #6BCB77; }

.crm-topbar-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.crm-topbar-user {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple-light), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}

.crm-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 340px;
}

.crm-sidebar {
  background: var(--white);
  border-right: 1px solid var(--border-light);
  padding: 16px 0;
}

.crm-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.crm-sidebar-item:hover,
.crm-sidebar-item.active {
  color: var(--accent-purple);
  background: var(--lavender-light);
}

.crm-sidebar-item.active {
  border-right: 3px solid var(--accent-purple);
}

.crm-sidebar-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crm-content {
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* CRM Screens (animated) */
.crm-screen {
  position: absolute;
  inset: 20px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.crm-screen.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Schedule Screen */
.crm-schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.crm-schedule-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.crm-schedule-nav {
  display: flex;
  gap: 8px;
}

.crm-schedule-nav button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--lavender-light);
  color: var(--accent-purple);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crm-schedule-grid {
  display: grid;
  grid-template-columns: 50px repeat(5, 1fr);
  gap: 4px;
}

.crm-schedule-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 8px 0;
  text-align: right;
  padding-right: 8px;
}

.crm-schedule-day-header {
  text-align: center;
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--text-dark);
  padding: 4px;
}

.crm-schedule-slot {
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 42px;
}

.crm-schedule-slot:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  z-index: 2;
  position: relative;
}

.crm-schedule-slot--purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
  border-left: 3px solid var(--accent-purple);
}

.crm-schedule-slot--green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green-dark);
  border-left: 3px solid var(--accent-green);
}

.crm-schedule-slot--blue {
  background: rgba(59, 130, 246, 0.1);
  color: #2563EB;
  border-left: 3px solid #3B82F6;
}

.crm-schedule-slot--amber {
  background: rgba(245, 158, 11, 0.1);
  color: #B45309;
  border-left: 3px solid #F59E0B;
}

.crm-schedule-slot-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-schedule-slot-info {
  font-size: 0.6rem;
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}

/* Client Card Screen */
.crm-client-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.crm-client-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, var(--lavender-light), var(--mint-light));
}

.crm-client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.crm-client-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.crm-client-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.crm-client-body {
  padding: 16px;
}

.crm-client-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.crm-client-children {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.crm-child-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--lavender-light);
  transition: transform var(--transition-fast);
}

.crm-child-card:hover {
  transform: translateX(4px);
}

.crm-child-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
}

.crm-child-info {
  flex: 1;
}

.crm-child-name {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-dark);
}

.crm-child-age {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.crm-child-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green-dark);
}

.crm-child-badge--warning {
  background: rgba(245, 158, 11, 0.1);
  color: #B45309;
}

/* Medical docs section in client card */
.crm-docs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crm-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 6px;
  background: #FAFBFE;
  font-size: 0.72rem;
}

.crm-doc-name {
  font-weight: 600;
  color: var(--text-dark);
}

.crm-doc-status {
  font-weight: 700;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 100px;
}

.crm-doc-status--ok {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green-dark);
}

.crm-doc-status--warning {
  background: rgba(245, 158, 11, 0.1);
  color: #B45309;
}

.crm-doc-status--expired {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

/* Analytics Screen */
.crm-analytics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.crm-stat-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: transform var(--transition-fast);
}

.crm-stat-card:hover {
  transform: translateY(-2px);
}

.crm-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.crm-stat-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
}

.crm-stat-change {
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 2px;
}

.crm-stat-change--up {
  color: var(--accent-green);
}

.crm-stat-change--down {
  color: #EF4444;
}

/* Mini bar chart */
.crm-chart {
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.crm-chart-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.crm-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.crm-chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.crm-chart-bar:hover {
  opacity: 0.8;
}

.crm-chart-bar--purple {
  background: linear-gradient(to top, var(--accent-purple), var(--accent-purple-light));
}

.crm-chart-bar--green {
  background: linear-gradient(to top, var(--accent-green), var(--accent-green-light));
}

.crm-chart-labels {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.crm-chart-label {
  flex: 1;
  text-align: center;
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* =============================================
   PAIN POINTS SECTION
   ============================================= */
.pain-section {
  background: var(--white);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pain-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #EF4444, #F59E0B);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FEF2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.pain-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pain-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   SOLUTION SECTION — transition from pain to hope
   ============================================= */
.solution-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--lavender-light) 100%);
  position: relative;
}

.solution-transition {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.solution-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-green));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 1.5rem;
  animation: pulseGlow 2s infinite;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solution-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-smooth);
  display: flex;
  gap: 20px;
}

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

.solution-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.solution-card-icon--purple {
  background: var(--lavender-light);
  color: var(--accent-purple);
}

.solution-card-icon--green {
  background: var(--mint-light);
  color: var(--accent-green);
}

.solution-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.solution-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.solution-card-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-green);
}

/* =============================================
   INTERACTIVE DEMO SECTION
   ============================================= */
.demo-section {
  background: var(--lavender-light);
  overflow: hidden;
}

.demo-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-tab {
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--white);
  border: 2px solid transparent;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.demo-tab:hover {
  color: var(--accent-purple);
  border-color: var(--lavender);
}

.demo-tab.active {
  color: var(--accent-purple);
  background: var(--white);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-md);
}

.demo-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.demo-screen-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

/* =============================================
   CALCULATOR SECTION
   ============================================= */
.calc-section {
  background: var(--white);
}

.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.calc-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.calc-field {
  margin-bottom: 24px;
}

.calc-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.calc-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.calc-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color var(--transition-fast);
  background: var(--white);
}

.calc-input:focus {
  border-color: var(--accent-purple);
}

.calc-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--lavender);
  outline: none;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-purple);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
  transition: transform var(--transition-fast);
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-range-value {
  text-align: right;
  font-weight: 700;
  color: var(--accent-purple);
  font-size: 1.1rem;
  margin-top: 4px;
}

.calc-results {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-dark));
  border-radius: var(--radius-lg);
  padding: 36px;
  color: white;
  position: sticky;
  top: 100px;
}

.calc-results-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: white;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.calc-result-row:last-child {
  border-bottom: none;
}

.calc-result-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

.calc-result-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
}

.calc-result-highlight {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  text-align: center;
}

.calc-result-highlight-label {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 4px;
}

.calc-result-highlight-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent-green-light);
}

/* =============================================
   TESTIMONIALS / CASES
   ============================================= */
.cases-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--lavender-light) 100%);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
  position: relative;
}

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

.case-card-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}

.case-card-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 2.5rem;
  color: var(--accent-purple-light);
  font-style: normal;
  line-height: 1;
}

.case-card-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-card-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-purple);
  font-size: 0.9rem;
}

.case-card-author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.case-card-author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.case-card-result {
  margin-top: 16px;
  padding: 12px;
  background: var(--mint-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--accent-green-dark);
  font-weight: 600;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-dark));
  color: white;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
  animation: floatShape 20s ease-in-out infinite;
}

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

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
}

.cta-subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-white {
  background: white;
  color: var(--accent-purple);
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.cta-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cta-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-smooth);
}

.cta-btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  background: linear-gradient(135deg, var(--accent-purple-light), var(--accent-green));
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* =============================================
   PAGE-SPECIFIC: Features
   ============================================= */
.features-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--lavender-light) 0%, var(--white) 100%);
  text-align: center;
}

.feature-module {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-light);
}

.feature-module:last-child {
  border-bottom: none;
}

.feature-module .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-module:nth-child(even) .container {
  direction: rtl;
}

.feature-module:nth-child(even) .container > * {
  direction: ltr;
}

.feature-module-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-module-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-module-text {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.feature-list-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list-check svg {
  width: 12px;
  height: 12px;
  color: var(--accent-green);
}

/* =============================================
   PAGE-SPECIFIC: Pricing
   ============================================= */
.pricing-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--lavender-light) 0%, var(--white) 100%);
  text-align: center;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 2px solid var(--border-light);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card--featured {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured::before {
  content: 'Популярный';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-dark));
  color: white;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pricing-card-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
}

.pricing-card-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-setup {
  margin-top: 60px;
  text-align: center;
}

.pricing-setup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-setup-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--lavender-light);
  text-align: center;
}

.pricing-setup-card-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-purple);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 auto 12px;
}

.pricing-setup-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.pricing-setup-card-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =============================================
   PAGE: Demo Request
   ============================================= */
.demo-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--lavender-light) 0%, var(--white) 100%);
}

.demo-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.demo-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.demo-form-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-input.error {
  border-color: #EF4444;
}

.form-error {
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 4px;
  display: none;
}

.form-input.error + .form-error {
  display: block;
}

.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition-fast);
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--accent-purple);
}

.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-dark);
  min-height: 100px;
  resize: vertical;
  transition: border-color var(--transition-fast);
}

.form-textarea:focus {
  border-color: var(--accent-purple);
}

/* Demo benefits sidebar */
.demo-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.demo-benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.demo-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.demo-benefit-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.demo-benefit-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   PAGE: Blog
   ============================================= */
.blog-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, var(--lavender-light) 0%, var(--white) 100%);
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0 80px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
}

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

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--lavender-light), var(--mint-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--lavender-light);
  color: var(--accent-purple);
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================
   PAGE: About
   ============================================= */
.about-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--lavender-light) 0%, var(--white) 100%);
}

.about-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 80px 0;
}

.about-value-card {
  text-align: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-value-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}

.about-value-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.about-value-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Team */
.team-section {
  padding: 80px 0;
  background: var(--lavender-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition-smooth);
}

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

.team-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}

.team-card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =============================================
   PAGE: Contacts
   ============================================= */
.contacts-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--lavender-light) 0%, var(--white) 100%);
}

.contacts-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--lavender-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--accent-purple);
}

.contact-info-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

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

/* Form Success Overlay */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--accent-green);
}

.form-success-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* =============================================
   NUMBERS / COUNTER SECTION
   ============================================= */
.numbers-section {
  background: var(--white);
  padding: 60px 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.number-item {
  padding: 24px;
}

.number-value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-purple);
  line-height: 1;
  margin-bottom: 8px;
}

.number-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =============================================
   HOW IT WORKS (Steps)
   ============================================= */
.steps-section {
  background: var(--lavender-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--lavender-deep);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-purple);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   COMPARISON vs EXCEL/COMPETITORS
   ============================================= */
.comparison-section {
  background: var(--white);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 16px 20px;
  text-align: left;
  background: var(--lavender-light);
  white-space: nowrap;
}

.comparison-table th:last-child {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(16, 185, 129, 0.1));
  color: var(--accent-purple);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
}

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

.comparison-table td:last-child {
  background: rgba(124, 58, 237, 0.02);
}

.comparison-yes {
  color: var(--accent-green);
  font-weight: 700;
}

.comparison-no {
  color: #EF4444;
  font-weight: 600;
}

.comparison-partial {
  color: #F59E0B;
  font-weight: 600;
}

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-demo {
    max-width: 600px;
    margin: 0 auto;
  }

  .crm-body {
    grid-template-columns: 160px 1fr;
  }

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

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

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .feature-module .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-module:nth-child(even) .container {
    direction: ltr;
  }

  .demo-hero .container {
    grid-template-columns: 1fr;
  }

  .about-hero .container {
    grid-template-columns: 1fr;
  }

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

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

  .contacts-hero .container {
    grid-template-columns: 1fr;
  }

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

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

  .steps-grid::before {
    display: none;
  }

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

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

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-number {
    font-size: 1.6rem;
  }

  .crm-body {
    grid-template-columns: 1fr;
  }

  .crm-sidebar {
    display: flex;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 8px 12px;
    gap: 4px;
  }

  .crm-sidebar-item {
    white-space: nowrap;
    padding: 8px 14px;
    border-right: none;
    border-radius: 8px;
    font-size: 0.75rem;
  }

  .crm-sidebar-item.active {
    border-right: none;
    background: var(--accent-purple);
    color: white;
  }

  .crm-content {
    min-height: 280px;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    flex-direction: column;
  }

  .calc-container {
    grid-template-columns: 1fr;
  }

  .calc-results {
    position: static;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-setup-cards {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

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

  .about-values {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .demo-tabs {
    gap: 6px;
  }

  .demo-tab {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }

  .crm-schedule-grid {
    grid-template-columns: 40px repeat(3, 1fr);
  }

  .crm-analytics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .number-value {
    font-size: 2rem;
  }
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-green));
  z-index: 1001;
  transition: width 0.1s;
  width: 0%;
}

/* =============================================
   LOADING SHIMMER EFFECT
   ============================================= */
.shimmer {
  background: linear-gradient(90deg,
    var(--lavender-light) 25%,
    var(--white) 50%,
    var(--lavender-light) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* =============================================
   TOOLTIP on hover
   ============================================= */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 6px 12px;
  background: var(--text-dark);
  color: white;
  font-size: 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all var(--transition-fast);
  z-index: 100;
}

[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* =============================================
   CURSOR FOLLOWER (decorative)
   ============================================= */
.cursor-follower {
  position: fixed;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--accent-purple);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.15s ease-out;
  mix-blend-mode: difference;
}

.cursor-follower.visible {
  opacity: 0.4;
}

/* Hide cursor follower on touch devices */
@media (hover: none) {
  .cursor-follower {
    display: none;
  }
}
