/* =============================== */
/* GLOBAL THEME VARIABLES          */
/* =============================== */

:root[data-theme="dark"] {
  --bg: #050607;
  --text: #e8faff;
  --card-bg: rgba(0,0,0,0.45);
  --border-neon: rgba(0,255,255,0.25);
  --neon-glow: rgba(0,255,255,0.45);
  --switch-bg: rgba(0,0,0,0.55);
  --switch-toggle: #e8faff;
  --switch-toggle-shadow: rgba(0,255,255,0.45);

  /* DARK HERO — SHOOTING STARS */
  --hero-bg: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee');
}

:root[data-theme="light"] {
  --bg: #f7faff;
  --text: #000000;
  --card-bg: rgba(255,255,255,0.85);
  --border-neon: rgba(0,150,255,0.35);
  --neon-glow: rgba(0,150,255,0.45);
  --switch-bg: rgba(255,255,255,0.95);
  --switch-toggle: #000000;
  --switch-toggle-shadow: rgba(0,150,255,0.45);

  /* LITE HERO — BAD WEATHER */
  --hero-bg: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d');
}

/* =============================== */
/* BODY                            */
/* =============================== */

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.35s ease, color 0.35s ease;
}

/* =============================== */
/* HERO HEADER                     */
/* =============================== */

.freeney-hero {
  width: 100%;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.freeney-hero h1 {
  font-size: 3rem;
  color: #e8faff;
  text-shadow: 0 0 22px var(--neon-glow);
  z-index: 2;
}

.freeney-hero p {
  font-size: 1.2rem;
  opacity: 0.85;
  color: #e8faff;
  margin-top: 10px;
  z-index: 2;
}

/* SHARDS */
.shard {
  position: absolute;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--neon-glow), rgba(0,0,0,0));
  filter: blur(22px);
  opacity: 0.55;
  transform: rotate(35deg);
  animation: shardFloat 6s infinite ease-in-out;
}

@keyframes shardFloat {
  0% { transform: translateY(0) rotate(35deg); }
  50% { transform: translateY(-20px) rotate(35deg); }
  100% { transform: translateY(0) rotate(35deg); }
}

/* =============================== */
/* GRID                            */
/* =============================== */

.mb-grid {
  max-width: 1400px;
  margin: auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 26px;
}

/* =============================== */
/* CARDS                           */
/* =============================== */

.mb-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-neon);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  color: var(--text);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 22px var(--border-neon),
    inset 0 0 18px rgba(0,0,0,0.45);
  transition: 0.3s ease;
  cursor: pointer;
}

.mb-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 32px var(--neon-glow),
    inset 0 0 22px rgba(0,0,0,0.55);
}

.mb-card strong {
  font-size: 1.35rem;
  display: block;
  margin-bottom: 10px;
  color: #7dfcff;
  text-shadow: 0 0 12px var(--neon-glow);
}

.mb-card span {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.45rem;
}

/* =============================== */
/* MODALS                          */
/* =============================== */

.mb-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.mb-modal-content {
  width: 420px;
  background: var(--card-bg);
  border: 1px solid var(--border-neon);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 0 32px var(--neon-glow);
}

.mb-modal-content h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  color: #7dfcff;
  text-shadow: 0 0 12px var(--neon-glow);
}

.mb-modal-content label {
  display: block;
  margin: 10px 0 6px;
  opacity: 0.85;
}

.mb-modal-content input,
.mb-modal-content select {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border-neon);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  margin-bottom: 14px;
}

.mb-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00eaff, #0077ff);
  border: none;
  color: #001015;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 18px var(--neon-glow);
}

.mb-close {
  margin-top: 14px;
  text-align: center;
  cursor: pointer;
  opacity: 0.75;
}
/* =============================== */
/* CLAIM PAGE — SPECIAL CARD COLORS */
/* =============================== */

/* RED — New Claim */
.claim-card {
  background: rgba(255, 0, 0, 0.25);
  border-color: rgba(255, 0, 0, 0.45);
}
.claim-card:hover {
  box-shadow: 0 0 32px rgba(255, 0, 0, 0.55);
  transform: translateY(-2px);
}

/* YELLOW — Check Status */
.status-card {
  background: rgba(255, 255, 0, 0.25);
  border-color: rgba(255, 255, 0, 0.45);
}
.status-card:hover {
  box-shadow: 0 0 32px rgba(255, 255, 0, 0.55);
  transform: translateY(-2px);
}

/* GREEN — Upload Documents */
.upload-card {
  background: rgba(0, 255, 0, 0.25);
  border-color: rgba(0, 255, 0, 0.45);
}
.upload-card:hover {
  box-shadow: 0 0 32px rgba(0, 255, 0, 0.55);
  transform: translateY(-2px);
}


/* =============================== */
/* WALL SWITCH                     */
/* =============================== */

.switch-wrapper {
  margin: 60px auto 40px;
  text-align: center;
}

.wall-switch {
  width: 90px;
  height: 150px;
  background: var(--switch-bg);
  border-radius: 16px;
  margin: auto;
  position: relative;
  box-shadow:
    inset 0 0 18px var(--border-neon),
    0 0 22px var(--neon-glow);
  border: 1px solid var(--border-neon);
  cursor: pointer;
  transition: 0.3s ease;
}

.wall-switch:hover {
  box-shadow:
    inset 0 0 22px var(--neon-glow),
    0 0 32px var(--neon-glow);
}

.switch-toggle {
  width: 50px;
  height: 60px;
  background: var(--switch-toggle);
  border-radius: 10px;
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.45),
    0 0 18px var(--switch-toggle-shadow);
  transition: 0.3s ease;
}

.wall-switch.dark .switch-toggle {
  top: 72px;
}

.switch-label {
  margin-top: 14px;
  font-size: 1rem;
  opacity: 0.85;
  color: #7dfcff;
  text-shadow: 0 0 12px var(--neon-glow);
}

/* =============================== */
/* BOTTOM NAV                      */
/* =============================== */

.fi-bottom-nav {
  width: 100%;
  background: rgba(0,0,0,0.55);
  border-top: 1px solid var(--border-neon);
  box-shadow: 0 -0 22px var(--neon-glow);
  padding: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
}

.fi-nav-item {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4rem;
  padding: 10px 16px;
  border-radius: 12px;
  transition: 0.3s ease;
  display: inline-block;
}

.fi-nav-item span {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* GREEN HOVER */
.fi-nav-item:hover {
  background: rgba(0,255,0,0.25);
  box-shadow: 0 0 22px rgba(0,255,0,0.55);
  transform: translateY(-4px);
}

/* =============================== */
/* FOOTER                          */
/* =============================== */

.fi-footer {
  width: 100%;
  background: rgba(0,0,0,0.55);
  border-top: 1px solid var(--border-neon);
  box-shadow: 0 -0 22px var(--neon-glow);
  padding: 18px 0;
  position: relative; /* IMPORTANT: allows page scroll */
  margin-top: 60px;   /* pushes footer below content */
  text-align: center;
  backdrop-filter: blur(12px);
}

.fi-footer-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.fi-footer-inner span {
  color: var(--text);
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 10px;
  transition: 0.3s ease;
}

/* GREEN HOVER */
.fi-footer-inner span:hover {
  background: rgba(0,255,0,0.25);
  box-shadow: 0 0 22px rgba(0,255,0,0.55);
  transform: translateY(-3px);
}


.need-help-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: linear-gradient(90deg,#4ea1ff,#00d4ff);
  padding: 12px 20px;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  z-index: 99999;
}

/* SIDEPANEL */
#helpPanel {
  position: fixed;
  top: 0;
  left: -420px;
  width: 320px;
  height: 100%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  border-right: 1px solid rgba(255,255,255,0.12);
  padding: 30px;
  transition: left 0.35s ease;
  z-index: 999999;
  overflow-y: auto;
}

#helpPanel h2 {
  margin-top: 0;
  font-size: 1.6rem;
  background: linear-gradient(90deg,#4ea1ff,#00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.help-link {
  display: block;
  padding: 12px;
  margin: 10px 0;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}

.help-link:hover {
  background: rgba(255,255,255,0.18);
}

.close-help {
  margin-top: 20px;
  padding: 10px 20px;
  background: #ff3b3b;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  text-align: center;
}

.need-help-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: linear-gradient(90deg,#4ea1ff,#00d4ff);
  padding: 12px 20px;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  z-index: 99999;
  transition: all 0.25s ease;
}

/* GREEN HOVER — Hoover Standard */
.need-help-btn:hover {
  background: linear-gradient(90deg,#00ff7a,#00c95a);
  box-shadow: 0 0 18px rgba(0,255,122,0.55);
  transform: translateY(-2px);
}

/* GREEN HOOVER — Freeney Ecosystem‑G Standard */
.help-link {
  display: block;
  padding: 12px;
  margin: 10px 0;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Apply Green Hoover Glow */
.help-link:hover {
  background: linear-gradient(90deg,#00ff7a,#00c95a);
  box-shadow: 0 0 18px rgba(0,255,122,0.55);
  transform: translateX(6px);
}

.quote-pop-btn {
  display: inline-block;
  padding: 16px 42px;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;

  /* Cinematic neon gradient */
  background: linear-gradient(90deg, #00ff7a, #00c95a);
  color: #000;

  border-radius: 50px;
  border: 3px solid rgba(0,0,0,0.65);

  /* POP shadow */
  box-shadow: 0 8px 28px rgba(0,255,122,0.45),
              inset 0 0 12px rgba(255,255,255,0.35);

  transition: all 0.25s ease;
  position: relative;
}

/* HOVER — THE POP */
.quote-pop-btn:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 0 32px #00ff7a,
              0 12px 32px rgba(0,0,0,0.55);
}

/* PULSE ANIMATION */
.quote-pop-btn {
  animation: quotePulse 2.4s infinite ease-in-out;
}

@keyframes quotePulse {
  0% { box-shadow: 0 8px 28px rgba(0,255,122,0.45); }
  50% { box-shadow: 0 12px 38px rgba(0,255,122,0.75); }
  100% { box-shadow: 0 8px 28px rgba(0,255,122,0.45); }
}

.quote-center {
  display: flex;
  justify-content: center;   /* horizontal center */
  align-items: flex-start;    /* align to top instead of middle */
  padding-top: 40px;          /* adjust this number to move closer */
  width: 100%;
}



