:root {
  --primary: #8A2BE2;
  --secondary: #00CED1;
  --accent: #FF00FF;
  --dark: #0A0A14;
  --darker: #05050A;
  --light: #F0F8FF;
  --gray: #2A2A3A;
  --neon-glow: 0 0 10px var(--accent), 0 0 20px var(--accent), 0 0 30px var(--primary);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.7;
  color: var(--light);
  background-color: var(--darker);
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(0, 206, 209, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 40% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 20%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

.tech-font {
  font-family: 'Orbitron', monospace;
  letter-spacing: 1px;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Unique Background Elements */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary), transparent);
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.floating-element:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
  background: radial-gradient(circle, var(--accent), transparent);
}

.floating-element:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 10%;
  animation-delay: -5s;
  animation-duration: 25s;
}

.floating-element:nth-child(3) {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 20%;
  animation-delay: -10s;
  animation-duration: 30s;
  background: radial-gradient(circle, var(--secondary), transparent);
}

.audio-wave {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: -1;
  opacity: 0.1;
  background: linear-gradient(transparent, var(--primary));
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/></svg>');
  mask-size: cover;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(50px, -50px) rotate(90deg); }
  50% { transform: translate(0, -100px) rotate(180deg); }
  75% { transform: translate(-50px, -50px) rotate(270deg); }
}

/* Geometric Header (fix click area) */
.geometric-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;

  /* IMPORTANT: убираем фон/клип с самого элемента */
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;

  /* оставляем transition как было */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Рисуем тот же визуал через псевдо-слой, он НЕ мешает кликам */
.geometric-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(138, 43, 226, 0.3);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 90% 100%, 0 100%);
  pointer-events: none; /* ключевая строка */
}

/* scrolled состояние — меняем клип у псевдо-слоя */
.geometric-header.scrolled {
  height: 80px;
}

.geometric-header.scrolled::before {
  clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%);
}

.header-content {
  position: relative;
  z-index: 1;

  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

/* === Fix misaligned click area on header nav (hit-test bug) === */
.geometric-header{
  isolation: isolate; /* отдельный stacking context */
}

.geometric-header::before{
  z-index: 0; /* фон всегда под контентом */
}

.header-content{
  z-index: 1; /* контент поверх фона */
}

.header-content nav,
.header-content .nav-polygon{
  position: relative;
  z-index: 2;
  transform: translate3d(0,0,0); /* принудительный compositing layer */
  -webkit-transform: translate3d(0,0,0);
}

.nav-polygon li a{
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
}


.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  color: var(--accent);
  font-size: 2.2rem;
  margin-right: 10px;
  text-shadow: 0 0 10px var(--accent);
}

.logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

.nav-polygon {
  display: flex;
  list-style: none;
}

.nav-polygon li {
  margin-left: 25px;
  position: relative;
}

.nav-polygon li a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.nav-polygon li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.3), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.nav-polygon li a:hover::before {
  left: 100%;
}

.nav-polygon li a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Section with Asymmetric Layout */
.hero-asymmetric {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 120px;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  position: relative;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.1;
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: rgba(240, 248, 255, 0.8);
  max-width: 500px;
}

.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visualizer-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.visualizer-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(138, 43, 226, 0.3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s infinite ease-in-out;
}

.visualizer-circle:nth-child(2) {
  width: 400px;
  height: 400px;
  animation-delay: -1s;
  border-color: rgba(0, 206, 209, 0.3);
}

.visualizer-circle:nth-child(3) {
  width: 200px;
  height: 200px;
  animation-delay: -2s;
  border-color: rgba(255, 0, 255, 0.3);
}

.visualizer-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary), var(--darker));
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: var(--accent);
  box-shadow: var(--neon-glow);
  z-index: 10;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

/* Services - Hexagonal Grid */
.services-section {
  padding: 150px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-title h2 {
  font-size: 3.2rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: rgba(240, 248, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.hexagonal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 150px);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.hexagon-item {
  position: relative;
  background-color: rgba(42, 42, 58, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(138, 43, 226, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
}

.hexagon-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 206, 209, 0.1));
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
}

.hexagon-item:hover::before {
  opacity: 1;
}

.hexagon-item:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.hexagon-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hexagon-item:nth-child(2) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hexagon-item:nth-child(3) {
  grid-column: 3 / 4;
  grid-row: 2 / 4;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hexagon-item:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 3 / 5;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon-item:nth-child(5) {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hexagon-item:nth-child(6) {
  grid-column: 2 / 4;
  grid-row: 4 / 5;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  z-index: 2;
}

.hexagon-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--accent);
}

/* Hex #2: keep icon visible but don't push content down */
.hexagon-item:nth-child(2) .hexagon-icon{
  transform: none;     /* важно: убираем смещение вниз */
  margin-bottom: 8px;
}

/* Hex #2: lift content up so subtitle isn't clipped */
.hexagon-item:nth-child(2) .hexagon-content{
  top: 50%;
  transform: translate(-50%, -62%); /* было -50%, поднимаем выше */
}

.hexagon-item:nth-child(2) .hexagon-content h3{
  margin-bottom: 8px; /* было 10px */
}

.hexagon-item:nth-child(2) .hexagon-content p{
  font-size: 0.92rem;
  line-height: 1.2;
  margin-top: 6px;
}


.hexagon-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.hexagon-content .price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
}

/* Pricing - Circular Layout */
.pricing-section {
  padding: 150px 0;
  position: relative;
}

.circular-pricing {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 600px;
  margin: 50px auto;
}

.pricing-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--dark), var(--darker));
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
}

.pricing-center-text {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing-orb {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: rgba(42, 42, 58, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.pricing-orb:hover {
  transform: scale(1.1);
  box-shadow: var(--neon-glow);
}

.pricing-orb:nth-child(2) {
  top: 10%;
  left: 30%;
  border-color: var(--primary);
}

.pricing-orb:nth-child(3) {
  top: 10%;
  right: 30%;
  border-color: var(--secondary);
}

.pricing-orb:nth-child(4) {
  bottom: 10%;
  left: 20%;
  border-color: var(--accent);
}

.pricing-orb:nth-child(5) {
  bottom: 10%;
  right: 20%;
  border-color: var(--primary);
}

.pricing-orb h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.pricing-orb .price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 15px 0;
}

/* Testimonials - Parallax Slider */
.testimonials-section {
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}

.parallax-slider {
  position: relative;
  height: 500px;
  width: 100%;
  margin: 50px auto;
}

.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease-out;
}

.testimonial-card {
  width: 500px;
  background-color: rgba(42, 42, 58, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.testimonial-text {
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 30px;
  position: relative;
  padding-left: 20px;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.5;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-weight: 700;
  font-size: 1.3rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 15px;
}

.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(42, 42, 58, 0.8);
  border: 2px solid var(--primary);
  color: var(--light);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.control-btn:hover {
  background-color: var(--primary);
  transform: scale(1.1);
}

/* Contact - Asymmetric Layout */
.contact-section {
  padding: 150px 0;
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form-container {
  background-color: rgba(42, 42, 58, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px;
  border: 1px solid rgba(138, 43, 226, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.1), transparent 70%);
  z-index: -1;
}

.form-title {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--accent);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: rgba(240, 248, 255, 0.9);
}

.form-input {
  width: 100%;
  padding: 15px;
  background-color: rgba(10, 10, 20, 0.7);
  border: 1px solid rgba(138, 43, 226, 0.5);
  border-radius: 10px;
  color: var(--light);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.contact-info-asymmetric {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-card {
  background-color: rgba(42, 42, 58, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(138, 43, 226, 0.3);
  position: relative;
  overflow: hidden;
}

.info-card:nth-child(1) {
  transform: rotate(-2deg);
}

.info-card:nth-child(2) {
  transform: rotate(2deg);
  align-self: flex-end;
}

.info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--secondary);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  color: var(--accent);
  margin-top: 5px;
}

.business-hours h4 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--secondary);
}

/* Footer - Geometric Design */
.geometric-footer {
  background-color: rgba(10, 10, 20, 0.95);
  padding: 100px 0 40px;
  margin-top: 150px;
  position: relative;
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo-section {
  grid-column: 1 / 3;
}

.footer-logo {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-about {
  color: rgba(240, 248, 255, 0.7);
  line-height: 1.8;
}

.footer-links h4,
.footer-services h4 {
  color: var(--light);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  bottom: 0;
  left: 0;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 12px;
}

.footer-links ul li a,
.footer-services ul li a {
  color: rgba(240, 248, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(138, 43, 226, 0.3);
  padding-top: 40px;
  text-align: center;
}

.policy-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.policy-link {
  color: rgba(240, 248, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.policy-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s;
}

.policy-link:hover { color: var(--accent); }
.policy-link:hover::after { width: 100%; }

.policy-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  text-align: left;
  background-color: rgba(42, 42, 58, 0.5);
  border-radius: 10px;
  padding: 0 30px;
  margin-top: 20px;
}

.policy-content.active {
  max-height: 500px;
  padding: 30px;
}

.copyright {
  color: rgba(240, 248, 255, 0.5);
  margin-top: 30px;
  font-size: 0.9rem;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--light);
  padding: 16px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.cta-button:hover::before { left: 100%; }

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(138, 43, 226, 0.4);
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.6);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-title { font-size: 3.2rem; }

  .hexagonal-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 130px);
    max-width: 700px;
  }

  .hexagon-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
  .hexagon-item:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
  .hexagon-item:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 4; }
  .hexagon-item:nth-child(4) { grid-column: 1 / 2; grid-row: 3 / 5; }
  .hexagon-item:nth-child(5) { grid-column: 1 / 2; grid-row: 5 / 6; }
  .hexagon-item:nth-child(6) { grid-column: 2 / 3; grid-row: 4 / 6; }

  .circular-pricing {
    height: 800px;
    flex-direction: column;
  }

  .pricing-orb {
    position: static;
    margin: 20px 0;
    width: 300px;
    height: 150px;
    border-radius: 20px;
  }

  .pricing-center {
    position: static;
    transform: none;
    margin: 30px auto;
  }
}

@media (max-width: 992px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    height: 400px;
    order: -1;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-logo-section {
    grid-column: 1 / 3;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }

  .nav-polygon {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 20, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s;
    z-index: 999;
  }

  .nav-polygon.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-polygon li { margin: 15px 0; }

  .hero-title { font-size: 2.8rem; }
  .section-title h2 { font-size: 2.5rem; }

  .hexagonal-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
    max-width: 400px;
  }

  .hexagon-item:nth-child(1),
  .hexagon-item:nth-child(2),
  .hexagon-item:nth-child(3),
  .hexagon-item:nth-child(4),
  .hexagon-item:nth-child(5),
  .hexagon-item:nth-child(6) {
    grid-column: 1 / 2;
  }

  .hexagon-item:nth-child(1) { grid-row: 1 / 2; }
  .hexagon-item:nth-child(2) { grid-row: 2 / 3; }
  .hexagon-item:nth-child(3) { grid-row: 3 / 4; }
  .hexagon-item:nth-child(4) { grid-row: 4 / 5; }
  .hexagon-item:nth-child(5) { grid-row: 5 / 6; }
  .hexagon-item:nth-child(6) { grid-row: 6 / 7; }

  .footer-container { grid-template-columns: 1fr; }
  .footer-logo-section { grid-column: 1 / 2; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .section-title h2 { font-size: 2rem; }

  .contact-form-container { padding: 30px 20px; }
  .info-card { padding: 30px 20px; }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* ===== Packages: interactive details ===== */
.pricing-orb.active{
  box-shadow: var(--neon-glow);
  transform: scale(1.08);
}

.pricing-orb.active:hover{
  transform: scale(1.10);
}

.package-details{
  max-width: 980px;
  margin: 40px auto 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}

.package-details.active{
  opacity: 1;
  transform: translateY(0);
}

.package-details-inner{
  background-color: rgba(42, 42, 58, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 34px 34px;
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

.package-details-inner::before{
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 0, 255, 0.10), transparent 55%),
              radial-gradient(circle at 70% 80%, rgba(0, 206, 209, 0.10), transparent 55%);
  pointer-events: none;
}

.package-details-header{
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.package-details-header h3{
  font-size: 1.8rem;
  margin: 0;
}

.package-badge{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 255, 0.35);
  color: var(--accent);
  background: rgba(10, 10, 20, 0.55);
  font-weight: 800;
  min-width: 90px;
  text-align: center;
}

.package-includes{
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.package-includes li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(240, 248, 255, 0.85);
}

.package-includes li::before{
  content: '✦';
  color: var(--secondary);
  margin-top: 1px;
}

.package-actions{
  display: flex;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

#choose-package[disabled]{
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 576px){
  .package-details-inner{ padding: 26px 20px; }
  .package-details-header{ flex-direction: column; align-items: flex-start; }
}

/* ===== Pricing orbs: make long text fit cleanly ===== */
.pricing-orb h3{
  font-size: 1.35rem;        /* было 1.5rem */
  line-height: 1.12;
  max-width: 16ch;           /* ограничиваем ширину строки */
  margin: 0 auto 8px;
  text-wrap: balance;        /* красивее переносы (если поддерживается) */
}

.pricing-orb .price{
  font-size: 2.2rem;         /* было 2.5rem */
  margin: 12px 0;
}

.pricing-orb p{
  font-size: 0.98rem;
  line-height: 1.35;
  max-width: 22ch;           /* чтобы подпись тоже аккуратно переносилась */
  margin: 0 auto;
}

/* ===== Neo Dropdown (custom select) ===== */
.neo-select{
  position: relative;
  width: 100%;
}

.neo-select__native{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.neo-select__btn{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 15px 16px;
  background-color: rgba(10, 10, 20, 0.7);
  border: 1px solid rgba(138, 43, 226, 0.5);
  border-radius: 10px;
  color: var(--light);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.neo-select__btn:hover{
  border-color: rgba(255, 0, 255, 0.65);
  box-shadow: 0 0 18px rgba(255, 0, 255, 0.18);
}

.neo-select__btn:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(255, 0, 255, 0.28);
}

.neo-select__text{
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.neo-select__chev{
  transition: transform .28s ease;
  opacity: .9;
}

.neo-select.open .neo-select__chev{
  transform: rotate(180deg);
}

/* меню */
.neo-select__menu{
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: 100%;

  background: rgba(10, 10, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(138, 43, 226, 0.35);
  border-radius: 14px;
  overflow: hidden;

  max-height: 260px;
  overflow-y: auto;

  opacity: 0;
  transform: translateY(-10px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  z-index: 50;
}

.neo-select.open .neo-select__menu{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* опции */
.neo-option{
  padding: 12px 14px;
  cursor: pointer;
  color: rgba(240, 248, 255, 0.86);
  transition: background .18s ease, color .18s ease, transform .18s ease;
  position: relative;
}

.neo-option:hover{
  background: linear-gradient(90deg, rgba(138, 43, 226, 0.18), rgba(255, 0, 255, 0.14));
  color: var(--light);
}

.neo-option:active{
  transform: scale(.99);
}

.neo-option.selected{
  color: var(--accent);
  background: linear-gradient(90deg, rgba(255, 0, 255, 0.18), rgba(0, 206, 209, 0.12));
}

.neo-option.selected::after{
  content: "";
  position: absolute;
  inset: 0;
  border-left: 3px solid rgba(255, 0, 255, 0.8);
  pointer-events: none;
}

/* скролл в меню (необязательно, но выглядит дороже) */
.neo-select__menu::-webkit-scrollbar{ width: 10px; }
.neo-select__menu::-webkit-scrollbar-thumb{
  background: rgba(138, 43, 226, 0.35);
  border-radius: 999px;
  border: 2px solid rgba(10, 10, 20, 0.95);
}
