/* ==========================================================================
   GRUPO FECHADO - LUXURY LANDING PAGE
   Bespoke High-Converting Architecture (Dubai Infinity Pool Skyline + Gold Theme)
   Zero Emojis (100% SVG Icons) | 100% Visible & Prominent Founder Background
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Theme Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Core Colors */
  --bg-deep: #050505;
  --bg-card: rgba(17, 13, 9, 0.82);
  --bg-pill: rgba(24, 18, 12, 0.72);
  
  /* Gold Palette */
  --gold-primary: #f59e0b;
  --gold-light: #fbbf24;
  --gold-lighter: #fef08a;
  --gold-deep: #b45309;
  --gold-border: rgba(212, 175, 55, 0.45);
  --gold-border-bright: #d4af37;
  --gold-glow: rgba(245, 158, 11, 0.32);

  /* Emerald Conversion CTA */
  --emerald-btn-start: #00e676;
  --emerald-btn-mid: #00c853;
  --emerald-btn-end: #009624;
  --emerald-pulse: rgba(0, 230, 118, 0.75);

  /* Typography */
  --font-headline: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-text: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Dimensions */
  --app-max-width: 480px;
  --radius-pill: 9999px;
  --radius-card: 18px;
  --radius-item: 12px;

  /* Transitions */
  --ease-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Baseline
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-text);
  background-color: var(--bg-deep);
  color: #ffffff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   3. Ambient Backdrop for Large Displays (Desktop & Tablet)
   -------------------------------------------------------------------------- */
.ambient-backdrop-desktop {
  display: none;
}

@media (min-width: 600px) {
  .ambient-backdrop-desktop {
    display: block;
    position: fixed;
    inset: 0;
    background-image: url('../assets/images/dubai-hero.png');
    background-position: top center;
    background-size: cover;
    filter: blur(50px) brightness(0.22) saturate(1.4);
    opacity: 0.75;
    z-index: 0;
    pointer-events: none;
  }
}

/* --------------------------------------------------------------------------
   4. Main App Layout Container
   -------------------------------------------------------------------------- */
.app-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--app-max-width);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
  
  /* The client photo is directly integrated at 100% clarity and sharpness */
  background-color: #050505;
  background-image: url('../assets/images/dubai-hero.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(245, 158, 11, 0.1);
}

@media (min-width: 600px) {
  .app-layout {
    border-left: 1px solid rgba(212, 175, 55, 0.22);
    border-right: 1px solid rgba(212, 175, 55, 0.22);
  }
}

/* --------------------------------------------------------------------------
   5. Top Header (Logo + Hamburger)
   -------------------------------------------------------------------------- */
.app-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(5, 5, 5, 0.6);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crest-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
}

.svg-crest {
  width: 100%;
  height: 100%;
}

.brand-text {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fffbeb 0%, #fde047 25%, #d97706 50%, #fef08a 75%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
  white-space: nowrap;
}

/* Hamburger Menu Toggle Button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: rgba(10, 8, 6, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  transition: all var(--ease-smooth);
}

.nav-toggle:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-light);
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2.2px;
  background-color: #ffd54f;
  border-radius: 2px;
  transition: all var(--ease-smooth);
}

/* --------------------------------------------------------------------------
   6. Hero Body & Visual Focal Spacer
   -------------------------------------------------------------------------- */
.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

/* 
 * This spacer guarantees that the Dubai skyline, infinity pool, 
 * and the client's torso/face remain 100% visible and unobstructed.
 * The text will start precisely in the dark water below his chest.
 */
.skyline-focal-spacer {
  height: clamp(370px, 92vw, 450px);
  width: 100%;
  pointer-events: none;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* --------------------------------------------------------------------------
   7. Kicker: —— ACESSO ANUAL ——
   -------------------------------------------------------------------------- */
.kicker-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
  width: 100%;
}

.gold-divider-line {
  height: 1.5px;
  width: 38px;
  background: linear-gradient(90deg, transparent, #f59e0b);
}

.gold-divider-line:last-child {
  background: linear-gradient(270deg, transparent, #f59e0b);
}

.kicker-title {
  font-family: var(--font-headline);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(245, 158, 11, 0.6);
}

/* --------------------------------------------------------------------------
   8. Main Headline & Subtitle
   -------------------------------------------------------------------------- */
.hero-headline {
  font-family: var(--font-headline);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.2rem, 8.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95);
}

.headline-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fef08a 25%, #fbbf24 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.4));
}

.hero-subtitle {
  font-size: 0.94rem;
  font-weight: 400;
  color: #d1d5db;
  line-height: 1.48;
  max-width: 400px;
  margin: 0 auto 22px auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* --------------------------------------------------------------------------
   9. Luxury Golden Pricing Card
   -------------------------------------------------------------------------- */
.pricing-gold-card {
  position: relative;
  width: 100%;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.6px solid var(--gold-border-bright);
  border-radius: var(--radius-card);
  padding: 22px 20px 20px 20px;
  box-shadow: 
    0 0 25px rgba(245, 158, 11, 0.25),
    0 15px 35px rgba(0, 0, 0, 0.6),
    inset 0 0 16px rgba(245, 158, 11, 0.08);
  margin-bottom: 22px;
}

/* 51% OFF Floating Badge */
.discount-pill {
  position: absolute;
  top: -15px;
  right: 18px;
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #f59e0b 100%);
  color: #000000;
  font-family: var(--font-headline);
  font-weight: 900;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1.5px solid #ffffff;
  z-index: 2;
}

.pricing-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

/* Original Price Column */
.price-col-from {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0 4px;
}

.price-kicker {
  font-size: 0.85rem;
  color: #e2e8f0;
  font-weight: 500;
  margin-bottom: 4px;
  text-align: center;
}

.price-strikethrough-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.price-old-text {
  font-family: var(--font-headline);
  font-size: clamp(1.2rem, 4.2vw, 1.55rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1.2;
}

/* Diagonal Red Strike Bar */
.red-strike-bar {
  position: absolute;
  top: 50%;
  left: -8%;
  width: 116%;
  height: 2.5px;
  background: #ef4444;
  border-radius: 2px;
  transform: translateY(-50%) rotate(-12deg);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
  pointer-events: none;
}

/* Golden Vertical Divider */
.price-vertical-line {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.6), transparent);
  flex-shrink: 0;
}

/* Offer Price Column */
.price-col-to {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1.25;
  padding: 0 4px;
}

.price-deal-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
}

.deal-currency {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  font-weight: 900;
  color: var(--gold-light);
  margin-right: 1px;
}

.deal-amount {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 6.2vw, 2.15rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.deal-period {
  font-size: clamp(0.75rem, 2.6vw, 0.95rem);
  color: #fef08a;
  font-weight: 600;
  margin-left: 2px;
  white-space: nowrap;
}

/* Soft flare behind card */
.card-bottom-glow {
  position: absolute;
  bottom: -15px;
  left: 20%;
  width: 60%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.35) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   10. PULSATING GREEN CTA BUTTON (HERO CTA)
   -------------------------------------------------------------------------- */
.cta-action-container {
  width: 100%;
  margin-bottom: 22px;
}

.btn-green-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 8px 12px;
  gap: 8px;
  background: linear-gradient(135deg, var(--emerald-btn-start) 0%, var(--emerald-btn-mid) 50%, var(--emerald-btn-end) 100%);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.45);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--ease-smooth), filter var(--ease-smooth);
}

/* Pulsating Glow Keyframe */
.pulse-emerald-glow {
  animation: pulseBreathingRing 2.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulseBreathingRing {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.8), 0 8px 25px rgba(0, 230, 118, 0.5);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(0, 230, 118, 0), 0 12px 35px rgba(0, 230, 118, 0.65);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0), 0 8px 25px rgba(0, 230, 118, 0.5);
  }
}

/* Diagonal Shine Sweep */
.btn-light-sweep {
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.55) 50%, 
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: shineTravel 3.2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shineTravel {
  0%, 55% { left: -120%; }
  85%, 100% { left: 160%; }
}

.btn-green-cta:hover {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.06);
}

.btn-green-cta:active {
  transform: translateY(1px) scale(0.99);
}

/* Lock Icon Badge */
.btn-lock-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #ffffff;
  flex-shrink: 0;
}

.svg-lock {
  width: 16px;
  height: 16px;
}

/* CTA Title */
.btn-main-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(0.72rem, 3.2vw, 0.92rem);
  letter-spacing: 0.01em;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  flex: 1;
  text-align: center;
  line-height: 1.2;
}

/* Chevron Icon */
.btn-chevron-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  width: 16px;
  height: 16px;
  min-width: 16px;
  flex-shrink: 0;
  transition: transform var(--ease-smooth);
}

.svg-arrow {
  width: 16px;
  height: 16px;
}

.btn-green-cta:hover .btn-chevron-icon {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   11. Value & Feature Pills (4 Stacked Luxury Cards)
   -------------------------------------------------------------------------- */
.features-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 26px;
}

.feature-pill-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  background: var(--bg-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-item);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform var(--ease-smooth), border-color var(--ease-smooth), box-shadow var(--ease-smooth);
}

.feature-pill-item:hover {
  transform: translateX(3px);
  border-color: var(--gold-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.2);
  background: rgba(30, 22, 14, 0.85);
}

.feature-gold-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.4));
  flex-shrink: 0;
}

.feature-text-label {
  font-family: var(--font-text);
  font-size: 0.98rem;
  font-weight: 700;
  color: #f3f4f6;
  letter-spacing: 0.01em;
  text-align: left;
}

/* --------------------------------------------------------------------------
   12. Bottom Trust Strip (3 Columns)
   -------------------------------------------------------------------------- */
.trust-bar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.trust-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.4));
}

.trust-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.76rem;
  color: #e2e8f0;
  font-weight: 600;
  line-height: 1.25;
}

.trust-col-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.app-footer {
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.copyright-text {
  font-size: 0.72rem;
  color: #64748b;
}

.security-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}

.security-svg-icon {
  display: inline-flex;
  align-items: center;
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   14. Slide-in Drawer (Menu Informativo)
   -------------------------------------------------------------------------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 360px;
  height: 100%;
  background: #0d0f14;
  border-left: 1px solid var(--gold-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.drawer-overlay.active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.drawer-title {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-light);
}

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: color var(--ease-smooth);
}

.drawer-close:hover {
  color: #ffffff;
}

.drawer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-section h4 {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.drawer-section p {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.5;
}

.drawer-action {
  margin-top: 16px;
}

.drawer-cta-btn {
  justify-content: center;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   15. Toast Notification
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: #18130d;
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-item);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.3);
  z-index: 200;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90%;
  width: 380px;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.toast-body strong {
  display: block;
  font-size: 0.88rem;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.toast-body p {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.toast-body code {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 4px;
  border-radius: 4px;
  color: #fef08a;
}

/* --------------------------------------------------------------------------
   Mobile Viewport Responsive Refinements
   -------------------------------------------------------------------------- */
@media (max-width: 400px) {
  .pricing-gold-card {
    padding: 22px 14px 18px 14px;
  }
  
  .btn-green-cta {
    padding: 8px 10px;
    gap: 6px;
    min-height: 54px;
  }
  
  .btn-lock-circle {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  
  .svg-lock {
    width: 14px;
    height: 14px;
  }
  
  .btn-main-title {
    font-size: 0.74rem;
    letter-spacing: 0;
  }
  
  .btn-chevron-icon {
    width: 14px;
    height: 14px;
    min-width: 14px;
  }
  
  .brand-text {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 350px) {
  .btn-main-title {
    font-size: 0.68rem;
  }
  
  .deal-amount {
    font-size: 1.6rem;
  }
  
  .price-old-text {
    font-size: 1.15rem;
  }
}
