/* ===== RESET & GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0a0a0f;
  --bg-card: rgba(20, 20, 30, 0.6);
  --purple: #8b5cf6;
  --pink: #ec4899;
  --blue: #6366f1;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --border: rgba(139, 92, 246, 0.2);
  --glow: rgba(139, 92, 246, 0.5);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container-header,
.section-container,
.hero-container,
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Clamp any stray inline media so они не раздувают макет */
.section-container > svg,
.section-container > img {
  max-width: 140px;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
.header-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-main.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
}

.container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-logo:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.header-cta {
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.burger-line {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: flex;
}

.mobile-link,
.mobile-cta {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.mobile-link:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--text-primary);
}

.mobile-cta {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  text-align: center;
  font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero-section {
  padding: 10rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

.badge-icon {
  font-size: 1.2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-image {
  position: relative;
}

.image-float-wrapper {
  position: relative;
  animation: float 4s ease-in-out infinite;
}

.hero-main-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

.floating-card {
  position: absolute;
  background: rgba(20, 20, 30, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.floating-card-1 {
  top: 10%;
  right: -10%;
  animation: float 3s ease-in-out infinite;
}

.floating-card-2 {
  bottom: 15%;
  left: -10%;
  animation: float 3.5s ease-in-out infinite 0.5s;
}

.card-icon {
  font-size: 1.5rem;
}

.card-title {
  font-weight: 600;
  font-size: 0.95rem;
}

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

.glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

.glow-orb-1 {
  background: var(--purple);
  top: -10%;
  right: -10%;
  animation: pulse 4s ease-in-out infinite;
}

.glow-orb-2 {
  background: var(--pink);
  bottom: -10%;
  left: -10%;
  animation: pulse 4s ease-in-out infinite 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.glass-card-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-img {
  width: 100%;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95), transparent);
  padding: 2rem;
}

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

.overlay-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.overlay-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.about-features {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-badge {
  flex: 1;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.feature-icon {
  font-size: 1.5rem;
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.point-item {
  display: flex;
  gap: 1rem;
}

.point-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}

.point-icon svg {
  width: 20px;
  height: 20px;
}

.point-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.point-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-cta-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cta-info-icon {
  font-size: 2rem;
}

.cta-info-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-info-text strong {
  color: var(--text-primary);
}

/* ===== PAGE HEADER (SUB PAGES) ===== */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.page-header .section-container,
.stats-section .section-container,
.testimonials-section .section-container,
.about-section .section-container,
.calculator-section .calculator-container,
.contacts-section .section-container {
  max-width: 1100px;
  margin: 0 auto;
}

.page-header-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.08);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.page-breadcrumb a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
  color: var(--pink);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.page-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  line-height: 1.7;
}

/* Limit any standalone svg/logo images inside headers/sections */
.page-header svg,
.page-header img,
.stats-section svg,
.testimonials-section svg,
.about-section svg,
.calculator-section svg {
  max-width: 80px;
  height: auto;
}

/* Tighten misc inline icons */
.values-section svg,
.principles-grid svg,
.content-stats-grid svg,
.contact-items svg {
  max-width: 56px;
  height: auto;
}

/* ===== CONTENT SECTION ===== */
.content-section {
  padding: 4rem 0;
}

.page-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.content-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.content-icon {
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 1.5rem;
}

.content-icon svg {
  width: 30px;
  height: 30px;
}

.content-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.content-card-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== VALUES (ABOUT) ===== */
.values-section {
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  gap: 0.6rem;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.12);
}

.value-icon svg {
  width: 26px;
  height: 26px;
}

.value-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.value-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.5rem;
  font-weight: 700;
}

.testimonial-author {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

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

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: #fbbf24;
  font-size: 1.1rem;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
}

/* ===== CALCULATOR ===== */
.calculator-section {
  padding: 6rem 0 4rem;
}

.calculator-container {
  max-width: 900px;
  margin: 0 auto;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
}

.calculator-form-wrapper,
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.4);
  padding: 2rem;
}

.calculator-form-header {
  margin-bottom: 1.25rem;
}

.calculator-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.calculator-desc {
  color: var(--text-secondary);
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.radio-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: rgba(139, 92, 246, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-card:hover {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.12);
}

.radio-card input {
  display: none;
}

.radio-card-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.radio-card-icon {
  font-size: 1.35rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.checkbox-item .checkbox-custom-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: inline-block;
}

.form-checkbox-input {
  margin-right: 0.25rem;
}

.calc-button,
.reset-button {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border-radius: 12px;
  border: none;
  color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.calc-button {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.calc-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.reset-button {
  margin-top: 1rem;
  background: rgba(139, 92, 246, 0.12);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.reset-button:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: var(--purple);
}

.calculator-result-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.result-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.12);
  color: var(--text-primary);
}

.result-icon svg,
.result-card svg {
  width: 26px;
  height: 26px;
}

.result-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.result-placeholder {
  text-align: center;
  color: var(--text-secondary);
  padding: 1rem 0;
}

.placeholder-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.result-main {
  margin-bottom: 1rem;
}

.result-label {
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.result-value {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-breakdown {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.breakdown-list {
  display: grid;
  gap: 0.5rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.breakdown-label {
  color: var(--text-muted);
}

.result-note {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.08);
  display: flex;
  gap: 0.7rem;
}

.note-icon {
  font-size: 1.2rem;
}

.note-text strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.info-card {
  background: rgba(139, 92, 246, 0.07);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
}

.info-card-icon {
  font-size: 1.4rem;
}

.info-card-title {
  font-weight: 700;
}

.info-card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== TIPS SECTION ===== */
.tips-section {
  padding: 4rem 0 5rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 0.35rem;
}

.tip-number {
  font-weight: 800;
  color: var(--purple);
}

.tip-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.tip-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== CTA (ABOUT PAGE) ===== */
.cta-section {
  padding: 4rem 0 5rem;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cta-content {
  display: grid;
  gap: 0.5rem;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 800;
}

.cta-desc {
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.4rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.cta-button svg,
.cta-section svg {
  width: 22px;
  height: 22px;
}

.cta-button svg path {
  stroke: currentColor;
}

/* ===== CASES SECTION ===== */
.cases-section {
  padding: 6rem 0;
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== STATS / TESTIMONIALS CARDS ===== */
.stats-section {
  padding: 4rem 0 2rem;
}

.stats-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  gap: 0.6rem;
  align-content: flex-start;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.12);
  color: var(--text-primary);
}

.stat-card-icon svg {
  width: 28px;
  height: 28px;
}

.stat-card-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card-label {
  font-weight: 600;
}

.stat-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.testimonials-section {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.testimonial-rating svg {
  width: 18px;
  height: 18px;
}

.author-avatar svg {
  width: 24px;
  height: 24px;
}

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

.case-card {
  perspective: 1000px;
  height: 600px;
}

.case-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.case-card.flipped .case-card-inner {
  transform: rotateY(180deg);
}

.case-card-front,
.case-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.case-card-front {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
}

.case-card-back {
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-img {
  transform: scale(1.1);
}

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(10, 10, 15, 0.9));
}

.case-content {
  padding: 2rem;
}

.case-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid var(--purple);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 1rem;
}

.case-badge-featured {
  background: rgba(236, 72, 153, 0.2);
  border-color: var(--pink);
  color: var(--pink);
}

.case-badge-premium {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--blue);
  color: var(--blue);
}

.case-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.case-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.case-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.case-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.case-feature svg {
  width: 16px;
  height: 16px;
  color: var(--purple);
}

.case-flip-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.case-flip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.case-flip-btn svg {
  width: 18px;
  height: 18px;
}

.case-back-content {
  padding: 2rem;
  width: 100%;
}

.case-back-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.case-back-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.back-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.back-item-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 700;
}

.back-item-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.case-back-price {
  text-align: center;
  padding: 1.5rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.price-value {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-back-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.case-back-btn:hover {
  background: rgba(139, 92, 246, 0.2);
}

.case-back-btn svg {
  width: 18px;
  height: 18px;
}

/* ===== TEAM SECTION ===== */
.team-section {
  padding: 6rem 0;
}

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

.team-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.team-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.team-avatar {
  position: relative;
}

.avatar-circle {
  width: 100px;
  height: 100px;
  background: rgba(139, 92, 246, 0.1);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}

.avatar-circle svg {
  width: 50px;
  height: 50px;
}

.avatar-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, var(--glow), transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.team-card:hover .avatar-glow {
  opacity: 1;
}

.team-info {
  flex: 1;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--purple);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== CONTACTS SECTION ===== */
.contacts-section {
  padding: 6rem 0;
}

.contacts-section .section-container {
  max-width: 1200px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contacts-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--purple);
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.contacts-section svg,
.contacts-section img {
  max-width: 64px;
  height: auto;
}

/* Footer contacts - keep icons compact */
.footer-contact-item svg {
  width: 28px;
  height: 28px;
  min-width: 28px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.work-format {
  padding: 1.5rem;
  background: rgba(236, 72, 153, 0.05);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-radius: 16px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.format-icon {
  font-size: 2rem;
}

.format-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.format-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.contacts-form-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form .form-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.contact-form .form-subtitle {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

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

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--purple);
}

.form-error {
  display: none;
  font-size: 0.85rem;
  color: #f87171;
}

.form-error.visible {
  display: block;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--purple);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.map-wrapper {
  margin-top: 4rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
}

/* ===== FOOTER ===== */
.footer-main {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  width: fit-content;
}

.footer-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-link:hover::before {
  width: 100%;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-contact-icon {
  width: 35px;
  height: 35px;
  min-width: 35px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}

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

.footer-cta {
  margin-top: 1rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== SIDE NAVIGATION PANEL ===== */
.side-nav-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(30px);
  border-left: 1px solid var(--border);
  z-index: 2000;
  transition: right 0.4s ease;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.side-nav-panel.active {
  right: 0;
}

.side-nav-toggle {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  transition: all 0.3s ease;
}

.side-nav-toggle:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.7);
}

.side-nav-toggle svg {
  width: 24px;
  height: 24px;
  color: white;
}

.side-nav-header {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.side-nav-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.side-nav-close {
  width: 35px;
  height: 35px;
  background: rgba(139, 92, 246, 0.1);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.side-nav-close:hover {
  background: rgba(139, 92, 246, 0.2);
}

.side-nav-close svg {
  width: 20px;
  height: 20px;
  color: var(--text-primary);
}

.side-nav-content {
  padding: 2rem;
}

.side-nav-group {
  margin-bottom: 2rem;
}

.side-nav-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.side-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.side-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.side-nav-link:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--purple);
  transform: translateX(-5px);
}

.side-nav-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--purple);
}

/* ===== COOKIE POPUP ===== */
.cookie-popup,
.cookie-notice {
  display: none;
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 500px;
  background: rgba(20, 20, 30, 0.98);
  backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  z-index: 3000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-popup.hidden,
.cookie-notice.hidden {
  display: none;
}

.cookie-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-title svg {
  width: 24px;
  height: 24px;
  color: var(--purple);
}

.cookie-content {
  display: flex;
  gap: 1rem;
}

.cookie-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.cookie-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cookie-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.4rem;
}

.cookie-text a {
  color: var(--purple);
  text-decoration: none;
  transition: all 0.3s ease;
}

.cookie-text a:hover {
  color: var(--pink);
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.cookie-btn,
.cookie-accept,
.cookie-btn-accept,
.cookie-btn-decline,
.cookie-decline {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-btn.cookie-btn-accept,
.cookie-accept,
.cookie-btn-accept {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.cookie-btn.cookie-btn-accept:hover,
.cookie-accept:hover,
.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.cookie-btn.cookie-btn-decline,
.cookie-decline,
.cookie-btn-decline {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.cookie-btn.cookie-btn-decline:hover,
.cookie-decline:hover,
.cookie-btn-decline:hover {
  background: rgba(139, 92, 246, 0.2);
}

/* ===== POLICY PAGES ===== */
.policy-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 9rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.policy-hero {
  margin-bottom: 2.5rem;
}

.policy-main-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.policy-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.policy-content-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.policy-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-card,
.monetization-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.05);
}

.service-card-title,
.monetization-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.policy-back-link {
  display: flex;
  justify-content: flex-start;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.08);
  transition: all 0.25s ease;
}

.btn-back-home:hover {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.16);
  transform: translateY(-2px);
}

.policy-page {
  padding: 10rem 0 4rem;
  min-height: 100vh;
}

.policy-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.policy-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.policy-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.policy-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.policy-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.policy-breadcrumb a:hover {
  color: var(--purple);
}

.policy-breadcrumb svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
}

.policy-section {
  margin-bottom: 3rem;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.policy-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.policy-list-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.policy-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-radius: 50%;
}

.policy-note {
  padding: 1.5rem;
  background: rgba(139, 92, 246, 0.1);
  border-left: 3px solid var(--purple);
  border-radius: 12px;
  margin: 1.5rem 0;
}

.policy-note-title {
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-note-title svg {
  width: 20px;
  height: 20px;
}

.policy-note-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.policy-table th,
.policy-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.policy-table th {
  background: rgba(139, 92, 246, 0.1);
  font-weight: 700;
  color: var(--text-primary);
}

.policy-table td {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.policy-contact-box {
  padding: 2rem;
  background: rgba(236, 72, 153, 0.05);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-radius: 16px;
  margin-top: 2rem;
}

.contact-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-box-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.contact-box-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-box-email:hover {
  color: var(--pink);
}

/* ===== INLINE NAV PANEL (POLICY/INFO PAGES) ===== */
.nav-panel-trigger {
  display: none;
}

.nav-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1490;
}

.nav-panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.96);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
  transition: right 0.35s ease;
  z-index: 1590;
  display: flex;
  flex-direction: column;
}

.nav-panel.active {
  right: 0;
}

.nav-panel-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-panel-title {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-panel-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.08);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-panel-close:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: var(--purple);
}

.nav-panel-content {
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.nav-panel-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-panel-group-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.nav-panel-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.05);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.nav-panel-link:hover {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.12);
  transform: translateX(-4px);
}

.nav-panel-link.active {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.18);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}

.nav-panel-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--border);
  font-size: 1.05rem;
}

/* ===== RIGHT SIDEBAR (CONTACTS PAGE) ===== */
.sidebar-toggle {
  display: none;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1490;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.right-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.96);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
  transition: right 0.35s ease;
  z-index: 1590;
  display: flex;
  flex-direction: column;
}

.right-sidebar.active {
  right: 0;
}

.sidebar-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.08);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sidebar-close:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: var(--purple);
}

.sidebar-content {
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.sidebar-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.05);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.sidebar-link:hover {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.12);
  transform: translateX(-4px);
}

.sidebar-link.active {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.18);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}

.sidebar-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--border);
  font-size: 1.05rem;
}

/* ===== THANK YOU PAGE ===== */
.thank-section {
  padding: 9rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
}

.thank-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.thank-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
  gap: 1.5rem;
}

.thank-nav {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 1rem;
}

.thank-nav-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.thank-nav-group {
  display: grid;
  gap: 0.5rem;
}

.thank-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.06);
  transition: all 0.2s ease;
}

.thank-nav-link:hover {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.14);
}

.thank-nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.12);
  font-size: 1.05rem;
}

.thank-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.thank-icon svg {
  width: 50px;
  height: 50px;
  color: white;
}

.thank-title {
  font-size: 2.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.thank-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.thank-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.thank-detail-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.06);
}

.thank-detail-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.12);
}

.thank-detail-icon svg {
  width: 20px;
  height: 20px;
}

.thank-detail-text h3 {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.thank-detail-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.thank-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.thank-btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.thank-btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.thank-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.thank-btn-secondary {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.thank-btn-secondary:hover {
  background: rgba(139, 92, 246, 0.2);
}

.thank-urgent {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(236, 72, 153, 0.05);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-radius: 16px;
}

.urgent-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.urgent-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
}

.urgent-contact svg {
  width: 30px;
  height: 30px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-container,
  .about-grid,
  .contacts-grid,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .side-nav-panel {
    width: 350px;
    right: -350px;
  }

  .calc-options,
  .calc-input-group {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .burger-btn {
    display: flex;
  }

  .nav-main {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title,
  .page-title {
    font-size: 2rem;
  }

  .policy-title {
    font-size: 2rem;
  }

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

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

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

  .side-nav-panel {
    width: 100%;
    right: -100%;
  }

  .thank-info-grid {
    grid-template-columns: 1fr;
  }

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

  .container-header,
  .section-container,
  .hero-container,
  .footer-container {
    padding: 0 1.5rem;
  }

  .policy-content,
  .calculator-form {
    padding: 2rem;
  }

  .cookie-popup {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .nav-panel,
  .right-sidebar {
    width: 100%;
    right: -100%;
  }

  .policy-container {
    padding: 8rem 1.25rem 3rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title,
  .page-title {
    font-size: 1.75rem;
  }

  .policy-title {
    font-size: 1.75rem;
  }

  .thank-title {
    font-size: 1.8rem;
  }

  .calc-result-value {
    font-size: 2rem;
  }
}
