/* --- Variables & Reset --- */
:root {
  /* Colors - Deep Dark & Glass */
  --bg-dark: #0f172a;
  --bg-dark-deep: #020617;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;

  /* Accents - Gradients */
  --accent-primary: #8b5cf6; /* Violet */
  --accent-secondary: #ec4899; /* Pink */
  --gradient-main: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );

  /* Glass Effect vars */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(16px);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Geometry */
  --radius-xl: 40px;
  --radius-lg: 24px;
  --radius-md: 16px;

  /* Spacing */
  --container-width: 1280px;
  --spacing-section: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(
      circle at 15% 50%,
      rgba(139, 92, 246, 0.15),
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(236, 72, 153, 0.15),
      transparent 25%
    );
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* --- Utility Classes --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px; /* Hyper-rounded */
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: var(--font-heading);
}

.btn--glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  color: #fff;
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
}

.header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--glass-shadow);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-img {
  width: 40px;
  height: 40px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__list {
  display: flex;
  gap: 30px;
}

.header__link {
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.8;
  position: relative;
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.header__link:hover {
  opacity: 1;
}

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

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.header__burger-line {
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* --- Main Placeholder --- */
.main {
  min-height: 80vh; /* Temporary until sections are added */
  padding-top: 120px; /* Space for fixed header */
}

/* --- Footer --- */
.footer {
  margin-top: var(--spacing-section);
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

/* Footer ambient glow */
.footer::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: var(--accent-primary);
  filter: blur(150px);
  opacity: 0.1;
  z-index: -1;
}

.footer__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: #fff;
}

.footer__desc {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 300px;
}

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

.footer__link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.footer__link:hover {
  color: var(--accent-secondary);
  transform: translateX(5px);
}

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

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__contact-item i {
  color: var(--accent-primary);
  width: 18px;
  height: 18px;
}

.footer__note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #fff;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 8px 12px;
  border-radius: 12px;
  display: inline-block;
}

.footer__bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark-deep);
    flex-direction: column;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    z-index: 999;
  }

  .header__nav.active {
    right: 0;
  }

  .header__list {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .header__link {
    font-size: 1.5rem;
  }

  .header__burger {
    display: flex;
    z-index: 1001;
  }

  .header__burger.active .header__burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .header__burger.active .header__burger-line:nth-child(2) {
    transform: rotate(-45deg);
  }

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

@media (max-width: 600px) {
  .header__container {
    border-radius: 20px;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__contact-item {
    justify-content: center;
  }

  .footer__desc {
    margin: 20px auto 0;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background Glows */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.6;
}

.hero__glow--1 {
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  top: -100px;
  left: -100px;
  animation: float 10s infinite ease-in-out;
}

.hero__glow--2 {
  width: 600px;
  height: 600px;
  background: var(--accent-secondary);
  bottom: -100px;
  right: -150px;
  animation: float 12s infinite ease-in-out reverse;
}

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

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/* Hero Text */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--accent-secondary);
  margin-bottom: 24px;
  font-weight: 600;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-secondary);
}

.hero__title {
  font-size: 4.5rem; /* Large typography */
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero__actions {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

/* Specific Button Styles */
.btn--primary {
  background: var(--gradient-main);
  color: white;
  border: none;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn--ghost:hover {
  border-color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.1);
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-item {
  display: flex;
  flex-direction: column;
}

.hero__stat-num {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

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

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* --- Hero Visual (Glass Card) --- */
.hero__visual {
  position: relative;
  perspective: 1000px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: transform 0.1s; /* Smooth tilt */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}

.glass-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  transform: translateZ(20px);
}

.glass-card__icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card__title {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

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

.glass-card__graph {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 150px;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateZ(30px);
}

.graph-bar {
  width: 18%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px 10px 0 0;
  position: relative;
  transition: height 1s ease-out;
}

.graph-bar.active {
  background: var(--gradient-main);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

.graph-tooltip {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: var(--bg-dark);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.graph-tooltip::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: white;
}

.glass-card__info {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transform: translateZ(10px);
}

/* Floating Elements */
.floating-circle {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  background: var(--accent-primary);
}

.floating-circle--1 {
  width: 80px;
  height: 80px;
  top: -20px;
  right: -20px;
  opacity: 0.5;
  animation: float 6s infinite ease-in-out;
  transform: translateZ(-20px);
}

.floating-circle--2 {
  width: 40px;
  height: 40px;
  bottom: 20px;
  left: -10px;
  background: var(--accent-secondary);
  opacity: 0.5;
  animation: float 8s infinite ease-in-out 1s;
  transform: translateZ(10px);
}

/* Responsive Hero */
@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__subtitle {
    margin: 0 auto 40px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}
/* --- METHOD SECTION --- */
.method {
  padding: var(--spacing-section) 0;
  position: relative;
}

/* Reusable Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

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

/* Grid Layout */
.method__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* Feature Cards (Glass) */
.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); /* 40px radius per requirements */
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

/* Hover Effect: Glow & Lift */
.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card__icon-box {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-primary);
}

.feature-card__icon-box i {
  width: 32px;
  height: 32px;
}

.feature-card__title {
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.feature-card__desc {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Featured Card Style (Center) */
.feature-card--featured {
  background: linear-gradient(
    180deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-color: rgba(139, 92, 246, 0.3);
}

.feature-card--featured .feature-card__icon-box {
  background: var(--gradient-main);
  color: #fff;
  border: none;
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}

.feature-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-secondary);
  color: white;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-card__link {
  margin-top: auto; /* Push to bottom */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-card__link:hover {
  gap: 12px;
  color: #fff;
}

/* Bottom CTA */
.method__footer {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
}

.link-underline {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent-primary);
}

.link-underline:hover {
  color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 992px) {
  .method__grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

/* --- BLOG SECTION --- */
.blog {
  padding: var(--spacing-section) 0;
  position: relative;
  overflow: hidden; /* To clip the background shape */
}

.blog__bg-shape {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.1) 0%,
    transparent 70%
  );
  z-index: -1;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 20px; /* Space for hovering effect */
}

/* Blog Card Container */
.blog-card {
  background: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Image that breaks out */
.blog-card__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: -40px; /* Overlap content */
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16/10;
  margin-left: 20px; /* Offset style */
  margin-right: 20px;
  border: 1px solid var(--glass-border);
}

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

.blog-card:hover .blog-card__img {
  transform: scale(1.1);
}

.blog-card__category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card__category--hot {
  background: var(--accent-secondary);
}

/* Glass Content Box */
.blog-card__content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 60px 30px 30px; /* Top padding compensates for overlap */
  z-index: 1;
  transition: all 0.3s ease;
}

.blog-card:hover .blog-card__content {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(5px);
}

.blog-card__meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.blog-card__meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card__meta i {
  width: 14px;
  height: 14px;
  color: var(--accent-primary);
}

.blog-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-card__title a {
  background: linear-gradient(to right, #fff, #fff);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s;
}

.blog-card__title a:hover {
  color: var(--accent-primary);
  background-size: 100% 2px;
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-primary);
  transition: gap 0.3s;
}

.blog-card__link:hover {
  gap: 10px;
  color: var(--accent-secondary);
}

/* Responsive */
@media (max-width: 992px) {
  .blog__grid {
    grid-template-columns: 1fr; /* Single column on tablet/mobile */
    gap: 60px;
  }

  .blog-card__image-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
}

/* --- REVIEWS SECTION --- */
.reviews {
  padding: var(--spacing-section) 0;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* Asymmetric grid */
  gap: 60px;
  align-items: start;
}

/* Reviews List (Left) */
.reviews__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.review-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px; /* Hyper-rounded per Variant B */
  padding: 30px;
  transition: all 0.3s ease;
}

.review-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(10px);
  border-color: rgba(139, 92, 246, 0.3);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.review-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-primary);
}

.review-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.review-card__stars {
  display: flex;
  gap: 2px;
}

.fill-star {
  fill: #fbbf24; /* Amber-400 */
  color: #fbbf24;
  width: 16px;
  height: 16px;
}

.review-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* Summary Box (Right) - Sticky Effect */
.reviews__summary-wrapper {
  position: relative;
  height: 100%;
}

.reviews__summary {
  position: sticky;
  top: 120px; /* Stick below the header */
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 40px; /* Hyper-rounded */
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Decorative gradient border via box-shadow hack or border-image */
.reviews__summary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 1px;
  background: var(--gradient-main);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.3;
}

.summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981; /* Emerald */
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 30px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.summary-score {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-heading);
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.summary-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

.summary-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 250px;
  margin: 0 auto 30px;
}

.summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.summary-award {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent-secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .reviews__list {
    order: 2; /* Move reviews below summary on mobile */
  }

  .reviews__summary-wrapper {
    order: 1;
    margin-bottom: 40px;
  }

  .reviews__summary {
    position: static;
  }
}

/* --- FAQ SECTION --- */
.faq {
  padding: var(--spacing-section) 0;
  position: relative;
}

.faq__container {
  max-width: 800px; /* Narrower container for better readability */
}

.faq__wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px; /* Rounded but slightly less than main cards */
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}

.faq-item__question {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-body);
}

.faq-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--accent-primary);
  transition: transform 0.3s ease, background 0.3s;
}

/* Rotate icon when active */
.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
  background: var(--accent-primary);
  color: #fff;
}

.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-item__body {
  padding: 0 30px 30px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- CONTACT SECTION --- */
.contact {
  padding: var(--spacing-section) 0;
  position: relative;
  overflow: hidden;
}

.contact__glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 92, 246, 0.15),
    transparent 60%
  );
  z-index: -1;
  pointer-events: none;
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Contact Info (Left) */
.contact__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.contact__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 450px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact__detail-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.detail-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s;
}

.detail-value:hover {
  color: var(--accent-secondary);
}

/* Form Styling (Right) */
.glass-form {
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* Glowing border effect top */
.glass-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-main);
  opacity: 0.7;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px 14px 44px; /* Left padding for icon */
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.05);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-input:focus + .input-icon, /* If icon was after input */
.input-wrapper:focus-within .input-icon {
  color: var(--accent-primary);
}

/* Custom Captcha Box */
.captcha-box {
  background: #f9f9f9; /* Recaptcha style light bg */
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: fit-content;
  min-width: 200px;
  margin-bottom: 10px;
}

.captcha-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.captcha-checkbox {
  display: none; /* Hide real checkbox */
}

.captcha-custom-box {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: all 0.2s;
}

/* Checkmark logic for captcha */
.captcha-checkbox:checked + .captcha-custom-box {
  border-color: transparent;
}

.captcha-checkbox:checked + .captcha-custom-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 10px;
  height: 16px;
  border: solid #00a84e; /* Google Green */
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  animation: checkAnim 0.2s ease-in-out forwards;
}

@keyframes checkAnim {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0);
  }
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

.captcha-text {
  color: #000;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.captcha-logo {
  height: 32px;
  opacity: 0.7;
}

/* Policy Checkbox Styling */
.policy-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.policy-checkbox {
  display: none;
}

.policy-custom-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.policy-custom-box i {
  width: 14px;
  height: 14px;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}

.policy-checkbox:checked + .policy-custom-box {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.policy-checkbox:checked + .policy-custom-box i {
  opacity: 1;
  transform: scale(1);
}

.policy-text a {
  color: var(--accent-secondary);
  text-decoration: underline;
}

/* Full Width Button */
.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* Success Message */
.success-message {
  display: none; /* Hidden */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  height: 100%;
  animation: fadeIn 0.5s ease;
}

.success-message.active {
  display: flex;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1); /* Emerald tint */
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon i {
  width: 40px;
  height: 40px;
}

.success-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

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

/* Responsive */
@media (max-width: 992px) {
  .contact__wrapper {
    grid-template-columns: 1fr;
  }

  .contact__info {
    text-align: center;
  }

  .contact__details {
    align-items: center;
  }

  .contact__title {
    font-size: 2.2rem;
  }
}

/* --- COOKIE POPUP --- */
/* --- COOKIE POPUP (FIXED) --- */
.cookie-popup {
  position: fixed;
  bottom: -200px; /* Сховано за межами екрану */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px; /* Трохи менша ширина для акуратності */
  background: rgba(15, 23, 42, 0.95); /* Більш щільний фон */
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px 24px;

  /* КРИТИЧНО ВАЖЛИВО: Дуже високий z-index */
  z-index: 10000;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Щоб не перекривалося системними кнопками на мобільному */
  margin-bottom: constant(safe-area-inset-bottom);
  margin-bottom: env(safe-area-inset-bottom);
}

.cookie-popup.show {
  bottom: 30px; /* Підняв вище від краю */
}

.cookie-content {
  display: flex;
  flex-direction: column; /* На мобільних краще стовпчиком */
  align-items: center;
  gap: 15px;
  text-align: center;
}

/* Для ПК робимо в рядок */
@media (min-width: 600px) {
  .cookie-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.cookie-text i {
  color: #ec4899; /* Рожевий акцент */
  min-width: 24px;
  height: 24px;
}

.cookie-text a {
  color: #8b5cf6;
  text-decoration: underline;
  font-weight: 600;
}

/* Кнопка "Прийняти" */
.cookie-popup .btn {
  white-space: nowrap;
  padding: 10px 24px;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border: none;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.cookie-popup .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* --- POLICY PAGES (Standard Text Pages) --- */
.pages {
  padding: 160px 0 80px; /* Account for fixed header */
  min-height: 80vh;
}

.pages .container {
  max-width: 800px; /* Better readability */
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 60px;
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pages h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 20px;
}

.pages p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

.pages ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.pages li {
  margin-bottom: 10px;
}

.pages strong {
  color: #fff;
}

.pages a {
  color: var(--accent-primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  .pages .container {
    padding: 30px;
  }
}
