/* ==============================================
   STYLE.CSS — Инновации на пальцах
   ==============================================
   Color Scheme: NEON DARK (Deep Navy + Electric Cyan + Lime)
   Font: Unbounded (Google Fonts)
   CHANGE_FONT_HERE — Replace 'Unbounded' below and in index.html
   ============================================== */

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Neon Dark Color Scheme */
  --bg: #060b1e;
  --bg-alt: #0c1333;
  --surface: #121a42;
  --surface2: #1a2456;
  --text: #e0e6f7;
  --text-muted: #8892b0;
  --accent: #00e5ff;
  --accent2: #76ff03;
  --accent-rgb: 0, 229, 255;
  --accent2-rgb: 118, 255, 3;
  --danger: #ff4c6a;
  --white: #ffffff;
  --radius: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(var(--accent-rgb), 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Unbounded', system-ui, -apple-system, sans-serif;
  /* CHANGE_FONT_HERE */
  --container: 1200px;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

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

a:hover {
  color: var(--accent2);
}

ul {
  list-style: none;
}

/* ==================== CONTAINER ==================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==================== SECTION COMMON ==================== */
.section-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--white), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

.services,
.about,
.testimonials,
.contacts {
  text-align: center;
}

.section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.4);
}

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

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

.btn--outline:hover {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: var(--accent);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* Submit button spinner */
.btn--submit {
  min-width: 180px;
}

.btn__spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn--loading .btn__text {
  opacity: 0;
}

.btn--loading .btn__spinner {
  display: block;
  position: absolute;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 11, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.08);
  transition: all var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
}

.logo__text {
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

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

.nav__link:hover::after {
  width: 100%;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.burger__line {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.burger.active .burger__line:nth-child(2) {
  opacity: 0;
}

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

/* Mobile nav */
@media (max-width: 1024px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: var(--bg-alt);
    border-left: 1px solid rgba(var(--accent-rgb), 0.1);
    padding: 6rem 2rem 2rem;
    transition: right var(--transition);
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav__link {
    font-size: 1.1rem;
  }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(var(--accent-rgb), 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(118, 255, 3, 0.08) 0%, transparent 50%),
    var(--bg);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero__content {
  text-align: left;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.3);
  }

  50% {
    box-shadow: 0 0 15px 5px rgba(var(--accent-rgb), 0.1);
  }
}

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--white) 30%, var(--accent) 70%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
  font-style: italic;
}

/* Hero visual (right side) */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.hero__glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.25), transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
  filter: blur(40px);
}

@keyframes glow-pulse {

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

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.hero__card-float {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ==================== SERVICES ==================== */
.services {
  padding: 6rem 0;
  background: var(--bg-alt);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.3), transparent);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

  .service-card--tall {
    grid-row: span 2;
  }

  .service-card--wide {
    grid-column: span 2;
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), 0.08);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: left;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.25);
  box-shadow: var(--shadow-glow);
}

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

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==================== ABOUT / FEATURES ==================== */
.about {
  padding: 6rem 0;
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), 0.06);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  text-align: left;
  transition: all var(--transition);
  position: relative;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::after {
  width: 60%;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(118, 255, 3, 0.08));
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

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

/* ==================== TESTIMONIALS ==================== */
.testimonials {
  padding: 6rem 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.3), transparent);
}

.testimonials__carousel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.testimonials__slider {
  flex: 1;
  overflow: hidden;
  cursor: grab;
}

.testimonials__slider:active {
  cursor: grabbing;
}

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), 0.08);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  text-align: left;
  transition: all var(--transition);
  position: relative;
  flex: 0 0 100%;
  max-width: 100%;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(var(--accent-rgb), 0.2);
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    padding: 3rem;
  }
}

/* Slider Nav */
.slider-nav {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: var(--accent);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  z-index: 10;
}

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

.slider-nav:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4);
}

.slider-pagination {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.pagination-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.3);
}


.testimonial-card__stars {
  color: #ffc107;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
  opacity: 0.9;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--accent-rgb), 0.2);
  /* Blur placeholder for lazy load */
  background: rgba(var(--accent-rgb), 0.05);
  filter: blur(0);
  transition: filter 0.3s;
}

.testimonial-card__avatar[loading="lazy"] {
  background: linear-gradient(135deg, var(--surface2), var(--surface));
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==================== CONTACTS ==================== */
.contacts {
  padding: 6rem 0;
  position: relative;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: rgba(18, 26, 66, 0.7);
  padding: 4rem;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(var(--accent-rgb), 0.05);
  position: relative;
  transition: var(--transition);
}

.contact-form:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(var(--accent-rgb), 0.08);
}

@media (max-width: 768px) {
  .contact-form {
    padding: 2.5rem 1.5rem;
    gap: 1.25rem;
  }
}

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

  .form-group--full {
    grid-column: span 2;
  }
}


.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.required {
  color: var(--danger);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 0.85rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--danger);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.3rem;
  min-height: 1.2rem;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.15rem;
  accent-color: var(--accent);
}

.checkbox-label a {
  color: var(--accent);
}

/* CAPTCHA group */
.captcha-group {
  text-align: left;
}

.captcha-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Form status */
.form-status {
  text-align: center;
  min-height: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-status.success {
  color: var(--accent2);
}

.form-status.error {
  color: var(--danger);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid rgba(var(--accent-rgb), 0.08);
  padding: 4rem 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

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

@media (min-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer__logo {
  margin-bottom: 1rem;
}

.footer__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer__heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer__contacts li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer__contacts svg {
  flex-shrink: 0;
  color: var(--accent);
}

.footer__bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(var(--accent-rgb), 0.06);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ==================== MODALS ==================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

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

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  max-width: 620px;
  width: calc(100% - 2rem);
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}

.modal.active .modal__content {
  transform: translateY(0) scale(1);
}

.modal__content--sm {
  max-width: 420px;
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(var(--accent-rgb), 0.08);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal__close:hover {
  background: rgba(var(--accent-rgb), 0.2);
  color: var(--accent);
}

.modal__content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.modal__body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 1.25rem 0 0.5rem;
}

.modal__body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Success modal */
.success-icon {
  margin-bottom: 1.5rem;
}

.modal--success .modal__content--sm p {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ==================== COOKIE POPUP ==================== */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  width: calc(100% - 2rem);
  max-width: 520px;
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-popup.visible {
  bottom: 1.5rem;
}

.cookie-popup__inner {
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cookie-popup__inner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cookie-popup__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb), 0.25);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-rgb), 0.4);
}

/* ==================== SELECTION ==================== */
::selection {
  background: rgba(var(--accent-rgb), 0.3);
  color: var(--white);
}

/* ==================== FOCUS VISIBLE ==================== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ==================== RESPONSIVE UTILITIES ==================== */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero__card-float {
    padding: 1.5rem;
  }

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

/* Body scroll lock when modal/nav is open */
body.no-scroll {
  overflow: hidden;
}

/* ==================== PRINT ==================== */
@media print {

  .header,
  .cookie-popup,
  .modal,
  .burger {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
/* ==================== CTA SECTION ==================== */
.cta {
  padding: 8rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.cta__card {
  position: relative;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(var(--accent2-rgb), 0.08));
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  padding: 5rem 2rem;
  border-radius: var(--radius-2xl);
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
}

.cta__title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  line-height: 1.2;
}

.cta__text {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .cta { padding: 5rem 0; }
  .cta__title { font-size: 2rem; }
  .cta__text { font-size: 1rem; }
  .cta__card { padding: 3rem 1.5rem; }
}
