:root {
  /* Richer Color Palette */
  --bg-dark: #0f172a; /* Deep Navy/Slate */
  --bg-light: #f8fafc; /* Crisp White/Blueish */
  --bg-medium: #e2e8f0; /* Light Grey */

  --text-main: #1e293b;
  --text-inverse: #f1f5f9;
  --text-muted: #64748b;

  --primary: #334155; /* Slate for primary actions */
  --accent: #f59e0b; /* Amber/Orange for CTA */
  --accent-hover: #d97706;
  --highlight: #0ea5e9; /* Sky Blue for details */

  --border: #cbd5e1;
  --border-dark: #334155;

  --font-main: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --container: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* Prevent scrolling when menu is open */
body.menu-active {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 4px;
}

/* Abstract Background Shapes */
.bg-shape {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.shape-1 {
  width: 500px;
  height: 500px;
  background: #e0f2fe;
  top: -100px;
  right: -100px;
}
.shape-2 {
  width: 400px;
  height: 400px;
  background: #fef3c7;
  bottom: 10%;
  left: -100px;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  margin-bottom: 1.5rem;
  color: #475569;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.3s;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
.btn--primary {
  background-color: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
}
.btn--accent {
  background-color: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}
.btn--outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn--sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}
.full-width {
  width: 100%;
}

/* Header */
.header {
  height: var(--header-height);
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}
.header__wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo-icon {
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  gap: 30px;
}
.desktop-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
}
.desktop-nav a:hover {
  color: var(--accent);
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--accent);
  transition: 0.3s;
}
.desktop-nav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Burger Button */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  z-index: 1001;
}
.burger-btn .line {
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

/* Mobile Menu Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 2000;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}
.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__header {
  height: var(--header-height);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.mobile-logo {
  font-weight: 800;
  color: var(--primary);
}
.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

.mobile-nav {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
}
.mobile-link {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-link:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.tag {
  display: inline-block;
  background: #e2e8f0;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.25rem;
  color: var(--text-main);
  font-weight: 500;
}
.hero__actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

/* Hero Visual */
.card-stack {
  position: relative;
  width: 350px;
  height: 450px;
  margin: 0 auto;
  perspective: 1000px;
}
.card-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  opacity: 0.5;
}
.l1 {
  transform: rotate(-5deg) translate(-10px, -10px);
  z-index: 1;
}
.l2 {
  transform: rotate(5deg) translate(10px, -10px);
  z-index: 2;
  background: #f1f5f9;
}
.card-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: var(--bg-dark);
  color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translate(0, 0);
}
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.status-bad {
  color: #f87171;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-chart {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 200px;
  margin-bottom: 20px;
}
.bar {
  width: 15%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px 4px 0 0;
}
.bar.active {
  background: var(--accent);
}
.bar.future {
  background: #10b981;
  border: 1px dashed white;
}
.stat-caption {
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
}

/* Sections */
.section {
  padding: 100px 0;
}
.section--dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}
.section--dark h2,
.section--dark h3,
.section--dark p {
  color: var(--text-inverse);
}
.section--dark .text-muted {
  color: #94a3b8;
}
.section--bg {
  background: #f1f5f9;
}
.section-head {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.stat-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-left: 4px solid var(--accent);
}
.stat-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Content Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.content-block {
  padding: 30px;
  border-left: 1px solid var(--border);
}
.content-block.highlight {
  border-left-color: var(--accent);
  background: white;
  box-shadow: var(--shadow);
  border-radius: 0 8px 8px 0;
}

/* Steps */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  @media (max-width: 1050px) {
    grid-template-columns: 1fr;
  }
}
.step-card {
  background: white;
  padding: 25px;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow);
  transition: 0.3s;
  height: 100%;
}
.step-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--accent);
}
.step-icon {
  font-size: 2.5rem;
  font-weight: 800;
  color: #cbd5e1;
  margin-bottom: 15px;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
}
.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--highlight);
}
.card__header {
  background: #f8fafc;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 15px;
}
.card__header i {
  color: var(--highlight);
}
.card__header h3 {
  margin: 0;
  font-size: 1.2rem;
}
.card__body {
  padding: 25px;
}
.card__body p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 10px;
}

/* Point List */
.point-list {
  margin-top: 20px;
}
.point-list li {
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
  color: #cbd5e1;
}
.point-list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1rem;
}

/* Warning Box */
.warning-box {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  padding: 40px;
  border-radius: 8px;
  margin-top: 30px;
}
.warning-box p {
  color: #9f1239;
  font-weight: 500;
  margin-bottom: 10px;
}
.warning-title {
  color: #881337;
}

/* Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.acc-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.acc-head {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  transition: 0.3s;
}
.acc-head:hover {
  color: var(--accent);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
  padding: 0 20px;
  color: #475569;
  background: #f8fafc;
}
.acc-item.active .acc-body {
  padding-bottom: 20px;
}

/* Form */
.form-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 50px;
  border-radius: 8px;
  color: var(--text-main);
}
.form-header {
  text-align: center;
  margin-bottom: 30px;
}
.form-header h2 {
  color: #64748b;
}
.form-header p {
  color: #94a3b8;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.input-group {
  margin-bottom: 20px;
}
.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}
.input-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  transition: 0.3s;
}
.input-group input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}
.checkbox-group {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #64748b;
}
.checkbox-group input {
  margin-top: 4px;
}

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

/* Footer */
.footer {
  background: #020617;
  color: #94a3b8;
  padding: 80px 0 30px;
  font-size: 0.9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.logo-text {
  color: white;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.footer h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.footer p,
.footer a {
  margin-bottom: 10px;
  display: block;
  color: #94a3b8;
}
.footer a:hover {
  color: var(--accent);
}
.copyright {
  margin-top: 40px;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
}

/* Cookie */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  border-top: 4px solid var(--accent);
  padding: 20px;
  z-index: 900;
  display: none;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
}
.cookie-content {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.max-800 {
  max-width: 800px;
  margin: 0 auto;
}
.mt-4 {
  margin-top: 2rem;
}

/* Mobile */
@media (max-width: 900px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  h1 {
    font-size: 2.5rem;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__actions {
    display: block;
  }
  .hero__actions a {
    margin-bottom: 15px;
  }
  .hero__visual {
    margin-top: 40px;
  }
  .stats-grid,
  .grid-2,
  .cards-grid,
  .footer__grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .content-block {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  .card-stack {
    width: 100%;
    max-width: 350px;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
}
