/* CSS Variables */
:root {
  --primary-color: #3A3F4A;
  --secondary-color: #525C6B;
  --accent-color: #C0305A;
  --background-color: #F7F8FA;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px; 
  --radius-md: 12px; 
  --radius-lg: 20px; 
  --radius-xl: 32px;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Lato', sans-serif;
}
.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;
}
/* Base Styles */
body, html {
  background: var(--secondary-color);
  color: rgba(240, 240, 240, 0.85);
  font-family: var(--alt-font);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: var(--main-font);
  color: #fff;
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.3;
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}

section {
  background: transparent;
  padding: 48px 16px;
  margin: 0;
}

@media(min-width: 1024px) {
  section {
    padding: 96px 24px;
  }
}

section + section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.accent-color {
  color: var(--accent-color);
}

/* Buttons */
.btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

/* Card Preset: GLASS-DARK */
.card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Header & CSS Burger */
.site-header {
  background: rgba(58, 63, 74, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 9;
}

.logo img {
  height: 40px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000;
}

.burger-btn .bar {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary-color);
  z-index: 999;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border-bottom: 2px solid var(--accent-color);
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--accent-color);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

@media(min-width: 768px) {
  .burger-btn {
    display: none;
  }
  
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-bottom: none;
  }
  
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* Hero: layered-depth */
.hero-section {
  min-height: 90vh;
  position: relative;
}

.hero-layer-1 {
  z-index: 1;
  position: absolute;
  inset: 0;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.45);
}

.hero-layer-2 {
  z-index: 2;
  position: absolute;
  inset: 0;
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
  background: var(--primary-color);
  opacity: 0.55;
}

.hero-layer-3 {
  z-index: 3;
}

.hero-kicker {
  color: var(--accent-color);
  font-weight: 700;
}

.hero-title {
  max-width: 900px;
}

/* Animations */
@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%;
}

/* Stats Counter Animation */
@property --count {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.stat-num {
  --target: 100;
  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); }
}

/* Transformation card specific borders */
.border-red {
  border-left: 4px solid #EF4444;
}

.border-green {
  border-left: 4px solid #22C55E;
}

/* Split Testimonial Avatar */
.avatar-circle {
  background: var(--accent-color);
}

/* Questions section underline */
.question-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer style */
.site-footer {
  background: #252A34;
  border-top: 2px solid var(--accent-color);
}

.site-footer img {
  filter: brightness(0) invert(1);
}