/* Enable native smooth scrolling */
html {
    scroll-behavior: smooth;
    background-color: #050510;
    font-family: 'Inter', system-ui, sans-serif;
    color: #fff;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.home-page-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* keeps .wrapper-3d from stretching, so sticky can work */
    min-height: 100vh;
}

/* 3D model stays pinned while the page scrolls */
.wrapper-3d {
    position: sticky;
    top: 0;
    flex: 0 0 50%;
    height: 100vh;
}

.wrapper-3d model-viewer {
    width: 100%;
    height: 100%;
}

/* Scrolls normally alongside the pinned model */
.home-page-content {
    flex: 1;
    min-width: 0;
}


/* --- Parallax Background Layers --- */
.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Deep star layer */
.layer-stars {
    background-color: #050510;
    background-image:
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px),
        radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.5px),
        radial-gradient(circle at 42% 68%, rgba(70, 222, 238, 0.8) 0 1px, transparent 1.5px),
        radial-gradient(circle at 86% 78%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.5px),
        radial-gradient(circle at 8% 88%, rgba(70, 222, 238, 0.6) 0 1px, transparent 1.5px),
        radial-gradient(circle at 58% 44%, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.5px);
    background-size: 260px 220px, 340px 280px, 420px 360px, 300px 320px, 380px 300px, 500px 440px;
    background-repeat: repeat;
    opacity: 0.9;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

/* Soft cyan nebula layer */
.layer-nebula {
    background-image:
        radial-gradient(ellipse at 50% 42%, rgba(70, 222, 238, 0.2) 0%, rgba(27, 74, 100, 0.12) 28%, transparent 62%),
        radial-gradient(ellipse at 12% 78%, rgba(32, 65, 130, 0.22) 0%, transparent 48%),
        radial-gradient(ellipse at 92% 16%, rgba(70, 222, 238, 0.14) 0%, transparent 42%);
    background-size: 140% 120%, 100% 100%, 100% 100%;
    background-position: center, left bottom, right top;
    mix-blend-mode: screen;
    opacity: 0.75;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

/* Hyperdrive effect during hotspot navigation */
.hyperdrive .layer-stars {
    opacity: 1;
    filter: blur(1px) brightness(1.35);
    animation: stars-hyperdrive 0.38s linear infinite;
}

.hyperdrive .layer-nebula {
    opacity: 1;
    filter: brightness(1.25) saturate(1.4);
}

@keyframes stars-hyperdrive {
    0% {
        transform: scale(1);
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        transform: scale(1.08);
        background-position: 90px 150px, -130px 110px, 160px -100px, -180px 130px, 120px -160px, -100px -120px;
    }
}

/* --- Hero Section & Floating Product --- */
.hero-container {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
}

.product-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(70, 222, 238, 0.3));
}

/* Floating animation */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Hotspot Anchors with Hover Effects --- */
.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
}

/* Converted to <a> tags */
/* --- Laser-Beam White Hotspots --- */

.hotspot-btn {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #46DEEE; /* 👈 Pure white core */
  /* Pure white intense core with a wider high-energy white/ice-blue fallback glow */
  box-shadow: 0 0 12px #46DEEE, 0 0 20px rgba(255, 255, 255, 0.6); 
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Brighten the beam/glow on hover */
.hotspot-btn:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px #46DEEE, 0 0 35px rgba(255, 255, 255, 0.9);
}

/* Constant laser pulse ring */
.hotspot-btn::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #46DEEE; /* 👈 White pulsing ring */
  animation: pulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes pulse {
  0% { 
    transform: scale(1); 
    opacity: 1; 
    box-shadow: inset 0 0 4px #46DEEE;
  }
  100% { 
    transform: scale(2.8); /* Slightly wider blast radius for the laser effect */
    opacity: 0; 
  }
}

/* --- Hero Product Title --- */
.hero-copy {
    position: absolute;
    top: 8%;
    left: 0;
    right: 0;
    z-index: 1;
    text-align: center;
    pointer-events: none;
}

.hero-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.8rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 0.95;
    text-shadow: 0 0 12px #46DEEE, 0 0 32px rgba(70, 222, 238, 0.65);
}

.hero-copy p {
    margin: 1rem auto 0;
    color: #46DEEE;
    font-size: clamp(0.8rem, 1.8vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(70, 222, 238, 0.8);
}

/* Tooltip shows smoothly on hover over the hotspot area */
.tooltip {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 200px;
    background: #101827;
    border: 1px solid rgba(70, 222, 238, 0.65);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.tooltip h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #46DEEE;
}

.tooltip p {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
}

.hotspot:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- Content Target Sections --- */
.content-section {
    --section-accent: #46DEEE;
    position: relative;
    min-height: 100vh;
    padding: clamp(5rem, 10vh, 8rem) clamp(1.5rem, 9vw, 9rem);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    border: 0;
    background: transparent;
}

.content-section:nth-of-type(even) {
    --section-accent: #8c9dff;
}

.content-section--image-left {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.section-copy {
    width: 100%;
    max-width: 38rem;
    justify-self: center;
}

.section-kicker {
    margin: 0 0 0.8rem;
    color: var(--section-accent);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.content-section h2 {
    margin: 0 0 1.2rem;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 0.98;
    text-shadow: 0 0 24px color-mix(in srgb, var(--section-accent) 32%, transparent);
}

.content-section p:not(.section-kicker) {
    max-width: 36rem;
    margin: 0;
    color: rgba(239, 246, 255, 0.82);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.8;
}

.feature-image {
    display: block;
    width: 100%;
    max-width: 760px;
    max-height: 68vh;
    object-fit: contain;
    justify-self: center;
    border: 1px solid rgba(70, 222, 238, 0.3);
    border-radius: 18px;
    background: rgba(7, 12, 22, 0.72);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48), 0 0 36px rgba(70, 222, 238, 0.12);
}

.content-section--text-only {
    min-height: 65vh;
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
}

.content-section--text-only .section-copy {
    max-width: 52rem;
}

.content-section--text-only p:not(.section-kicker) {
    margin-inline: auto;
}

@media (max-width: 760px) {
    .content-section,
    .content-section--image-left {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        padding: 5rem 1.5rem;
    }

    .content-section--image-left .feature-image {
        order: 2;
    }

    .content-section--image-left .section-copy {
        order: 1;
    }

    .feature-image {
        max-height: none;
        border-radius: 12px;
    }

    .content-section--text-only {
        min-height: 55vh;
    }
}

.launch-cta {
    width: min(100% - 3rem, 900px);
    margin: clamp(4rem, 9vh, 7rem) auto 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    box-sizing: border-box;
    border: 1px solid rgba(70, 222, 238, 0.3);
    border-radius: 22px;
    background: radial-gradient(ellipse at 50% 0%, rgba(70, 222, 238, 0.15), transparent 65%), rgba(7, 12, 24, 0.8);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35), 0 0 42px rgba(70, 222, 238, 0.1);
    text-align: center;
}

.launch-cta .section-kicker {
    margin-bottom: 0.75rem;
}

.launch-cta h2 {
    max-width: 42rem;
    margin: 0 auto 1rem;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 0 24px rgba(70, 222, 238, 0.32);
}

.launch-cta-copy {
    max-width: 40rem;
    margin: 0 auto 1.75rem;
    color: rgba(239, 246, 255, 0.82);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}

.gumroad-follow-form {
    display: flex;
    width: min(100%, 560px);
    gap: 0.75rem;
    margin: 0 auto;
}

#gumroad-follow-form-embed-input {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(70, 222, 238, 0.42);
    border-radius: 8px;
    background: rgba(4, 8, 18, 0.9);
    color: #fff;
    font: 500 1rem 'Inter', system-ui, sans-serif;
}

#gumroad-follow-form-embed-input::placeholder {
    color: rgba(226, 236, 247, 0.5);
}

#gumroad-follow-form-embed-input:focus-visible {
    outline: 2px solid #46DEEE;
    outline-offset: 2px;
}

#gumroad-follow-form-embed-button {
    padding: 0.9rem 1.5rem;
    border: 1px solid #46DEEE;
    border-radius: 8px;
    background: #46DEEE;
    color: #041018;
    font: 700 1rem 'Rajdhani', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#gumroad-follow-form-embed-button:hover {
    transform: translateY(-2px);
    background: #8af2ff;
    box-shadow: 0 0 24px rgba(70, 222, 238, 0.35);
}

#gumroad-follow-form-embed-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.launch-cta-note {
    margin: 0.85rem 0 0;
    color: rgba(226, 236, 247, 0.56);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.faq-container {
    width: min(100% - 3rem, 900px);
    margin: 2rem auto clamp(5rem, 10vh, 8rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-sizing: border-box;
    border: 1px solid rgba(70, 222, 238, 0.22);
    border-radius: 20px;
    background: rgba(7, 12, 24, 0.78);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35), 0 0 40px rgba(70, 222, 238, 0.08);
}

.faq-title {
    margin: 0 0 1.75rem;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    text-shadow: 0 0 24px rgba(70, 222, 238, 0.28);
}

.faq-item {
    border-bottom: 1px solid rgba(70, 222, 238, 0.16);
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 0.25rem;
    border: 0;
    background: transparent;
    color: rgba(245, 250, 255, 0.92);
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover,
.faq-item.active .faq-question {
    color: #46DEEE;
}

.faq-question:focus-visible {
    outline: 2px solid #46DEEE;
    outline-offset: 4px;
    border-radius: 4px;
}

.faq-icon {
    width: 0.65rem;
    height: 0.65rem;
    flex: 0 0 auto;
    margin-right: 0.25rem;
    border-right: 2px solid #46DEEE;
    border-bottom: 2px solid #46DEEE;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-content {
    padding: 0.1rem 2.5rem 1.25rem 0.25rem;
    color: rgba(226, 236, 247, 0.76);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.98rem;
    line-height: 1.75;
}

.faq-item.active .faq-icon {
    transform: rotate(225deg);
}

@media (max-width: 600px) {
    .faq-container,
    .launch-cta {
        width: calc(100% - 2rem);
        padding: 1.25rem;
        border-radius: 14px;
    }

    .gumroad-follow-form {
        flex-direction: column;
    }

    #gumroad-follow-form-embed-button {
        width: 100%;
    }

    .faq-answer-content {
        padding-right: 0.25rem;
    }
}

