:root {
  /* Colors */
  --color-bg: #0f0c29;
  --color-text: #ffffff;
  --color-text-muted: #b8b8d0;
  --color-primary: #ff9f43; /* Sunny Orange */
  --color-secondary: #5f27cd; /* Deep Purple */
  --color-accent: #00d2d3; /* Cyan for micro details */

  /* Glass Effect Variables */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 12px;
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Layout */
  --container-width: 1240px;
  --padding-section: 100px;
  --border-radius-lg: 30px; /* Hyper-rounded */
  --border-radius-pill: 50px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Blobs for Glassmorphism Context */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
}

.bg-blob--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-secondary), transparent);
  top: -100px;
  left: -100px;
}

.bg-blob--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary), transparent);
  bottom: -100px;
  right: -100px;
}

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), #ff6b6b);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 159, 67, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 159, 67, 0.6);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 20px;
}

.header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-pill);
  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-icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

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

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

.header__link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  opacity: 0.8;
}

.header__link:hover {
  opacity: 1;
  color: var(--color-primary);
}

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

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

.header__burger {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 12, 41, 0.95);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

/* --- FOOTER --- */
.footer {
  margin-top: 100px;
  padding: 20px;
}

.footer__container {
  max-width: var(--container-width);
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 20px;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  display: block;
  margin-bottom: 20px;
}

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

.footer__socials {
  display: flex;
  gap: 15px;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer__socials a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

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

.footer__list li {
  margin-bottom: 12px;
}

.footer__list a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer__list a:hover {
  color: var(--color-text);
  padding-left: 5px;
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer__contacts i {
  color: var(--color-primary);
  flex-shrink: 0;
  width: 20px;
}

.footer__bottom {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding-bottom: 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .header__nav {
    display: none; /* Hide default nav */
  }

  .header__burger {
    display: block;
  }

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

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

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

  .footer__socials {
    justify-content: center;
  }

  .footer__contacts li {
    justify-content: center;
  }

  .header__logo-text {
    font-size: 1.2rem;
  }
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 120px; /* Space for fixed header */
  padding-bottom: 60px;
  overflow: hidden;
}

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

/* Typography & Content */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 159, 67, 0.15);
  border: 1px solid rgba(255, 159, 67, 0.3);
  border-radius: var(--border-radius-pill);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary);
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: 4.5rem; /* Giant Typography */
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 25px;
}

.text-gradient {
  background: linear-gradient(90deg, #ffffff, var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

.highlight {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px dashed var(--color-primary);
}

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

.btn--lg {
  padding: 16px 40px;
  font-size: 1.1rem;
  gap: 10px;
}

.btn--glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: var(--border-radius-pill);
  padding: 16px 40px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 30px;
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

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

.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* --- VISUAL COMPOSITION (Broken Grid) --- */
.hero__visual {
  position: relative;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  padding: 30px;
  transition: transform 0.1s ease-out; /* For JS animation */
}

/* Main Center Card */
.glass-card--main {
  width: 380px;
  height: auto;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.02)
  );
}

.glass-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}

.badge-success {
  background: rgba(39, 201, 63, 0.2);
  color: #27c93f;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.glass-body h4 {
  margin-top: 15px;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.glass-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* Chart Mockup */
.chart-mockup {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  height: 120px;
  padding-top: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar {
  flex: 1;
  background: linear-gradient(
    to top,
    var(--color-secondary),
    var(--color-primary)
  );
  border-radius: 10px 10px 0 0;
  opacity: 0.8;
  transition: height 1s ease;
}

/* Background Card */
.glass-card--1 {
  width: 280px;
  z-index: 1;
  top: 10%;
  right: 5%;
  transform: rotate(15deg);
  opacity: 0.8;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #fff;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 10px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: var(--color-accent);
}

/* Floating Small Badge */
.glass-card--small {
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  bottom: 15%;
  left: 0;
  z-index: 3;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.15);
}

.glass-card--small i {
  color: var(--color-accent);
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 159, 67, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 159, 67, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 159, 67, 0);
  }
}

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

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

  .hero__title {
    font-size: 3rem;
  }

  .hero__visual {
    height: 400px;
    width: 100%;
  }

  .glass-card--main {
    width: 300px;
  }

  .glass-card--1 {
    right: 0;
  }
}

/* --- SECTIONS COMMON --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
  max-width: 700px;
}

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

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

.highlight-text {
  color: var(--color-primary);
  font-weight: 600;
}

.fw-bold {
  font-weight: 700;
  color: #fff;
}

/* --- BENTO GRID (Services) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  grid-auto-rows: minmax(280px, auto);
}

.bento-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--border-radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 159, 67, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Grid Spans */
.bento-card--wide {
  grid-column: span 2;
}

.bento-card--tall {
  grid-row: span 2;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(95, 39, 205, 0.2)
  );
}

.bento-card--dark {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Content inside cards */
.bento-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.bento-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.bento-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.link-arrow:hover {
  gap: 10px;
}

.bento-visual--gradient {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-primary), transparent 70%);
  opacity: 0.2;
  filter: blur(40px);
}

/* Mini Chart Animation for Tall Card */
.mini-chart {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.chart-line {
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: rotate(-10deg);
  transform-origin: left bottom;
  position: absolute;
  bottom: 0;
}

.chart-dot {
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  right: 0;
  box-shadow: 0 0 10px var(--color-accent);
  animation: bounce 2s infinite ease-in-out;
}

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

/* --- ABOUT SECTION (Accordion) --- */
.bg-blob--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #00d2d3, transparent);
  top: 50%;
  right: -100px;
  position: absolute;
  filter: blur(90px);
  opacity: 0.4;
  z-index: -1;
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.about__desc {
  color: var(--color-text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.about__stat-box {
  background: rgba(255, 159, 67, 0.1);
  border: 1px solid rgba(255, 159, 67, 0.3);
  padding: 20px;
  border-radius: 20px;
  display: inline-block;
}

.big-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 5px;
}

/* Accordion Styles */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion__item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion__item.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.accordion__header {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion__header h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.accordion__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.accordion__item.active .accordion__icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: #fff;
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 30px;
}

.accordion__content p {
  padding-bottom: 25px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.accordion__item.active .accordion__content {
  max-height: 200px; /* Adjust if content is longer */
}

/* Responsive Grid */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card--wide,
  .bento-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

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

/* --- REVIEWS (Scroll Snap) --- */
.reviews__scroller {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 5px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}

.reviews__scroller::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.review-card {
  flex: 0 0 350px; /* Fixed width */
  scroll-snap-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--border-radius-lg);
  padding: 30px;
}

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

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
}

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

.review-stars {
  margin-left: auto;
  color: #ffbd2e;
  letter-spacing: 2px;
}

/* --- BLOG --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  transition: background 0.3s ease;
}

.blog-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.blog-date {
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.bg-blob--contact {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-secondary), transparent);
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(100px);
  z-index: -1;
}

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

.contact__content {
  text-align: center;
  margin-bottom: 50px;
}

.contact__form-wrapper {
  width: 100%;
  max-width: 500px;
  position: relative;
}

.contact-form {
  background: rgba(15, 12, 41, 0.6);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 10px;
}

.input-wrapper {
  position: relative;
}

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

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 14px 14px 14px 45px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(255, 159, 67, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.error-msg {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 5px;
  margin-left: 10px;
  display: none;
}

.form-group.error .form-input {
  border-color: #ff6b6b;
}

.form-group.error .error-msg {
  display: block;
}

.form-check {
  margin-bottom: 20px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}

.custom-checkbox:hover input ~ .checkmark {
  background-color: rgba(255, 255, 255, 0.2);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

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

.captcha-box {
  background: #f9f9f9;
  border-radius: 4px;
  border: 1px solid #d3d3d3;
  padding: 15px;
  width: 100%;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.captcha-label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  color: #000;
}

.captcha-box-visual {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha-mark {
  background-color: #fff;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  width: 24px;
  height: 24px;
}

.custom-checkbox input:checked ~ .captcha-box-visual .captcha-mark {
  background-color: #4a90e2;
  border-color: #4a90e2;
}

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

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

.form-success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 12, 41, 0.95);
  border-radius: 30px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.form-success.active {
  opacity: 1;
  visibility: visible;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}

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

.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: rgba(15, 12, 41, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 20px 30px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 90%;
  max-width: 600px;
}

.cookie-popup.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: #fff;
}

.cookie-icon {
  color: var(--color-primary);
}

.cookie-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.btn--sm {
  padding: 8px 24px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* --- LEGAL PAGES STYLES (privacy.html etc) --- */
/* Ці стилі будуть працювати на всіх додаткових сторінках */
.section.pages {
  padding-top: 150px; /* Більше відступу через фіксований хедер */
  min-height: 80vh;
}

.pages .container {
  max-width: 800px; /* Вужчий контейнер для читабельності */
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--border-radius-lg);
  padding: 60px;
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.pages h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-primary);
}

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

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

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

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

.pages strong {
  color: #fff;
}

/* Mobile adapt for pages */
@media (max-width: 600px) {
  .cookie-popup {
    flex-direction: column;
    border-radius: 20px;
    text-align: center;
    gap: 15px;
  }
  .cookie-content {
    flex-direction: column;
  }
  .pages .container {
    padding: 30px;
  }
}
