/* ==========================================================================
   21 Day Reset — Custom Landing Page Styles
   Aesthetic: Aman Hotels / Restoration Hardware luxury minimalism
   ========================================================================== */


/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
  /* Brand Colors */
  --color-forest: #032604;
  --color-burgundy: #7B0237;
  --color-bg-warm: #FDF9F8;
  --color-text-dark: #1A1A1A;
  --color-text-body: #4A4A4A;
  --color-white: #FFFFFF;

  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'DM Sans', sans-serif;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 10rem;
}


/* ==========================================================================
   2. Global Typography Overrides for Elementor
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-serif);
}

body,
.elementor-widget-text-editor,
.elementor-widget-text-editor p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--color-text-body);
  line-height: 1.7;
}

strong, b {
  font-weight: 400;
}

.dr-eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--color-forest);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  display: block;
}

.dr-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.75rem;
  line-height: 1.5;
}


/* ==========================================================================
   3. Section Spacing (Aman-generous)
   ========================================================================== */

.dr-section {
  padding: 8rem 0;
}

.dr-section-tight {
  padding: 5rem 0;
}

.dr-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}


/* ==========================================================================
   4. Button Styles
   ========================================================================== */

.dr-btn-primary {
  display: inline-block;
  background: var(--color-forest);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 0;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.dr-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(3, 38, 4, 0.25);
  color: var(--color-white);
}

.dr-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--color-forest);
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.5rem;
  border: 1px solid var(--color-forest);
  border-radius: 0;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.dr-btn-outline:hover {
  background: var(--color-forest);
  color: var(--color-white);
  transform: translateY(-2px);
}

.dr-btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.5rem;
  border: 1px solid var(--color-white);
  border-radius: 0;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.dr-btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-text-dark);
  transform: translateY(-2px);
}


/* ==========================================================================
   5. Sticky Header
   ========================================================================== */

.dr-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.dr-header--transparent {
  background: transparent;
  color: var(--color-white);
}

.dr-header--transparent a,
.dr-header--transparent .elementor-heading-title {
  color: var(--color-white);
}

.dr-header--solid {
  background: rgba(255, 255, 255, 0.97);
  color: var(--color-text-dark);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dr-header--solid a,
.dr-header--solid .elementor-heading-title {
  color: var(--color-text-dark);
}


/* ==========================================================================
   6. Instagram DM Mockup
   ========================================================================== */

.dr-dm-container {
  max-width: 380px;
  background: #FAFAFA;
  border-radius: 12px;
  padding: 1.5rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
}

.dr-dm-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E8E8E8;
}

.dr-dm-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.dr-dm-header-info {
  display: flex;
  flex-direction: column;
}

.dr-dm-header-username {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.dr-dm-header-status {
  font-size: 0.7rem;
  color: #65C466;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.dr-dm-header-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #65C466;
}

.dr-dm-messages {
  overflow: hidden;
}

.dr-dm-bubble-received {
  background: #EFEFEF;
  border-radius: 18px 18px 18px 4px;
  padding: 0.75rem 1rem;
  max-width: 80%;
  margin-bottom: 0.5rem;
  float: left;
  clear: both;
  font-size: 0.85rem;
  color: var(--color-text-dark);
  line-height: 1.4;
}

.dr-dm-bubble-sent {
  background: var(--color-forest);
  color: var(--color-white);
  border-radius: 18px 18px 4px 18px;
  padding: 0.75rem 1rem;
  max-width: 80%;
  margin-bottom: 0.5rem;
  float: right;
  clear: both;
  font-size: 0.85rem;
  line-height: 1.4;
}

.dr-dm-time {
  font-size: 0.65rem;
  color: #999;
  text-align: center;
  clear: both;
  margin: 0.75rem 0;
  display: block;
}


/* ==========================================================================
   7. Before / After Grid
   ========================================================================== */

.dr-ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dr-ba-pair {
  display: flex;
  gap: 0.25rem;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.dr-ba-pair img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dr-ba-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text-dark);
  font-weight: 500;
}

.dr-ba-label--after {
  left: auto;
  right: 8px;
}


/* ==========================================================================
   8. Stats Bar
   ========================================================================== */

.dr-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  text-align: center;
}

.dr-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dr-stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-forest);
  line-height: 1.1;
}

.dr-stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-body);
  margin-top: 0.5rem;
}


/* ==========================================================================
   9. Pricing Cards
   ========================================================================== */

.dr-price-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.dr-price-card {
  background: var(--color-white);
  border: 1px solid #E8E8E8;
  padding: 3rem;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dr-price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.dr-price-card--featured {
  border-color: var(--color-forest);
  position: relative;
}

.dr-price-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-forest);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.25rem;
  white-space: nowrap;
}

.dr-price-tier {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-body);
  margin-bottom: 1rem;
}

.dr-price-amount {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.dr-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.dr-price-features li {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.5rem 0 0.5rem 1.75rem;
  border-bottom: 1px solid #F0F0F0;
  color: var(--color-text-body);
  position: relative;
}

.dr-price-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-forest);
  font-weight: 600;
}

.dr-price-features li:last-child {
  border-bottom: none;
}


/* ==========================================================================
   10. Parallax Final CTA Section
   ========================================================================== */

.dr-parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.dr-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 38, 4, 0.75);
}

.dr-parallax-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  max-width: 700px;
  padding: 0 var(--space-lg);
}

.dr-parallax-content h2,
.dr-parallax-content .elementor-heading-title {
  color: var(--color-white);
}


/* ==========================================================================
   11. Enrollment Urgency Banner
   ========================================================================== */

.dr-urgency {
  background: var(--color-forest);
  color: var(--color-white);
  text-align: center;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}


/* ==========================================================================
   12. Testimonial Cards (Dark Section)
   ========================================================================== */

.dr-testimonial {
  padding: 2rem;
  text-align: left;
}

.dr-testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.dr-testimonial-name {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}


/* ==========================================================================
   13. Icon Cards (Ingredients Section)
   ========================================================================== */

.dr-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  text-align: center;
}

.dr-icon-card svg,
.dr-icon-card img {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: block;
  filter: brightness(0) saturate(100%) invert(8%) sepia(90%) saturate(4500%) hue-rotate(115deg) brightness(50%);
}

.dr-icon-card-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-dark);
}


/* ==========================================================================
   14. How It Works Steps
   ========================================================================== */

.dr-steps {
  display: flex;
  gap: 3rem;
  counter-reset: step;
}

.dr-step {
  flex: 1;
  counter-increment: step;
}

.dr-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(3, 38, 4, 0.15);
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.dr-step h3,
.dr-step .elementor-heading-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}


/* ==========================================================================
   15. Mobile Sticky CTA Bar
   ========================================================================== */

.dr-mobile-cta {
  display: none;
}


/* ==========================================================================
   16. Scroll Animations
   ========================================================================== */

.dr-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dr-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dr-fade-up.delay-1 {
  transition-delay: 0.1s;
}

.dr-fade-up.delay-2 {
  transition-delay: 0.2s;
}

.dr-fade-up.delay-3 {
  transition-delay: 0.3s;
}

.dr-fade-up.delay-4 {
  transition-delay: 0.4s;
}


/* ==========================================================================
   17. Responsive — Tablet (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {

  .dr-section {
    padding: 5rem 0;
  }

  .dr-section-tight {
    padding: 3rem 0;
  }

  h1, .elementor-widget-heading h1 {
    font-size: 2.5rem;
  }

  h2, .elementor-widget-heading h2 {
    font-size: 2rem;
  }

  .dr-ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dr-icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dr-steps {
    gap: 2rem;
  }

  .dr-step::before {
    font-size: 3rem;
  }

  .dr-stats {
    gap: 2.5rem;
  }
}


/* ==========================================================================
   17b. Responsive — Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {

  .dr-section {
    padding: 4rem 0;
  }

  .dr-section-tight {
    padding: 3rem 0;
  }

  h1, .elementor-widget-heading h1 {
    font-size: 2rem;
  }

  h2, .elementor-widget-heading h2 {
    font-size: 1.75rem;
  }

  .dr-quote {
    font-size: 1.35rem;
  }

  .dr-ba-grid {
    grid-template-columns: 1fr;
  }

  .dr-icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .dr-steps {
    flex-direction: column;
    gap: 2rem;
  }

  .dr-stats {
    gap: 2rem;
  }

  .dr-stat-number {
    font-size: 2.25rem;
  }

  .dr-price-cards {
    flex-direction: column;
    align-items: center;
  }

  .dr-price-card {
    padding: 2rem;
    max-width: 100%;
  }

  .dr-price-amount {
    font-size: 2.75rem;
  }

  .dr-parallax {
    background-attachment: scroll; /* iOS fix */
    min-height: 50vh;
  }

  .dr-btn-primary,
  .dr-btn-outline,
  .dr-btn-outline-white {
    padding: 0.85rem 2rem;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
  }

  /* Mobile sticky CTA bar */
  .dr-mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 0.75rem 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .dr-mobile-cta--visible {
    transform: translateY(0);
  }

  .dr-mobile-cta .dr-btn-primary {
    width: 100%;
    padding: 0.75rem 1rem;
    margin: 0;
  }
}


/* ==========================================================================
   17c. Responsive — Small Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {

  .dr-section {
    padding: 3rem 0;
  }

  .dr-section-tight {
    padding: 2rem 0;
  }

  .dr-section-inner {
    padding: 0 1rem;
  }

  h1, .elementor-widget-heading h1 {
    font-size: 1.75rem;
  }

  h2, .elementor-widget-heading h2 {
    font-size: 1.5rem;
  }

  .dr-quote {
    font-size: 1.15rem;
  }

  .dr-icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .dr-step::before {
    font-size: 2.5rem;
  }

  .dr-stat-number {
    font-size: 2rem;
  }

  .dr-dm-container {
    max-width: 100%;
    padding: 1rem;
  }

  .dr-testimonial {
    padding: 1.5rem;
  }

  .dr-testimonial-quote {
    font-size: 1.1rem;
  }

  .dr-price-card {
    padding: 1.5rem;
  }

  .dr-price-amount {
    font-size: 2.25rem;
  }
}
