/* --- VARIABLES --- */
:root {
  /* Colors */
  --bg-primary: #0f172a; /* Dark Navy */
  --bg-secondary: #1e293b; /* Lighter Navy */
  --text-primary: #f8fafc; /* White/Grey */
  --text-secondary: #94a3b8; /* Muted Grey */
  --accent-primary: #8b5cf6; /* Violet */
  --accent-secondary: #14b8a6; /* Teal */
  --danger: #ef4444;
  --success: #22c55e;

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Layout */
  --container-width: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* --- 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(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

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

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

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.header__logo-icon {
  color: var(--accent-primary);
  display: flex;
}

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

.header__nav {
  display: flex;
}

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

.header__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

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

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

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__cta {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  transition: transform 0.2s, box-shadow 0.2s;
}

.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

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

/* --- FOOTER --- */
.footer {
  margin-top: auto;
  background-color: var(--bg-secondary);
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.header__logo--footer {
  margin-bottom: 24px;
}

.footer__desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  max-width: 300px;
}

.footer__note {
  font-size: 0.8rem;
  color: var(--accent-secondary);
  font-weight: 600;
}

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

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

.footer__link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer__contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer__icon {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.footer__bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header__menu {
    display: none; /* Logic in JS */
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 40px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header__menu.is-active {
    display: flex;
  }

  .header__burger {
    display: block;
  }

  .header__cta {
    display: none; /* Optional: hide CTA in header on mobile if space is tight */
  }

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

/* --- BUTTONS (Global) --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-primary), #7c3aed);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

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

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* Let clicks pass through */
}

.hero__container {
  position: relative;
  z-index: 2; /* Above canvas */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Content Side */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.1); /* Teal tint */
  color: var(--accent-secondary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.hero__badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent-secondary);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(20, 184, 166, 0.4);
  animation: pulse-teal 2s infinite;
}

@keyframes pulse-teal {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(20, 184, 166, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, white 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  min-height: 1.6em; /* Reserve space for typing */
  font-weight: 500;
}

.hero__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 32px;
}

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

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

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

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

.hero__stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.hero__stat-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

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

/* Visual Side */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__img-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Glass Card */
.hero__card-glass {
  position: absolute;
  bottom: 40px;
  left: -40px;
  z-index: 3;
  background: rgba(30, 41, 59, 0.6); /* Semi-transparent navy */
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--radius-md);
  width: 240px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: float 7s ease-in-out infinite reverse; /* Move opposite to main image */
}

.hero__card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: white;
}

.hero__card-glass h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.hero__card-glass p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Decorative Blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.5;
}

.hero__blob--1 {
  width: 300px;
  height: 300px;
  background: var(--accent-primary);
  top: -50px;
  right: -50px;
}

.hero__blob--2 {
  width: 250px;
  height: 250px;
  background: var(--accent-secondary);
  bottom: -50px;
  left: -50px;
}

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

/* Responsive Hero */
@media (max-width: 992px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: auto;
    display: block; /* Remove flex centering for simpler stacking */
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__card-glass {
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
    animation: none; /* Disable complex float on mobile */
  }
}

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

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.text-white {
  color: var(--text-primary);
  font-weight: 500;
}

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

.bento-item {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-item:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.3);
}

.bento-item--large {
  grid-column: span 1;
  grid-row: span 2;
  background: linear-gradient(160deg, var(--bg-secondary), #1e1b4b);
}

.bento-item--wide {
  grid-column: span 2;
}

.bento-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.bento-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

.bento-link:hover {
  gap: 10px;
  text-decoration: underline;
}

/* Inner Glow Effect */
.bento-bg-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.bento-item:hover .bento-bg-glow {
  opacity: 1;
}

/* --- CASES (TABS) --- */
.cases-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 450px;
}

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

.cases-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1.05rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.cases-tab i {
  width: 20px;
  height: 20px;
}

.cases-tab:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.cases-tab.active {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: var(--accent-primary);
  font-weight: 600;
}

.cases-display {
  position: relative;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

.case-content {
  display: none; /* Hidden by default */
  width: 100%;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.case-content.active {
  display: grid;
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}

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

.case-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.case-info p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.case-list {
  margin-bottom: 30px;
}

.case-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 500;
}

.case-list i {
  color: var(--accent-secondary);
  width: 18px;
  height: 18px;
}

.btn-text {
  color: var(--accent-primary);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.btn-text:hover {
  border-color: var(--accent-primary);
}

/* Visual Mockups in Cases */
.case-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.case-card-mockup {
  width: 100%;
  max-width: 280px;
  background: #1e293b;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header {
  font-size: 0.8rem;
  color: var(--accent-secondary);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.skeleton-line {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 8px;
}

.case-icon-large {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.05);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.case-icon-large i {
  width: 64px;
  height: 64px;
  color: var(--accent-secondary);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-item--large,
  .bento-item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .cases-wrapper {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .cases-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .cases-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .case-content.active {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .case-list li {
    justify-content: center;
  }
}

/* --- FAQ SECTION --- */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-trigger:hover {
  color: var(--accent-secondary);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent-secondary);
}

.faq-trigger[aria-expanded='true'] .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.faq-inner {
  padding-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- CONTACT SECTION --- */
.contact {
  position: relative;
  overflow: hidden;
}

.contact__bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  top: 50%;
  right: 0;
  transform: translate(30%, -50%);
  pointer-events: none;
}

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

.contact__features {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
}

.feature-icon i {
  width: 14px;
  height: 14px;
}

/* FORM STYLING */
.form {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form__header {
  text-align: center;
  margin-bottom: 30px;
}

.form__header h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form__header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.input-wrapper {
  position: relative;
}

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

.form__input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all 0.3s;
}

.form__input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form__input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--accent-primary);
}

/* Captcha */
.captcha-row {
  display: flex;
  gap: 16px;
}

.captcha-question {
  background: rgba(255, 255, 255, 0.05);
  padding: 0 20px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--accent-secondary);
  user-select: none;
  white-space: nowrap;
}

.captcha-input {
  padding-left: 16px; /* Reset padding */
  text-align: center;
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

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

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

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

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

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

.checkbox-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

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

/* Submit Button */
.form__submit {
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent-primary), #7c3aed);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

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

/* Success Message */
.form__success {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f172a; /* Cover the form */
  z-index: 10;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.success-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

/* Responsive */
@media (max-width: 992px) {
  .contact__container {
    grid-template-columns: 1fr;
  }
  .contact__text {
    text-align: center;
    margin-bottom: 40px;
  }
  .contact__features {
    align-items: center;
  }
}

/* --- REVIEWS --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.review-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Featured card (middle) stands out slightly */
.review-card--featured {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-top: 4px solid var(--accent-secondary);
}

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

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-avatar--1 { background: linear-gradient(135deg, #f472b6, #db2777); }
.review-avatar--2 { background: linear-gradient(135deg, var(--accent-secondary), #059669); }
.review-avatar--3 { background: linear-gradient(135deg, var(--accent-primary), #4f46e5); }

.review-meta {
    flex-grow: 1;
}

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

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

.review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24; /* Gold star */
    font-weight: 600;
    font-size: 0.9rem;
}

.review-rating i {
    width: 16px;
    height: 16px;
    fill: #fbbf24;
}

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

.review-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Responsive Reviews */
@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card--featured {
        transform: scale(1.02); /* Slight emphasis on mobile too */
    }
}
/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 420px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 20px;
    transform: translateY(150%); /* Hidden by default */
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

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

.cookie-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s;
}

.cookie-btn:hover {
    background: var(--accent-primary);
    color: white;
}

/* --- POLICY PAGES STYLES --- */
/* Use structure: <section class="pages"><div class="container">...</div></section> */

.pages {
    padding: 140px 0 80px;
    min-height: 60vh;
}

.pages .container {
    max-width: 800px;
}

.pages h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
}

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

.pages p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

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

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

@media (max-width: 768px) {
    .cookie-banner {
        left: 20px;
        right: 20px;
        bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btn {
        align-self: flex-end;
    }
}