/* ==========================================================================
   GoWallet Finance — Modern Showcase & Landing Page Stylesheet
   Design: Deep Slate Navy, Warm Amber Gold & Cream Pallete (Matched to App Icon)
   ========================================================================== */

:root {
  --bg-primary: #121a24;
  --bg-surface: #1a2433;
  --bg-card: rgba(28, 38, 55, 0.88);
  --bg-card-hover: rgba(36, 48, 66, 0.96);
  --border-subtle: rgba(245, 158, 11, 0.16);
  --border-hover: rgba(245, 158, 11, 0.45);
  --border-active: #f59e0b;

  --accent-gold: #f59e0b;
  --accent-gold-warm: #eb920e;
  --accent-cream: #fef9c3;
  --accent-cream-light: #fef08a;
  --accent-gold-glow: rgba(235, 146, 14, 0.32);
  --accent-amber: #f59e0b;
  --accent-slate: #38bdf8;
  --accent-purple: #a78bfa;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --font-main: 'Lexend', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Lexend', 'Plus Jakarta Sans', var(--font-main);

  --header-height: 70px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(235, 146, 14, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 90% 12%, rgba(254, 249, 195, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 50% 38%, rgba(28, 38, 55, 0.8) 0%, transparent 50%),
    radial-gradient(circle at 12% 72%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(215, 119, 7, 0.14) 0%, transparent 50%),
    #121a24;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

#web-portal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(18, 26, 36, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-brand-icon {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(235, 146, 14, 0.35);
}

.header-brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.header-brand-title span {
  color: var(--accent-gold);
}

.header-brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cream-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

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

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

.header-support-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.header-support-link:hover {
  color: var(--text-primary);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1a1200;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--accent-gold-glow);
  min-height: 44px;
}

.header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

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

.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0 40px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.32);
  color: var(--accent-cream-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #fef9c3 0%, #fcd34d 45%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  font-weight: 600;
  color: #f0fdf4;
}

.chip-dot {
  font-size: 0.7rem;
}

.chip-green .chip-dot { color: #10b981; }
.chip-cyan .chip-dot { color: #06b6d4; }
.chip-amber .chip-dot { color: #f59e0b; }
.chip-purple .chip-dot { color: #8b5cf6; }

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

.store-badge-link {
  display: inline-block;
  min-height: 46px;
  transition: var(--transition);
}

.store-badge-link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 16px rgba(245, 158, 11, 0.3));
}

.store-badge-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.8);
}

.store-status-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.status-dot-active {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.finance-widget-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 40px rgba(245, 158, 11, 0.12);
}

.wallet-balance-box {
  background: linear-gradient(135deg, rgba(36, 48, 66, 0.95), rgba(28, 38, 55, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.balance-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--accent-cream-light);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.balance-amount {
  font-size: 2.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  margin: 6px 0;
}

.balance-subtext {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.breakdown-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.bar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
}

.bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.fill-emerald { background: #f59e0b; }
.fill-cyan { background: #38bdf8; }
.fill-amber { background: #fbbf24; }

.widget-quick-add {
  display: flex;
  gap: 8px;
}

.btn-add-expense {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: var(--accent-cream-light);
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 44px;
}

.btn-add-expense:hover {
  background: rgba(245, 158, 11, 0.24);
  border-color: var(--accent-gold);
}

.section-wrapper {
  padding: 60px 0;
}

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

.section-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.feature-card-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}

.step-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.35);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(36, 48, 66, 0.95) 0%, rgba(28, 38, 55, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(245, 158, 11, 0.08);
  margin-top: 40px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 1.08rem;
  color: var(--accent-cream-light);
  max-width: 600px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   Web Portal Footer (Fake Call Style, GoWallet Theme)
   ========================================================================== */
#web-portal-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 50px 0 40px;
  margin-top: 80px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1.5fr 1fr;
  }
}

.footer-col-left h4 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.footer-brand-img {
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-legal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.footer-legal-row a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-row a:hover {
  color: var(--accent-gold);
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-version-tag {
  font-size: 0.74rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.footer-col-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .footer-col-right {
    justify-content: flex-end;
  }
}

@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-chips, .hero-cta-group {
    justify-content: center;
  }
  .steps-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-nav {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}
