:root {
  --c2-navy: #031220;
  --c2-navy-light: #09243a;
  --c2-teal: #13c4d6;
  --c2-teal-light: #5ee6ef;
  --c2-coral: #ef6544;
  --c2-ivory: #f7f3ec;
  --c2-muted: #b7c3cf;
  --c2-border: rgba(83, 211, 224, 0.22);
}

.c2-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px 5% 48px;
  color: var(--c2-ivory);
  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(12, 117, 155, 0.23),
      transparent 34%
    ),
    radial-gradient(
      circle at 12% 90%,
      rgba(19, 196, 214, 0.08),
      transparent 24%
    ),
    linear-gradient(
      130deg,
      #02101d 0%,
      #041725 50%,
      #07243a 100%
    );
  font-family:
    Inter, Arial, Helvetica, sans-serif;
}

.c2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(19, 196, 214, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 196, 214, 0.08) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to bottom, transparent, black, transparent);
}

.c2-navbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 30px;
  max-width: 1440px;
  margin: 0 auto;
}

.c2-brand {
  color: inherit;
  text-decoration: none;
}

.c2-brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
}

.c2-brand-name span {
  color: var(--c2-coral);
  font-size: 0.55em;
}

.c2-brand-name em {
  font-weight: 400;
}

.c2-logo-waves {
  display: grid;
  gap: 3px;
  width: 190px;
  margin-top: 10px;
}

.c2-logo-waves i {
  display: block;
  height: 3px;
  border-radius: 100%;
  background: var(--c2-teal);
  transform: skewX(-22deg);
}

.c2-logo-waves i:last-child {
  width: 82%;
  margin-left: auto;
}

.c2-brand-subtitle {
  margin-top: 13px;
  color: var(--c2-teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.c2-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 52px);
}

.c2-nav-links a {
  position: relative;
  padding: 15px 0;
  color: #f5f7f9;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.c2-nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--c2-teal);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.c2-nav-links a:hover::after,
.c2-nav-links a.active::after {
  transform: scaleX(1);
}

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

.c2-icon-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--c2-ivory);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.c2-icon-button svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.c2-menu-toggle {
  display: none;
}

.c2-cart > span {
  position: absolute;
  top: -4px;
  right: -3px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--c2-teal);
  color: #031220;
  font-size: 11px;
  font-weight: 800;
}

.c2-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 40px;
  max-width: 1440px;
  min-height: 620px;
  margin: 55px auto 20px;
}

.c2-copy {
  padding: 30px 0;
}

.c2-eyebrow {
  margin: 0 0 32px;
  color: var(--c2-teal);
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.c2-copy h1 {
  max-width: 800px;
  margin: 0;
  color: var(--c2-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 6vw, 86px);
  font-weight: 500;
  line-height: 1.05;
  text-shadow:
    0 0 18px rgba(19, 196, 214, 0.28),
    0 0 42px rgba(19, 196, 214, 0.16),
    0 2px 18px rgba(0, 0, 0, 0.35);
}

.c2-copy h1 span {
  color: var(--c2-teal);
  text-shadow:
    0 0 12px rgba(19, 196, 214, 0.85),
    0 0 28px rgba(19, 196, 214, 0.55),
    0 0 54px rgba(94, 230, 239, 0.35);
  animation: c2HeadlineGlow 3.4s ease-in-out infinite;
}

@keyframes c2HeadlineGlow {
  0%, 100% {
    text-shadow:
      0 0 12px rgba(19, 196, 214, 0.75),
      0 0 28px rgba(19, 196, 214, 0.45),
      0 0 48px rgba(94, 230, 239, 0.28);
  }
  50% {
    text-shadow:
      0 0 18px rgba(19, 196, 214, 1),
      0 0 40px rgba(19, 196, 214, 0.7),
      0 0 70px rgba(94, 230, 239, 0.45);
  }
}

.c2-accent-line {
  display: flex;
  align-items: center;
  width: 440px;
  max-width: 72%;
  margin: 34px 0;
}

.c2-accent-line span {
  height: 2px;
  flex: 1;
  background: var(--c2-teal);
}

.c2-accent-line i {
  width: 10px;
  height: 10px;
  margin: 0 7px;
  background: var(--c2-teal);
  transform: rotate(45deg);
}

.c2-accent-line b {
  height: 2px;
  flex: 0.75;
  background: var(--c2-coral);
}

.c2-description {
  max-width: 680px;
  margin: 0;
  color: var(--c2-muted);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.7;
}

.c2-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
}

.c2-btn {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 0 27px;
  color: var(--c2-teal-light);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

.c2-btn-primary {
  border: 1px solid var(--c2-teal);
  border-radius: 6px;
  background: rgba(4, 23, 38, 0.65);
}

.c2-btn-primary:hover {
  background: rgba(19, 196, 214, 0.12);
  box-shadow: 0 0 25px rgba(19, 196, 214, 0.22);
}

.c2-btn-secondary {
  border: 1px solid transparent;
}

.c2-btn-secondary:hover {
  border-color: rgba(19, 196, 214, 0.25);
}

.c2-product-visual {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
}

.c2-product-visual::before {
  content: "";
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: rgba(19, 196, 214, 0.08);
  filter: blur(70px);
}

.c2-product-visual::after {
  content: "";
  position: absolute;
  inset: 12% 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(19, 196, 214, 0.22), transparent 58%),
    radial-gradient(circle at 50% 70%, rgba(239, 101, 68, 0.1), transparent 55%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 1;
}

.c2-vial-image {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 100%;
  max-height: 590px;
  object-fit: contain;
  object-position: center;
  /* Fade the photo edges into the dark hero background */
  -webkit-mask-image: radial-gradient(
    circle at 50% 45%,
    #000 55%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 88%
  );
  mask-image: radial-gradient(
    circle at 50% 45%,
    #000 55%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 88%
  );
  filter:
    drop-shadow(0 28px 34px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 28px rgba(19, 196, 214, 0.22));
  transition: transform 0.45s ease, filter 0.45s ease;
  will-change: transform;
}

.c2-vial-image.is-floating {
  animation: c2VialFloat 5.5s ease-in-out infinite;
}

@keyframes c2VialFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .c2-copy h1 span,
  .c2-vial-image.is-floating {
    animation: none !important;
  }
}

.c2-molecule {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0.17;
  background:
    radial-gradient(circle at 15% 50%, var(--c2-teal) 0 5px, transparent 6px),
    radial-gradient(circle at 50% 15%, var(--c2-teal) 0 5px, transparent 6px),
    radial-gradient(circle at 75% 55%, var(--c2-teal) 0 5px, transparent 6px),
    linear-gradient(
      30deg,
      transparent 45%,
      var(--c2-teal) 47% 49%,
      transparent 51%
    );
}

.c2-molecule-one {
  top: 15%;
  left: 3%;
}

.c2-molecule-two {
  right: 3%;
  bottom: 8%;
  transform: rotate(45deg);
}

.c2-trust-panel {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1440px;
  margin: 0 auto;
  border: 1px solid var(--c2-border);
  border-radius: 20px;
  background: rgba(4, 21, 34, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.c2-trust-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 180px;
  padding: 25px 30px;
}

.c2-trust-card + .c2-trust-card {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.c2-trust-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  color: var(--c2-teal);
}

.c2-trust-icon svg {
  width: 58px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.c2-trust-card h3 {
  margin: 0 0 14px;
  color: var(--c2-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.c2-trust-card p {
  margin: 0;
  color: var(--c2-muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .c2-navbar {
    grid-template-columns: 230px 1fr auto;
  }

  .c2-nav-links {
    gap: 20px;
  }

  .c2-hero-content {
    grid-template-columns: 1fr 0.8fr;
  }

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

  .c2-trust-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .c2-trust-card:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 850px) {
  .c2-navbar {
    grid-template-columns: 1fr auto;
  }

  .c2-nav-links {
    display: none;
  }

  .c2-menu-toggle {
    display: grid;
  }

  .c2-hero-content {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    margin-top: 30px;
    text-align: center;
  }

  /* Flatten copy so vial can sit directly under the description */
  .c2-copy {
    display: contents;
  }

  .c2-eyebrow {
    order: 1;
  }

  .c2-copy h1 {
    order: 2;
  }

  .c2-accent-line {
    order: 3;
    margin-left: auto;
    margin-right: auto;
  }

  .c2-description {
    order: 4;
    margin-left: auto;
    margin-right: auto;
  }

  .c2-product-visual {
    order: 5;
    width: 100vw;
    max-width: 100vw;
    margin: 10px 0 4px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: clamp(340px, 78vw, 520px);
    padding: 18px 0 8px;
    overflow: visible;
  }

  .c2-product-visual::before {
    width: 95%;
    height: 85%;
    background: rgba(19, 196, 214, 0.18);
    filter: blur(55px);
  }

  .c2-product-visual::after {
    inset: 6% 4%;
    background:
      radial-gradient(circle at 50% 40%, rgba(19, 196, 214, 0.35), transparent 52%),
      radial-gradient(circle at 50% 78%, rgba(239, 101, 68, 0.16), transparent 48%);
  }

  .c2-vial-image {
    width: min(92vw, 520px);
    max-width: 92vw;
    max-height: none;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter:
      drop-shadow(0 24px 28px rgba(0, 0, 0, 0.55))
      drop-shadow(0 0 36px rgba(19, 196, 214, 0.35))
      drop-shadow(0 0 70px rgba(19, 196, 214, 0.18));
  }

  .c2-buttons {
    order: 6;
    justify-content: center;
  }

  .c2-eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .c2-copy h1 {
    font-size: clamp(30px, 6.4vw, 46px);
    line-height: 1.12;
    text-wrap: balance;
  }

  .c2-accent-line {
    width: 220px;
    margin: 16px auto;
  }
}

@media (max-width: 620px) {
  .c2-hero {
    padding: 20px 18px 35px;
  }

  .c2-brand-name {
    font-size: 34px;
  }

  .c2-logo-waves {
    width: 150px;
  }

  .c2-brand-subtitle {
    font-size: 10px;
  }

  .c2-copy h1 {
    font-size: clamp(27px, 7.6vw, 36px);
    line-height: 1.14;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }

  /* Let the headline wrap naturally instead of forcing two long lines */
  .c2-copy h1 br {
    display: none;
  }

  .c2-eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .c2-accent-line {
    width: 180px;
    margin: 14px auto;
  }

  .c2-description {
    font-size: 15px;
    line-height: 1.6;
  }

  .c2-product-visual {
    min-height: clamp(360px, 92vw, 560px);
    padding: 8px 0 0;
  }

  .c2-vial-image {
    width: min(96vw, 560px);
    max-width: 96vw;
    object-fit: contain;
    object-position: center;
  }

  .c2-buttons {
    width: 100%;
    gap: 12px;
    margin-top: 22px;
  }

  .c2-btn {
    width: 100%;
  }

  .c2-trust-panel {
    grid-template-columns: 1fr;
  }

  .c2-trust-card {
    grid-template-columns: 64px 1fr;
    min-height: auto;
    padding: 22px;
  }

  .c2-trust-card + .c2-trust-card {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }
}
