/**
 * Landing Page — Premium Executive Gold Saving Platform
 * Luxury fintech, cream/gold/champagne, refined hierarchy
 */

.landing-page {
  background: linear-gradient(180deg, #FDFBF8 0%, #FAFAF9 30%, #F5F5F4 100%);
  min-height: 100vh;
}

/* —— 1. Header —— */
.landing-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.landing-logo {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.landing-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--gold-gradient);
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}
.landing-logo-icon i,
.landing-logo-icon .lucide {
  width: 20px;
  height: 20px;
}
.landing-brand-suffix {
  font-weight: 500;
  margin-left: 0.15rem;
}
.landing-badge {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  background: var(--soft-gold-bg);
  border-radius: var(--radius-sm);
}

/* —— 2. Hero —— */
.landing-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}
@media (min-width: 768px) {
  .landing-hero { min-height: 480px; }
}
@media (min-width: 992px) {
  .landing-hero { min-height: 520px; }
}
.landing-hero-bg {
  position: absolute;
  inset: 0;
}
.landing-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.landing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(31, 41, 55, 0.88) 0%, rgba(31, 41, 55, 0.5) 45%, rgba(31, 41, 55, 0.2) 70%, transparent 100%);
}
@media (max-width: 767px) {
  .landing-hero-overlay {
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.75) 0%, rgba(31, 41, 55, 0.5) 100%);
  }
}
.landing-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
  max-width: 520px;
}
.landing-hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.landing-hero-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.landing-hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.landing-hero-cta .btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--charcoal);
  border: none;
  font-weight: 600;
}
.landing-hero-cta .btn-light:hover {
  background: #fff;
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-md);
}
.landing-hero-cta .btn-primary {
  background: var(--gold-gradient) !important;
  color: var(--charcoal) !important;
  border: none;
  font-weight: 600;
  box-shadow: var(--shadow-soft-md), 0 4px 16px rgba(184, 134, 11, 0.25);
}
.landing-hero-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium), 0 6px 20px rgba(184, 134, 11, 0.3);
}

/* —— 3. Section common —— */
.landing-section {
  padding: var(--space-4xl) 0;
}
.landing-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.landing-section-lead {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* —— Value cards —— */
.landing-value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.landing-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-md);
  border-color: rgba(212, 168, 75, 0.25);
}
.landing-value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--soft-gold-bg);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.landing-value-icon i,
.landing-value-icon .lucide {
  width: 24px;
  height: 24px;
}
.landing-value-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.landing-value-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0;
}

/* —— 4. Gold snapshot —— */
.landing-gold {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}
.landing-gold-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 168, 75, 0.2);
  box-shadow: var(--shadow-soft-md), 0 0 0 1px rgba(246, 231, 193, 0.5);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.landing-gold-metric {
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.landing-gold-metric:last-child {
  border-right: none;
}
@media (min-width: 768px) {
  .landing-gold-metric:nth-child(2) { border-right: 1px solid var(--border); }
  .landing-gold-metric:nth-child(4) { border-right: none; }
  .landing-gold-metric:nth-child(n+3) { border-bottom: none; }
}
.landing-gold-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.landing-gold-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.landing-gold-metric-chart {
  min-height: 100px;
}
.landing-gold-sparkline {
  height: 48px;
  margin: 0.25rem 0;
}
.landing-gold-change {
  display: block;
  font-weight: 600;
}
.landing-gold-footer {
  padding: 0.75rem 1.25rem;
  background: var(--soft-gold-bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* —— 5. Role cards —— */
.landing-roles {
  background: linear-gradient(180deg, transparent 0%, rgba(246, 231, 193, 0.12) 50%, transparent 100%);
}
.landing-role-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
}
.landing-role-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(212, 168, 75, 0.35);
  color: inherit;
}
.landing-role-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--soft-gold-bg) 0%, rgba(232, 197, 71, 0.08) 100%);
}
.landing-role-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.landing-role-card:hover .landing-role-visual img {
  transform: scale(1.05);
}
.landing-role-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
}
.landing-role-badge i,
.landing-role-badge .lucide {
  width: 22px;
  height: 22px;
}
.landing-role-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.landing-role-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.landing-role-summary {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}
.landing-role-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.landing-role-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.landing-role-features li i,
.landing-role-features li .lucide {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.landing-role-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.landing-role-card:hover .landing-role-cta {
  box-shadow: var(--shadow-soft), 0 4px 16px rgba(184, 134, 11, 0.25);
}

/* —— 6. How it works —— */
.landing-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.landing-step:hover {
  box-shadow: var(--shadow-soft);
  border-color: rgba(212, 168, 75, 0.2);
}
.landing-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--gold-gradient);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.landing-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.landing-step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

/* —— 7. Preview —— */
.landing-preview-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  height: 100%;
  transition: box-shadow 0.2s ease;
}
.landing-preview-card:hover {
  box-shadow: var(--shadow-soft);
}
.landing-preview-icon {
  margin-bottom: 0.5rem;
}
.landing-preview-icon i,
.landing-preview-icon .lucide {
  width: 28px;
  height: 28px;
}
.landing-preview-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}

/* —— 8. Footer —— */
.landing-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--space-4xl);
}
.landing-footer .landing-footer-brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
}
.landing-footer .landing-footer-brand:hover {
  color: var(--gold-light);
}
.landing-footer .text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}
.landing-footer .landing-logo-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold-light);
}

/* Demo helper panel (reuse from custom) */
.landing-section .demo-helper-panel {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  background: var(--soft-gold-bg);
  border: 1px solid rgba(212, 168, 75, 0.2);
}
