/*
 *  store.css
 *  Arquitectura Estética — ONLYONE Official Store
 */

/* --- TOKENS & VARIABLES NATIVAS --- */
:root {
    --bg-main: #050506;
    --bg-card: #0a0a0c;
    --border-static: #1c1c22;
    --border-interactive: #3a3a42;
    
    --text-pure: #ffffff;
    --text-marfil: #E4E1DA;
    --text-muted: #8A8780;
    --text-dark: #424245;
    
    --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET DE ARQUITECTURA GRÁFICA --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    background-color: var(--bg-main);
    color: var(--text-marfil);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

/* Layout Wrapper */
.store-viewport {
    max-width: 64rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .store-viewport {
        padding: 4rem 2rem;
    }
}

.store-ambient-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 50vh;
    background: radial-gradient(circle at top center, #14141a 0%, var(--bg-main) 80%);
    z-index: 1;
    pointer-events: none;
}

/* --- INFRAESTRUCTURA: COMPONENTES --- */

/* Navigation Header */
.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7rem;
}

.nav-back-button {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-pure);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 400;
}

.nav-label {
    transition: transform 0.4s var(--ease-apple);
}

.nav-back-button:hover .nav-label {
    transform: translateX(2px);
}

.sys-architecture-badge {
    font-size: 0.65rem;
    font-family: monospace;
    color: var(--text-muted);
    border: 1px solid var(--border-static);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

/* --- SECCIÓN HERO PRODUCTO --- */
.product-hero-section {
    margin-bottom: 8rem;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

.hero-grid-layout {
    display: grid;
    grid-template-cols: 1fr;
    gap: 5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid-layout {
        grid-template-cols: 1fr 1fr;
    }
}

.hero-marketing-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-main-title {
    color: var(--text-pure);
    font-size: clamp(2.75rem, 5vw, 4.25rem);
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.75rem;
}

.hero-editorial-paragraph {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-marfil);
    margin-bottom: 2.75rem;
    max-width: 26rem;
}

.action-scroll-button {
    display: inline-block;
    background-color: var(--text-marfil);
    color: var(--bg-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 1.1rem 2.2rem;
    border-radius: 9999px;
    transition: transform 0.3s var(--ease-apple), background-color 0.3s var(--ease-apple);
}

.action-scroll-button:hover {
    transform: scale(1.02);
    background-color: var(--text-pure);
}

/* Contenedor Mockup Físico Avanzado */
.hero-visual-block {
    width: 100%;
}

.hardware-mockup-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #0c0c0e;
    border: 1px solid var(--border-static);
    border-radius: 1.5rem;
    padding: 0.6rem;
    box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.95), 
                0 0 0 1px rgba(255, 255, 255, 0.01) inset;
}

.canvas-inner-display {
    width: 100%;
    height: 100%;
    background-color: #060608;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #222227;
}

.canvas-spec-text {
    font-family: monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-dark);
}

/* --- BENTO FEATURES GRID --- */
.product-features-section {
    margin-bottom: 10rem;
}

.features-bento-grid {
    display: grid;
    grid-template-cols: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-bento-grid {
        grid-template-cols: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-static);
    border-radius: 1.25rem;
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-icon-wrapper {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--text-pure);
}

.feature-icon-wrapper svg {
    width: 100%;
    height: 100%;
}

.feature-card-title {
    color: var(--text-pure);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.feature-card-desc {
    font-size: 0.85rem;
    line-height: 1.65;
    font-weight: 300;
    color: var(--text-marfil);
}

/* --- CHECKOUT TIERS (TARJETA DE COMPRA) --- */
.checkout-anchor-section {
    max-width: 34rem;
    margin: 0 auto 8rem auto;
    text-align: center;
}

.pricing-premium-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-static);
    border-radius: 2rem;
    padding: 4rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-release-indicator {
    font-size: 0.6rem;
    font-family: monospace;
    letter-spacing: 0.2em;
    color: var(--text-marfil);
    text-transform: uppercase;
    background-color: #1c1c24;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 1.75rem;
}

.pricing-tier-title {
    color: var(--text-pure);
    font-weight: 300;
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
}

.currency-numerical-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.currency-symbol {
    font-size: 1.75rem;
    font-weight: 200;
    color: var(--text-pure);
    align-self: flex-start;
    margin-top: 0.6rem;
}

.currency-integer {
    font-size: 5rem;
    font-weight: 100;
    color: var(--text-pure);
    line-height: 1;
    letter-spacing: -0.05em;
}

.currency-cadence {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-left: 0.4rem;
}

.pricing-technical-terms {
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 22rem;
    margin-bottom: 3rem;
    font-weight: 300;
    color: var(--text-muted);
}

.checkout-primary-action {
    width: 100%;
    max-width: 22rem;
    background-color: var(--text-marfil);
    color: var(--bg-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 1.1rem 0;
    border-radius: 9999px;
    display: block;
    transition: transform 0.3s var(--ease-apple), background-color 0.3s var(--ease-apple);
    cursor: pointer;
}

.checkout-primary-action:hover {
    transform: scale(1.02);
    background-color: var(--text-pure);
}

/* --- FOOTER TIENDA --- */
.store-footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-family: monospace;
    border-top: 1px solid #141418;
    padding-top: 2.5rem;
    color: var(--text-dark);
}

.store-legal-navigation {
    display: flex;
    gap: 1.75rem;
}

.store-legal-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s var(--ease-apple);
}

.store-legal-link:hover {
    color: var(--text-marfil);
}

/* Animación de entrada por hardware */
.store-reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 1.4s var(--ease-apple), transform 1.4s var(--ease-apple);
}