/* =========================================================
   AAGENTIX - Unified Stylesheet
   - Merges existing launch.css with styles from index.html
   - Adds theme variables for light/dark mode
   ========================================================= */

/* ADD THIS CODE to the TOP of your launch.css file */

/* ---------- Theme tokens (for dark/light mode) ---------- */
/* ensure hidden elements don’t block clicks */
[hidden] { display: none !important; }

:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --card: #ffffff;
  --card-border: #e5e7eb;
  --soft: #f3f4f6;
  --neonPink: #ff2aa1;
  --neonMagenta: #ff0cb8;
  --neonLime: #b6ff00;
  --neonTeal: #00d2ff;
  --eggplant: #1a0936;
  --btnText: #0b0b0b;
}

.dark {
  --bg: #0b0b0b;
  --text: #f9fafb;
  --muted: #cbd5e1;
  --card: rgba(17, 24, 39, 0.7);
  --card-border: #1f2937;
  --soft: #1f2937;
  --btnText: #0b0b0b;
}

/* ---------- Styles for New Buttons in Header ---------- */
.btn-primary {
  color: var(--btnText);
  background: linear-gradient(90deg, var(--neonLime), var(--neonTeal));
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
}
.btn-primary:hover{filter:brightness(1.05)}

/* Make the existing .btn-outline style match the target design */
.btn-outline {
  border: 1.5px solid var(--neonPink);
  background: transparent;
}
.btn-outline:hover { background: var(--soft); }

/*
  Your existing launch.css code should continue below this line...
*/

/* ---------- Base / Typography (Merged) ---------- */
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  transition: background-color 0.25s, color 0.25s;
}
h1, h2, h3 { font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { transition: background-color 0.3s, color 0.3s; }

/* ---------- Layout utilities (Merged) ---------- */
.container { max-width: 72rem; margin-inline: auto; padding-inline: 1.5rem; }
.center { text-align: center; }
header { padding: 1rem 0; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }

/* Width helpers */
.w-2xl { max-width: 42rem; margin-inline: auto; }
.w-3xl { max-width: 48rem; margin-inline: auto; }
.w-4xl { max-width: 56rem; margin-inline: auto; }

/* Stack helpers (spacing) */
.stack-6 > * + * { margin-top: 1.5rem; }
.stack-8 > * + * { margin-top: 2rem; }
.stack-12 > * + * { margin-top: 3rem; }

/* ---------- Buttons (Merged) ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.15s, filter 0.15s, background-color 0.15s, color 0.15s, border-color 0.15s;
  border: 1.5px solid transparent;
  color: var(--text);
  background: var(--soft);
  cursor: pointer; /* FIXED: Added cursor pointer */
}
.btn:active { transform: translateY(1px); }
.btn-outline {
  border: 1.5px solid var(--neonPink);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { background: var(--soft); }
.btn-primary {
  color: var(--btnText);
  background: linear-gradient(90deg, var(--neonLime), var(--neonTeal));
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
}
.btn-primary:hover{filter:brightness(1.05)}

/* ---------- Text effects (from index.html) ---------- */
.headline{font-size:clamp(2.5rem,6vw,3.75rem);font-weight:800;line-height:1.1;margin:0}
.text-gradient, .accent {
  background: linear-gradient(180deg, var(--neonLime) 0%, var(--neonTeal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead{margin-top:1rem;font-size:clamp(1.05rem,2vw,1.25rem);color:var(--muted)}
.muted { color: var(--muted); }

/* ---------- Cards / Sections / Footer (Merged) ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  padding: 2rem;
}
.card-accent{border-top:4px solid var(--neonPink)}
section { scroll-margin-top: 5rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2rem); margin: 0 0 0.75rem; }
footer { padding: 1.5rem 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- New Hero Section Style (from index.html) ---------- */
.hero{
  border-block:1px solid rgba(255,255,255,.06);
  background:radial-gradient(60% 60% at 50% 45%, rgba(255,42,161,.18) 0%, rgba(255,42,161,.08) 35%, rgba(26,9,54,0) 60%);
  padding:4rem 0
}

/* ---------- Countdown Timer Style (from index.html) ---------- */
.countdown-timer{
  display:inline-block;
  padding:.6rem 1.2rem;
  background:#000;
  border:2px double var(--neonPink);
  font-family:'VT323',monospace;
  font-size:clamp(1.6rem,3.5vw,2.25rem);
  color:var(--neonLime);
  text-shadow:0 0 8px rgba(182,255,0,.9);
  letter-spacing:2px;
  line-height:1;
  border-radius:.4rem
}


/* =========================================================
   EXISTING LAUNCH PAGE HELPERS (PRESERVED)
   ========================================================= */

/* Grid utilities */
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px){
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .grid-3 { grid-template-columns: 1fr; }
}

/* Video frame (16:9) */
.video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--card-border);
  overflow: hidden;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Carousel */
.carousel-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card);
  padding: 1rem;
}

.carousel-track {
  display: flex;
  gap: 1rem;
}

/* Image sizing hooks */
.comic-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
    border: 1px solid var(--card-border);
    display: block;
    margin: 0 auto;
}
.slide-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.who-icon, .swag-icon {
  width: 200px; height: 200px; object-fit: contain; display: block; margin: 0 auto .75rem;
}

.banner-img {
  max-width: 600px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  display: block;
  margin: 0 auto;
}

/* Spacing polish */
#payments .row, #referral .row { gap: .75rem; flex-wrap: wrap; }
.clocks { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.clock { background: var(--soft); padding: 1rem; border-radius: 1rem; }
.digits {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.5rem;
  color: var(--text);
}

/* Styles for the Image Modal/Lightbox */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.modal-overlay.visible {
  opacity: 1;
}

.modal-content {
  position: relative;
  background: var(--card);
  padding: 1rem;
  border-radius: 1rem;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.modal-content img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 4rem);
  height: auto;
  width: auto;
}

.modal-close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--card-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  z-index: 1001;
}

/* Make clickable images have a pointer cursor */
.comic-image.clickable {
  cursor: pointer;
  transition: transform 0.2s;
}
.comic-image.clickable:hover {
  transform: scale(1.03);
}

/* Styles for the Carousel Controls */
#carousel {
  position: relative;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  /* FIXED: Removed pointer-events: none */
  z-index: 50;
}

.carousel-controls button {
  pointer-events: auto;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--card-border);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1.2rem;
}

.carousel-controls button:hover {
  background: white;
  transform: scale(1.05);
}

.dark .carousel-controls button {
  background: rgba(31, 41, 55, 0.9);
  color: #f9fafb;
}

.dark .carousel-controls button:hover {
  background: #1f2937;
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

/* CTA under the clocks */
.cta-under-clocks {
  margin-top: 1rem;           /* space from the clocks */
  margin-bottom: 2rem;        /* pushes away from the banner */
  display: flex;
  justify-content: center;
}

.cta-under-clocks .btn {
  inline-size: clamp(300px, 45vw, 400px);  /* 300–400px, responsive */
  text-align: center;
}

/* Extra breathing room between HERO and next section (“How to Get Started”) */
.hero { margin-bottom: 1.5rem; }  /* hero already has padding; this adds separation */

