:root {
  --navy: #031a33;
  --navy-2: #082f5f;
  --blue: #1d5fa8;
  --blue-light: #69a6e8;
  --ink: #101c31;
  --steel: #7e8895;
  --grey-light: #b5bac4;
  --grey-dark: #56606e;
  --white: #ffffff;
  --bg-soft: #f2f7fc;
  --bg-card: #f8fbff;
  --mint: #43bda4;
  --gold: #c99c45;
  --shadow-sm: 0 2px 12px rgba(6, 31, 58, 0.07);
  --shadow-md: 0 8px 40px rgba(6, 31, 58, 0.12);
  --shadow-lg: 0 24px 80px rgba(6, 31, 58, 0.16);
  --radius: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--grey-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "League Spartan", sans-serif;
  color: var(--navy);
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(36, 82, 143, 0.32);
}

.btn-primary:hover,
.btn-white:hover,
.btn-outline:hover {
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(248, 251, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(3, 26, 51, 0.08);
  transform: translateY(0);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

header.hidden {
  transform: translateY(-110%);
}

header.scrolled,
body.inner-page header {
  background: rgba(248, 251, 255, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transition: transform var(--transition);
}

.logo:hover {
  transform: translateY(-1px);
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 190px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey-dark);
}

header.scrolled nav a,
body.inner-page nav a {
  color: var(--grey-dark);
}

nav a:hover,
nav a.active {
  color: var(--blue);
}

.nav-cta {
  font-family: "League Spartan", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

header.scrolled .nav-cta,
body.inner-page .nav-cta {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 2px;
}

header.scrolled .hamburger span,
body.inner-page .hamburger span {
  background: var(--navy);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 120;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: "League Spartan", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.mobile-menu a.btn-white {
  color: var(--navy);
  font-size: 1.05rem;
  min-width: 240px;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

.hero,
.page-hero {
  background:
    linear-gradient(rgba(3, 19, 38, 0.82), rgba(3, 26, 51, 0.9)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover,
    radial-gradient(circle at 82% 8%, rgba(105, 166, 232, 0.5), transparent 34%),
    radial-gradient(circle at 14% 72%, rgba(105, 166, 232, 0.18), transparent 30%),
    linear-gradient(150deg, #031326 0%, var(--navy) 42%, var(--navy-2) 74%, #2f78c1 100%);
  color: var(--white);
  position: relative;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero > .container,
.page-hero > .container {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 128px 0 76px;
}

.hero-inner {
  max-width: 780px;
}

.eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "League Spartan", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.hero h1,
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 900;
  max-width: 760px;
  margin-bottom: 22px;
}

.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  max-width: 610px;
  margin-bottom: 36px;
}

.hero-panel {
  position: relative;
  min-height: 500px;
  display: grid;
  align-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(105, 166, 232, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 244, 255, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 34px;
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(3, 26, 51, 0.28);
}

.hero-photo-label {
  position: static;
  justify-self: start;
  margin-bottom: 28px;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(3, 26, 51, 0.08);
  color: var(--navy);
  font-family: "League Spartan", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric {
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(3, 26, 51, 0.08);
  box-shadow: 0 10px 30px rgba(3, 26, 51, 0.08);
}

.metric strong {
  display: block;
  font-family: "League Spartan", sans-serif;
  color: var(--navy);
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 12px;
}

.metric span {
  color: var(--grey-dark);
  font-size: 0.96rem;
  font-weight: 700;
}

.page-hero {
  padding: 150px 0 80px;
}

section {
  padding: 104px 0;
}

.section-header {
  margin-bottom: 52px;
}

.section-header.center {
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 850;
  margin-bottom: 16px;
}

.section-sub {
  max-width: 650px;
  font-size: 1.04rem;
  color: var(--grey-dark);
}

.section-header.center .section-sub {
  margin: 0 auto;
}

.soft {
  background: var(--bg-soft);
}

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

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

.card {
  background: var(--white);
  border: 1px solid rgba(6, 31, 58, 0.08);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-number {
  font-family: "League Spartan", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.94rem;
  margin-bottom: 22px;
}

.text-link {
  display: inline-flex;
  color: var(--blue);
  font-family: "League Spartan", sans-serif;
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(14, 27, 77, 0.07);
  border-radius: var(--radius);
  padding: 18px;
}

.check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(85, 198, 169, 0.14);
  color: #16866d;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.visual-block {
  min-height: 420px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--blue));
  display: grid;
  align-content: end;
  padding: 34px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.visual-block.photo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(3, 26, 51, 0.18), rgba(3, 26, 51, 0.86)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.visual-block.photo.office {
  background:
    linear-gradient(rgba(3, 26, 51, 0.2), rgba(3, 26, 51, 0.86)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.visual-block.photo.website {
  background:
    linear-gradient(rgba(3, 26, 51, 0.08), rgba(3, 26, 51, 0.88)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.visual-block.photo.services {
  background:
    linear-gradient(rgba(3, 26, 51, 0.12), rgba(3, 26, 51, 0.86)),
    url("https://images.unsplash.com/photo-1559136555-9303baea8ebd?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.visual-block.photo.audit {
  background:
    linear-gradient(rgba(3, 26, 51, 0.08), rgba(3, 26, 51, 0.86)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.visual-block.photo.growth {
  background:
    linear-gradient(rgba(3, 26, 51, 0.08), rgba(3, 26, 51, 0.86)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.visual-block.photo.recruitment {
  background:
    linear-gradient(rgba(3, 26, 51, 0.12), rgba(3, 26, 51, 0.86)),
    url("https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.visual-block.photo.method {
  background:
    linear-gradient(rgba(3, 26, 51, 0.12), rgba(3, 26, 51, 0.86)),
    url("https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.visual-kpis {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.visual-kpis span {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-family: "League Spartan", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
}

.visual-block h3,
.visual-block p {
  color: var(--white);
}

.visual-block p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 430px;
}

.process {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.process li {
  counter-increment: step;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px 22px 70px;
  border: 1px solid rgba(14, 27, 77, 0.08);
  position: relative;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 22px;
  font-family: "League Spartan", sans-serif;
  font-weight: 900;
  color: var(--blue);
}

.process strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.image-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 22px;
}

.image-card {
  min-height: 390px;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  align-content: end;
  padding: 26px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  background: var(--navy);
}

.image-card.strategy {
  background:
    linear-gradient(rgba(3, 26, 51, 0.08), rgba(3, 26, 51, 0.84)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.image-card.build {
  background:
    linear-gradient(rgba(3, 26, 51, 0.08), rgba(3, 26, 51, 0.84)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1000&q=80") center / cover;
}

.image-card.growth {
  background:
    linear-gradient(rgba(3, 26, 51, 0.08), rgba(3, 26, 51, 0.84)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1000&q=80") center / cover;
}

.image-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "League Spartan", sans-serif;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.image-card h3,
.image-card p {
  color: var(--white);
}

.image-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.image-card p {
  color: rgba(255, 255, 255, 0.78);
}

.decision-grid,
.conversion-grid {
  display: grid;
  gap: 22px;
}

.decision-grid {
  grid-template-columns: repeat(3, 1fr);
}

.conversion-grid {
  grid-template-columns: repeat(3, 1fr);
}

.decision-card,
.conversion-card {
  background: var(--white);
  border: 1px solid rgba(3, 26, 51, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.decision-card span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(29, 95, 168, 0.09);
  color: var(--blue);
  font-family: "League Spartan", sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-card h3,
.conversion-card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.decision-card p,
.conversion-card p {
  margin-bottom: 18px;
}

.pricing-note {
  border-left: 4px solid var(--gold);
  background: #fffaf0;
  padding: 22px;
  border-radius: var(--radius);
  color: #604515;
}

.tool-preview {
  background:
    radial-gradient(circle at 88% 12%, rgba(105, 166, 232, 0.32), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  padding: 28px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.tool-preview h3,
.tool-preview p {
  color: var(--white);
}

.tool-preview p {
  color: rgba(255, 255, 255, 0.72);
}

.tool-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 18px;
}

.tool-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tool-panel-row:last-child {
  border-bottom: 0;
}

.tool-pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.rating-row {
  display: flex;
  gap: 2px;
  color: #f2c94c;
  font-size: 1rem;
  letter-spacing: 0;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.profile-meta span {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(29, 95, 168, 0.08);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}

.account-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}

.account-card,
.dashboard-panel {
  background: var(--white);
  border: 1px solid rgba(3, 26, 51, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
  background: var(--bg-soft);
  padding: 6px;
  border-radius: var(--radius);
}

.account-tab {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--grey-dark);
  font: inherit;
  font-weight: 800;
  padding: 10px;
  cursor: pointer;
}

.account-tab.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.account-form {
  display: none;
}

.account-form.active {
  display: block;
}

.account-status,
.submission-status,
.tool-output {
  margin-top: 14px;
  color: var(--grey-dark);
  font-size: 0.9rem;
}

.account-logout {
  display: none;
  width: 100%;
  margin-top: 14px;
  border: 1px solid rgba(3, 26, 51, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  padding: 12px 14px;
  cursor: pointer;
}

.account-logout.active {
  display: block;
}

.dashboard-shell {
  display: none;
}

.dashboard-shell.active {
  display: block;
}

.service-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.service-tool {
  background: var(--bg-card);
  border: 1px solid rgba(3, 26, 51, 0.08);
  border-radius: var(--radius);
  padding: 22px;
}

.service-tool h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.builder-output {
  display: none;
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(29, 95, 168, 0.08);
  border: 1px solid rgba(29, 95, 168, 0.18);
}

.builder-output.active {
  display: block;
}

.auth-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: start;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.provider-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.provider-btn,
.dashboard-sidebar button {
  border: 1px solid rgba(3, 26, 51, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  padding: 12px 14px;
  cursor: pointer;
}

.dashboard-body {
  background: var(--bg-soft);
}

.client-dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 28px;
  background: var(--navy);
  color: var(--white);
}

.dashboard-sidebar .logo {
  margin-bottom: 34px;
}

.dashboard-sidebar nav {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.dashboard-sidebar nav a {
  padding: 12px 14px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
}

.dashboard-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.dashboard-main {
  padding: 34px;
}

.dashboard-top,
.funding-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-top h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.metric-grid,
.dashboard-grid,
.funding-grid,
.freelancer-grid {
  display: grid;
  gap: 18px;
}

.metric-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 26px 0;
}

.metric-grid article,
.dashboard-card,
.funding-card,
.freelancer-card {
  background: var(--white);
  border: 1px solid rgba(3, 26, 51, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.metric-grid span,
.dashboard-item span,
.asset-list span,
.funding-card small {
  display: block;
  color: var(--steel);
  font-size: 0.88rem;
}

.metric-grid strong {
  display: block;
  color: var(--navy);
  font-family: "League Spartan", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  margin-top: 8px;
}

.dashboard-grid {
  grid-template-columns: 1.4fr 1fr;
}

.dashboard-card {
  margin-bottom: 18px;
}

.dashboard-card h2 {
  margin-bottom: 16px;
}

.dashboard-item {
  display: grid;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(3, 26, 51, 0.08);
}

.mini-progress,
.funding-progress {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(29, 95, 168, 0.12);
}

.mini-progress span,
.funding-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--mint));
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tool-pill {
  border: 1px solid rgba(29, 95, 168, 0.18);
  border-radius: 999px;
  background: rgba(29, 95, 168, 0.08);
  color: var(--navy);
  font-weight: 800;
  padding: 10px 14px;
}

.builder-inline,
.invest-form,
#quickProjectForm {
  display: grid;
  grid-template-columns: 1fr 120px auto;
  gap: 12px;
  align-items: end;
}

.asset-list {
  margin-top: 16px;
}

.asset-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(3, 26, 51, 0.08);
}

.freelancer-grid,
.funding-grid {
  grid-template-columns: repeat(2, 1fr);
}

.funding-card,
.freelancer-card {
  display: grid;
  gap: 14px;
}

.funding-progress {
  height: 12px;
}

.card-preview-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #eaf1f8;
}

.business-card-sheet {
  display: grid;
  gap: 28px;
  padding: 32px;
}

.business-card {
  width: min(92vw, 540px);
  aspect-ratio: 1.75;
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
  display: grid;
  align-content: space-between;
  overflow: hidden;
}

.business-card.front {
  background: linear-gradient(135deg, #ffffff, #eaf4ff);
  color: var(--navy);
}

.business-card.back {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
}

.business-card img {
  width: 170px;
  height: auto;
}

.business-card h1,
.business-card h2 {
  font-size: 2.2rem;
}

.business-card.back h2,
.business-card.back p,
.business-card.back strong,
.business-card.back small {
  color: var(--white);
}

.business-card strong {
  font-size: 2rem;
  font-family: "League Spartan", sans-serif;
}

.private-note {
  background: rgba(29, 95, 168, 0.08);
  border-left: 4px solid var(--blue);
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 18px;
  color: var(--navy);
}

.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 650px;
  margin: 0 auto 34px;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid rgba(14, 27, 77, 0.08);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-family: "League Spartan", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(14, 27, 77, 0.12);
  border-radius: var(--radius);
  font: inherit;
  color: var(--navy);
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.62);
  padding: 60px 0 34px;
}

footer .brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 42px;
  margin-bottom: 44px;
}

.footer-inner .logo,
footer h5 {
  color: var(--white);
}

.footer-inner p,
.footer-inner a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-inner a:hover {
  color: var(--white);
}

.footer-inner li {
  margin-bottom: 9px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.36);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.ai-chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 160;
  font-family: "DM Sans", sans-serif;
}

.ai-chatbot-toggle {
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  box-shadow: 0 18px 45px rgba(3, 26, 51, 0.34);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ai-chatbot-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(3, 26, 51, 0.42);
}

.ai-chatbot-toggle svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(390px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 118px));
  display: none;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: rgba(248, 251, 255, 0.98);
  border: 1px solid rgba(3, 26, 51, 0.1);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(3, 26, 51, 0.28);
  backdrop-filter: blur(20px);
}

.ai-chatbot.open .ai-chatbot-panel {
  display: grid;
}

.ai-chatbot-head {
  background:
    radial-gradient(circle at 92% 18%, rgba(105, 166, 232, 0.4), transparent 36%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.ai-chatbot-title {
  font-family: "League Spartan", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 3px;
}

.ai-chatbot-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.ai-chatbot-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
}

.ai-chatbot-messages {
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ai-message.bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--grey-dark);
  border: 1px solid rgba(3, 26, 51, 0.08);
  box-shadow: var(--shadow-sm);
}

.ai-message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
}

.ai-message a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.ai-message.user a {
  color: var(--white);
}

.ai-chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 12px;
}

.ai-chip {
  border: 1px solid rgba(29, 95, 168, 0.24);
  background: rgba(29, 95, 168, 0.08);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.ai-chatbot-form {
  border-top: 1px solid rgba(3, 26, 51, 0.08);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: var(--white);
}

.ai-chatbot-input {
  min-height: 44px;
  border-radius: 999px;
  padding: 12px 15px;
}

.ai-chatbot-send {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 980px) {
  .hero-inner,
  .split,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1140px);
  }

  nav,
  .nav-cta {
    display: none;
  }

  .hamburger,
  .mobile-menu {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .hero-panel {
    display: none;
  }

  .grid-3,
  .image-grid,
  .decision-grid,
  .conversion-grid,
  .form-row,
  .account-shell,
  .service-tool-grid,
  .auth-layout,
  .client-dashboard,
  .dashboard-grid,
  .metric-grid,
  .funding-grid,
  .freelancer-grid,
  .builder-inline,
  .invest-form,
  #quickProjectForm {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    min-height: auto;
  }

  .dashboard-main {
    padding: 20px;
  }

  section {
    padding: 76px 0;
  }

  .page-hero {
    padding: 124px 0 62px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .ai-chatbot {
    right: 16px;
    bottom: 16px;
  }

  .ai-chatbot-toggle {
    width: 56px;
    height: 56px;
  }
}
