:root {
  --navy: #071a33;
  --navy-2: #0b2445;
  --blue: #1769e0;
  --cyan: #12b8f4;
  --green: #20a86b;
  --orange: #f39a35;
  --text: #142033;
  --muted: #657187;
  --light: #f5f8fc;
  --border: #dfe7f0;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(7,26,51,.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.section {
  padding: 105px 0;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7,26,51,.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-wordmark {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.4px;
}

.brand-core {
  color: var(--navy);
}

.brand-tbs {
  background: linear-gradient(90deg,var(--cyan),var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-company {
  margin-top: 6px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2.1px;
  color: #7a8798;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 14px;
  font-weight: 650;
  color: #344157;
}

.main-nav a {
  transition: .2s ease;
}

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

.nav-cta {
  padding: 11px 18px;
  border-radius: 8px;
  background: linear-gradient(90deg,var(--cyan),var(--blue));
  color: white !important;
  box-shadow: 0 8px 22px rgba(23,105,224,.22);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 75% 30%, rgba(18,184,244,.14), transparent 30%),
    linear-gradient(135deg,#06162b 0%,#092444 55%,#071a33 100%);
  padding: 115px 0 110px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right,transparent,black);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: block;
  margin-bottom: 17px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.2px;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(48px,6vw,76px);
  line-height: 1.02;
  letter-spacing: -3.5px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg,#ffffff 0%,#65d7ff 45%,#2e7df0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 650px;
  margin: 27px 0 32px;
  color: #c4d1df;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(90deg,var(--cyan),var(--blue));
  box-shadow: 0 10px 30px rgba(23,105,224,.25);
}

.button-secondary {
  color: white;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
}

.button-white {
  color: var(--navy);
  background: white;
  white-space: nowrap;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 35px;
  color: #92a8be;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
}

.hero-points span::before {
  content: "•";
  margin-right: 8px;
  color: var(--cyan);
}

/* PLATFORM */

.platform-card {
  position: relative;
  padding: 27px;
  border: 1px solid rgba(105,190,255,.22);
  border-radius: 18px;
  background: rgba(9,31,58,.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 35px 80px rgba(0,0,0,.32);
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 18px;
  background: linear-gradient(135deg,rgba(18,184,244,.35),transparent 35%,rgba(23,105,224,.2));
}

.platform-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.platform-heading span {
  color: #dcecff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.platform-heading small {
  color: #7992aa;
}

.platform-products {
  display: grid;
  gap: 13px;
  padding: 22px 0;
}

.mini-product {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
}

.mini-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 850;
  font-size: 12px;
}

.mini-product strong,
.mini-product span {
  display: block;
}

.mini-product strong {
  font-size: 16px;
}

.mini-product span {
  color: #879db3;
  font-size: 12px;
}

.mini-product em {
  margin-left: auto;
  color: var(--orange);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 1px;
}

.pm .mini-icon {
  color: #83ddff;
  background: rgba(18,184,244,.13);
}

.hr .mini-icon {
  color: #68e2a7;
  background: rgba(32,168,107,.14);
}

.fleet .mini-icon {
  color: #ffc278;
  background: rgba(243,154,53,.14);
}

.platform-connect {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 6px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.platform-connect span {
  padding: 9px 4px;
  text-align: center;
  color: #738da7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .7px;
}

/* SECTION HEADINGS */

.section-heading {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading h2,
.about h2,
.contact h2,
.cta-box h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px,4vw,48px);
  line-height: 1.1;
  letter-spacing: -1.8px;
}

.section-heading p {
  margin: 19px auto 0;
  max-width: 690px;
  color: var(--muted);
  font-size: 17px;
}

/* PRODUCTS */

.products {
  background: #fff;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  box-shadow: 0 15px 45px rgba(7,26,51,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.product-pm::before {
  background: linear-gradient(90deg,var(--cyan),var(--blue));
}

.product-hr::before {
  background: linear-gradient(90deg,#47d793,var(--green));
}

.product-fleet::before {
  background: linear-gradient(90deg,#ffc167,var(--orange));
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.product-label {
  color: #8390a2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.product-status {
  padding: 5px 8px;
  border-radius: 20px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .8px;
}

.available {
  color: #168052;
  background: #e8f8f0;
}

.coming {
  color: #ad6519;
  background: #fff2df;
}

.product-card h3 {
  margin: 26px 0 2px;
  font-size: 38px;
  letter-spacing: -2px;
}

.product-card h3 span {
  color: var(--navy);
}

.product-pm h3 {
  color: var(--blue);
}

.product-hr h3 {
  color: var(--green);
}

.product-fleet h3 {
  color: var(--orange);
}

.product-tagline {
  margin: 0 0 20px !important;
  color: #8a96a8 !important;
  font-size: 13px !important;
  font-weight: 750;
}

.product-card p {
  color: var(--muted);
  font-size: 14px;
}

.product-card ul {
  margin: 25px 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  margin: 10px 0;
  padding-left: 20px;
  color: #455268;
  font-size: 13px;
}

.product-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

.product-hr li::before {
  color: var(--green);
}

.product-fleet li::before {
  color: var(--orange);
}

.product-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
}

/* SERVICES */

.services {
  color: white;
  background: linear-gradient(135deg,#071a33,#0a294e);
}

.light-heading h2 {
  color: white;
}

.light-heading p {
  color: #9fb1c4;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.service-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18,184,244,.35);
  background: rgba(255,255,255,.07);
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 9px;
  color: #7bdcff;
  background: rgba(18,184,244,.11);
  font-size: 12px;
  font-weight: 850;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.service-card p {
  margin: 0;
  color: #91a6bb;
  font-size: 13px;
}

.service-highlight {
  background: linear-gradient(135deg,rgba(18,184,244,.12),rgba(23,105,224,.12));
}

/* ABOUT */

.about {
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
  align-items: center;
}

.about-content > p {
  color: var(--muted);
  font-size: 16px;
}

.about-content .button {
  margin-top: 15px;
}

.about-panel {
  padding: 10px 0;
}

.about-stat {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #dce4ee;
}

.about-stat:last-child {
  border-bottom: 0;
}

.about-stat > strong {
  color: #a9b7c7;
  font-size: 30px;
}

.about-stat h3 {
  margin: 0 0 5px;
  color: var(--navy);
}

.about-stat p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* CTA */

.cta-section {
  padding: 0 0 100px;
  background: var(--light);
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 55px;
  border-radius: 20px;
  color: white;
  background: linear-gradient(115deg,#0b62d0,#12a9e8);
  box-shadow: 0 25px 60px rgba(23,105,224,.22);
}

.cta-box .section-kicker {
  color: #c6f2ff;
}

.cta-box h2 {
  color: white;
}

.cta-box p {
  margin-bottom: 0;
  color: #d8efff;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.contact-copy p {
  color: var(--muted);
}

.contact-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.contact-products span {
  padding: 8px 12px;
  border-radius: 20px;
  background: var(--light);
  color: #526077;
  font-size: 11px;
  font-weight: 750;
}

.contact-form {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: block;
  margin-bottom: 17px;
  color: #39475c;
  font-size: 12px;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #d8e1eb;
  border-radius: 8px;
  outline: none;
  color: var(--text);
  background: #fbfcfe;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23,105,224,.08);
}

.form-note {
  margin: 14px 0 0;
  color: #9aa6b5;
  font-size: 10px;
}

/* FOOTER */

.site-footer {
  padding: 65px 0 25px;
  color: #91a4b8;
  background: #061426;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 55px;
}

.footer-brand {
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -1.4px;
}

.footer-brand span {
  color: white;
}

.footer-brand strong {
  color: #43c7ff;
}

.footer-company {
  margin: 5px 0 12px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 1.8px;
}

.site-footer h4 {
  margin: 0 0 15px;
  color: white;
  font-size: 12px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  font-size: 12px;
}

.site-footer p {
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 10px;
}

/* RESPONSIVE */

@media (max-width: 980px) {

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 55px;
  }

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

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

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

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 640px) {

  .container {
    width: min(100% - 28px,1180px);
  }

  .section {
    padding: 75px 0;
  }

  .hero {
    padding: 85px 0 75px;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .platform-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 35px 25px;
  }

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

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* CONTACT FORM STATUS */

.form-success {
  color: #168052;
  font-weight: 700;
}

.form-error {
  color: #c0392b;
  font-weight: 700;
}

.contact-form button:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

/* Contact form anti-spam honeypot */
.website-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* CoreTBS full header logo - 2026-10-16 */
.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo {
    display: block;
    width: auto;
    height: 82px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .header-logo {
        height: 68px;
    }
}

@media (max-width: 600px) {
    .header-logo {
        height: 58px;
    }
}
