/* ==========================================================================
   COSTWAY LUXURY PUBLIC LANDING & PROMOTIONAL STYLESHEET
   A New Era of Digital Growth • Official Landing Page Design System
   ========================================================================== */

/* LANDING PAGE ROOT & BODY OVERRIDES */
.landing-page {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Light FX */
.landing-ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow-1 {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0) 70%);
  filter: blur(80px);
  animation: pulseGlow 12s ease-in-out infinite alternate;
}

.ambient-glow-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 65%);
  filter: blur(100px);
}

.ambient-glow-3 {
  position: absolute;
  top: 75%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 65%);
  filter: blur(120px);
}

@keyframes pulseGlow {
  0% { opacity: 0.7; transform: translateX(-50%) scale(0.95); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* LANDING HEADER & NAVBAR */
.landing-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(9, 13, 21, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.landing-navbar.scrolled {
  height: 72px;
  background: rgba(7, 9, 14, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(212, 175, 55, 0.25);
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.landing-nav-link {
  font-family: var(--font-brand);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.landing-nav-link:hover,
.landing-nav-link.active {
  color: #fff;
}

.landing-nav-link:hover::after,
.landing-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* LANDING HERO SECTION */
.landing-hero {
  position: relative;
  z-index: 1;
  padding: 110px 48px 60px;
  max-width: 1360px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  font-family: var(--font-brand);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 8px var(--gold-300);
  animation: blinkDot 2s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-family: var(--font-brand);
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-headline .gold-span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.65;
  color: #a0aec0;
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.hero-metric-val {
  font-family: var(--font-brand);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.hero-metric-val .gold {
  color: var(--gold-300);
}

.hero-metric-lbl {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 5px;
}

/* HERO VISUAL SHOWCASE CARD */
.hero-visual-wrap {
  position: relative;
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(212, 175, 55, 0.2);
  background: #090d15;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.hero-card-frame:hover .hero-card-img {
  transform: scale(1.03);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 21, 0.1) 0%, rgba(9, 13, 21, 0.75) 90%);
  pointer-events: none;
}

/* Floating Glass Badges */
.floating-glass-badge {
  position: absolute;
  padding: 14px 18px;
  background: rgba(15, 21, 35, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), var(--gold-glow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: floatAnim 6s ease-in-out infinite alternate;
}

.floating-glass-badge.pos-top-left {
  top: 24px;
  left: -24px;
}

.floating-glass-badge.pos-bottom-right {
  bottom: 28px;
  right: -24px;
  animation-delay: -3s;
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  font-size: 18px;
}

.badge-icon-box.green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

.badge-meta-title {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.badge-meta-value {
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

/* SECTION COMMON STYLING */
.landing-section {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
  max-width: 1360px;
  margin: 0 auto;
}

.section-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-pretitle {
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title-large {
  font-family: var(--font-brand);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.section-desc-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* 4 ECOSYSTEM PILLARS GRID */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  padding: 32px 24px;
  background: rgba(15, 21, 35, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--border-subtle);
  transition: background 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-border-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.15);
}

.pillar-card:hover::before {
  background: var(--gold-gradient);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  margin-bottom: 22px;
}

.pillar-title {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.pillar-highlight-tag {
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 300-DAY HEDGE CYCLE SHOWCASE SECTION */
.hedge-showcase-box {
  background: linear-gradient(135deg, rgba(15, 21, 35, 0.92) 0%, rgba(9, 13, 21, 0.98) 100%);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), var(--gold-glow-sm);
}

.hedge-steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 36px 0;
  position: relative;
}

.hedge-steps-row::after {
  content: '';
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.2) 0%, var(--gold-400) 50%, rgba(16, 185, 129, 0.5) 100%);
  z-index: 0;
}

.hedge-step-node {
  position: relative;
  z-index: 1;
  text-align: center;
  background: #090d15;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  transition: all 0.3s ease;
}

.hedge-step-node:hover {
  border-color: var(--gold-300);
  transform: translateY(-4px);
  box-shadow: var(--gold-glow-sm);
}

.step-day-pill {
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-300);
  margin-bottom: 8px;
}

.step-amount-large {
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.step-hedge-shift {
  font-size: 10.5px;
  color: var(--emerald-400);
  margin-top: 4px;
}

/* INTERACTIVE CALCULATOR */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  background: rgba(15, 21, 35, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.calc-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  margin: 16px 0;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  border: 2px solid #090d15;
}

.calc-results-card {
  background: #090d15;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* SUBSCRIPTION TIERS CARDS ON LANDING */
.landing-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tier-card-landing {
  background: rgba(15, 21, 35, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.tier-card-landing:hover {
  transform: translateY(-8px);
  border-color: var(--gold-border-strong);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), var(--gold-glow-sm);
}

.tier-card-landing.highlighted {
  border-color: var(--gold-300);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, rgba(15, 21, 35, 0.9) 100%);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.2);
}

.tier-popular-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gold-gradient);
  color: #090d15;
  font-family: var(--font-brand);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
}

.tier-price-large {
  font-family: var(--font-brand);
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  margin: 16px 0 6px;
}

.tier-price-large span {
  font-size: 18px;
  color: var(--gold-300);
}

.tier-feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  flex-grow: 1;
}

.tier-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-feature-list li svg {
  color: var(--emerald-400);
  flex-shrink: 0;
}

/* CTA BANNER SECTION */
.cta-banner-card {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.25), transparent 70%),
              linear-gradient(135deg, rgba(15, 21, 35, 0.95) 0%, rgba(9, 13, 21, 0.98) 100%);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), var(--gold-glow);
}

/* LANDING FOOTER */
.landing-footer {
  position: relative;
  z-index: 1;
  background: #05070a;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 48px 32px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1360px;
  margin: 0 auto 48px;
}

.footer-brand-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
  margin-top: 14px;
}

.footer-col-title {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--gold-300);
}

.footer-bottom-bar {
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* MOBILE TOGGLE & RESPONSIVENESS */
.landing-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btn-row {
    justify-content: center;
  }
  .hero-metrics-strip {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-visual-wrap {
    max-width: 600px;
    margin: 0 auto;
  }
  .floating-glass-badge.pos-top-left {
    left: 10px;
  }
  .floating-glass-badge.pos-bottom-right {
    right: 10px;
  }
  .pillars-grid,
  .landing-tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .hedge-steps-row {
    grid-template-columns: 1fr;
  }
  .hedge-steps-row::after {
    display: none;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .landing-navbar {
    padding: 0 20px;
  }
  .landing-nav-links {
    display: none;
  }
  .landing-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #090d15;
    padding: 24px;
    border-bottom: 1px solid var(--gold-border-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
  }
  .landing-menu-toggle {
    display: block;
  }
  .landing-hero {
    padding: 120px 20px 60px;
  }
  .hero-headline {
    font-size: 36px;
  }
  .pillars-grid,
  .landing-tier-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   LANDING PAGE AUTH MODALS (LUXURY OVERLAYS)
   ========================================================================== */
.modal-overlay,
.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(3, 6, 12, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 99999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active,
.modal-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
}

.modal-dialog,
.modal-card,
.modal-box {
  background: linear-gradient(155deg, #121828 0%, #080c14 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 18px !important;
  width: 100% !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 50px rgba(212, 175, 55, 0.18) !important;
  overflow: hidden !important;
  position: relative !important;
  animation: modalScaleIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes modalScaleIn {
  from { transform: scale(0.93) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.modal-title {
  font-family: var(--font-brand);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.modal-close-btn,
.modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
  font-size: 18px;
  line-height: 1;
}

.modal-close-btn:hover,
.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: rotate(90deg);
}

.modal-body {
  padding: 26px 28px;
}

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
}

.modal-auth-switch {
  text-align: center;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.modal-auth-switch a {
  color: var(--gold-300);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  margin-left: 4px;
}

.modal-auth-switch a:hover {
  text-decoration: underline;
  color: #fff;
}

