:root {
  --navy: #121827;
  --navy-soft: #1f2937;
  --red: #d90429;
  --red-dark: #a90420;
  --grey: #8d99ae;
  --light: #f6f8fb;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #667085;
  --border: #e5e7eb;
  --shadow: 0 24px 70px rgba(18, 24, 39, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(14px);
}

.brand img {
  height: 54px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

nav a {
  opacity: 0.88;
}

nav a:hover {
  color: var(--red);
  opacity: 1;
}

.login-link {
  padding: 11px 18px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(217, 4, 41, 0.25);
}

.login-link:hover {
  color: var(--white);
  background: var(--red-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 42px;
  align-items: center;
  min-height: 720px;
  padding: 86px 6vw;
  background:
    radial-gradient(circle at 78% 22%, rgba(217, 4, 41, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eef2f7 48%, #f8fafc 100%);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
  border-radius: 99px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
}

h1 {
  max-width: 840px;
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero p {
  max-width: 720px;
  margin-top: 24px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 34px rgba(217, 4, 41, 0.28);
}

.btn.primary:hover {
  background: var(--red-dark);
}

.btn.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 14px 28px rgba(18, 24, 39, 0.08);
}

.btn.full {
  width: 100%;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-tags span,
.industries span {
  display: inline-flex;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(18, 24, 39, 0.05);
}

.hero-panel {
  position: relative;
  padding: 36px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(18, 24, 39, 0.96), rgba(31, 41, 55, 0.96)),
    url("/assets/hero.png");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 220px;
  height: 220px;
  background: rgba(217, 4, 41, 0.36);
  border-radius: 50%;
  filter: blur(8px);
}

.hero-panel img {
  width: 72px;
  height: auto;
  margin-bottom: 30px;
  padding: 12px;
  background: var(--white);
  border-radius: 22px;
}

.hero-panel h2 {
  color: var(--white);
  font-size: 38px;
}

.hero-panel p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-panel ul {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-weight: 700;
}

.hero-panel li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--red);
  font-weight: 900;
}

.intro,
.section,
.portal-section,
.cta,
.contact-hero,
.contact-layout {
  padding-left: 6vw;
  padding-right: 6vw;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding-top: 78px;
  padding-bottom: 34px;
  background: var(--white);
}

.intro p {
  font-size: 18px;
}

.section {
  padding-top: 74px;
  padding-bottom: 74px;
  background: var(--white);
}

.section > h2 {
  max-width: 780px;
  margin-bottom: 34px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cards article,
.contact-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(18, 24, 39, 0.06);
}

.cards article {
  min-height: 210px;
}

.cards article h3 {
  margin-bottom: 14px;
}

.cards article p {
  font-size: 15px;
}

.portal-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding-top: 74px;
  padding-bottom: 74px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 20%, rgba(217, 4, 41, 0.34), transparent 28%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
}

.portal-section h2,
.portal-section p {
  color: var(--white);
}

.portal-section p {
  max-width: 820px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
  background: #f1f5f9;
  border-top: 1px solid var(--border);
}

.cta p {
  max-width: 720px;
  margin-top: 14px;
  font-size: 17px;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px 6vw;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

footer img {
  height: 48px;
  width: auto;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

footer a {
  display: inline-flex;
  margin-left: 18px;
  color: var(--white);
  font-weight: 800;
}

.contact-hero {
  padding-top: 96px;
  padding-bottom: 56px;
  background:
    radial-gradient(circle at 80% 10%, rgba(217, 4, 41, 0.14), transparent 25%),
    linear-gradient(135deg, #ffffff, #eef2f7);
}

.contact-hero h1 {
  max-width: 880px;
}

.contact-hero p {
  max-width: 820px;
  margin-top: 22px;
  font-size: 19px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding-top: 36px;
  padding-bottom: 86px;
  background: #eef2f7;
}

.contact-card h2 {
  margin-bottom: 12px;
}

.contact-card > p {
  margin-bottom: 26px;
}

.contact-method {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-method strong {
  color: var(--navy);
}

.contact-method a {
  color: var(--red);
  font-weight: 900;
}

.contact-note {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.contact-note strong {
  color: var(--navy);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero,
  .intro,
  .portal-section,
  .cta,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  footer a {
    margin: 8px 18px 0 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 20px;
  }

  .brand img {
    height: 44px;
  }

  nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero,
  .intro,
  .section,
  .portal-section,
  .cta,
  .contact-hero,
  .contact-layout,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }

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

  .hero-panel {
    padding: 26px;
  }

  .hero-panel h2 {
    font-size: 30px;
  }
}
