:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d121d;
  --bg-card: rgba(16, 24, 39, 0.75);
  --bg-card-hover: rgba(22, 34, 55, 0.85);
  --bg-card-solid: #111827;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 242, 254, 0.35);
  --border-purple: rgba(139, 92, 246, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #00f2fe;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --gradient-brand: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #8b5cf6 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.18), transparent 70%);
  --gradient-card-glow: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --gradient-telegram: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  --gradient-whatsapp: linear-gradient(135deg, #25d366 0%, #128c7e 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-glow-cyan: 0 0 40px rgba(0, 242, 254, 0.22);
  --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.22);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 242, 254, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 40%, rgba(139, 92, 246, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 70%, rgba(16, 185, 129, 0.06), transparent 60%),
    var(--bg-primary);
  min-height: 100vh;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.15;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #a78bfa 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Background Grid Pattern */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 25%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 25%, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 14, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
  flex-shrink: 0;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.logo-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

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

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

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-btn-text-short {
  display: none;
}

.nav-btn-text-full {
  display: inline;
}

/* =========================================================================
   BUTTONS & BADGES
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #07090e;
  box-shadow: 0 4px 25px rgba(0, 242, 254, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(0, 242, 254, 0.55);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.12);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
  position: relative;
  padding: 150px 0 100px;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-headline {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-channel-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
}

.channel-tag.ig {
  border-color: rgba(220, 39, 67, 0.4);
  color: #f472b6;
}

.channel-tag.tg {
  border-color: rgba(34, 158, 217, 0.4);
  color: #38bdf8;
}

.channel-tag.wa {
  border-color: rgba(37, 211, 102, 0.4);
  color: #4ade80;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item .metric-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.metric-item .metric-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 6px;
}

/* =========================================================================
   INTERACTIVE HERO COCKPIT SIMULATOR
   ========================================================================= */
.cockpit-card {
  position: relative;
  background: rgba(13, 18, 29, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(20px);
}

.cockpit-header {
  padding: 16px 20px;
  background: rgba(10, 14, 23, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cockpit-channel-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 4px;
}

.channel-tab-btn {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.channel-tab-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.channel-tab-btn.active.ig {
  background: var(--gradient-instagram);
  color: #ffffff;
}

.channel-tab-btn.active.tg {
  background: var(--gradient-telegram);
  color: #ffffff;
}

.channel-tab-btn.active.wa {
  background: var(--gradient-whatsapp);
  color: #ffffff;
}

.cockpit-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

.cockpit-fullscreen-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.cockpit-fullscreen-pill:hover {
  background: var(--accent-cyan);
  color: #07090e;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.chat-viewport {
  height: 380px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: radial-gradient(circle at 50% 100%, rgba(0, 242, 254, 0.04), transparent 70%);
}

.chat-viewport::-webkit-scrollbar {
  width: 5px;
}

.chat-viewport::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.chat-msg {
  max-width: 82%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

.chat-msg.client {
  align-self: flex-end;
}

.chat-msg.concierge {
  align-self: flex-start;
}

.msg-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.5;
  position: relative;
}

.chat-msg.client .msg-bubble {
  background: #2563eb;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-msg.concierge .msg-bubble {
  background: rgba(30, 41, 59, 0.9);
  color: #f1f5f9;
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
}

.msg-meta {
  font-size: 0.7rem;
  color: var(--text-dim);
  padding: 0 4px;
}

.chat-msg.client .msg-meta {
  text-align: right;
}

/* Rich Preview Card inside Chat */
.chat-deal-card {
  margin-top: 8px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-deal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
}

.chat-slots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.slot-btn {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--accent-cyan);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slot-btn:hover {
  background: var(--accent-cyan);
  color: #07090e;
}

.chat-quick-scenarios {
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.scenario-pill {
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scenario-pill:hover {
  background: rgba(0, 242, 254, 0.12);
  color: #ffffff;
  border-color: rgba(0, 242, 254, 0.3);
}

.cockpit-input-bar {
  padding: 14px 18px;
  background: rgba(10, 14, 23, 0.95);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cockpit-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-smooth);
}

.cockpit-input:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.cockpit-send-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  border: none;
  color: #07090e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cockpit-send-btn:hover {
  transform: scale(1.05);
}

/* Typing indicator */
.typing-dots {
  display: inline-flex;
  gap: 4px;
  padding: 4px 8px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: bounceDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounceDot {

  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.3;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* =========================================================================
   SECTION HEADERS
   ========================================================================= */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================================
   PROBLEM SECTION (Математика болю)
   ========================================================================= */
.problem-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(244, 63, 94, 0.03) 50%, transparent 100%);
}

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

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.pain-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 15px 35px -10px rgba(244, 63, 94, 0.15);
}

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

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

.pain-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-rose);
  margin-bottom: 22px;
}

.pain-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #ffffff;
}

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

.pain-stat-chip {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
}

/* =========================================================================
   INTERACTIVE ROI & LOST REVENUE CALCULATOR
   ========================================================================= */
.calculator-section {
  padding: 100px 0;
  position: relative;
}

.calculator-card {
  background: rgba(13, 18, 29, 0.95);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9), var(--shadow-glow-cyan);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
}

.slider-val-badge {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.custom-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 15px var(--accent-cyan);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.calc-results-box {
  background: rgba(18, 26, 43, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.result-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

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

.result-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.result-number.loss {
  color: var(--accent-rose);
}

.result-number.gain {
  color: var(--accent-emerald);
  font-size: 1.5rem;
  font-weight: 800;
}

.calc-cta-wrap {
  margin-top: 10px;
}

/* =========================================================================
   FEATURES SHOWCASE
   ========================================================================= */
.features-section {
  padding: 100px 0;
  position: relative;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse .feature-text-side {
  direction: ltr;
}

.feature-block.reverse .feature-media-side {
  direction: ltr;
}

.feature-tag-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.tag-cyan {
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.tag-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.tag-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.feature-heading {
  font-size: 2.2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}

.feature-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-media-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.feature-media-card:hover {
  transform: scale(1.02);
  border-color: var(--border-accent);
}

.feature-media-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feature-glass-overlay {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================================================
   HOW IT WORKS (Схема воронки)
   ========================================================================= */
.workflow-section {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05), transparent 70%);
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-purple);
  box-shadow: var(--shadow-glow-purple);
}

.step-num-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* =========================================================================
   COMPARISON TABLE
   ========================================================================= */
.comparison-section {
  padding: 100px 0;
}

.comparison-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.compare-table th {
  background: rgba(10, 14, 23, 0.95);
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
}

.compare-table th.highlight-col,
.compare-table td.highlight-col {
  background: rgba(0, 242, 254, 0.05);
  border-left: 1px solid rgba(0, 242, 254, 0.2);
  border-right: 1px solid rgba(0, 242, 254, 0.2);
}

.compare-table th.highlight-col {
  color: var(--accent-cyan);
}

.status-badge-bad {
  color: var(--accent-rose);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-badge-mid {
  color: var(--accent-amber);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-badge-best {
  color: var(--accent-cyan);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =========================================================================
   PRICING SECTION
   ========================================================================= */
.pricing-section {
  padding: 100px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
  background: rgba(16, 24, 39, 0.9);
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.18);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-5px);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #07090e;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

.plan-name {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

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

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.plan-period {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.45;
}

.plan-features-list li span {
  flex-shrink: 0;
  line-height: 1.45;
}

/* =========================================================================
   FAQ ACCORDION
   ========================================================================= */
.faq-section {
  padding: 100px 0;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

/* =========================================================================
   BOTTOM CTA BANNER
   ========================================================================= */
.cta-banner-section {
  padding: 80px 0 120px;
  position: relative;
}

.cta-banner-card {
  position: relative;
  background: radial-gradient(ellipse at 50% -20%, rgba(0, 242, 254, 0.25), transparent 70%), var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 242, 254, 0.15);
}

.cta-banner-card h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  margin-bottom: 18px;
}

.cta-banner-card p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 30px;
  background: rgba(7, 9, 14, 0.95);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================================================
   MODAL (LEAD CAPTURE)
   ========================================================================= */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-window {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 38px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), var(--shadow-glow-cyan);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-window {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.modal-header h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.form-status {
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.form-status.error {
  display: block;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fb7185;
}

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

  .calculator-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px;
  }

  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 36px;
  }

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

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 1120px) and (min-width: 1025px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

  .btn-lg {
    padding: 13px 18px;
    font-size: 0.92rem;
  }

  /* Navbar */
  .navbar {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .nav-container {
    height: 60px;
    padding: 0 16px;
    gap: 8px;
  }

  .logo-wrapper {
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .logo-icon svg {
    width: 18px;
    height: 18px;
  }

  .logo-title {
    font-size: 0.95rem;
    white-space: nowrap;
    gap: 6px;
  }

  .logo-badge {
    font-size: 0.58rem;
    padding: 2px 6px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.03em;
  }

  .nav-actions {
    flex-shrink: 0;
  }

  .nav-actions .btn-sm {
    padding: 7px 12px;
    font-size: 0.78rem;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 9px;
  }

  .nav-actions .btn-sm svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }

  /* Hero Section */
  .hero-section {
    padding: 80px 0 44px;
  }

  .hero-content {
    gap: 16px;
  }

  .hero-content .pill-badge {
    font-size: clamp(0.66rem, 2.7vw, 0.74rem);
    padding: 5px 12px;
    white-space: nowrap;
    max-width: 100%;
    align-self: flex-start;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 7vw, 2.35rem);
    line-height: 1.15;
    word-break: break-word;
  }

  .hero-description {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.92rem;
    gap: 8px;
  }

  .hero-cta-group .btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .hero-channel-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .channel-tag {
    font-size: 0.72rem;
    padding: 5px 11px;
    white-space: nowrap;
  }

  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
  }

  .metric-item .metric-val {
    font-size: 1.45rem;
  }

  .metric-item .metric-label {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* Simulator Card in Hero */
  .hero-simulator-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .cockpit-card {
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .cockpit-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .cockpit-channel-tabs {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 4px;
  }

  .channel-tab-btn {
    flex: 1;
    justify-content: center;
    padding: 6px 8px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .cockpit-status {
    width: 100%;
    justify-content: flex-end;
    font-size: 0.72rem;
  }

  .chat-viewport {
    height: 310px;
    padding: 14px 12px;
    gap: 12px;
  }

  .chat-msg {
    max-width: 90%;
  }

  .msg-bubble {
    padding: 10px 14px;
    font-size: 0.85rem;
    line-height: 1.5;
    word-break: break-word;
  }

  .chat-quick-scenarios {
    padding: 10px 12px;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .chat-quick-scenarios::-webkit-scrollbar {
    display: none;
  }

  .scenario-pill {
    padding: 5px 11px;
    font-size: 0.72rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .cockpit-input-bar {
    padding: 10px 12px;
    gap: 8px;
  }

  .cockpit-input {
    padding: 10px 12px;
    font-size: 16px; /* Prevents iOS Safari auto-zoom on iPhone */
  }

  .cockpit-send-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  /* Section Spacing & Titles */
  .problem-section,
  .calculator-section,
  .features-section,
  .workflow-section,
  .comparison-section,
  .pricing-section,
  .faq-section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: clamp(1.6rem, 5.6vw, 2.1rem);
    line-height: 1.2;
    word-break: break-word;
  }

  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  /* Pain Cards */
  .pain-cards-grid {
    gap: 16px;
  }

  .pain-card {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .pain-icon-wrapper {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }

  .pain-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .pain-desc {
    font-size: 0.88rem;
  }

  /* Calculator */
  .calculator-card {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
    gap: 20px;
  }

  .calc-sliders {
    gap: 18px;
  }

  .slider-label {
    font-size: 0.85rem;
  }

  .slider-val-badge {
    font-size: 1.1rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .calc-results-box {
    padding: 20px 16px;
    gap: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .result-row {
    gap: 12px;
  }

  .result-label {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .result-number {
    font-size: 1.05rem;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
  }

  .result-number.gain {
    font-size: 1.25rem;
  }

  .calc-cta-wrap .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: clamp(0.78rem, 3.2vw, 0.88rem);
  }

  /* Features */
  .feature-block {
    gap: 22px;
    margin-bottom: 44px;
  }

  .feature-heading {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .feature-desc {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .feature-checklist li {
    font-size: 0.88rem;
    gap: 10px;
  }

  .feature-media-card {
    border-radius: var(--radius-md);
  }

  .feature-glass-overlay {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 12px;
    gap: 8px;
  }

  /* Workflow Steps */
  .steps-grid {
    gap: 14px;
  }

  .step-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .step-num-badge {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .step-title {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .step-desc {
    font-size: 0.85rem;
  }

  /* Comparison Table */
  .comparison-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
  }

  .compare-table {
    min-width: 540px;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pricing-card {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
  }

  .pricing-card.featured {
    transform: none !important;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
  }

  .featured-ribbon {
    white-space: nowrap;
    font-size: 0.72rem;
    padding: 4px 14px;
    top: -12px;
  }

  .plan-name {
    font-size: 1.25rem;
  }

  .plan-price {
    font-size: 2.2rem;
  }

  .pricing-card .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.88rem;
  }

  /* FAQ */
  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 18px;
    font-size: 0.88rem;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 18px;
  }

  /* CTA Banner */
  .cta-banner-section {
    padding: 48px 0 64px;
  }

  .cta-banner-card {
    padding: 32px 18px;
    border-radius: var(--radius-lg);
  }

  .cta-banner-card h2 {
    font-size: 1.65rem;
    margin-bottom: 12px;
  }

  .cta-banner-card p {
    font-size: 0.92rem;
    margin-bottom: 22px;
  }

  .cta-banner-card .btn-lg {
    width: 100%;
    justify-content: center;
    padding: 13px 14px;
    font-size: clamp(0.78rem, 3.2vw, 0.85rem);
    gap: 8px;
    white-space: nowrap;
  }

  .cta-banner-card .btn-lg svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  /* Footer */
  .footer {
    padding: 36px 0 24px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Lead Modal */
  .modal-backdrop {
    padding: 12px;
  }

  .modal-window {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-close-btn {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
  }

  .modal-header h3 {
    font-size: 1.3rem;
    padding-right: 28px;
  }

  .modal-header p {
    font-size: 0.86rem;
    margin-bottom: 18px;
  }

  .form-input {
    font-size: 16px; /* Prevents iOS Safari auto-zoom on iPhone */
    padding: 11px 14px;
  }

  .modal-window .btn-lg {
    padding: 13px 16px;
    font-size: 0.92rem;
    gap: 8px;
  }

  .modal-window .btn-lg svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
}

@media (max-width: 360px) {
  .nav-btn-text-full {
    display: none;
  }

  .nav-btn-text-short {
    display: inline;
  }

  .nav-container {
    padding: 0 10px;
  }

  .logo-title {
    font-size: 0.88rem;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
  }

  .hero-content .pill-badge {
    white-space: normal;
    font-size: 0.68rem;
  }
}