:root {
  --bg-deep: #070B0D;
  --bg-surface: #0A0F12;
  --bg-card: rgba(17, 23, 30, 0.75);
  --bg-card-hover: rgba(22, 31, 40, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.3);
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --primary: #10B981;
  --primary-glow: rgba(16, 185, 129, 0.35);
  --primary-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --mint: #34D399;
  --gold: #D4AF37;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --accent-blue: #3B82F6;
  --accent-purple: #8B5CF6;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
  --shadow-luxury: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 40px -10px rgba(16, 185, 129, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Precise Section Anchoring & Viewport Centering */
#features,
#calculator,
#security,
#faq {
  scroll-margin-top: 100px;
}

#download,
.hero-cta-group#download {
  scroll-margin-top: calc(50vh - 35px);
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  padding-top: 86px;
}

/* Background Ambient Glows */
.ambient-glow-1 {
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.05) 50%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  animation: pulseGlow 12s ease-in-out infinite alternate;
}

.ambient-glow-2 {
  position: fixed;
  top: 45%;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.04) 60%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.ambient-glow-3 {
  position: fixed;
  bottom: 0;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(16, 185, 129, 0.05) 60%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

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

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

/* Header & Nav */
header.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

header.site-header .container {
  pointer-events: none;
}

.nav-wrapper {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 20, 26, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  transition: all 0.3s ease;
}

.nav-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  list-style: none;
  margin: 0 8px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--mint);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}
  gap: 10px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 90px;
  text-align: center;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  color: var(--mint);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

@keyframes floatSubtle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  max-width: 900px;
  margin: 0 auto 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(22, 31, 40, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-decoration: none;
  color: #FFFFFF;
  text-align: left;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}

.store-badge-btn:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.25);
}

.store-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.store-btn-text .subtext {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.store-btn-text .maintext {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Highlights Bar */
.highlights-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 18px 28px;
  background: rgba(14, 20, 26, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  max-width: 820px;
  margin: 0 auto 60px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.highlight-item svg {
  color: var(--mint);
  width: 18px;
  height: 18px;
}

/* Interactive Device Mockup */
.mockup-wrapper {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  perspective: 1000px;
}

.device-phone {
  background: #05080A;
  border-radius: 44px;
  padding: 12px;
  border: 3px solid #1E293B;
  box-shadow: var(--shadow-luxury), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.device-phone:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(16, 185, 129, 0.3);
}

.device-inner {
  background: #0A0F12;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-notch {
  width: 120px;
  height: 22px;
  background: #000;
  margin: 0 auto;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.app-screen-content {
  padding: 16px 18px 24px;
  text-align: left;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.space-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--mint);
  border-radius: var(--radius-full);
}

.balance-card-ui {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(6, 78, 59, 0.3) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.balance-label {
  font-size: 0.76rem;
  color: var(--mint);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.balance-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 4px 0 10px;
  letter-spacing: -0.03em;
}

.settle-quick-btn {
  background: #10B981;
  color: #070B0D;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.tx-list-ui {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tx-row-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
}

.tx-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tx-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.tx-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
}

.tx-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.tx-amount {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  text-align: right;
}

.tx-split-tag {
  font-size: 0.65rem;
  color: var(--mint);
}

/* Floating Badges */
.floating-glass-badge {
  position: absolute;
  background: rgba(17, 23, 30, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  z-index: 10;
  animation: floatBadge 5s ease-in-out infinite alternate;
}

.floating-glass-badge.badge-left {
  top: 15%;
  left: -90px;
  border-left: 3px solid var(--mint);
}

.floating-glass-badge.badge-right {
  bottom: 20%;
  right: -95px;
  border-left: 3px solid var(--gold);
  animation-delay: -2.5s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.f-badge-icon {
  font-size: 1.3rem;
}

.f-badge-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFFFFF;
}

.f-badge-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Bento Features Grid */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-5px);
  box-shadow: var(--shadow-luxury);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  margin-bottom: 24px;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

/* Interactive Calculator */
.calc-card {
  background: linear-gradient(145deg, rgba(17, 23, 30, 0.85) 0%, rgba(10, 15, 18, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-luxury);
}

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

.calc-control-group {
  margin-bottom: 24px;
}

.calc-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.calc-input-row {
  position: relative;
}

.calc-currency-symbol {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mint);
}

.calc-input {
  width: 100%;
  padding: 14px 16px 14px 40px;
  background: rgba(7, 11, 13, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  outline: none;
  transition: border-color 0.2s;
}

.calc-input:focus {
  border-color: var(--primary);
}

.calc-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #1E293B;
  outline: none;
  accent-color: var(--primary);
  cursor: pointer;
}

.calc-result-box {
  background: rgba(6, 78, 59, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  position: relative;
}

.calc-result-badge {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.calc-result-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.calc-result-sub {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  padding: 22px 26px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.25s ease;
  color: var(--mint);
}

.faq-answer {
  padding: 0 26px 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* CTA Banner */
.cta-banner {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.2) 0%, rgba(7, 11, 13, 0.9) 70%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  max-width: 1000px;
  margin: 40px auto 100px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.18);
}

/* Footer */
footer.site-footer {
  background: #05080A;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.footer-brand-col {
  max-width: 320px;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 26px;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

/* Legal Policy Layout */
.legal-page-header {
  padding: 60px 0 30px;
  text-align: center;
}

.legal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 860px;
  margin: 0 auto 80px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.legal-content-card h2 {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin: 32px 0 12px;
  letter-spacing: -0.02em;
}

.legal-content-card h3 {
  font-size: 1.15rem;
  color: var(--mint);
  margin: 24px 0 10px;
}

.legal-content-card p, .legal-content-card li {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content-card ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-2 {
    grid-column: span 1;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .floating-glass-badge {
    display: none;
  }
  .nav-links {
    display: none;
  }
}

/* -------------------------------------------------------------
   THEME TOGGLE BUTTON & ACTIONS
   ------------------------------------------------------------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-toggle-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  position: relative;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.theme-toggle-btn:hover {
  transform: scale(1.08);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.theme-icon {
  width: 22px;
  height: 22px;
  pointer-events: none;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Default display */
.theme-icon.sun-icon,
#theme-icon-sun {
  display: flex !important;
  color: #FBBF24;
}
.theme-icon.moon-icon,
#theme-icon-moon {
  display: none !important;
  color: #6366F1;
}

/* In Dark mode: show Sun icon (to switch to light) */
[data-theme="dark"] .theme-icon.sun-icon,
[data-theme="dark"] #theme-icon-sun {
  display: flex !important;
  color: #FBBF24;
}
[data-theme="dark"] .theme-icon.moon-icon,
[data-theme="dark"] #theme-icon-moon {
  display: none !important;
}

/* In Light mode: show Moon icon (to switch to dark) */
[data-theme="light"] .theme-icon.sun-icon,
[data-theme="light"] #theme-icon-sun {
  display: none !important;
}
[data-theme="light"] .theme-icon.moon-icon,
[data-theme="light"] #theme-icon-moon {
  display: flex !important;
  color: #6366F1;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* -------------------------------------------------------------
   LIGHT MODE TOKENS & OVERRIDES
   ------------------------------------------------------------- */
html[data-theme="light"],
body[data-theme="light"],
[data-theme="light"] {
  --bg-deep: #F3F5F1;
  --bg-surface: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #FFFFFF;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(16, 185, 129, 0.3);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --primary: #059669;
  --primary-glow: rgba(5, 150, 105, 0.25);
  --primary-gradient: linear-gradient(135deg, #059669 0%, #10B981 100%);
  --mint: #047857;
  --gold: #B45309;
  --gold-glow: rgba(180, 83, 9, 0.15);
  --shadow-luxury: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 30px -5px rgba(16, 185, 129, 0.08);
}

html[data-theme="light"],
body[data-theme="light"],
[data-theme="light"] body {
  background-color: #F3F5F1 !important;
  color: #0F172A !important;
}

[data-theme="light"] .ambient-glow-1 {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.03) 50%, transparent 70%);
}

[data-theme="light"] .ambient-glow-2 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, rgba(139, 92, 246, 0.02) 60%, transparent 70%);
}

[data-theme="light"] .ambient-glow-3 {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(16, 185, 129, 0.03) 60%, transparent 70%);
}

[data-theme="light"] .nav-wrapper {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .brand-link {
  color: #0F172A;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .badge-pill {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #065F46;
}

[data-theme="light"] .highlights-bar {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .store-badge-btn {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #0F172A !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .store-badge-btn:hover {
  border-color: #059669 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 0 20px rgba(16, 185, 129, 0.15) !important;
}

[data-theme="light"] .store-badge-btn .store-icon,
[data-theme="light"] .store-badge-btn .store-icon path {
  fill: #0F172A !important;
}

[data-theme="light"] .store-btn-text .maintext {
  color: #0F172A !important;
}

[data-theme="light"] .store-btn-text .subtext {
  color: #64748B !important;
}

[data-theme="light"] .device-phone {
  background: #1E293B;
  border-color: #CBD5E1;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 40px rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .device-inner {
  background: #F8FAFC;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .balance-card-ui {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.2) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .balance-label {
  color: #065F46;
}

[data-theme="light"] .balance-number {
  color: #0F172A;
}

[data-theme="light"] .tx-row-ui {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .tx-title {
  color: #0F172A;
}

[data-theme="light"] .tx-amount {
  color: #0F172A;
}

[data-theme="light"] .floating-glass-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .f-badge-title {
  color: #0F172A;
}

[data-theme="light"] .section-title {
  color: #0F172A !important;
}

[data-theme="light"] .section-desc {
  color: #475569 !important;
}

[data-theme="light"] .section-eyebrow {
  color: #059669 !important;
}

[data-theme="light"] .bento-card {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .bento-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 30px rgba(16, 185, 129, 0.1) !important;
}

[data-theme="light"] .bento-title {
  color: #0F172A !important;
}

[data-theme="light"] .bento-desc {
  color: #475569 !important;
}

[data-theme="light"] .bento-card h4 {
  color: #0F172A !important;
}

[data-theme="light"] .bento-card p {
  color: #475569 !important;
}

[data-theme="light"] .bento-tag {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #334155 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .calc-card {
  background: #FFFFFF !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .calc-label {
  color: #334155 !important;
}

[data-theme="light"] .calc-currency-symbol {
  color: #64748B !important;
}

[data-theme="light"] .calc-input {
  background: #F8FAFC !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #0F172A !important;
}

[data-theme="light"] .calc-result-box {
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

[data-theme="light"] .calc-result-badge {
  color: #065F46 !important;
}

[data-theme="light"] .calc-result-value {
  color: #065F46 !important;
}

[data-theme="light"] .calc-result-sub {
  color: #065F46 !important;
}

[data-theme="light"] .faq-item {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .faq-item:hover {
  border-color: rgba(16, 185, 129, 0.3) !important;
}

[data-theme="light"] .faq-question {
  color: #0F172A !important;
}

[data-theme="light"] .faq-answer {
  color: #475569 !important;
}

[data-theme="light"] .faq-icon {
  color: #059669 !important;
}

[data-theme="light"] .cta-banner {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.18) 0%, #FFFFFF 85%);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06), 0 0 40px rgba(16, 185, 129, 0.1);
}

[data-theme="light"] .cta-banner h2 {
  color: #0F172A;
}

[data-theme="light"] footer.site-footer {
  background: #F8FAFC;
  border-top-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .footer-brand-title {
  color: #0F172A;
}

[data-theme="light"] .footer-col-title {
  color: #0F172A;
}

[data-theme="light"] .legal-content-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .legal-content-card h2 {
  color: #0F172A;
}

[data-theme="light"] .legal-content-card h3 {
  color: #059669;
}

[data-theme="light"] .btn-secondary {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0F172A;
}

[data-theme="light"] .btn-secondary:hover {
  background: #F1F5F9;
  border-color: rgba(0, 0, 0, 0.2);
}

