* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
body { background: #faf9f6; color: #2b3648; line-height: 1.65; }
a { text-decoration: none; }
img { max-width: 100%; }

:root {
  --navy: #2e4d6c;
  --navy-soft: #3f6187;
  --green: #8cc230;
  --green-dark: #74a324;
  --green-soft: #eef7e0;
  --cream: #faf9f6;
  --card-bg: #ffffff;
}

/* Navbar */
.navbar { background: rgba(250,249,246,0.92); backdrop-filter: blur(8px); padding: 14px 0; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #eef0ea; }
.nav-inner { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; flex-wrap: wrap; gap: 10px; }
.logo-wrap { display: flex; align-items: center; gap: 8px; }
.logo-wrap img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: #475569; font-size: 14px; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta { background: var(--green); color: #1f2d1a !important; padding: 10px 20px; border-radius: 999px; font-weight: 700; }
.nav-cta:hover { background: var(--green-dark); }

/* Layout */
.container { max-width: 1160px; margin: 0 auto; padding: 60px 24px; }
.wrap { max-width: 480px; margin: 60px auto; background: var(--card-bg); padding: 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(46,77,108,0.08); }
.wide { max-width: 780px; }

/* Hero - light gradient with blob */
.hero { position: relative; overflow: hidden; padding: 90px 24px 110px; text-align: center; background: radial-gradient(120% 120% at 50% 0%, #eaf3e0 0%, #faf9f6 55%, #faf9f6 100%); }
.hero-blob { position: absolute; top: -120px; right: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(140,194,48,0.25), rgba(140,194,48,0) 70%); border-radius: 50%; z-index: 0; }
.hero-blob-2 { position: absolute; bottom: -160px; left: -140px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(46,77,108,0.14), rgba(46,77,108,0) 70%); border-radius: 50%; z-index: 0; }
.hero-inner { position: relative; z-index: 1; }
.hero-logo { height: 64px; margin-bottom: 24px; }
.hero .eyebrow { color: var(--green-dark); font-weight: 700; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: 42px; margin-bottom: 18px; color: var(--navy); line-height: 1.2; }
.hero p { font-size: 17px; color: #5a6779; max-width: 620px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Floating stat cards under hero */
.stats-row { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.stat-card { background: var(--card-bg); border-radius: 16px; padding: 20px 14px; box-shadow: 0 12px 30px rgba(46,77,108,0.08); text-align: center; }
.stat-card .num { font-size: 26px; font-weight: 800; color: var(--navy); }
.stat-card .label { font-size: 12px; color: #7a8699; margin-top: 4px; }

/* Buttons - pill shape */
button, .btn {
    display: inline-block; background: var(--navy); color: #fff; border: none; padding: 13px 26px;
    border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
button:hover, .btn:hover { background: var(--navy-soft); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(46,77,108,0.18); }
.btn-light { background: var(--green); color: #1f2d1a; padding: 14px 30px; }
.btn-light:hover { background: var(--green-dark); }
.btn-outline-light { background: #fff; border: 1.5px solid #dfe6d8; color: var(--navy); padding: 13px 28px; }
.btn-outline-light:hover { border-color: var(--green); }
.btn-secondary { background: #64748b; }
.btn-outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-green { background: var(--green); color: #1f2d1a; }
.btn-green:hover { background: var(--green-dark); }

/* Credibility strip */
.strip { background: #fff; border-top: 1px solid #eef0ea; border-bottom: 1px solid #eef0ea; color: #5a6779; text-align: center; padding: 18px 24px; font-size: 14px; font-weight: 600; }
.strip span { color: var(--green-dark); }

/* Typography */
h1 { font-size: 30px; margin-bottom: 12px; color: var(--navy); }
h2 { font-size: 24px; margin-bottom: 10px; color: var(--navy); }
p.sub { color: #7a8699; margin-bottom: 24px; font-size: 14px; }
p.lead { color: #5a6779; margin-bottom: 20px; font-size: 16px; }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title p { color: #7a8699; max-width: 560px; margin: 0 auto; }

/* Icon circle */
.icon-circle { width: 50px; height: 50px; border-radius: 14px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-circle svg { width: 26px; height: 26px; stroke: var(--navy); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 24px; }
.card { background: var(--card-bg); border: 1px solid #f0f1eb; border-radius: 18px; padding: 26px; box-shadow: 0 6px 24px rgba(46,77,108,0.05); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(46,77,108,0.1); }
.card h3 { color: var(--navy); font-size: 16px; margin-bottom: 8px; }
.card p { color: #7a8699; font-size: 14px; margin-bottom: 12px; }
.card ul { margin: 10px 0 14px 18px; font-size: 14px; color: #5a6779; }
.card ul li { margin-bottom: 4px; }
.card .price { font-size: 26px; font-weight: 800; color: var(--navy); margin: 10px 0; }

/* Expertise band */
.expertise-band { background: linear-gradient(180deg, #fff, #f3f6ee); padding: 64px 24px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0; }
.tag-list span { background: #fff; border: 1px solid #e4e9dc; color: var(--navy); font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px; }

/* Portal callout */
.portal-callout { background: linear-gradient(135deg, #eef7e0, #ffffff); border: 1px solid #e4e9dc; border-radius: 24px; padding: 40px; text-align: center; max-width: 720px; margin: 0 auto; }

/* Forms */
label { display: block; font-size: 13px; margin-bottom: 6px; color: #334155; font-weight: 600; }
input[type=text], input[type=email], input[type=password], textarea, select {
    width: 100%; padding: 12px 14px; margin-bottom: 16px; border: 1.5px solid #e6e9e1; border-radius: 12px; font-size: 14px; background: #fbfbf9;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); background: #fff; }
textarea { resize: vertical; min-height: 90px; }

/* Alerts */
.error { background: #fef2f2; color: #b91c1c; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 13px; }
.success { background: #ecfdf5; color: #047857; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 13px; }
.links { margin-top: 18px; font-size: 13px; }
.links a { color: var(--navy); font-weight: 600; }

/* ===== Dashboard layout ===== */
.dash-shell { display: flex; min-height: calc(100vh - 90px); }
.dash-sidebar { width: 230px; background: #fff; border-right: 1px solid #eef0ea; padding: 28px 18px; flex-shrink: 0; }
.dash-user { display: flex; align-items: center; gap: 10px; padding: 0 6px 22px; margin-bottom: 18px; border-bottom: 1px solid #eef0ea; }
.dash-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.dash-user .name { font-size: 14px; font-weight: 700; color: var(--navy); }
.dash-user .email { font-size: 11px; color: #90a0b0; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; color: #5a6779; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.dash-nav a svg { width: 18px; height: 18px; stroke: currentColor; }
.dash-nav a.active, .dash-nav a:hover { background: var(--green-soft); color: var(--navy); }
.dash-nav a.logout-link { margin-top: 20px; color: #b91c1c; }
.dash-nav a.logout-link:hover { background: #fef2f2; }

.dash-main { flex: 1; padding: 36px 40px; }
.dash-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }
.dash-header h1 { margin-bottom: 4px; }
.dash-header p { color: #7a8699; font-size: 14px; }

.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 30px; }
.dash-stat { background: var(--card-bg); border-radius: 18px; padding: 22px; box-shadow: 0 6px 20px rgba(46,77,108,0.06); }
.dash-stat .icon-circle { margin-bottom: 12px; width: 42px; height: 42px; border-radius: 12px; }
.dash-stat .icon-circle svg { width: 22px; height: 22px; }
.dash-stat .num { font-size: 24px; font-weight: 800; color: var(--navy); }
.dash-stat .label { font-size: 13px; color: #7a8699; margin-top: 2px; }

.dash-panel { background: var(--card-bg); border-radius: 18px; padding: 26px; box-shadow: 0 6px 20px rgba(46,77,108,0.06); margin-bottom: 22px; }
.dash-panel h3 { color: var(--navy); font-size: 16px; margin-bottom: 16px; }
.dash-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f2f3ee; font-size: 14px; }
.dash-row:last-child { border-bottom: none; }
.dash-row .meta { color: #7a8699; font-size: 12px; }
.status-pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.status-pill.ok { background: #ecfdf5; color: #047857; }
.status-pill.pending { background: #fef3c7; color: #92400e; }
.empty-state { text-align: center; padding: 30px 10px; color: #90a0b0; font-size: 14px; }

/* Badges */
.badge { display: inline-block; background: #fef3c7; color: #92400e; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; background: linear-gradient(135deg, #eef7e0, #fff); padding: 70px 24px; text-align: center; }
.final-cta h2 { font-size: 28px; }
.final-cta p { color: #5a6779; margin-bottom: 26px; }

/* Footer */
footer { background: var(--navy); color: #b9c6d6; padding: 44px 24px; text-align: center; font-size: 13px; }
footer a { color: #dbe6f0; margin: 0 10px; }
footer img { height: 30px; margin-bottom: 14px; opacity: 0.9; }

/* Placeholder note */
.dummy-note { background: #fffbeb; border-bottom: 1px solid #fde68a; color: #92400e; padding: 8px 16px; font-size: 12px; text-align: center; }

@media (max-width: 720px) {
  .dash-shell { flex-direction: column; }
  .dash-sidebar { width: 100%; display: flex; align-items: center; overflow-x: auto; padding: 14px; }
  .dash-user { display: none; }
  .dash-nav { display: flex; gap: 6px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
