@import url('fonts.css');

/* ==========================================================================
   SPAKE LANDING PAGE — FIGMA 1:1 REPLICATION
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
  --font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-primary: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Brand Colors from Figma */
  --color-primary-blue: #1A5FFB;
  --color-accent-blue: #245BBB;
  --color-text-slate: #4A5D6D;
  --color-text-dark: #111827;
  --color-text-body: #1E293B;
  --color-white: #FFFFFF;
  
  /* Gradients */
  --grad-btn-login: linear-gradient(90deg, #15B2FC 0%, #1B51E9 100%);
  --grad-btn-hover: linear-gradient(90deg, #24BAFF 0%, #2A5DF5 100%);
  --grad-sky-bottom: linear-gradient(180deg, rgba(162, 226, 255, 0.2) 0%, rgba(105, 206, 255, 0.7) 40%, #56B9FF 100%);
  
  /* Glassmorphism */
  --glass-nav-bg: rgba(255, 255, 255, 0.12);
  --glass-nav-border: rgba(255, 255, 255, 0.55);
  --glass-pill-active: rgba(209, 231, 255, 0.52);
  
  --glass-card-bg: rgba(203, 226, 240, 0.24);
  --glass-card-border: rgba(255, 255, 255, 0.75);
  --glass-card-shadow: 0 16px 36px rgba(18, 92, 179, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  
  --site-max-width: 1440px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: #F8FBFE;
  color: var(--color-text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
}

button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, a, span {
  font-family: var(--font-family);
}

.page-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* --------------------------------------------------------------------------
   BACKGROUND LAYERS
   -------------------------------------------------------------------------- */
.page-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1250px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Futuristic City Backdrop */
.bg-city {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  height: 1100px;
  background-image: url('../assets/images/city-bg.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.88;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 60%, rgba(0,0,0,0) 95%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 60%, rgba(0,0,0,0) 95%);
}

/* Subtle Dither / Halftone Grid Effect as in Figma */
.bg-dither-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 900px;
  background-image: radial-gradient(rgba(100, 150, 200, 0.22) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.6;
}

/* Soft atmospheric wash */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(245, 250, 255, 0.25) 30%,
    rgba(175, 230, 255, 0.55) 65%,
    rgba(248, 251, 254, 0.95) 90%,
    #F8FBFE 100%
  );
}

.bg-radial-glow.top {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(200, 235, 255, 0.4) 60%, transparent 80%);
  filter: blur(60px);
}

.bg-radial-glow.bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 500px;
  background: radial-gradient(ellipse at bottom, rgba(69, 199, 255, 0.7) 0%, rgba(135, 218, 255, 0.3) 60%, transparent 90%);
  filter: blur(80px);
}

/* --------------------------------------------------------------------------
   LAYOUT WRAPPER
   -------------------------------------------------------------------------- */
.page-wrapper {
  position: relative;
  z-index: auto;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.site-header {
  width: 100%;
  padding: 32px 24px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 24px;
  box-shadow: 0 4px 20px rgba(0, 60, 150, 0.06);
}

.header-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.header-logo:hover {
  transform: scale(1.03);
}

.header-logo img {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
}

/* Desktop Navigation Pill */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  background: var(--glass-nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-nav-border);
  border-radius: 200px;
  padding: 8px 12px;
  box-shadow: 0 6px 24px rgba(0, 40, 100, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 11px 22px;
  font-size: 1.15rem; /* ~18-20px */
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text-dark);
  text-decoration: none;
  border-radius: 140px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary-blue);
  background: rgba(255, 255, 255, 0.4);
}

.nav-link.active {
  background: var(--glass-pill-active);
  font-weight: 500;
  color: #0E3E8C;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 8px rgba(0, 100, 220, 0.1);
}

/* Header Actions & Login Button */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--grad-btn-login);
  color: var(--color-white);
  border: none;
  border-radius: 55px;
  padding: 12px 28px 12px 32px;
  font-family: var(--font-family);
  font-size: 1.2rem; /* 19-20px */
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(27, 81, 233, 0.32);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-login:hover {
  background: var(--grad-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(27, 81, 233, 0.45);
}

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

.btn-login-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.btn-login:hover .btn-login-icon {
  transform: translateX(3px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2.2px;
  background-color: var(--color-text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 24px;
  margin-top: 12px;
  box-shadow: 0 16px 40px rgba(0, 40, 100, 0.15);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 99;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 18px;
  font-size: 1.1rem;
  color: var(--color-text-dark);
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  background: var(--glass-pill-active);
  color: var(--color-primary-blue);
  font-weight: 500;
}

.mobile-nav-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-full-width {
  width: 100%;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  width: 100%;
  padding-top: 36px;
  padding-bottom: 30px;
  position: relative;
}

.hero-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Typography */
.hero-text-content {
  text-align: center;
  max-width: 900px;
  margin: 15px auto 25px;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2rem, 3.4vw, 3rem); /* up to 48px */
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.title-highlight {
  color: var(--color-primary-blue);
}

.title-secondary {
  color: var(--color-text-slate);
}

.title-dark {
  color: var(--color-text-dark);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem); /* ~16px */
  font-weight: 300;
  line-height: 1.45;
  color: var(--color-text-dark);
  max-width: 820px;
  margin: 0 auto;
  opacity: 0.95;
}

/* --------------------------------------------------------------------------
   HERO STAGE (Phone + 3D Floating Icons)
   -------------------------------------------------------------------------- */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 520px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Stage Lighting & Clouds */
.stage-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

.glow-cyan {
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(69, 199, 255, 0.25) 0%, rgba(69, 199, 255, 0.03) 60%, transparent 80%);
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.glow-white {
  display: none;
}

/* Smooth, Airy, Billowing Cloud Transition (Edge-to-Edge Full Width Across Entire Viewport) */
.hero-smooth-clouds {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  height: 270px;
  pointer-events: none;
  overflow: visible;
  z-index: 4;
}

/* Wide diffused luminous horizontal cloud glow */
.cloud-mist-diffuse {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 230px;
  background: radial-gradient(ellipse at 50% 65%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 45%, rgba(248, 251, 254, 0.85) 75%, transparent 100%);
  filter: blur(24px);
  z-index: 1;
}

/* Multi-tier organic billowy cumulus cloud vector background */
.clouds-svg-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 255px;
  pointer-events: none;
}

.clouds-back {
  z-index: 2; /* Behind the hands */
}

.cloud-vector-back {
  width: 100%;
  height: 100%;
  display: block;
}

/* Front cloud billows: softly wrap bottom 20% of the cuffs */
.clouds-front-puffs {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 130px;
  z-index: 5; /* On top of cuffs, hands emerge naturally */
  pointer-events: none;
}

.cloud-front-billow {
  position: absolute;
  background: radial-gradient(ellipse at 50% 50%, #ffffff 0%, rgba(255, 255, 255, 0.96) 52%, rgba(255, 255, 255, 0) 80%);
  border-radius: 50%;
  filter: blur(14px);
  pointer-events: none;
}

.center-billow {
  width: 480px;
  height: 105px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
  opacity: 0.98;
}

.left-billow {
  width: 350px;
  height: 95px;
  left: 10%;
  bottom: 0;
  opacity: 0.96;
  filter: blur(15px);
}

.right-billow {
  width: 350px;
  height: 95px;
  right: 10%;
  bottom: 0;
  opacity: 0.96;
  filter: blur(15px);
}

/* Feathered gradient floor transitioning into the cards (Edge-to-Edge full width, seamless into #F8FBFE) */
.cloud-mist-gradient-bed {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 85px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 251, 254, 0.75) 45%, #F8FBFE 100%);
  filter: blur(4px);
  z-index: 6;
}

/* Central Phone with Hands emerging from clouds */
.hero-hands-wrapper {
  position: relative;
  z-index: 3;
  width: 740px; /* Exact 1:1 Figma size - Large and crystal clear */
  max-width: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -15px;
  mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0,0,0,0.4) 92%, transparent 99%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0,0,0,0.4) 92%, transparent 99%);
}

.hero-hands-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 18px 36px rgba(0, 40, 100, 0.14));
  transform: translateZ(0);
}

/* Hotspot Interactive Rating Zone directly on the phone's stars */
.phone-interactive-overlay {
  position: absolute;
  top: 34%;
  left: 33%;
  width: 34%;
  height: 8.5%;
  cursor: pointer;
  z-index: 10;
}

.stars-touch-zone {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.star-hit {
  flex: 1;
  height: 100%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.star-hit:hover {
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   FLOATING 3D ICONS
   -------------------------------------------------------------------------- */
.floating-icon {
  position: absolute;
  z-index: 5;
  transform: translateZ(0);
  will-change: transform;
}

.floating-icon:hover {
  transform: scale(1.08) translateY(-6px) translateZ(0) !important;
  filter: drop-shadow(0 15px 30px rgba(0, 70, 160, 0.25));
  cursor: pointer;
}

.icon-inner {
  animation: floatIdle 6s ease-in-out infinite;
  transform: translateZ(0);
}

.icon-inner img {
  display: block;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 10px 20px rgba(0, 50, 120, 0.12));
}

/* Specific Positions based on Figma Desktop (1440px) */
/* Top-Left: Google / 4-colors glass cube */
.icon-pos-google {
  top: 1%;
  left: 3%;
}
.icon-pos-google .icon-inner {
  animation-duration: 5.5s;
  animation-delay: 0s;
}
.icon-pos-google img {
  width: 170px;
}

/* Mid-Left: VK 3D glass cube */
.icon-pos-vk {
  top: 26%;
  left: 6%;
}
.icon-pos-vk .icon-inner {
  animation-duration: 6.8s;
  animation-delay: 1.2s;
}
.icon-pos-vk img {
  width: 310px;
}

/* Flying Message bubble towards phone */
.icon-pos-message {
  top: 42%;
  left: 30%;
  z-index: 6;
}
.icon-pos-message .icon-inner {
  animation-duration: 4.8s;
  animation-delay: 0.6s;
}
.icon-pos-message img {
  width: 135px;
}

/* Top-Right: Yandex Maps pin 3D glass cube */
.icon-pos-yandex {
  top: 3%;
  right: 3%;
}
.icon-pos-yandex .icon-inner {
  animation-duration: 6.2s;
  animation-delay: 0.8s;
}
.icon-pos-yandex img {
  width: 320px;
}

/* Mid-Right: 2GIS 3D glass cube */
.icon-pos-2gis {
  top: 48%;
  right: 17%;
}
.icon-pos-2gis .icon-inner {
  animation-duration: 5.8s;
  animation-delay: 1.8s;
}
.icon-pos-2gis img {
  width: 175px;
}

/* Gentle floating keyframes */
@keyframes floatIdle {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* --------------------------------------------------------------------------
   FEATURE CARDS GRID
   -------------------------------------------------------------------------- */
.cards-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 10;
  margin-top: -35px;
}

.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-card-border);
  border-radius: 40px;
  padding: 34px 30px;
  min-height: 202px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: var(--glass-card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  transform: translateZ(0);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(220, 240, 255, 0.35);
  box-shadow: 0 24px 48px rgba(18, 92, 179, 0.14), inset 0 1px 2px rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.95);
}

.card-glass-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.feature-card:hover .card-glass-glow {
  opacity: 1;
}

.card-title {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-accent-blue);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card-description {
  font-size: 1rem; /* 16px */
  font-weight: 300;
  line-height: 1.35;
  color: var(--color-text-body);
}

/* --------------------------------------------------------------------------
   LOGIN MODAL
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 50, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px rgba(0, 40, 100, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-dark);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #EFF6FF;
  color: var(--color-primary-blue);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-logo {
  margin: 0 auto 16px;
  height: auto;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-slate);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

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

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

.forgot-link {
  font-size: 0.85rem;
  color: var(--color-primary-blue);
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-family);
  font-size: 1rem;
  border: 1px solid rgba(0, 60, 150, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.25s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-primary-blue);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(26, 95, 251, 0.12);
}

.modal-submit-btn {
  width: 100%;
  margin-top: 10px;
}

.modal-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-slate);
}

.register-link {
  display: block;
  margin-top: 4px;
  color: var(--color-primary-blue);
  font-weight: 500;
  text-decoration: none;
}

.register-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Extra large screens / scaling container */
@media (max-width: 1366px) {
  .hero-stage {
    height: 560px;
  }
  .hero-hands-wrapper {
    width: 540px;
  }
  .icon-pos-vk img {
    width: 210px;
  }
  .icon-pos-yandex img {
    width: 190px;
  }
  .icon-pos-google img {
    width: 130px;
  }
  .icon-pos-2gis img {
    width: 120px;
  }
  .cards-grid {
    gap: 16px;
  }
  .feature-card {
    padding: 28px 24px;
    border-radius: 32px;
  }
}

/* Laptops / Desktops */
@media (max-width: 1180px) {
  .nav-link {
    padding: 9px 16px;
    font-size: 1.05rem;
  }
  .btn-login {
    font-size: 1.05rem;
    padding: 10px 22px;
  }
  .hero-stage {
    height: 500px;
  }
  .hero-hands-wrapper {
    width: 470px;
  }
  .icon-pos-vk {
    left: 4%;
  }
  .icon-pos-vk img {
    width: 180px;
  }
  .icon-pos-yandex {
    right: 2%;
  }
  .icon-pos-yandex img {
    width: 160px;
  }
  .icon-pos-2gis {
    right: 12%;
  }
  .icon-pos-2gis img {
    width: 105px;
  }
  .icon-pos-message {
    left: 27%;
  }
  .icon-pos-message img {
    width: 100px;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets */
@media (max-width: 992px) {
  .header-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-nav-drawer {
    display: block;
  }
  .hero-stage {
    height: 460px;
    margin-bottom: 20px;
  }
  .hero-hands-wrapper {
    width: 420px;
  }
  .cloud-left, .cloud-right {
    width: 320px;
  }
  .cloud-center {
    width: 500px;
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  .site-header {
    padding: 20px 16px;
  }
  .header-logo img {
    width: 140px;
  }
  .header-actions .btn-login {
    display: none;
  }
  .hero-section {
    padding-top: 16px;
    padding-bottom: 50px;
  }
  .hero-title {
    font-size: 1.85rem;
    margin-bottom: 16px;
  }
  .title-break {
    display: none;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .hero-stage {
    height: 380px;
    margin-top: 10px;
  }
  .hero-hands-wrapper {
    width: 340px;
  }

  .hero-smooth-clouds {
    width: 100vw;
    max-width: 100vw;
    bottom: -5px;
    height: 180px;
  }
  .cloud-puff-far-left,
  .cloud-puff-far-right {
    display: none;
  }
  .puff-center-cuffs {
    width: 320px;
    height: 100px;
    bottom: 12px;
  }
  
  /* Scale down and reposition floating icons for mobile */
  .icon-pos-google {
    top: 0%;
    left: 2%;
  }
  .icon-pos-google img {
    width: 70px;
  }
  .icon-pos-vk {
    top: 40%;
    left: 0%;
  }
  .icon-pos-vk img {
    width: 100px;
  }
  .icon-pos-message {
    top: 50%;
    left: 18%;
  }
  .icon-pos-message img {
    width: 60px;
  }
  .icon-pos-yandex {
    top: 2%;
    right: 2%;
  }
  .icon-pos-yandex img {
    width: 90px;
  }
  .icon-pos-2gis {
    top: 55%;
    right: 4%;
  }
  .icon-pos-2gis img {
    width: 70px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  .feature-card {
    padding: 26px 22px;
    border-radius: 28px;
    min-height: auto;
  }
  .card-title {
    font-size: 1.35rem;
  }
  .modal-card {
    padding: 30px 20px;
    border-radius: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-hands-wrapper {
    width: 300px;
  }
  .hero-stage {
    height: 330px;
  }
}


/* ==========================================================================
   ADDITIONAL LANDING PAGE SECTIONS (FIGMA + FULL SITE SPECIFICATION)
   ========================================================================== */

/* --------------------------------------------------------------------------
   COMMON HELPERS & LAYOUT
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 85px 0;
  position: relative;
  z-index: 2;
}

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

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

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

.section-badge {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-blue);
  background: rgba(26, 95, 251, 0.08);
  border: 1px solid rgba(26, 95, 251, 0.16);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
  letter-spacing: -0.025em;
  max-width: 880px;
  margin: 0 auto;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--color-text-slate);
  line-height: 1.6;
  max-width: 720px;
  margin: 16px auto 0;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   2. STATS RIBBON
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 40px 0 60px;
  position: relative;
  z-index: 5;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(18, 92, 179, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26, 95, 251, 0.1);
}

.stat-number {
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #1A5FFB 0%, #0E3E8C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 8px;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--color-text-slate);
  line-height: 1.45;
  display: block;
}

/* --------------------------------------------------------------------------
   3. INTEGRATIONS SECTION — CLEAN, MINIMAL, ULTRA-MODERN
   -------------------------------------------------------------------------- */
.integrations-section {
  position: relative;
  overflow: hidden;
  background: #F8FBFE;
  padding: 100px 0 110px;
}

/* Subtle, Soft Luminous Ambient Glow (Zero clutter, zero stretched vectors) */
.integrations-ambient-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  max-width: 100%;
  height: 500px;
  background: radial-gradient(ellipse at 50% 50%, rgba(21, 178, 252, 0.08) 0%, rgba(186, 230, 253, 0.04) 50%, transparent 75%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

/* Section Header & High-Contrast Typography */
.integrations-section .section-header {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto 56px;
}

.integrations-section .section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-blue);
  background: rgba(26, 95, 251, 0.07);
  border: 1px solid rgba(26, 95, 251, 0.16);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.integrations-section .section-heading {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin-bottom: 18px;
}

.integrations-section .section-lead {
  font-size: 1.05rem;
  font-weight: 450;
  color: #334155;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
}

/* Modern Integrations Grid */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* Modern Card: Sleek White Canvas, Elevated, Minimal */
.integration-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 32px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.integration-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 95, 251, 0.35);
  box-shadow: 0 20px 45px rgba(26, 95, 251, 0.09), 0 4px 10px rgba(26, 95, 251, 0.03);
}

/* Card Top: Category and Tech pill */
.int-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.int-card-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1A5FFB;
}

.int-card-tech {
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Card Title & Description */
.int-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.int-card-desc {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

/* Card Footer: Feature Pill + Arrow */
.int-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #F1F5F9;
}

.int-feature-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1E293B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 5px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.int-arrow-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.integration-card:hover .int-arrow-link {
  background: #1A5FFB;
  color: #FFFFFF;
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4. FEATURES SHOWCASE
   -------------------------------------------------------------------------- */
.features-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-detail-card {
  background: #FFFFFF;
  border: 1px solid rgba(215, 230, 248, 0.85);
  border-radius: 28px;
  padding: 38px 32px;
  position: relative;
  box-shadow: 0 12px 35px rgba(18, 92, 179, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(26, 95, 251, 0.09);
  border-color: rgba(26, 95, 251, 0.3);
}

.feature-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(26, 95, 251, 0.08);
  color: var(--color-primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-detail-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.feature-detail-desc {
  font-size: 0.96rem;
  color: var(--color-text-slate);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.feature-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0E3E8C;
  background: #EBF4FF;
  border: 1px solid rgba(26, 95, 251, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
}

/* --------------------------------------------------------------------------
   5. HOW IT WORKS
   -------------------------------------------------------------------------- */
.steps-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid rgba(215, 230, 248, 0.85);
  border-radius: 26px;
  padding: 36px 28px;
  box-shadow: 0 10px 30px rgba(18, 92, 179, 0.04);
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26, 95, 251, 0.08);
  border-color: rgba(26, 95, 251, 0.3);
}

.step-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--grad-btn-login);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(27, 81, 233, 0.25);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.94rem;
  color: var(--color-text-slate);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   6. PRICING SECTION
   -------------------------------------------------------------------------- */
.pricing-switcher-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.switcher-label {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-slate);
}

.switcher-label.active-highlight {
  color: var(--color-text-dark);
  font-weight: 600;
}

.pricing-switch-btn {
  width: 56px;
  height: 32px;
  border-radius: 20px;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
  padding: 3px;
}

.pricing-switch-btn.active {
  background: var(--color-primary-blue);
}

.switch-ball {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-switch-btn.active .switch-ball {
  transform: translateX(24px);
}

.discount-pill {
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid rgba(215, 230, 248, 0.85);
  border-radius: 28px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(18, 92, 179, 0.04);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(26, 95, 251, 0.1);
}

.pricing-card.featured-plan {
  border: 2px solid var(--color-primary-blue);
  box-shadow: 0 20px 50px rgba(26, 95, 251, 0.14);
  transform: scale(1.02);
  z-index: 2;
}

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

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-btn-login);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(26, 95, 251, 0.35);
  white-space: nowrap;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.plan-target {
  font-size: 0.92rem;
  color: var(--color-text-slate);
  margin-bottom: 24px;
  min-height: 42px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(220, 230, 242, 0.8);
}

.plan-currency {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.plan-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.03em;
}

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

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

.plan-features li {
  font-size: 0.94rem;
  color: var(--color-text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.plan-features li::before {
  content: '✓';
  color: var(--color-primary-blue);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.btn-plan-select {
  width: 100%;
  padding: 14px;
  border-radius: 40px;
  border: 1.5px solid rgba(26, 95, 251, 0.5);
  background: transparent;
  color: var(--color-primary-blue);
  font-family: var(--font-family);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-plan-select:hover {
  background: var(--color-primary-blue);
  color: #fff;
  border-color: var(--color-primary-blue);
}

.btn-plan-select.btn-featured {
  background: var(--grad-btn-login);
  border: none;
  color: #fff;
  box-shadow: 0 8px 24px rgba(27, 81, 233, 0.35);
}

.btn-plan-select.btn-featured:hover {
  background: var(--grad-btn-hover);
  box-shadow: 0 12px 30px rgba(27, 81, 233, 0.48);
}

/* --------------------------------------------------------------------------
   7. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(215, 230, 248, 0.85);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(18, 92, 179, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.active {
  border-color: rgba(26, 95, 251, 0.45);
  box-shadow: 0 10px 30px rgba(26, 95, 251, 0.07);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-family);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary-blue);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer-content {
  max-height: 350px;
  padding: 0 28px 24px;
}

.faq-answer-content p {
  font-size: 0.98rem;
  color: var(--color-text-slate);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. CONVERSION CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner-card {
  background: linear-gradient(135deg, #1A5FFB 0%, #0E3E8C 100%);
  border-radius: 36px;
  padding: 64px 48px;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 24px 60px rgba(26, 95, 251, 0.28);
  position: relative;
  overflow: hidden;
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-heading {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto 16px;
  color: #FFFFFF;
}

.cta-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.cta-fast-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-input {
  flex: 1;
  min-width: 260px;
  padding: 15px 24px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-family);
  font-size: 1.05rem;
  outline: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-btn {
  background: #FFFFFF !important;
  color: var(--color-primary-blue) !important;
  font-weight: 600 !important;
  padding: 15px 32px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}

.cta-btn:hover {
  background: #F0F6FF !important;
  color: #0E3E8C !important;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   9. MODERN, AIRY, CLEAN FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid rgba(220, 232, 245, 0.9);
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand-text {
  font-size: 0.94rem;
  color: var(--color-text-slate);
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 24px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
  padding: 8px 16px;
  border-radius: 30px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 22px;
}

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

.footer-links a {
  font-size: 0.94rem;
  color: var(--color-text-slate);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-primary-blue);
  transform: translateX(3px);
}

.footer-contact-item {
  margin-bottom: 14px;
}

.contact-label {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-slate);
  margin-bottom: 3px;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value:hover {
  color: var(--color-primary-blue);
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid rgba(230, 238, 248, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--color-text-slate);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 0.88rem;
  color: var(--color-text-slate);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES FOR SECTIONS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-card.featured-plan {
    transform: none;
  }
  .pricing-card.featured-plan:hover {
    transform: translateY(-5px);
  }
  .steps-flow-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .features-showcase-grid {
    grid-template-columns: 1fr;
  }
  .integrations-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-banner-card {
    padding: 40px 24px;
    border-radius: 28px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   CLEAN SEAMLESS PAGE LAYOUT & MODERN THEMATIC ABSTRACTIONS
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body.page-body {
  overflow-x: hidden;
  position: relative;
  background-color: #F8FBFE;
  color: var(--color-text-main);
  font-family: var(--font-primary);
}

.page-wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* Fixed Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 950;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

/* Site Main & Standard Continuous Sections */
.site-main {
  width: 100%;
  position: relative;
}

.section {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.content-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* 1. Hero Section: Generous Header Spacing, Full-Width Cloud Transition */
.section-hero {
  padding-top: 175px;
  padding-bottom: 50px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #F8FBFE;
  position: relative;
  overflow: hidden;
}

.section-hero .hero-section {
  width: 100%;
}

/* 2. Integrations Section */
.section-integrations {
  padding: 95px 0 115px;
  background: #FFFFFF;
}

/* 3. Features Section */
.section-features {
  padding: 105px 0 115px;
  background: #F8FBFE;
}

/* 4. How It Works Section */
.section-how {
  padding: 105px 0 115px;
  background: #FFFFFF;
}

/* 5. Pricing Section */
.section-pricing {
  padding: 105px 0 120px;
  background: #F8FBFE;
}

/* 6. Knowledge / FAQ Section */
.section-knowledge {
  padding: 105px 0 115px;
  background: #FFFFFF;
}

/* 7. CTA Banner Section */
.section-cta {
  padding: 90px 0 60px;
  background: #F8FBFE;
}

.section-cta .cta-banner-card {
  position: relative;
  z-index: 2;
}

/* Integrated Stats Ribbon inside Integrations */
.stats-ribbon-integrated {
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.stats-ribbon-integrated .stat-number {
  font-size: 2.1rem;
  margin-bottom: 6px;
}

.stats-ribbon-integrated .stat-label {
  font-size: 0.88rem;
}

/* ==========================================================================
   THEMATIC ABSTRACT BACKGROUND DECOR SYSTEM (В КАЖДЫЙ ЭКРАН)
   ========================================================================== */
.section-abstracts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  z-index: 1;
}

/* Fluid Abstract Mesh Orbs */
.abstract-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.55;
  transform: translateZ(0);
}

/* Hero Orbs */
.orb-hero-left {
  width: 550px;
  height: 550px;
  top: 5%;
  left: -150px;
  background: radial-gradient(circle, rgba(21, 178, 252, 0.22) 0%, rgba(26, 95, 251, 0.08) 55%, transparent 75%);
}

.orb-hero-right {
  width: 600px;
  height: 600px;
  top: 10%;
  right: -200px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.2) 0%, rgba(56, 189, 248, 0.08) 60%, transparent 80%);
}

/* Integrations Orbs */
.orb-integrations-top {
  width: 650px;
  height: 650px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(21, 178, 252, 0.16) 0%, rgba(129, 140, 248, 0.08) 50%, transparent 75%);
}

.orb-integrations-bottom {
  width: 600px;
  height: 600px;
  bottom: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(26, 95, 251, 0.12) 0%, rgba(56, 189, 248, 0.06) 55%, transparent 75%);
}

.glow-int-center {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(230, 245, 255, 0.7) 0%, transparent 70%);
  filter: blur(40px);
}

/* Features Orbs & Contour Rings */
.orb-feat-1 {
  width: 500px;
  height: 500px;
  top: 15%;
  left: -100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, rgba(21, 178, 252, 0.06) 60%, transparent 75%);
}

.orb-feat-2 {
  width: 550px;
  height: 550px;
  bottom: 5%;
  right: -100px;
  background: radial-gradient(circle, rgba(21, 178, 252, 0.15) 0%, rgba(26, 95, 251, 0.05) 55%, transparent 75%);
}

.abstract-contour-rings {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  opacity: 0.35;
}

.contour-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(26, 95, 251, 0.3);
}

.ring-1 { width: 440px; height: 440px; }
.ring-2 { width: 320px; height: 320px; border-style: solid; border-color: rgba(21, 178, 252, 0.25); }
.ring-3 { width: 200px; height: 200px; }

/* How It Works Flow Line & Orbs */
.orb-how-center {
  width: 700px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(21, 178, 252, 0.12) 0%, rgba(16, 185, 129, 0.06) 60%, transparent 75%);
}

.abstract-step-flow-line {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  height: 120px;
}

.abstract-step-flow-line svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Pricing Spotlight Flare */
.orb-pricing-spotlight {
  width: 650px;
  height: 650px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(26, 95, 251, 0.15) 0%, rgba(21, 178, 252, 0.08) 45%, transparent 70%);
  filter: blur(55px);
}

.orb-pricing-side {
  width: 450px;
  height: 450px;
  bottom: 0;
  left: -80px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.12) 0%, transparent 70%);
}

/* FAQ Orbs & Curve */
.orb-faq-left {
  width: 500px;
  height: 500px;
  top: 10%;
  left: -120px;
  background: radial-gradient(circle, rgba(21, 178, 252, 0.12) 0%, transparent 70%);
}

.orb-faq-right {
  width: 550px;
  height: 550px;
  bottom: 10%;
  right: -150px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

.abstract-svg-curved-line {
  position: absolute;
  top: 25%;
  left: 0;
  width: 100%;
  height: 400px;
}

.abstract-svg-curved-line svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* CTA Orb */
.orb-cta-ambient {
  width: 800px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(26, 95, 251, 0.18) 0%, rgba(21, 178, 252, 0.1) 50%, transparent 75%);
  filter: blur(60px);
}

/* Decorative Vectors: Ribbons and Waves */
.abstract-svg-ribbon,
.abstract-svg-wave {
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  height: 550px;
}

.abstract-svg-ribbon svg,
.abstract-svg-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Abstract Dot Pattern Grid */
.abstract-grid-dots {
  position: absolute;
  width: 320px;
  height: 240px;
  background-image: radial-gradient(rgba(26, 95, 251, 0.15) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.6;
}

.dots-hero {
  top: 18%;
  right: 4%;
}

.dots-pricing {
  bottom: 12%;
  left: 3%;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .content-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .section-hero {
    padding-top: 130px;
  }
  .content-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .abstract-contour-rings,
  .abstract-grid-dots {
    display: none;
  }
}
