:root {
  --black: #0a0a0a;
  --white: #f5f2ec;
  --accent: #e8480a;
  --accent-dark: #c73a06;
  --accent2: #f5a623;
  --gray: #1a1a1a;
  --mid: #3a3a3a;
  --muted: #888;
  --border: rgba(245, 242, 236, 0.1);
  --glass: rgba(26, 26, 26, 0.6);
  --glass-border: rgba(245, 242, 236, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* TYPOGRAPHY */
h1, h2, h3, .logo, .stat-num, .pain-number, .step-bg-num, .offer-price, .testi-result, .testi-quote::before {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 4rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(15px);
  transition: padding 0.3s ease;
}

nav.scrolled {
  padding: 0.8rem 4rem;
  background: rgba(10, 10, 10, 0.95);
}

.logo {
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--white);
}

.logo span {
  color: var(--accent);
}

.logo-img {
  height: 32px;
  width: auto;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  transition: color 0.2s, opacity 0.2s;
}

nav a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: background 0.3s ease, transform 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 72, 10, 0.3);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: url('assets/hero-bg.png') center/cover no-repeat;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(245, 242, 236, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 236, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--black) 30%, transparent 100%);
  z-index: 2;
}

.hero-accent-line {
  position: absolute;
  top: 0;
  left: 4rem;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  opacity: 0.18;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  max-width: 900px;
  margin-bottom: 2rem;
}

h1 .outline {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}

h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(245, 242, 236, 0.65);
  max-width: 540px;
  margin-bottom: 3rem;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 1.1rem 2.4rem;
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232, 72, 10, 0.4);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(245, 242, 236, 0.25);
  padding: 1.1rem 2.4rem;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: border-color 0.3s ease, transform 0.2s ease, background 0.3s ease;
  text-decoration: none;
  display: inline-block;
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--white);
  transform: translateY(-3px);
  background: rgba(245, 242, 236, 0.05);
}

.hero-stats {
  display: flex;
  gap: 4rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-size: 3rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}

.stat-num span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* PAIN SECTION */
.pain {
  padding: 10rem 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.section-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-tag::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}

.pain-headline {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  max-width: 800px;
  margin-bottom: 4rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.pain-card {
  background: var(--black);
  padding: 3rem;
  transition: background 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.pain-card:hover {
  background: var(--gray);
}

.pain-number {
  font-size: 5rem;
  color: rgba(245, 242, 236, 0.04);
  line-height: 1;
  margin-bottom: -0.5rem;
  transition: color 0.3s ease;
}

.pain-card:hover .pain-number {
  color: rgba(232, 72, 10, 0.1);
}

.pain-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--white);
}

.pain-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* HOW IT WORKS */
.how {
  padding: 10rem 0;
  border-top: 1px solid var(--border);
  background: var(--gray);
}

.how-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  margin-bottom: 2rem;
}

.how-image {
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .how-header-row { flex-direction: column; text-align: center; gap: 2rem; }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: var(--border);
  border: 1px solid var(--border);
}

.step {
  background: var(--black);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.step:hover {
  background: #111;
}

.step-bg-num {
  position: absolute;
  bottom: -1rem;
  right: 1rem;
  font-size: 8rem;
  color: rgba(245, 242, 236, 0.03);
  line-height: 1;
  pointer-events: none;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: var(--white);
}

.step h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}

/* MATH SECTION */
.math {
  padding: 10rem 0;
  border-top: 1px solid var(--border);
}

.math-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-top: 4rem;
}

.math-left h2 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 2rem;
}

.math-left p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.math-box {
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.math-box-header {
  background: var(--accent);
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.currency-switcher select {
  background: rgba(0, 0, 0, 0.2);
  color: var(--white);
  border: 1px solid rgba(245, 242, 236, 0.2);
  padding: 0.3rem 0.5rem;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.currency-switcher select:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: var(--white);
}

.currency-switcher select option {
  background: var(--black);
  color: var(--white);
}

.math-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.math-row:last-child {
  border-bottom: none;
}

.math-row .label {
  color: var(--muted);
}

.math-row .value {
  font-weight: 600;
}

.math-row .value.green {
  color: #4ade80;
}

.math-row .value.red {
  color: var(--accent);
}

.math-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem;
  background: rgba(232, 72, 10, 0.05);
  border-top: 1px solid rgba(232, 72, 10, 0.2);
}

.math-total-row .big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: #4ade80;
  line-height: 1;
}

/* CALCULATOR INPUTS */
.input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(245, 242, 236, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.input-wrapper:focus-within {
  border-color: var(--accent);
}

.math-box input {
  background: transparent;
  border: none;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  text-align: right;
  width: 90px;
  font-size: 0.95rem;
  outline: none;
}

/* Remove arrows Browsers */
.math-box input::-webkit-outer-spin-button,
.math-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.math-box input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.small-input {
  background: rgba(245, 242, 236, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  width: 60px !important;
}


/* GUARANTEE */
.guarantee {
  padding: 10rem 0;
  border-top: 1px solid var(--border);
}

.guarantee-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.guarantee-left {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.guarantee-left .accent {
  color: var(--accent);
}

.guarantee-right p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.guarantee-box {
  border: 1px solid rgba(232, 72, 10, 0.4);
  border-radius: 4px;
  padding: 2rem;
  background: rgba(232, 72, 10, 0.05);
  position: relative;
}

.guarantee-box::before {
  content: '★';
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--black);
  color: var(--accent);
  padding: 0 10px;
  font-size: 1.2rem;
}

.guarantee-box p {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

/* TESTIMONIALS */
.testimonials {
  padding: 10rem 0;
  border-top: 1px solid var(--border);
  background: var(--gray);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: var(--border);
  border: 1px solid var(--border);
}

.testi-card {
  background: var(--black);
  padding: 3.5rem 2.5rem;
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testi-card:hover {
  background: #111;
}

.testi-quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(245, 242, 236, 0.85);
  margin-bottom: 2.5rem;
  font-style: italic;
  flex: 1;
}

.testi-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent);
  line-height: 0.1;
  display: block;
  margin-bottom: 1.5rem;
}

.testi-author {
  font-weight: 600;
  font-size: 1rem;
}

.testi-role {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.testi-result {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* CTA SECTION */
.cta-section {
  padding: 12rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 72, 10, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.95;
  margin-bottom: 2rem;
}

.cta-section p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 4rem;
  line-height: 1.8;
}

.cta-micro {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
  letter-spacing: 0.04em;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-info {
  text-align: right;
}

footer p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* DELAYS FOR REVEAL */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav { padding: 1.25rem 2rem; }
  .offer-cards { grid-template-columns: repeat(2, 1fr); }
  .math-inner, .guarantee-inner { gap: 3rem; }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; } /* Could add burger menu */
  
  h1 { font-size: 4rem; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; justify-content: center; text-align: center; }
  
  .pain-grid, .steps, .offer-cards, .testi-grid { grid-template-columns: 1fr; }
  .math-inner, .guarantee-inner { grid-template-columns: 1fr; text-align: center; }
  
  .math-inner { display: flex; flex-direction: column-reverse; }
  
  .footer-inner { flex-direction: column; gap: 2rem; text-align: center; }
  .footer-info { text-align: center; }
}
