:root {
  --ink: #102033;
  --muted: #607089;
  --line: #dfe6ef;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --primary: #0b7a75;
  --primary-dark: #075955;
  --accent: #f2b84b;
  --deep: #11283d;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.12);
  --shadow-soft: 0 12px 32px rgba(16, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 38%, #f8fbfd 100%);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(16, 32, 51, 0.06);
  backdrop-filter: blur(14px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
}

.brand::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 24px rgba(11, 122, 117, 0.24);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  color: #31445c;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-dropdown {
  position: relative;
}

.nav-cta,
.button,
.get-started,
form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-cta,
.button.primary,
.get-started,
form button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 24px rgba(11, 122, 117, 0.22);
}

.nav-cta:hover,
.button.primary:hover,
.get-started:hover,
form button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(7, 89, 85, 0.26);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: #31445c;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  color: var(--primary-dark);
  background: var(--soft);
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  color: var(--deep);
  background: #ffffff;
}

.hero {
  min-height: 680px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 74% 30%,
      rgba(242, 184, 75, 0.25),
      transparent 28%
    ),
    linear-gradient(90deg, rgba(7, 30, 47, 0.94), rgba(7, 30, 47, 0.66)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}

.hero-overlay {
  min-height: 680px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 720px;
  padding: 56px 0 78px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 42px;
}

.hero-stats span {
  min-width: 150px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  font-size: 1.55rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.muted {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #f6fafc, #eef6f5);
}

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

.section-heading p {
  color: var(--muted);
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  color: #40536c;
  font-size: 0.94rem;
}

.switch {
  position: relative;
  display: inline-flex;
  width: 58px;
  height: 32px;
  margin: 0;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #dfe7f0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(16, 32, 51, 0.18);
  transition: transform 0.2s ease;
}

.switch input:checked + .slider {
  background: var(--primary);
}

.switch input:checked + .slider::before {
  transform: translateX(26px);
}

.save-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #d8f6df;
  font-size: 0.78rem;
  font-weight: 800;
}

.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.intro-grid,
.service-grid,
.product-grid,
.insight-grid {
  display: grid;
  gap: 22px;
}

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

.intro-grid article,
.service-card,
.product,
.insight-card,
.contact-panel,
.contact-form,
.content-page article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.intro-grid article:hover,
.service-card:hover,
.product:hover,
.insight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 122, 117, 0.26);
  box-shadow: var(--shadow);
}

.intro-grid article {
  padding: 28px;
}

.intro-grid p,
.service-card p,
.product p,
.insight-card p,
.content-page p,
.contact-panel p {
  color: var(--muted);
}

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

.service-grid.three {
  width: min(960px, 100%);
  margin: 0 auto;
}

.service-card {
  min-height: 245px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -38px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(242, 184, 75, 0.16);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, #dff4ef, #fff1cf);
  font-size: 0.82rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 54px;
  align-items: center;
}

.split-section p {
  color: var(--muted);
}

.split-section .button {
  margin-top: 18px;
}

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

.feature-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.05);
}

.feature-list strong {
  color: var(--primary-dark);
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 28px;
  margin-top: 26px;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  overflow: visible;
  border: 0;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(11, 122, 117, 0.42), rgba(242, 184, 75, 0.42))
      border-box;
  border: 1px solid transparent;
  box-shadow: 0 22px 54px rgba(16, 32, 51, 0.1);
}

.product-top {
  position: relative;
  padding: 34px 30px 24px;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    rgba(8, 40, 62, 0.96),
    rgba(11, 122, 117, 0.9)
  );
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.product-top::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(242, 184, 75, 0.22);
}

.product-top h3,
.product-top p {
  position: relative;
  z-index: 1;
}

.product-top p {
  min-height: 74px;
  color: rgba(255, 255, 255, 0.78);
}

.product ul {
  list-style: none;
  margin: 0;
  padding: 20px 30px 12px;
  border-top: 1px solid var(--line);
}

.product li {
  padding: 9px 0;
  color: #34465d;
  border-bottom: 0;
  font-size: 0.9rem;
}

.product label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.product input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin-top: 5px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: -30px 30px 0;
  padding: 18px 20px;
  padding-top: 0;
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(223, 230, 239, 0.9);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.12);
}

.currency {
  font-size: 0.95rem;
}

.billing-period {
  color: #8293aa;
  font-size: 0.88rem;
  font-weight: 800;
}

.get-started {
  width: calc(100% - 60px);
  margin: auto 30px 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  border: 0;
  box-shadow: 0 12px 24px rgba(11, 122, 117, 0.2);
}

.get-started:hover {
  color: #ffffff;
}

.plan-audience {
  margin: 0;
  padding: 24px 30px 10px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #ffffff;
}

.popular-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 156px;
  padding: 7px 18px;
  border-radius: 999px;
  color: #102033;
  background: var(--accent);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(242, 184, 75, 0.28);
}

.product.featured {
  color: inherit;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(242, 184, 75, 0.82), rgba(11, 122, 117, 0.52))
      border-box;
  box-shadow: 0 28px 64px rgba(16, 32, 51, 0.16);
}

.product.featured .plan-audience,
.product.featured .product-top p,
.product.featured .billing-period,
.product.featured li {
  color: inherit;
}

.product.featured .price-row,
.product.featured h3 {
  color: inherit;
}

.product.featured ul {
  border-top-color: var(--line);
}

.product.featured input[type="checkbox"] {
  accent-color: var(--primary);
}

.product.featured .get-started {
  color: #ffffff;
}

.product.featured .product-top {
  background: linear-gradient(
    135deg,
    rgba(13, 61, 87, 0.96),
    rgba(9, 119, 113, 0.92)
  );
}

.product.featured .product-top p {
  color: rgba(255, 255, 255, 0.8);
}

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

.insight-card {
  padding: 28px;
  border-top: 4px solid var(--accent);
}

.tag {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #dff4ef;
  font-size: 0.82rem;
  font-weight: 800;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 70px max(16px, calc((100% - 1180px) / 2));
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    #123755 58%,
    #1b4a57
  );
}

.cta-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  padding: 112px max(16px, calc((100% - 980px) / 2));
  color: #ffffff;
  background:
    radial-gradient(
      circle at 78% 24%,
      rgba(242, 184, 75, 0.22),
      transparent 26%
    ),
    linear-gradient(90deg, rgba(8, 40, 62, 0.95), rgba(8, 40, 62, 0.72)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}

.page-hero.compact {
  min-height: 390px;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

.content-page {
  display: grid;
  gap: 18px;
  max-width: 900px;
}

.content-page article {
  padding: 28px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 30px;
}

.contact-form,
#checkout-form {
  display: grid;
  gap: 14px;
}

label {
  color: #2e4056;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11, 122, 117, 0.12);
}

textarea {
  resize: vertical;
}

.checkout-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #f8fbfd, #ffffff);
}

.checkout-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.checkout-heading p:not(.eyebrow),
.form-card-heading p,
.form-helper {
  color: var(--muted);
}

#checkout.checkout-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: start;
}

.checkout-summary,
.checkout-form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.checkout-summary {
  position: sticky;
  top: 96px;
  overflow: hidden;
}

.summary-top {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 30px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 86% 10%,
      rgba(242, 184, 75, 0.24),
      transparent 28%
    ),
    linear-gradient(135deg, #0b1d2c, var(--primary-dark));
}

.summary-top .eyebrow {
  margin-bottom: 4px;
}

.summary-top h3 {
  margin: 0;
}

.summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  color: #0b1d2c;
  background: var(--accent);
  font-weight: 900;
}

.summary-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 0 30px;
  padding: 28px 0 22px;
  border-bottom: 1px solid var(--line);
}

.summary-price span {
  font-weight: 800;
}

.summary-price strong {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  line-height: 1;
}

.summary-price small {
  color: var(--muted);
  font-weight: 800;
}

.summary-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 22px 30px;
}

.summary-meta div {
  padding: 15px;
  border-radius: 8px;
  background: var(--soft);
}

.summary-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.summary-meta strong {
  display: block;
  margin-top: 4px;
}

.summary-features {
  padding: 0 30px 24px;
}

.summary-features h4 {
  margin: 0 0 12px;
}

.summary-features ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-features li {
  position: relative;
  padding-left: 22px;
  color: #34465d;
  font-size: 0.94rem;
}

.summary-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.checkout-note {
  margin: 0 30px 30px;
  padding: 18px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.checkout-note p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

#checkout-form.checkout-form-card {
  display: grid;
  gap: 16px;
  padding: 32px;
}

.form-card-heading {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.form-card-heading h3,
.form-card-heading p {
  margin: 0;
}

.form-card-heading p {
  margin-top: 6px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

.checkout-form-card input[readonly],
.checkout-form-card textarea[readonly] {
  color: #40536c;
  background: #f7fafc;
}

.form-helper {
  margin: -2px 0 0;
  font-size: 0.92rem;
}

.payment-layout {
  display: flex;
  justify-content: center;
}

.payment-card {
  width: min(720px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.payment-card form {
  margin-top: 16px;
}

.portal-auth {
  display: flex;
  justify-content: center;
}

.portal-auth form {
  width: min(560px, 100%);
}

.portal-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.65fr;
  gap: 28px;
  align-items: start;
}

.portal-panel,
.records-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.portal-panel {
  position: sticky;
  top: 96px;
}

.portal-panel .button,
.portal-panel form,
.portal-panel button {
  width: 100%;
  margin-top: 12px;
}

.portal-main {
  display: grid;
  gap: 24px;
}

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

.module-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.module-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.module-card.enabled span {
  color: var(--primary-dark);
  background: #d8f6df;
}

.module-card.disabled {
  opacity: 0.62;
}

.module-card.disabled span {
  color: #6c7887;
  background: #edf1f5;
}

.module-pill {
  margin: 8px 0;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #dff4ef;
  font-weight: 700;
}

.records-panel {
  overflow-x: auto;
}

.records-panel table {
  width: 100%;
  border-collapse: collapse;
}

.records-panel th,
.records-panel td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.records-panel th {
  color: var(--primary-dark);
  background: var(--soft);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr 0.9fr;
  gap: 32px;
  padding: 64px max(16px, calc((100% - 1180px) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #071522, #0b1d2c 52%, #102f3f);
  border-top: 5px solid var(--accent);
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 10px;
  max-width: 360px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 960px) {
  .navbar {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .intro-grid,
  .service-grid,
  .product-grid,
  .insight-grid,
  .split-section,
  .contact-layout,
  #checkout.checkout-layout,
  .portal-layout,
  .module-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .checkout-summary,
  .portal-panel {
    position: static;
  }

  .hero,
  .hero-overlay {
    min-height: 620px;
  }

  .section {
    padding: 64px 0;
  }

  .muted {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
    order: 4;
  }

  .nav-dropdown,
  .nav-cta {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
  }

  .hero,
  .hero-overlay {
    min-height: 560px;
  }

  .hero-content {
    padding: 42px 0 56px;
  }

  .hero-stats span {
    width: 100%;
  }

  .feature-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-top,
  .product ul,
  .contact-panel,
  .contact-form,
  #checkout-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  .get-started {
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
  }

  .price-row {
    margin-left: 20px;
    margin-right: 20px;
  }

  .summary-top,
  .summary-meta,
  .summary-features,
  #checkout-form.checkout-form-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .summary-price,
  .checkout-note {
    margin-left: 20px;
    margin-right: 20px;
  }

  .summary-meta,
  .form-grid.two {
    grid-template-columns: 1fr;
  }
}

/* ================= APP PAGE PREMIUM UI ================= */

/* Background */

body {
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  font-family: "Poppins", sans-serif;
  color: #0f172a;
}

/* ================= HERO ================= */

.page-hero.compact {
  position: relative;
  overflow: hidden;
  padding: 120px 20px 90px;
  text-align: center;
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.15),
      transparent 30%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(124, 58, 237, 0.15),
      transparent 30%
    ),
    linear-gradient(135deg, #020617, #0f172a);
  color: white;
}

.page-hero.compact::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: #2563eb;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  top: -80px;
  left: -80px;
}

.page-hero.compact::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: #7c3aed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  bottom: -100px;
  right: -80px;
}

.page-hero.compact .eyebrow {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  margin-bottom: 24px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.page-hero.compact h1 {
  position: relative;
  z-index: 2;
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.page-hero.compact p {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  color: #cbd5e1;
}

/* ================= MAIN LAYOUT ================= */

.portal-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 35px;
  padding: 80px 20px;
  max-width: 1400px;
  margin: auto;
}

/* ================= SIDEBAR ================= */

.portal-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  padding: 35px;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
  height: fit-content;
  position: sticky;
  top: 120px;
}

.portal-panel h2 {
  font-size: 1.6rem;
  margin-bottom: 25px;
}

.module-pill {
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  font-weight: 500;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.18);
  transition: 0.3s ease;
}

.module-pill:hover {
  transform: translateX(6px);
}

/* Sidebar Button */

.portal-panel .button.primary {
  display: inline-block;
  margin-top: 25px;
  width: 100%;
  text-align: center;
  padding: 15px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  font-weight: 600;
  transition: 0.4s ease;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.portal-panel .button.primary:hover {
  transform: translateY(-4px);
}

/* ================= MAIN CONTENT ================= */

.portal-main {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

/* ================= FORM CARD ================= */

.checkout-form-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  padding: 40px;
  border-radius: 32px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.checkout-form-card h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0f172a;
}

.form-grid.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.checkout-form-card label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #334155;
}

.checkout-form-card input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid #dbe2ea;
  background: #f8fafc;
  font-size: 1rem;
  transition: 0.3s ease;
}

.checkout-form-card input:focus {
  border-color: #2563eb;
  outline: none;
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Submit Button */

.checkout-form-card button {
  margin-top: 30px;
  border: none;
  padding: 16px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.4s ease;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.25);
}

.checkout-form-card button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.35);
}

/* ================= RECORD TABLE ================= */

.records-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  padding: 35px;
  border-radius: 32px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.records-panel h2 {
  margin-bottom: 24px;
  font-size: 1.8rem;
}

/* Table */

.records-panel table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
}

.records-panel thead {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
}

.records-panel th,
.records-panel td {
  padding: 18px;
  text-align: left;
}

.records-panel tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: 0.3s ease;
}

.records-panel tbody tr:hover {
  background: #f8fafc;
}

.records-panel tbody td {
  color: #475569;
}

/* Empty Message */

.records-panel p {
  color: #64748b;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .portal-layout {
    grid-template-columns: 1fr;
  }

  .portal-panel {
    position: relative;
    top: 0;
  }

  .page-hero.compact h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .page-hero.compact {
    padding: 100px 20px 70px;
  }

  .page-hero.compact h1 {
    font-size: 2.3rem;
  }

  .checkout-form-card,
  .records-panel,
  .portal-panel {
    padding: 25px;
    border-radius: 24px;
  }

  .records-panel table {
    display: block;
    overflow-x: auto;
  }
}
