:root {
  --bg-deep: #0b161d;
  --bg-mid: #0f1e27;
  --bg-card: rgba(15, 34, 44, 0.58);
  --bg-card-hover: rgba(20, 44, 57, 0.74);
  --border-teal: rgba(72, 219, 228, 0.2);
  --border-coral: rgba(255, 126, 87, 0.38);
  --text-main: #eaf6f9;
  --text-muted: #93b4c2;
  --cyan: #42e8f0;
  --cyan-soft: rgba(66, 232, 240, 0.16);
  --coral: #ff7e57;
  --coral-deep: #df4d36;
  --coral-glow: rgba(255, 118, 74, 0.45);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(45, 185, 200, 0.22), transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 25%, rgba(255, 120, 80, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 65%, rgba(35, 165, 185, 0.14), transparent 65%),
    linear-gradient(180deg, #0b171f 0%, #0d1b24 45%, #09141b 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Underwater caustics & plankton particles */
.abyss-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.caustic {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 16s ease-in-out infinite alternate;
}

.caustic-1 {
  width: 680px;
  height: 420px;
  top: -120px;
  left: 18%;
  background: radial-gradient(circle, rgba(56, 214, 224, 0.28), transparent 70%);
}

.caustic-2 {
  width: 520px;
  height: 520px;
  top: 28%;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 120, 80, 0.16), transparent 70%);
  animation-delay: -6s;
}

.caustic-3 {
  width: 620px;
  height: 420px;
  bottom: 5%;
  left: -140px;
  background: radial-gradient(circle, rgba(40, 195, 210, 0.18), transparent 70%);
  animation-delay: -11s;
}

.plankton {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 14% 22%, rgba(92, 236, 244, 0.55), transparent),
    radial-gradient(2.5px 2.5px at 32% 68%, rgba(255, 138, 98, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 58% 18%, rgba(92, 236, 244, 0.45), transparent),
    radial-gradient(2px 2px at 78% 42%, rgba(255, 138, 98, 0.5), transparent),
    radial-gradient(2px 2px at 88% 76%, rgba(92, 236, 244, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 44% 86%, rgba(92, 236, 244, 0.4), transparent);
  animation: floatUp 24s linear infinite;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 24px) scale(1.08); }
}

@keyframes floatUp {
  0% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
  100% { transform: translateY(0); }
}

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(11, 22, 29, 0.72);
  border-bottom: 1px solid rgba(72, 219, 228, 0.12);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(255, 118, 74, 0.4);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.os-pill {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #bceaf0;
  background: rgba(66, 232, 240, 0.08);
  border: 1px solid rgba(66, 232, 240, 0.24);
  white-space: nowrap;
}

/* Hero Section */
.hero-section {
  padding: 58px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(66, 232, 240, 0.1);
  border: 1px solid rgba(66, 232, 240, 0.26);
  margin-bottom: 18px;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
}

h1 {
  margin: 0 0 18px;
  font-size: 45px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f4fbfd;
}

.hero-lead {
  margin: 0 0 32px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
}

/* Signature Bioluminescent Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.cta-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-sub {
  font-size: 12px;
  color: #7ea3b3;
  padding-left: 6px;
}

.win-smartscreen-note {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(15, 28, 42, 0.72);
  border: 1px solid rgba(72, 219, 228, 0.22);
  font-size: 13px;
  line-height: 1.5;
  color: #cde3ee;
  max-width: 580px;
  text-align: left;
}
.win-smartscreen-note strong {
  color: #fff;
}
.win-smartscreen-note .ss-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #9eeef4;
  margin-bottom: 5px;
}
.win-smartscreen-note details {
  margin-top: 8px;
}
.win-smartscreen-note summary {
  cursor: pointer;
  color: #48dbe4;
  font-weight: 600;
  font-size: 12.5px;
  user-select: none;
}
.win-smartscreen-note img {
  margin-top: 10px;
  width: 100%;
  max-width: 340px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: block;
}

.btn-coral-bio {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff8f5;
  font-weight: 700;
  font-size: 15.5px;
  background:
    radial-gradient(120% 100% at 30% 18%, rgba(255, 208, 186, 0.55), transparent 52%),
    linear-gradient(135deg, #ff8f66 0%, #f05a40 55%, #cf3f2c 100%);
  border: 1px solid rgba(255, 194, 170, 0.55);
  box-shadow:
    0 0 28px rgba(255, 110, 70, 0.52),
    0 10px 26px rgba(220, 62, 38, 0.36),
    inset 0 2px 10px rgba(255, 224, 210, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: visible;
}

.btn-coral-bio:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 38px rgba(255, 118, 74, 0.72),
    0 14px 32px rgba(220, 62, 38, 0.45),
    inset 0 2px 12px rgba(255, 232, 222, 0.6);
}

.btn-coral-bio svg.btn-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn-tendrils {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 86%;
  width: 84%;
  height: 36px;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 120, 78, 0.7));
}

.btn-tendrils path {
  fill: none;
  stroke: url(#coralTendrilGrad);
  stroke-linecap: round;
  animation: tendrilSway 4.2s ease-in-out infinite alternate;
}

.btn-tendrils path:nth-child(2n) {
  animation-delay: -1.6s;
}

.btn-tendrils path:nth-child(3n) {
  animation-delay: -2.9s;
}

@keyframes tendrilSway {
  0% { transform: translateX(-2px) scaleY(0.96); opacity: 0.72; }
  100% { transform: translateX(3px) scaleY(1.05); opacity: 1; }
}

.btn-cyan-bio {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  color: #e2fcff;
  font-weight: 700;
  font-size: 15.5px;
  background:
    radial-gradient(120% 100% at 30% 15%, rgba(135, 247, 255, 0.3), transparent 55%),
    linear-gradient(135deg, rgba(35, 130, 146, 0.55) 0%, rgba(16, 62, 76, 0.72) 100%);
  border: 1px solid rgba(84, 238, 245, 0.55);
  box-shadow:
    0 0 26px rgba(66, 232, 240, 0.28),
    inset 0 0 18px rgba(66, 232, 240, 0.22);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-cyan-bio:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 36px rgba(66, 232, 240, 0.48),
    inset 0 0 22px rgba(66, 232, 240, 0.34);
}

.btn-cyan-bio svg.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Tilted 3D App Stage */
.abyss-stage {
  position: relative;
  perspective: 1300px;
  padding: 14px;
}

.abyss-stage::before {
  content: '';
  position: absolute;
  inset: 8% 4%;
  border-radius: 32px;
  background: radial-gradient(circle at 60% 40%, rgba(66, 232, 240, 0.24), rgba(255, 120, 80, 0.14), transparent 72%);
  filter: blur(36px);
  z-index: 0;
}

.glass-frame-back {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(66, 232, 240, 0.14), rgba(15, 34, 44, 0.45) 55%, rgba(255, 126, 87, 0.14));
  border: 1px solid rgba(84, 238, 245, 0.28);
  box-shadow:
    0 28px 70px rgba(3, 10, 14, 0.72),
    0 0 42px rgba(66, 232, 240, 0.16);
  transform: rotateY(-10deg) rotateX(4deg);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.abyss-stage:hover .glass-frame-back {
  transform: rotateY(-4deg) rotateX(2deg) scale(1.01);
}

.app-img {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Telemetry Nodes */
.node-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  z-index: 4;
}

.node-cyan {
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan), 0 0 28px var(--cyan);
  bottom: 18px;
  left: 28px;
}

.node-coral {
  background: var(--coral);
  box-shadow: 0 0 16px var(--coral), 0 0 28px var(--coral);
  top: 22px;
  right: 26px;
}

.telemetry-pill {
  position: absolute;
  z-index: 5;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.38);
}

.pill-top {
  top: -10px;
  right: 24px;
  background: rgba(15, 38, 48, 0.85);
  border: 1px solid rgba(66, 232, 240, 0.45);
  color: #b8f9fc;
}

.pill-bottom {
  bottom: -8px;
  left: 24px;
  background: rgba(42, 22, 20, 0.85);
  border: 1px solid rgba(255, 126, 87, 0.5);
  color: #ffd5c7;
}

/* Sections */
.section {
  padding: 68px 0;
  position: relative;
  z-index: 2;
}

.hero-section + .section {
  padding-top: 34px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f0fafc;
}

.section-lead {
  margin: 0 0 14px;
  font-size: 16.5px;
  color: var(--text-muted);
}

.section-text {
  margin: 0;
  font-size: 15.5px;
  color: #b3cdd8;
}

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

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

.bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(4, 12, 17, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.bio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(66, 232, 240, 0.45);
  background: var(--bg-card-hover);
}

.bio-card-accent {
  border-color: var(--border-coral);
  box-shadow: 0 14px 40px rgba(255, 118, 74, 0.14);
}

.bio-card-accent:hover {
  border-color: rgba(255, 138, 98, 0.65);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid rgba(66, 232, 240, 0.28);
  margin-bottom: 14px;
}

.card-badge-coral {
  color: #ffc5b0;
  background: rgba(255, 126, 87, 0.15);
  border-color: rgba(255, 126, 87, 0.35);
}

.bio-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: #f3fbfd;
}

.bio-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

.bio-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #b7d2dd;
  font-size: 14.5px;
}

.bio-list li {
  margin-bottom: 8px;
}

.bio-list strong {
  color: #eef9fc;
}

/* Report Showcase inside Features */
.report-showcase {
  margin-top: 28px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(12, 29, 38, 0.68);
  border: 1px solid rgba(66, 232, 240, 0.24);
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 28px;
  align-items: center;
}

.report-showcase img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

/* Pricing */
.price-tag {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 8px 0 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-tag span {
  font-size: 16px;
  font-weight: 600;
  color: var(--cyan);
}

/* FAQ Accordion */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 880px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-teal);
  border-radius: 16px;
  padding: 18px 22px;
  backdrop-filter: blur(12px);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: #eef9fc;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--cyan);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--coral);
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Final CTA */
.final-cta-box {
  text-align: center;
  padding: 54px 32px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(66, 232, 240, 0.16), transparent 65%),
    rgba(13, 31, 41, 0.72);
  border: 1px solid rgba(66, 232, 240, 0.26);
  box-shadow: 0 24px 60px rgba(3, 10, 14, 0.55);
}

.final-cta-box .cta-row {
  justify-content: center;
  margin-top: 26px;
}

/* Footer */
.footer-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(72, 219, 228, 0.12);
  padding: 26px 0 38px;
  margin-top: 32px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

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

.footer-links a,
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: var(--cyan);
}

/* Cookie Bar */
.cookie-toast {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: 380px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(11, 26, 35, 0.92);
  border: 1px solid rgba(66, 232, 240, 0.28);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.cookie-toast.hidden {
  display: none;
}

.cookie-text {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.cookie-accept-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(84, 238, 245, 0.5);
  background: rgba(66, 232, 240, 0.16);
  color: #e4fcff;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5, 12, 16, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 660px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 20px;
  padding: 26px;
  background: #0e202a;
  border: 1px solid rgba(66, 232, 240, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.modal-head h2 {
  margin: 0;
  font-size: 22px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-main);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}

.modal-body {
  font-size: 14.5px;
  color: #bdd6e0;
}

.modal-body ol,
.modal-body ul {
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .report-showcase {
    grid-template-columns: 1fr;
  }

  .glass-frame-back {
    transform: rotateY(-3deg) rotateX(2deg);
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .hero-section {
    padding: 38px 0 60px;
  }

  .btn-coral-bio,
  .btn-cyan-bio {
    width: 100%;
  }

  .cta-col {
    width: 100%;
  }
}
