/* ============================================
   ENSONOVA — Product Page Styles
   ============================================ */

/* ============================================
   Product Navigation
   ============================================ */

.product-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(10, 10, 11, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
}

.product-nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.product-nav__brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    color: var(--text-primary);
}

.product-nav__brand a {
    font-size: var(--text-lg);
    font-weight: 500;
    color: inherit;
    text-decoration: none;
}

.product-nav__divider {
    width: 1px;
    height: 24px;
    background: var(--border-medium);
}

.product-nav__product {
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.product-nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.product-nav__cta {
    padding: 0.65rem 1.5rem;
    font-size: var(--text-sm);
}

/* ============================================
   Product Hero
   ============================================ */

.product-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--space-5xl) + 60px) var(--space-xl) var(--space-4xl);
    position: relative;
}

.product-hero__container {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.product-hero__back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-xl);
    transition: color var(--duration-fast) var(--ease-out);
}

.product-hero__back svg {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-fast) var(--ease-out);
}

.product-hero__back:hover {
    color: var(--text-primary);
}

.product-hero__back:hover svg {
    transform: translateX(-4px);
}

.product-hero__badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    padding: var(--space-sm) var(--space-md);
    background: rgba(52, 211, 153, 0.15);
    color: var(--status-live);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.product-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(var(--text-4xl), 8vw, var(--text-5xl));
    font-weight: 500;
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.product-hero__tagline {
    font-size: var(--text-xl);
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: var(--space-xl);
}

.product-hero__description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
}

.product-hero__cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.product-hero__free {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* Phone Mockup */
.product-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-hero__mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a2e 0%, #1a1a1d 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 30px 60px -30px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #0a0a0b;
    border-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
    padding-top: 60px;
}

.app-preview__header {
    margin-bottom: var(--space-xl);
}

.app-preview__title {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--text-primary);
}

.app-preview__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.app-preview__card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.app-preview__icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: var(--radius-sm);
    opacity: 0.8;
}

.app-preview__player {
    margin-top: auto;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
}

.app-preview__progress {
    height: 4px;
    background: var(--bg-elevated);
    border-radius: 2px;
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.app-preview__progress::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.app-preview__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
}

.app-preview__btn {
    width: 32px;
    height: 32px;
    background: var(--bg-elevated);
    border-radius: 50%;
}

.app-preview__btn--play {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

/* ============================================
   How It Works
   ============================================ */

.how-it-works {
    background: var(--bg-secondary);
}

.how-it-works__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.how-it-works__text {
    max-width: 500px;
}

.how-it-works__lead {
    font-size: var(--text-xl);
    color: var(--text-primary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-xl);
}

.how-it-works__text p {
    font-size: var(--text-base);
    color: var(--text-tertiary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-lg);
}

.how-it-works__steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.step {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-out);
}

.step:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateX(8px);
}

.step__number {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--accent-primary);
    opacity: 0.5;
    flex-shrink: 0;
    width: 50px;
}

.step__title {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.step__text {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    line-height: var(--leading-relaxed);
}

/* ============================================
   Features Grid
   ============================================ */

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature {
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--duration-normal) var(--ease-out);
}

.feature:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    transform: translateY(-4px);
}

.feature__icon {
    width: 48px;
    height: 48px;
    color: var(--accent-primary);
    margin-bottom: var(--space-lg);
}

.feature__title {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.feature__text {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    line-height: var(--leading-relaxed);
}

/* ============================================
   Modes Section
   ============================================ */

.modes {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.modes__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.mode {
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.mode::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.mode:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
}

.mode:hover::before {
    opacity: 1;
}

.mode__header {
    margin-bottom: var(--space-lg);
}

.mode__label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: var(--space-sm);
}

.mode__title {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--text-primary);
}

.mode__text {
    font-size: var(--text-base);
    color: var(--text-tertiary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-lg);
}

.mode__best {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================
   Product CTA
   ============================================ */

.product-cta {
    text-align: center;
}

.product-cta__content {
    max-width: 600px;
    margin: 0 auto;
}

.product-cta__title {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.product-cta__text {
    font-size: var(--text-lg);
    color: var(--text-tertiary);
    margin-bottom: var(--space-2xl);
    line-height: var(--leading-relaxed);
}

/* ============================================
   Mindstrider Page Specific
   ============================================ */

.coming-soon-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--space-5xl) + 60px) var(--space-xl) var(--space-4xl);
}

.coming-soon-hero__content {
    max-width: 700px;
}

.coming-soon-hero__badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    padding: var(--space-sm) var(--space-md);
    background: rgba(251, 191, 36, 0.15);
    color: var(--status-soon);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
}

.coming-soon-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(var(--text-4xl), 8vw, var(--text-5xl));
    font-weight: 500;
    letter-spacing: var(--tracking-tight);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.coming-soon-hero__tagline {
    font-size: var(--text-2xl);
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: var(--space-2xl);
}

.coming-soon-hero__description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-3xl);
}

.coming-soon-hero__visual {
    width: 300px;
    height: 300px;
    margin: 0 auto var(--space-3xl);
    position: relative;
}

.walking-glyph {
    width: 100%;
    height: 100%;
    position: relative;
}

.walking-glyph__circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    animation: expandPulse 3s ease-out infinite;
}

.walking-glyph__circle:nth-child(1) {
    inset: 40%;
    animation-delay: 0s;
}

.walking-glyph__circle:nth-child(2) {
    inset: 30%;
    animation-delay: 0.5s;
}

.walking-glyph__circle:nth-child(3) {
    inset: 20%;
    animation-delay: 1s;
}

.walking-glyph__circle:nth-child(4) {
    inset: 10%;
    animation-delay: 1.5s;
}

.walking-glyph__circle:nth-child(5) {
    inset: 0;
    animation-delay: 2s;
}

@keyframes expandPulse {
    0% {
        opacity: 0.8;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

.walking-glyph__core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    box-shadow: 0 0 40px var(--accent-glow);
}

.coming-soon-features {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.coming-soon-feature {
    text-align: center;
    max-width: 200px;
}

.coming-soon-feature__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--accent-primary);
}

.coming-soon-feature__title {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.coming-soon-feature__text {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* Notify Form */
.notify-form {
    display: flex;
    gap: var(--space-md);
    max-width: 400px;
    margin: var(--space-2xl) auto 0;
}

.notify-form__input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--duration-fast) var(--ease-out);
}

.notify-form__input::placeholder {
    color: var(--text-muted);
}

.notify-form__input:focus {
    border-color: var(--accent-primary);
}

.notify-form__btn {
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

.notify-form__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-intense);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .product-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-hero__content {
        order: 2;
    }

    .product-hero__visual {
        order: 1;
        margin-bottom: var(--space-2xl);
    }

    .product-hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .product-hero__cta {
        align-items: center;
    }

    .product-hero__back {
        justify-content: center;
    }

    .how-it-works__content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .how-it-works__text {
        max-width: none;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-nav__container {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-nav__actions {
        width: 100%;
    }

    .product-nav__cta {
        width: 100%;
        justify-content: center;
    }

    .product-hero {
        min-height: auto;
        padding-top: 120px;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .modes__grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        gap: var(--space-md);
    }

    .step__number {
        width: auto;
    }

    .notify-form {
        flex-direction: column;
    }

    .coming-soon-features {
        flex-direction: column;
        align-items: center;
    }
}
