:root {
  --ink: #e7edf7;
  --muted: #94a5c4;
  --bg: #050c1b;
  --panel: rgba(16, 30, 61, 0.7);
  --accent: #60e1dc;
  --accent-strong: #c7ff70;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(5, 12, 27, 0.5);
  --radius: 18px;
}

body[data-theme="light"] {
  --ink: #0b1e3f;
  --muted: #5b6a82;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --accent: #0fa3b1;
  --accent-strong: #92eac0;
  --border: #e0e6f1;
  --shadow: 0 18px 48px rgba(11, 30, 63, 0.08);
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.background-layer {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(96, 225, 220, 0.08), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(199, 255, 112, 0.08), transparent 30%),
    radial-gradient(circle at 30% 70%, rgba(96, 225, 220, 0.04), transparent 40%),
    linear-gradient(135deg, #0b1e3f, #0b3d4f, #0a203a);
  z-index: 0;
}

.background-layer::after {
  content: "";
  position: fixed;
  inset: 0;
  background: center 32% / min(55vw, 480px) no-repeat url("logoMultimarks.png");
  opacity: 0.5;
  pointer-events: none;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.35));
}

body[data-theme="light"] .background-layer {
  background:
    radial-gradient(circle at 20% 20%, rgba(15, 163, 177, 0.08), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(146, 234, 192, 0.12), transparent 35%),
    radial-gradient(circle at 40% 80%, rgba(15, 163, 177, 0.06), transparent 40%),
    linear-gradient(135deg, #ffffff, #f7fbff);
}

body[data-theme="light"] .background-layer::after {
  opacity: 0.05;
  filter: drop-shadow(0 14px 30px rgba(11, 30, 63, 0.08));
}

.hero {
  position: relative;
  padding: 32px clamp(18px, 4vw, 36px) 80px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  padding: 8px;
  background: rgba(243, 242, 242, 1);
  border: 1px solid rgba(199, 255, 112, 0.5);
  object-fit: contain;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-tag {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.nav-cta {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.theme-toggle {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 10px 0 14px;
  line-height: 1.15;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.3px;
}

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

.lede {
  color: #c4d0ea;
  max-width: 640px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 12px 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #041024;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border 0.2s ease, background 0.2s ease;
  font-size: 15px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 35px rgba(96, 225, 220, 0.35);
}

.btn.ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.btn.small {
  padding: 10px 14px;
  font-size: 14px;
}

.btn.full {
  width: 100%;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.pillars {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
  color: var(--muted);
}

.pillars span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-card__title {
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-card ul {
  color: #c4d0ea;
  padding-left: 18px;
  line-height: 1.6;
}

.hero-card__footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(96, 225, 220, 0.8);
  flex-shrink: 0;
}

.section {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px clamp(18px, 4vw, 36px);
  z-index: 1;
}

.section-header h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 3.2vw, 36px);
}

.section-header p {
  color: #c4d0ea;
  max-width: 720px;
  margin: 6px 0 0;
}

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

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card.accent {
  border: 1px solid rgba(96, 225, 220, 0.4);
  background: linear-gradient(145deg, rgba(96, 225, 220, 0.08), rgba(10, 32, 58, 0.8));
}

.card h3 {
  margin: 0 0 10px;
  letter-spacing: 0.2px;
}

.card p {
  color: #c4d0ea;
  margin: 8px 0 12px;
}

.card ul {
  color: #c4d0ea;
  padding-left: 18px;
  line-height: 1.6;
  margin: 0;
}

.card.service {
  transition: transform 0.2s ease, border 0.2s ease;
}

.card.service:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 225, 220, 0.4);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 10px rgba(96, 225, 220, 0.7);
}

.tag {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.highlight {
  background: linear-gradient(145deg, rgba(96, 225, 220, 0.04), rgba(5, 12, 27, 0.4));
  border-radius: 28px;
  border: 1px solid rgba(96, 225, 220, 0.2);
}

.slogan {
  font-size: 17px;
  color: #eaf2ff;
  font-style: italic;
  margin: 8px 0;
}

.cta-box {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--accent);
  border-color: rgba(96, 225, 220, 0.6);
}

.contact-info {
  display: grid;
  gap: 10px;
  color: #c4d0ea;
}

.contact-info .label {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-info a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 36px) 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #c4d0ea;
  border-top: 1px solid var(--border);
  z-index: 1;
  position: relative;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

/* Light theme overrides */
body[data-theme="light"] .brand-logo {
  background: #ffffff;
  border: 1px solid rgba(15, 163, 177, 0.28);
  box-shadow: 0 10px 26px rgba(11, 30, 63, 0.14);
}

body[data-theme="light"] .nav-cta,
body[data-theme="light"] .btn.ghost {
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(11, 30, 63, 0.08);
}

body[data-theme="light"] .theme-toggle {
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(11, 30, 63, 0.08);
}

body[data-theme="light"] .pillars span,
body[data-theme="light"] .tag {
  background: #eef3fb;
  border: 1px solid #e0e6f1;
}

body[data-theme="light"] .card.accent {
  border: 1px solid rgba(15, 163, 177, 0.3);
  background: linear-gradient(145deg, rgba(15, 163, 177, 0.08), #ffffff);
}

body[data-theme="light"] .highlight {
  background: linear-gradient(145deg, rgba(15, 163, 177, 0.08), #f9fcff);
  border: 1px solid rgba(15, 163, 177, 0.2);
}

body[data-theme="light"] .hero-card {
  background: linear-gradient(145deg, #ffffff, #f7fbff);
  box-shadow: 0 18px 48px rgba(11, 30, 63, 0.08);
  backdrop-filter: none;
}

body[data-theme="light"] .hero-card ul,
body[data-theme="light"] .card p,
body[data-theme="light"] .card ul,
body[data-theme="light"] .section-header p,
body[data-theme="light"] .lede,
body[data-theme="light"] .contact-info,
body[data-theme="light"] .footer {
  color: #4f627c;
}

body[data-theme="light"] .cta-box {
  background: #f3f7fd;
}

body[data-theme="light"] .contact-form input,
body[data-theme="light"] .contact-form textarea {
  background: #f9fbff;
}

body[data-theme="light"] .footer {
  color: #5b6a82;
  border-top: 1px solid #e0e6f1;
}

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

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn.full-mobile {
    width: 100%;
  }
}
