/* ===========================================================================
   RockSolid Data Solutions — Design System
   =========================================================================== */

:root {
  /* Brand palette (derived from logo) */
  --navy-900: #0e1d2b;
  --navy-800: #122636;
  --navy-700: #16293a;
  --navy-600: #1d3650;
  --steel-600: #2f5d8a;
  --steel-500: #3d6e9c;
  --steel-400: #4f86bf;
  --steel-300: #79a6d2;
  --ice-100: #eaf1f8;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f6f8fb;
  --gray-100: #eef2f7;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --text: #16222e;
  --text-muted: #54657a;
  --border: var(--gray-200);
  --accent: var(--steel-500);
  --accent-strong: var(--steel-600);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 34, 51, 0.06),
    0 2px 8px rgba(15, 34, 51, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 34, 51, 0.09);
  --shadow-lg: 0 24px 60px rgba(15, 34, 51, 0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------------------------------- Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--steel-400);
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  color: var(--navy-700);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}
h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

/* ------------------------------------------------------------- Utilities */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section--tight {
  padding: 64px 0;
}
.section--alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.12rem;
  margin: 0;
}

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

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--steel-500), var(--steel-600));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(47, 93, 138, 0.35);
}
.btn--primary:hover {
  color: var(--white);
  box-shadow: 0 14px 30px rgba(47, 93, 138, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--gray-300);
}
.btn--ghost:hover {
  border-color: var(--steel-400);
  color: var(--accent-strong);
}

.btn--light {
  background: var(--white);
  color: var(--navy-700);
}
.btn--light:hover {
  color: var(--accent-strong);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--outline-light:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--lg {
  padding: 18px 34px;
  font-size: 1.06rem;
}

/* ----------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__logo img {
  height: 42px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--navy-700);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav__links a:hover {
  color: var(--accent);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy-700);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ------------------------------------------------------------------- Hero */
.hero {
  position: relative;
  background: radial-gradient(
      120% 120% at 80% 0%,
      var(--navy-600) 0%,
      var(--navy-800) 45%,
      var(--navy-900) 100%
    );
  color: var(--white);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 96px 0 104px;
}
.hero h1 {
  color: var(--white);
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--steel-300), #a9cdef);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  font-size: 1.2rem;
  color: #c4d3e2;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: #9fb3c8;
  font-size: 0.92rem;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust svg {
  color: var(--steel-300);
  flex-shrink: 0;
}
.hero__visual {
  position: relative;
}
.hero__stack {
  display: grid;
  gap: 20px;
}
.hero__stack img {
  width: 90%;
}
.hero__stack img:nth-child(1) {
  margin-right: auto;
}
.hero__stack img:nth-child(2) {
  margin-left: auto;
}
.hero__visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy-700);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
}
.hero__badge svg {
  color: var(--accent);
}
.hero__badge--tl {
  top: 26px;
  left: -18px;
}
.hero__badge--br {
  bottom: 28px;
  right: -14px;
}
.hero__wave {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -6px;
}

/* --------------------------------------------------------------- Logo bar */
.logos {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.logos__label {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 40px;
}
.logos__row .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.98rem;
}
.logos__row .pill svg {
  color: var(--steel-400);
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--steel-300);
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ice-100), #d7e6f5);
  color: var(--accent-strong);
  margin-bottom: 18px;
}
.card__icon svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ----------------------------------------------------------- Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.feature-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-list .tick {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ice-100);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.feature-list strong {
  display: block;
  color: var(--navy-700);
}
.feature-list span.desc {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* --------------------------------------------------------------- Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step__num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--steel-400);
  margin-bottom: 12px;
  display: block;
}
.step h3 {
  font-size: 1.1rem;
}
.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ------------------------------------------------------------------ Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__label {
  color: #a9bccd;
  font-size: 0.96rem;
  margin-top: 8px;
}

/* --------------------------------------------------------------- Showcase */
.showcase {
  position: relative;
  color: var(--white);
  background-color: var(--navy-800);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 29, 43, 0.82),
    rgba(14, 29, 43, 0.92)
  );
}
.showcase .container {
  position: relative;
}
.showcase h2,
.showcase h3 {
  color: var(--white);
}

/* ----------------------------------------------------------------- ChoreBoy */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.product__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ice-100);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.product__visual {
  background: radial-gradient(
    120% 120% at 50% 0%,
    var(--navy-600),
    var(--navy-800)
  );
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

/* --------------------------------------------------------------- CTA band */
.cta-band {
  background: radial-gradient(
    130% 130% at 20% 10%,
    var(--steel-600),
    var(--navy-700) 60%,
    var(--navy-800)
  );
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: 14px;
}
.cta-band p {
  color: #cdd9e6;
  font-size: 1.12rem;
  max-width: 560px;
  margin: 0 auto 30px;
}
.cta-band .hero__actions {
  justify-content: center;
  margin-bottom: 0;
}

/* --------------------------------------------------------------- Contact */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact__cards {
  display: grid;
  gap: 18px;
}
.contact__card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact__card:hover {
  border-color: var(--steel-300);
  box-shadow: var(--shadow-sm);
}
.contact__card .ic {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--steel-500), var(--steel-600));
  color: var(--white);
}
.contact__card .label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  font-weight: 600;
}
.contact__card .value {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy-700);
}

/* Form */
.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-700);
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  padding: 13px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--steel-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(79, 134, 191, 0.15);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.form__note {
  font-size: 0.84rem;
  color: var(--gray-500);
  margin-top: 14px;
  text-align: center;
}
.form__success {
  display: none;
  background: #e9f7ef;
  border: 1px solid #b7e4c7;
  color: #1b6b3a;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 18px;
}
.form__success.is-visible {
  display: block;
}
.form__error {
  display: none;
  background: #fdecec;
  border: 1px solid #f5c2c2;
  color: #9b1c1c;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 18px;
}
.form__error.is-visible {
  display: block;
}
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ------------------------------------------------------------------ FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--navy-700);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__q .chev {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  color: var(--accent);
}
.faq__item.is-open .faq__q .chev {
  transform: rotate(180deg);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq__a p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------- Footer */
.site-footer {
  background: var(--navy-900);
  color: #aebccb;
  padding: 64px 0 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand img {
  height: 40px;
  margin-bottom: 18px;
}
.footer__brand p {
  font-size: 0.96rem;
  max-width: 320px;
  color: #92a4b5;
}
.footer__col h4 {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.footer__col a {
  color: #aebccb;
  font-size: 0.96rem;
}
.footer__col a:hover {
  color: var(--white);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.88rem;
  color: #7f93a6;
}
.footer__bottom a {
  color: #7f93a6;
}
.footer__bottom a:hover {
  color: var(--white);
}

/* --------------------------------------------------------- Legal pages */
.page-hero {
  background: radial-gradient(
    120% 120% at 80% 0%,
    var(--navy-600) 0%,
    var(--navy-800) 60%,
    var(--navy-900) 100%
  );
  color: var(--white);
  padding: 70px 0 64px;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}
.page-hero p {
  color: #b7c6d6;
  margin: 0;
}
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal h2 {
  font-size: 1.4rem;
  margin-top: 42px;
}
.legal h3 {
  font-size: 1.12rem;
  margin-top: 28px;
  color: var(--steel-600);
}
.legal p,
.legal li {
  color: var(--text-muted);
}
.legal ul {
  padding-left: 22px;
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.legal a {
  font-weight: 600;
}
.legal__updated {
  display: inline-block;
  background: var(--ice-100);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* --------------------------------------------------------- Reveal anim */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------ Responsive */
@media (max-width: 980px) {
  .grid--3,
  .grid--4,
  .steps,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__inner,
  .split,
  .product,
  .contact {
    grid-template-columns: 1fr;
  }
  .hero__inner {
    padding: 64px 0 80px;
    gap: 40px;
  }
  .hero__visual {
    order: -1;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .section {
    padding: 68px 0;
  }
  .nav__links,
  .nav__cta .btn {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 8px 24px 18px;
  }
  .nav.is-open .nav__links li {
    width: 100%;
  }
  .nav.is-open .nav__links a {
    display: block;
    padding: 13px 0;
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }
  .grid--3,
  .grid--4,
  .steps,
  .stats,
  .form__row {
    grid-template-columns: 1fr;
  }
  .product,
  .cta-band {
    padding: 32px 24px;
  }
  .hero__badge {
    display: none;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
