/* ========================================
   AurumBridge - Main Stylesheet
   ======================================== */

/* ---- CSS Variables ---- */
:root {
  --white: #FFFFFF;
  --snow: #FAFAFA;
  --deep-blue: #1A2B49;
  --titanium: #2C3E50;
  --gold: #D4AF37;
  --gold-light: rgba(212,175,55,0.15);
  --gold-border: rgba(212,175,55,0.3);
  --green: #00C853;
  --shadow: 0 4px 24px rgba(26,43,73,0.06);
  --shadow-lg: 0 12px 48px rgba(26,43,73,0.1);
  --radius: 16px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--deep-blue);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}

.nav-scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: rgba(26,43,73,0.06);
  box-shadow: 0 1px 12px rgba(26,43,73,0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
}

.logo-icon {
  color: var(--gold);
  font-size: 24px;
}

.logo-text {
  color: var(--deep-blue);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--titanium);
  margin-left: 4px;
  opacity: 0.6;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--titanium);
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--white);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep-blue);
  transition: all 0.3s var(--ease);
}

.burger-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-active span:nth-child(2) {
  opacity: 0;
}

.burger-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Sections Common ---- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-desc {
  font-size: 17px;
  color: var(--titanium);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #E8C84A 50%, #D4AF37 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(212,175,55,0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,175,55,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--deep-blue);
  border: 1.5px solid rgba(26,43,73,0.15);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-full {
  width: 100%;
}

.btn-xl {
  padding: 20px 40px;
  font-size: 17px;
}

.btn-breathing {
  animation: breathing 2s ease-in-out infinite;
}

@keyframes breathing {
  0%, 100% { box-shadow: 0 4px 16px rgba(212,175,55,0.25); }
  50% { box-shadow: 0 4px 32px rgba(212,175,55,0.5), 0 0 60px rgba(212,175,55,0.15); }
}

/* ---- Section 1: Conversion Dashboard ---- */
.section-conversion {
  background: var(--snow);
  padding-top: 192px;
}

.conversion-hero {
  text-align: center;
  margin-bottom: 56px;
}

.conversion-hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.conversion-hero-desc {
  font-size: 18px;
  color: var(--titanium);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

.dashboard-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,43,73,0.04);
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(26,43,73,0.06);
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-pair {
  display: flex;
  flex-direction: column;
}

.pair-label {
  font-size: 22px;
  font-weight: 800;
  color: var(--deep-blue);
}

.pair-name {
  font-size: 13px;
  color: var(--titanium);
  opacity: 0.6;
}

.dashboard-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--deep-blue);
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}

.price-unit {
  font-size: 12px;
  color: var(--titanium);
  opacity: 0.5;
}

.dashboard-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.badge-active {
  background: rgba(0,200,83,0.08);
  color: var(--green);
  border: 1px solid rgba(0,200,83,0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.dashboard-widget {
  height: 400px;
  padding: 0;
}

.widget-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: var(--snow);
}

.widget-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--titanium);
  font-size: 14px;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(212,175,55,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(26,43,73,0.06);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-right: 1px solid rgba(26,43,73,0.06);
}

.stat-item:last-child {
  border-right: none;
}

.stat-label {
  font-size: 12px;
  color: var(--titanium);
  opacity: 0.6;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-blue);
  font-variant-numeric: tabular-nums;
}

.stat-green {
  color: var(--green);
}

/* ---- Section 2: Hero ---- */
.section-hero {
  background: var(--white);
  padding: 120px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-light);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid var(--gold-border);
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--deep-blue);
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--titanium);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-trust-row {
  display: flex;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--titanium);
}

.trust-icon {
  font-size: 18px;
}

.hero-visual {
  position: relative;
}

.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26,43,73,0.04);
  animation: float 3s ease-in-out infinite;
}

.float-card-1 {
  top: -20px;
  right: -20px;
}

.float-card-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 1.5s;
}

.float-label {
  display: block;
  font-size: 11px;
  color: var(--titanium);
  opacity: 0.6;
  margin-bottom: 4px;
}

.float-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-blue);
}

.float-value small {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.6;
}

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

/* ---- Section 3: Marquee ---- */
.section-marquee {
  padding: 0;
  background: var(--deep-blue);
  overflow: hidden;
}

.marquee-track {
  overflow: hidden;
  padding: 20px 0;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  width: max-content;
}

.marquee-item {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

.marquee-item strong {
  color: var(--gold);
  font-weight: 700;
}

.mi-icon {
  font-size: 16px;
}

.marquee-sep {
  color: var(--gold);
  font-size: 8px;
  opacity: 0.4;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Section 4: Valuation ---- */
.section-valuation {
  background: var(--snow);
}

.valuation-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gold-border);
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.valuation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #E8C84A, var(--gold));
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--deep-blue);
  background: var(--snow);
  border: 1.5px solid rgba(26,43,73,0.08);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
  background: var(--white);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231A2B49' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--titanium);
  opacity: 0.6;
  text-align: center;
  margin-top: 16px;
}

.form-disclaimer a {
  color: var(--gold);
  text-decoration: underline;
}

.valuation-result {
  text-align: center;
  padding: 32px 0;
}

.result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,200,83,0.1);
  color: var(--green);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.result-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.result-desc {
  font-size: 15px;
  color: var(--titanium);
  line-height: 1.7;
  margin-bottom: 24px;
}

.result-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 280px;
  margin: 0 auto;
}

.result-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--deep-blue);
}

.result-feature span {
  color: var(--green);
  font-weight: 700;
}

/* ---- Section 5: Process ---- */
.section-process {
  background: var(--white);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.process-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(212,175,55,0.12);
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--titanium);
  line-height: 1.7;
}

.process-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-border), var(--gold), var(--gold-border));
  margin-top: 80px;
  flex-shrink: 0;
}

/* ---- Section 6: Trust ---- */
.section-trust {
  background: var(--snow);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,43,73,0.04);
  transition: all 0.3s var(--ease);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.trust-card-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.trust-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 12px;
}

.trust-card-desc {
  font-size: 14px;
  color: var(--titanium);
  line-height: 1.8;
  margin-bottom: 20px;
}

.trust-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

/* ---- Section 7: Trend ---- */
.section-trend {
  background: var(--white);
}

.trend-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,43,73,0.04);
  padding: 32px;
  overflow: hidden;
}

.trend-chart {
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.trend-chart canvas {
  width: 100%;
  height: auto;
  display: block;
}

.trend-legend {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 32px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--titanium);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-gold {
  background: var(--gold);
}

.legend-green {
  background: var(--green);
}

.trend-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  text-align: center;
  padding: 24px;
  background: var(--snow);
  border-radius: var(--radius-sm);
}

.insight-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.insight-label {
  font-size: 13px;
  color: var(--titanium);
}

/* ---- Section 8: Settlement ---- */
.section-settlement {
  background: var(--deep-blue);
  color: var(--white);
}

.section-settlement .section-label {
  color: var(--gold);
}

.section-settlement .section-title {
  color: var(--white);
}

.settlement-block {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.settlement-text {
  font-size: 22px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
}

.settlement-text strong {
  color: var(--gold);
}

.settlement-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.settle-item {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s var(--ease);
}

.settle-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold-border);
}

.settle-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.settle-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.settle-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

/* ---- Section 9: Bonus ---- */
.section-bonus {
  background: var(--snow);
  text-align: center;
}

.bonus-card {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  perspective: 1000px;
}

.bonus-glow {
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), #E8C84A, var(--gold));
  animation: glow-pulse 2s ease-in-out infinite;
  z-index: 0;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; filter: blur(8px); }
  50% { opacity: 0.8; filter: blur(16px); }
}

.bonus-inner {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
}

.bonus-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 24px;
}

.bonus-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.2;
  margin-bottom: 16px;
}

.bonus-highlight {
  color: var(--gold);
  font-size: 56px;
}

.bonus-subtitle {
  font-size: 16px;
  color: var(--titanium);
  margin-bottom: 40px;
}

.bonus-perks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  margin-bottom: 40px;
}

.perk-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--snow);
  border-radius: 12px;
  border: 1px solid rgba(26,43,73,0.04);
  transition: all 0.3s var(--ease);
}

.perk-item:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow);
}

.perk-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.perk-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.perk-content p {
  font-size: 14px;
  color: var(--titanium);
  line-height: 1.7;
}

/* ---- Footer ---- */
.footer {
  background: var(--deep-blue);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.6;
}

.footer-links-group h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links-group a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links-group a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 12px;
  opacity: 0.5;
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-size: 11px;
  opacity: 0.4;
}

/* ---- Popup ---- */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(26,43,73,0);
  backdrop-filter: blur(0px);
  transition: all 0.4s var(--ease);
}

.popup-visible {
  background: rgba(26,43,73,0.5);
  backdrop-filter: blur(12px);
}

.popup-modal {
  background: var(--white);
  border-radius: 24px;
  padding: 56px 48px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s var(--ease);
  box-shadow: 0 24px 80px rgba(26,43,73,0.2);
}

.popup-modal-show {
  transform: scale(1);
  opacity: 1;
}

.popup-modal-shrink {
  transform: scale(0.15) translate(300%, -300%);
  opacity: 0;
  transition: all 0.5s var(--ease);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: var(--titanium);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
  line-height: 1;
}

.popup-close:hover {
  opacity: 1;
}

.popup-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}

.popup-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.popup-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 12px;
}

.popup-desc {
  font-size: 15px;
  color: var(--titanium);
  margin-bottom: 24px;
  line-height: 1.6;
}

.popup-desc strong {
  color: var(--gold);
}

.popup-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.countdown-label {
  font-size: 12px;
  color: var(--titanium);
  opacity: 0.6;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.countdown-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--deep-blue);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown-sep {
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
}

.countdown-sub {
  font-size: 12px;
  color: var(--titanium);
  opacity: 0.5;
}

/* ---- Float Widget ---- */
.float-widget {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 9998;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s var(--ease);
}

.float-widget-show {
  opacity: 1;
  transform: scale(1);
}

.float-widget-inner {
  background: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-border);
  text-align: center;
  cursor: pointer;
  animation: widget-breathe 2s ease-in-out infinite;
}

@keyframes widget-breathe {
  0%, 100% { box-shadow: 0 4px 24px rgba(212,175,55,0.15); }
  50% { box-shadow: 0 4px 32px rgba(212,175,55,0.4); }
}

.fw-timer {
  font-size: 24px;
  font-weight: 800;
  color: var(--deep-blue);
  font-variant-numeric: tabular-nums;
}

.fw-label {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
}

/* ---- Scroll Animations ---- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-title {
    font-size: 42px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section-conversion {
    padding-top: 128px;
  }

  .conversion-hero-title {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .conversion-hero-desc {
    font-size: 15px;
  }

  .section-title {
    font-size: 30px;
  }

  .hero-title {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(26,43,73,0.1);
    border-bottom: 1px solid rgba(26,43,73,0.06);
  }

  .nav-open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-widget {
    height: 280px;
  }

  .valuation-card {
    padding: 32px 24px;
  }

  .bonus-inner {
    padding: 40px 24px;
  }

  .bonus-title {
    font-size: 32px;
  }

  .bonus-highlight {
    font-size: 40px;
  }

  .trend-insights {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .settlement-features {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-trust-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .popup-modal {
    padding: 40px 24px;
  }

  .popup-title {
    font-size: 22px;
  }

  .countdown-num {
    font-size: 36px;
  }

  .float-card-1, .float-card-2 {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
