@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-gradient: linear-gradient(135deg, #020b14 0%, #07192b 50%, #0c2b47 100%);
  --glass: rgba(8, 33, 54, 0.62);
  --glass-hover: rgba(12, 48, 78, 0.78);
  --glass-border: rgba(0, 240, 255, 0.18);
  --glass-border-hover: rgba(0, 240, 255, 0.35);
  --cyan: #00f0ff;
  --coral: #ff7f50;
  --green: #39ff14;
  --text: #ffffff;
  --text-muted: #7ba4c7;
  --shadow: 0 16px 40px rgba(0, 240, 255, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  margin: 0; 
  color: var(--text); 
  background: var(--bg-gradient); 
  background-attachment: fixed;
  font-family: "Outfit", system-ui, sans-serif; 
  line-height: 1.6; 
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

/* Sticky Glassmorphic Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  background: rgba(2, 11, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 80px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.08);
  color: var(--cyan);
  font-size: 22px;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}
.brand strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.header-nav {
  display: flex;
  gap: 30px;
}
.header-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}
.header-nav a:hover, .header-nav a.active {
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

/* Glass Hero Section */
.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 50%);
}
.hero-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  padding: 60px 40px;
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
}
.hero-card .catalog {
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-card h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 25px;
}
.hero-card h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-card p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 35px;
}

.atlas-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 30px;
  border: 1.5px solid var(--cyan);
  border-radius: 30px;
  background: rgba(0, 240, 255, 0.08);
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.atlas-button:hover {
  background: var(--cyan);
  color: #020b14;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.45);
  transform: translateY(-2px);
}
.atlas-button.outline {
  border-color: var(--text-muted);
  color: var(--text-muted);
  background: transparent;
  box-shadow: none;
}
.atlas-button.outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Centered Game Box Layout */
.study-section {
  padding: 95px 24px;
}
.section-heading {
  max-width: 800px;
  margin: 0 auto 55px;
  text-align: center;
}
.section-heading h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  margin: 0 0 15px;
}
.section-heading p {
  color: var(--text-muted);
  font-size: 16px;
}

.study-desk {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Wanted Specimen banner */
.clue-banner {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--glass-border);
  padding: 20px 30px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 30px;
  border-radius: 12px;
}
.clue-illustration {
  height: 80px;
  background: rgba(0, 240, 255, 0.03);
  border: 1.5px dashed var(--glass-border);
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.clue-illustration span {
  --fish-color: #ff7f50;
  width: 64px;
  height: 24px;
  position: relative;
  border-radius: 50%;
  border: 1.5px solid var(--fish-color);
  box-shadow: 0 0 8px var(--fish-color);
}
.clue-illustration span::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 3px;
  border-right: 16px solid var(--fish-color);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.clue-illustration span::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 7px;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: var(--fish-color);
}
.clue-illustration.stripes span { border-color: var(--coral); box-shadow: 0 0 8px var(--coral); }
.clue-illustration.stripes span::before { border-right-color: var(--coral); }
.clue-illustration.stripes span::after { background: var(--coral); }
.clue-illustration.dots span { border-color: var(--green); box-shadow: 0 0 8px var(--green); }
.clue-illustration.dots span::before { border-right-color: var(--green); }
.clue-illustration.dots span::after { background: var(--green); }

.clue-details {
  display: flex;
  justify-content: space-around;
  gap: 15px;
}
.clue-details-col {
  text-align: center;
}
.clue-details-col dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.clue-details-col dd {
  margin: 4px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan);
}

/* Canvas Area */
.canvas-frame {
  position: relative;
  aspect-ratio: 45/26;
  overflow: hidden;
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow);
  border-radius: 12px;
  background: #020b14;
}
#gameCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Overlay prompts */
.game-overlay {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: none;
  place-items: center;
  align-content: center;
  padding: 24px;
  text-align: center;
  background: rgba(2, 11, 20, 0.94);
  backdrop-filter: blur(8px);
}
.game-overlay.open {
  display: grid;
}
.game-overlay h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 36px;
  margin: 0 0 10px;
}
.game-overlay p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 450px;
  margin: 0 auto 24px;
}

/* Dials Stats Layout */
.stats-dials {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}
.dial-card {
  background: var(--glass);
  border: 1.5px solid var(--glass-border);
  padding: 15px 10px;
  text-align: center;
  border-radius: 8px;
}
.dial-card small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dial-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  margin-top: 4px;
  color: var(--cyan);
}

/* Live Logger Panel */
.logger-panel {
  background: var(--glass);
  border: 1.5px solid var(--glass-border);
  padding: 20px 25px;
  border-radius: 12px;
}
.logger-panel h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  border-bottom: 1.5px dashed var(--glass-border);
  padding-bottom: 6px;
}
.logger-entries {
  max-height: 120px;
  overflow-y: auto;
  font-size: 12px;
  color: var(--green);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: monospace;
}
.logger-entries p {
  margin: 0;
}
.logger-entries .err {
  color: var(--coral);
}
.logger-entries .sys {
  color: var(--cyan);
}

/* Eco Manual Steps Grid */
.method-section {
  padding: 95px 24px;
  background: rgba(2, 11, 20, 0.3);
  border-top: 1.5px solid var(--glass-border);
  border-bottom: 1.5px solid var(--glass-border);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.method-card {
  background: var(--glass);
  border: 1.5px solid var(--glass-border);
  padding: 30px 24px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.method-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}
.method-card span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  margin-bottom: 10px;
}
.method-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  margin: 0 0 10px;
}
.method-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Clean Glass Contact Form */
.contact-section {
  padding: 95px 24px;
}
.contact-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.contact-card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  margin: 0 0 15px;
  text-align: center;
}
.contact-card > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 35px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan);
}
.form-group input, .form-group textarea {
  padding: 12px;
  border: 1.5px solid var(--glass-border);
  background: rgba(2, 11, 20, 0.5);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  border-radius: 8px;
  width: 100%;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.contact-form .atlas-button {
  align-self: center;
}

/* Footer layout */
.footer {
  min-height: 150px;
  background: rgba(2, 11, 20, 0.85);
  border-top: 1.5px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 40px clamp(20px,5vw,80px);
}
.footer p {
  color: var(--text-muted);
  font-size: 12px;
  margin: 5px 0 0;
}
.footer-brand strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  color: #fff;
}
.footer-contacts {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.footer-contacts p {
  margin: 4px 0;
}
.footer-contacts a {
  color: var(--cyan);
  text-decoration: none;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--cyan);
}

.toast {
  position: fixed; 
  z-index: 120; 
  left: 50%; 
  bottom: 24px; 
  transform: translate(-50%, 18px); 
  padding: 12px 24px; 
  border: 1.5px solid var(--cyan); 
  background: var(--glass); 
  backdrop-filter: blur(12px);
  color: var(--cyan); 
  box-shadow: var(--shadow); 
  font-size: 13px; 
  font-weight: 600; 
  opacity: 0; 
  pointer-events: none; 
  transition: .2s;
  border-radius: 30px;
}
.toast.show { 
  opacity: 1; 
  transform: translate(-50%, 0); 
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  z-index: 110;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 18px 24px;
  background: rgba(8, 33, 54, 0.95);
  backdrop-filter: blur(16px);
  border-top: 2px solid var(--cyan);
  box-shadow: 0 -8px 25px rgba(0,0,0,0.4);
  display: none;
}
.cookie-banner.show {
  display: block;
}
.cookie-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cookie-content p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}
.cookie-content .atlas-button {
  min-height: 38px;
  padding: 0 18px;
  box-shadow: none;
}

/* Pricing Page Dashboard style */
.pricing-section {
  padding: 85px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-heading {
  text-align: center;
  margin-bottom: 50px;
}
.pricing-heading h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  margin: 0 0 15px;
}
.pricing-heading p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.price-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
}
.price-card.popular {
  border-color: var(--coral);
  transform: scale(1.03);
}
.price-card.popular:hover {
  transform: scale(1.03) translateY(-5px);
}
.card-inner {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card h3 {
  margin: 10px 0 15px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
}
.price-card .price {
  font-size: 42px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--cyan);
  margin: 0 0 20px;
  font-weight: 700;
}
.price-card .price span {
  font-size: 13px;
  font-family: "Outfit", sans-serif;
  color: var(--text-muted);
}
.price-card .desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 30px;
  min-height: 40px;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 35px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1.5px solid var(--glass-border);
  padding-top: 20px;
}
.features-list li {
  font-size: 13px;
  position: relative;
  padding-left: 20px;
}
.features-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.price-card .atlas-button {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 0 12px rgba(255, 127, 80, 0.4);
}

/* Modal Overlay and Glass Form */
.modal-overlay {
  position: fixed;
  z-index: 150;
  inset: 0;
  background: rgba(2, 11, 20, 0.85);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.checkout-modal {
  background: var(--glass);
  border: 1.5px solid var(--cyan);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow);
  padding: 30px;
  position: relative;
  border-radius: 12px;
  animation: modalScale 0.2s ease-out forwards;
}
@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1.5px solid var(--glass-border);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.modal-header h2 {
  margin: 5px 0 0;
  font-size: 28px;
  font-family: "Space Grotesk", sans-serif;
}
.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}
.close-btn:hover {
  color: var(--coral);
}
.order-summary {
  background: rgba(0, 240, 255, 0.05);
  border: 1.5px solid var(--glass-border);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 6px;
}
.price-tag {
  color: var(--cyan);
  font-weight: 700;
  font-size: 16px;
}
.billing-disclosure {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 15px 0;
}

/* Legal text styling */
.legal-main {
  padding: 85px 24px;
}
.legal-copy {
  max-width: 800px;
  margin: 0 auto;
  background: var(--glass);
  border: 1.5px solid var(--glass-border);
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.legal-copy h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px;
  margin: 0 0 20px;
}
.legal-copy h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  margin-top: 35px;
  border-bottom: 1.5px solid var(--glass-border);
  padding-bottom: 8px;
}
.legal-copy p {
  color: var(--text-muted);
}
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

/* Responsive adjustments */
@media(max-width: 930px) {
  .clue-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .clue-details {
    flex-direction: column;
    gap: 15px;
  }
  .stats-dials {
    grid-template-columns: repeat(3, 1fr);
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .price-card.popular {
    transform: none;
  }
  .price-card.popular:hover {
    transform: translateY(-5px);
  }
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
@media(max-width: 650px) {
  .stats-dials {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .contact-card {
    padding: 30px 20px;
  }
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
