/* palette: luxury-dark with exact required variables */
:root {
  --primary-color: #1A237E;
  --secondary-color: #283593;
  --accent-color: #C04060;
  --background-color: #F4F4FF;
  --dark-color: #111111;
  --text-color: #333333;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.5);
  
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'DM Sans', sans-serif;
}

/* Base Styles & Presets: LUXURY-DARK strictly applied */
*, *::before, *::after {
  box-sizing: border-box;
}

.bg-gray-100,
.bg-white,
.bg-yellow-100,
.bg-blue-100,
.bg-red-100,
.bg-green-100,
.bg-gray-100 p,
.bg-white p,
.bg-yellow-100 p,
.bg-blue-100 p,
.bg-red-100 p,
.bg-green-100 p {
  color: #111A13;
}

html, body {
  margin: 0;
  padding: 0;
  background: #0C0C0E;
  color: #E8E0D0;
  font-family: var(--alt-font);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--main-font);
  color: #E8E0D0;
  letter-spacing: 0.02em;
  margin-top: 0;
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--accent-color);
  margin: 12px 0 0;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.3;
}

p, .subtitle {
  color: rgba(232, 224, 208, 0.72);
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  background: #0C0C0E;
  padding: 48px 16px;
  margin: 0;
}

@media (min-width: 1024px) {
  section {
    padding: 88px 24px;
  }
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-desc {
  max-width: 720px;
  margin-bottom: 40px;
}

.card {
  background: #161618;
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(192, 64, 96, 0.15);
}

/* Cascading Delays */
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.24s; }
.card:nth-child(4) { animation-delay: 0.36s; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  font-family: var(--main-font);
  font-size: 0.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-color);
  color: #0C0C0E;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(192, 64, 96, 0.5);
}

.btn-outline {
  background: transparent;
  color: #E8E0D0;
  border: 1px solid rgba(232, 224, 208, 0.4);
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-block {
  width: 100%;
}

/* HEADER & CSS BURGER NAV */
header {
  position: relative;
  background: #0C0C0E;
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: 16px;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #E8E0D0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #161618;
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  padding: 24px 16px;
  z-index: 999;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 600;
  color: #E8E0D0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav a:hover {
  color: var(--accent-color);
}

/* Burger Toggle Logic */
#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
#menu-toggle:checked ~ .site-nav {
  display: block;
}

@media (min-width: 900px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    padding: 0;
    border: none;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 28px;
  }
  .site-nav a {
    font-size: 0.85rem;
  }
}

/* HERO: BENTO GRID VARIANT */
.hero-bento {
  min-height: 89vh;
  display: flex;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 48px;
}

.bento-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .bento-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-cell {
  background: #161618;
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-main {
  background: linear-gradient(135deg, var(--primary-color), #0C0C0E);
  border-color: var(--accent-color);
}

@media (min-width: 768px) {
  .bento-main {
    grid-column: span 2;
  }
}

.bento-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.bento-image-cell {
  background-size: cover;
  background-position: center;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.bento-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,14,0.85), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.bento-image-overlay span {
  font-family: var(--main-font);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #E8E0D0;
  border-left: 2px solid var(--accent-color);
  padding-left: 10px;
}

.bento-small {
  text-align: left;
}

.bento-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

/* SECTION 1: PROGRESS BARS ANIMATION (@property) */
@property --bar {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
}

.progress-item {
  background: #161618;
  padding: 20px;
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius-sm);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 12px;
  color: #E8E0D0;
}

.progress-pct {
  color: var(--accent-color);
}

.bar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  height: 12px;
  width: 100%;
}

.bar-fill {
  width: calc(var(--bar) * 1%);
  animation: fill-bar 1.5s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 50%;
  background: var(--accent-color);
  height: 100%;
  border-radius: 999px;
}

@keyframes fill-bar {
  from { --bar: 0; }
  to { --bar: var(--pct); }
}

/* SECTION 2: CSS DONUT CHARTS (@property) */
@property --deg {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.donuts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .donuts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.donut-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.donut {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-color) calc(var(--deg) * 1deg), rgba(255, 255, 255, 0.1) 0);
  animation: fill-donut 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.donut-inner {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #161618;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--main-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: #E8E0D0;
}

@keyframes fill-donut {
  from { --deg: 0; }
  to { --deg: var(--target-deg); }
}

/* SECTION 3: STATS COUNTER (@property) */
@property --count {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-num {
  font-family: var(--main-font);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  animation: count-up 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}

.stat-num::after {
  content: counter(n);
}

@keyframes count-up {
  from { --count: 0; }
  to { --count: var(--target); }
}

.stat-unit {
  font-family: var(--main-font);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #E8E0D0;
  margin-bottom: 12px;
}

/* SECTION 4: COMPARISON TABLE */
.comparison-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .comparison-wrapper {
    grid-template-columns: 1fr 2fr;
  }
}

.comp-media img {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 162, 39, 0.25);
  max-height: 420px;
  width: 100%;
  object-fit: cover;
}

.table-scroll {
  overflow-x: auto;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  background: #161618;
  border: 1px solid rgba(201, 162, 39, 0.25);
}

.comp-table th, .comp-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comp-table th {
  background: var(--primary-color);
  font-family: var(--main-font);
  color: #E8E0D0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-bad {
  color: #FF6B6B;
  font-weight: 500;
}

.badge-good {
  color: #51CF66;
  font-weight: 600;
}

/* SECTION 5: TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.test-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.quote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(232, 224, 208, 0.9);
}

.author strong {
  display: block;
  color: #E8E0D0;
}

.author span {
  font-size: 0.85rem;
  color: rgba(232, 224, 208, 0.5);
}

/* SECTION 6: CONTACT + FAQ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-block {
  margin-top: 24px;
}

.info-block strong {
  display: block;
  color: var(--accent-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.form-card h3 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #E8E0D0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #0C0C0E;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 0;
  color: #E8E0D0;
  font-family: var(--alt-font);
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 0.8rem;
  color: rgba(232, 224, 208, 0.65);
  font-weight: normal;
}

.faq-wrapper {
  margin-top: 64px;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  padding-top: 48px;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .faq-list {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-item h3 {
  font-size: 1.1rem;
  color: #E8E0D0;
  margin-bottom: 12px;
}

.faq-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* FOOTER */
footer {
  background: #08080A;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  padding: 48px 16px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  height: 36px;
  width: auto;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(232, 224, 208, 0.6);
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(232, 224, 208, 0.4);
  margin: 0;
}

/* SCROLL REVEAL ANIMATION */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}