/* styles/site.css */

/* =========================
   Base setup
========================= */
:root{
  --bg-0: #020617;         /* slate-950 */
  --bg-1: #0b1020;         /* deep ink for gradients */
  --panel-0: rgba(255,255,255,0.04);
  --panel-1: rgba(255,255,255,0.06);
  --border-0: rgba(255,255,255,0.08);
  --border-1: rgba(255,255,255,0.12);

  --text-0: #f8fafc;       /* slate-50 */
  --text-1: #e2e8f0;       /* slate-200 */
  --text-2: #cbd5e1;       /* slate-300 */
  --text-3: #94a3b8;       /* slate-400 */
  --text-4: #64748b;       /* slate-500 */

  --accent-emerald: #34d399;
  --accent-emerald-strong: #10b981;
  --accent-violet: #a78bfa;
  --accent-amber: #fbbf24;

  --radius-1: 0.9rem;
  --radius-2: 1.15rem;
  --radius-3: 1.5rem;

  --shadow-soft: 0 10px 28px rgba(0,0,0,0.25);
  --shadow-deep: 0 24px 70px rgba(0,0,0,0.45);
  --focus-ring: 0 0 0 3px rgba(52,211,153,0.14);
}

html{
  font-size: 17px; /* per your requirement */
  scroll-behavior: smooth;
}

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text-0);
  background-color: var(--bg-0);
  text-rendering: optimizeLegibility;
}

.font-display{
  font-family: Manrope, Inter, system-ui, sans-serif;
}

/* Utility container used across pages */
.container-95{
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

/* =========================
   Brand
========================= */
.brand-orb{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(52,211,153,.35), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(167,139,250,.35), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 8px 24px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.05);
}

.brand-orb.small{
  width: 28px;
  height: 28px;
  border-radius: 12px;
}

/* =========================
   Navigation
========================= */
.nav-link{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  border-radius: var(--radius-1);
  font-size: .95rem;
  font-weight: 500;
  color: rgba(226,232,240,.86);
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}

.nav-link:hover{
  color: #ffffff;
  background: rgba(255,255,255,.06);
}

.nav-link:active{
  transform: translateY(0.5px);
}

/* =========================
   Buttons
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .72rem 1.05rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  transition: transform .18s ease, filter .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary{
  background:
    linear-gradient(135deg, rgba(52,211,153,.15), rgba(167,139,250,.12)),
    linear-gradient(135deg, rgba(52,211,153,.95), rgba(16,185,129,.92));
  color: #04130c;
  border-color: rgba(52,211,153,.38);
  box-shadow: 0 10px 28px rgba(16,185,129,.20);
}

.btn-primary:hover{
  transform: translateY(-1px);
  filter: saturate(1.06);
}

.btn-primary:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring), 0 10px 28px rgba(16,185,129,.22);
}

.btn-ghost{
  background: rgba(255,255,255,.04);
  color: rgba(241,245,249,.96);
  border-color: rgba(255,255,255,.10);
}

.btn-ghost:hover{
  background: rgba(255,255,255,.08);
}

.btn-ghost:focus-visible{
  outline: none;
  box-shadow: var(--focus-ring);
}

/* =========================
   Hero ambient glow
========================= */
.hero-glow{
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 520px;
  background:
    radial-gradient(60% 60% at 20% 30%, rgba(52,211,153,.18), transparent 60%),
    radial-gradient(60% 60% at 80% 40%, rgba(167,139,250,.16), transparent 60%),
    radial-gradient(60% 60% at 50% 80%, rgba(251,191,36,.08), transparent 60%);
  pointer-events: none;
  filter: blur(0.2px);
}

/* =========================
   Demo dashboard shell
========================= */
.dashboard-shell{
  position: relative;
  border-radius: var(--radius-3);
  padding: 1.15rem 1.15rem 1.35rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    radial-gradient(120% 120% at 0% 0%, rgba(52,211,153,.08), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(167,139,250,.08), transparent 55%);
  border: 1px solid var(--border-0);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(6px);
}

/* Tiny window dots */
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  opacity: .85;
}
.dot-1{ background: #f87171; }
.dot-2{ background: #fbbf24; }
.dot-3{ background: #34d399; }

/* =========================
   Panels & badges inside hero
========================= */
.panel{
  border-radius: var(--radius-2);
  padding: 1rem 1rem 1.05rem;
  background: rgba(2,6,23,.55);
  border: 1px solid rgba(255,255,255,.06);
}

.panel.subtle{
  background:
    linear-gradient(135deg, rgba(52,211,153,.08), rgba(167,139,250,.06)),
    rgba(2,6,23,.45);
}

.panel-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: .6rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(226,232,240,.92);
}

.badge-emerald{
  background: rgba(52,211,153,.12);
  border-color: rgba(52,211,153,.25);
  color: #bbf7d0;
}

.badge-violet{
  background: rgba(167,139,250,.12);
  border-color: rgba(167,139,250,.25);
  color: #ddd6fe;
}

.panel-title{
  font-weight: 700;
  letter-spacing: -.01em;
}

.panel-text{
  margin-top: .35rem;
  color: rgba(226,232,240,.82);
  font-size: .95rem;
}

.panel-list{
  margin-top: .55rem;
  display: grid;
  gap: .35rem;
  color: rgba(226,232,240,.88);
  font-size: .9rem;
}

.panel-list li{
  padding-left: .7rem;
  position: relative;
}
.panel-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .5rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(52,211,153,.92);
}

/* Floating labels near dashboard */
.floating-card{
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-1);
  font-size: .8rem;
  font-weight: 600;
  background: rgba(2,6,23,.7);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 34px rgba(0,0,0,.35);
}
.floating-a{ right: -8px; top: 22%; }
.floating-b{ left: -6px; bottom: 14%; }

/* =========================
   Section headings
========================= */
.section-head{
  margin-bottom: 1.6rem;
  max-width: 56rem;
}
.section-title{
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.section-sub{
  margin-top: .45rem;
  color: rgba(226,232,240,.76);
}

/* =========================
   Feature cards
========================= */
.feature-card{
  border-radius: var(--radius-3);
  padding: 1.3rem 1.25rem 1.4rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border-0);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}

.feature-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(52,211,153,.18), rgba(167,139,250,.12));
  border: 1px solid rgba(255,255,255,.08);
  color: white;
}

.feature-card h3{
  margin-top: .9rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.feature-card p{
  margin-top: .4rem;
  color: rgba(226,232,240,.82);
}

.feature-list{
  margin-top: .9rem;
  display: grid;
  gap: .45rem;
  font-size: .9rem;
  color: rgba(226,232,240,.88);
}
.feature-list li{
  padding-left: .85rem;
  position: relative;
}
.feature-list li::before{
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
}

/* =========================
   Learning path cards
========================= */
.path-card{
  border-radius: var(--radius-3);
  padding: 1.35rem 1.25rem 1.4rem;
  background: rgba(2,6,23,.5);
  border: 1px solid var(--border-0);
}

.path-card.highlight{
  background:
    linear-gradient(135deg, rgba(52,211,153,.12), rgba(167,139,250,.12)),
    rgba(2,6,23,.55);
  border-color: rgba(52,211,153,.25);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}

.path-tag{
  display: inline-flex;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .55rem;
  border-radius: .6rem;
  color: #d1fae5;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.25);
}

.path-card h3{
  margin-top: .9rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.path-card p{
  margin-top: .45rem;
  color: rgba(226,232,240,.80);
}

.path-points{
  margin-top: .9rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.path-points span{
  font-size: .78rem;
  padding: .25rem .55rem;
  border-radius: .6rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(226,232,240,.95);
}

/* =========================
   Testimonials
========================= */
.review-card{
  border-radius: var(--radius-2);
  padding: 1.25rem 1.15rem 1.35rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border-0);
}

.review-stars{
  color: var(--accent-amber);
  display: inline-flex;
  gap: .15rem;
  font-size: .9rem;
}

.review-text{
  margin-top: .8rem;
  color: rgba(226,232,240,.87);
}

.review-person{
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}

.avatar{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(52,211,153,.15);
  border: 1px solid rgba(52,211,153,.25);
  font-weight: 800;
  color: #d1fae5;
  font-size: .85rem;
}

.name{
  font-weight: 700;
}
.role{
  font-size: .8rem;
  color: rgba(226,232,240,.62);
}

/* =========================
   FAQ
========================= */
.faq-card{
  border-radius: var(--radius-2);
  padding: .9rem 1rem;
  background: rgba(2,6,23,.45);
  border: 1px solid var(--border-0);
}

.faq-card summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-weight: 700;
}
.faq-card summary::-webkit-details-marker{ display: none; }

.faq-card i{
  font-size: .9rem;
  color: rgba(226,232,240,.65);
  transition: transform .18s ease;
}
.faq-card[open] i{
  transform: rotate(180deg);
}
.faq-body{
  margin-top: .65rem;
  color: rgba(226,232,240,.82);
  font-size: .95rem;
}

/* =========================
   Newsletter block
========================= */
.newsletter-shell{
  border-radius: var(--radius-3);
  padding: 2rem 1.6rem;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(52,211,153,.12), transparent 50%),
    radial-gradient(120% 120% at 100% 100%, rgba(167,139,250,.12), transparent 50%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border-0);
}

/* Inputs used in newsletter & contact forms */
.input-field{
  width: 100%;
  border-radius: 1rem;
  padding: .85rem .95rem;
  background: rgba(2,6,23,.65);
  border: 1px solid rgba(255,255,255,.10);
  color: #ffffff;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.input-field::placeholder{
  color: rgba(226,232,240,.45);
}

.input-field:focus{
  border-color: rgba(52,211,153,.45);
  box-shadow: var(--focus-ring);
}

.input-field option{
  background: #0b1020;
  color: #ffffff;
}

/* =========================
   CTA band
========================= */
.cta-band{
  border-radius: var(--radius-3);
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background:
    linear-gradient(135deg, rgba(52,211,153,.18), rgba(167,139,250,.14)),
    rgba(2,6,23,.55);
  border: 1px solid var(--border-0);
}

@media (min-width: 900px){
  .cta-band{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Small stat cards under hero text */
.stat-card{
  border-radius: 1rem;
  padding: .75rem .85rem;
  display: flex;
  gap: .7rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.stat-title{
  font-weight: 700;
  font-size: .95rem;
}
.stat-sub{
  font-size: .8rem;
  color: rgba(226,232,240,.65);
}

/* =========================
   Footer
========================= */
.footer-title{
  font-weight: 800;
  margin-bottom: .65rem;
  letter-spacing: -.01em;
}

.footer-list{
  display: grid;
  gap: .45rem;
  color: rgba(226,232,240,.78);
  font-size: .95rem;
}

.footer-list a{
  transition: color .16s ease, opacity .16s ease;
}
.footer-list a:hover{
  color: #ffffff;
}

/* =========================
   Minor polish
========================= */
a{
  text-underline-offset: 3px;
}

::selection{
  background: rgba(52,211,153,.25);
}

/* Improve readability in very narrow screens */
@media (max-width: 380px){
  .btn{
    padding: .65rem .9rem;
  }
  .section-head{
    margin-bottom: 1.2rem;
  }
}

/* Optional helper for screen-reader-only labels */
.sr-only{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text-0);
  background-color: var(--bg-0);

  /* Fixed background image for the whole site */
  background-image:
    linear-gradient(180deg, rgba(2,6,23,0.92), rgba(2,6,23,0.96)),
    url("../images/body-finance-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  text-rendering: optimizeLegibility;
}

