@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --bg-deep: #030408;
    --bg-surface: rgba(10, 16, 30, 0.75);
    --bg-glass: rgba(15, 23, 42, 0.7);
    --border-glass: rgba(246, 196, 69, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.1);
    
    --gold-primary: #f6c445;
    --gold-hover: #d4af37;
    --gold-glow: rgba(246, 196, 69, 0.35);
    
    --cyan-accent: #00f2fe;
    --emerald-save: #10b981;
    --rose-accent: #e94560;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-gold: #f0c987;
    
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* ── Fondo Cinemático Hipnótico (Live Cosmic Backdrop) ───────────────────── */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background: radial-gradient(circle at 50% 25%, rgba(15, 23, 42, 0.75) 0%, #030509 60%, #000000 100%);
    pointer-events: none;
}

/* ── Contenedor Principal (Jerarquía y Espacios Limpios) ──────────────────── */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 2.5rem 1.2rem 6rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Visor Showcase del Astrolabio Cósmico (Estrella de la Web) ──────────── */
.astrolabio-showcase {
    width: 100%;
    margin-bottom: 3.5rem;
    text-align: center;
}

.astrolabio-showcase-header {
    margin-bottom: 1.2rem;
}

.astrolabio-showcase-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 10px 0 8px 0;
    letter-spacing: 1px;
}

.astrolabio-showcase-header h1 span {
    background: linear-gradient(135deg, #f6c445, #ecc94b, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.astrolabio-showcase-header p {
    color: #cbd5e1;
    font-size: 1rem;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.5;
}

.astrolabio-viewport-wrap {
    position: relative;
    width: 100%;
    height: 540px;
    background: #000000;
    border: 1.5px solid rgba(246, 196, 69, 0.45);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.95), 0 0 35px rgba(246, 196, 69, 0.15);
    margin-bottom: 1.2rem;
}

.astrolabio-viewport-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.astrolabio-action-dock {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.btn-showcase-gold {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid #34d399;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-showcase-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-showcase-cyan {
    background: rgba(0, 242, 254, 0.12);
    border: 1.5px solid rgba(0, 242, 254, 0.4);
    color: #00f2fe;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.btn-showcase-cyan:hover {
    background: rgba(0, 242, 254, 0.25);
    border-color: #00f2fe;
    transform: translateY(-2px);
}

.btn-showcase-fullscreen {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.btn-showcase-fullscreen:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

@media (max-width: 640px) {
    .astrolabio-showcase-header h1 {
        font-size: 1.6rem;
    }
    .astrolabio-viewport-wrap {
        height: 420px;
        border-radius: 14px;
    }
    .btn-showcase-gold, .btn-showcase-cyan {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 11px 18px;
    }
}

/* ── Header / Barra Superior Sutil ────────────────────────────────────────── */
.top-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 10px 20px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 40px;
    backdrop-filter: blur(16px);
}

.brand-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 1px;
}

.live-transit-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(246, 196, 69, 0.12);
    border: 1px solid rgba(246, 196, 69, 0.3);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #f1f5f9;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: var(--emerald-save);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald-save);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

/* ── Hero Principal ───────────────────────────────────────────────────────── */
.hero {
    text-align: center;
    margin-bottom: 2.8rem;
    max-width: 680px;
}

.hero-logo {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    border: 2px solid rgba(246, 196, 69, 0.6);
    box-shadow: 0 0 35px rgba(246, 196, 69, 0.4), 0 0 15px rgba(0, 242, 254, 0.2);
    object-fit: cover;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
    mix-blend-mode: screen;
}

.hero-logo:hover {
    transform: scale(1.04);
}

.hero h1 {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero h1 span {
    background: linear-gradient(135deg, #ffffff 30%, #f6c445 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* ── Botones de Acción Primaria (Dos Caminos Claros) ──────────────────────── */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-primary-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f6c445, #d97706);
    color: #05070f;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 30px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 25px var(--gold-glow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(246, 196, 69, 0.5);
}

.btn-secondary-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 26px;
    border-radius: 30px;
    border: 1.5px solid rgba(246, 196, 69, 0.4);
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary-dark:hover {
    background: rgba(246, 196, 69, 0.15);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

/* ── Glassmorphism Panels ─────────────────────────────────────────────────── */
.glassmorphism {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85);
    padding: 2.2rem;
    width: 100%;
    margin-bottom: 2.5rem;
    transition: border-color 0.3s ease;
}

.glassmorphism:hover {
    border-color: rgba(246, 196, 69, 0.45);
}

/* ── Formulario Progresivo en 2 Pasos (Zero Fricción) ─────────────────────── */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 1.8rem;
}

.step-dot {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.step-dot.active {
    color: var(--gold-primary);
}

.dot-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.step-dot.active .dot-circle {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
    font-weight: 800;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #cbd5e1;
    letter-spacing: 0.3px;
}

.input-group input {
    padding: 13px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(5, 8, 18, 0.75);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
}

.input-group input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(246, 196, 69, 0.2);
    background: rgba(10, 15, 30, 0.9);
}

.input-group input::placeholder {
    color: #475569;
}

.row {
    display: flex;
    gap: 1rem;
}

.row .half {
    flex: 1;
}

/* ── Panel de Chat con el Oráculo ─────────────────────────────────────────── */
#chatContainer {
    background: rgba(10, 14, 25, 0.9);
    border: 1px solid rgba(240, 201, 135, 0.35);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#chatHistory {
    max-height: 240px;
    overflow-y: auto;
    padding: 12px;
    background: rgba(3, 5, 12, 0.8);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ── Pasarelas de Pago y Confianza (15% OFF + Mercado Pago) ───────────────── */
.payment-card {
    background: rgba(12, 18, 35, 0.65);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.transfer-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(246, 196, 69, 0.1));
    border: 1.5px solid rgba(16, 185, 129, 0.5);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin: 1.5rem 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.alias-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.alias-text {
    color: var(--emerald-save);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.btn-copy {
    background: var(--emerald-save);
    color: #022c22;
    border: none;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    filter: brightness(1.15);
    transform: scale(1.03);
}

/* ── Showcase del Reloj Cósmico / Live Wallpaper 4K ───────────────────────── */
.wallpaper-showcase {
    background: rgba(10, 15, 30, 0.8);
    border: 1.5px solid rgba(246, 196, 69, 0.4);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.wallpaper-preview-frame {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(240, 201, 135, 0.35);
    margin: 1.5rem 0;
    background: #000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9);
}

/* ── Tooltip Flotante de Astrología ───────────────────────────────────────── */
.astro-tooltip {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
    background: rgba(8, 12, 22, 0.95);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(246, 196, 69, 0.4);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(246, 196, 69, 0.15);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translate(12px, 12px);
    max-width: 260px;
}

.astro-tooltip.visible {
    opacity: 1;
}

.astro-tooltip-title {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 4px;
}

.astro-tooltip-detail {
    font-size: 11.5px;
    color: #cbd5e1;
    line-height: 1.4;
}

/* ── Utilidades ───────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-gold { color: var(--gold-primary); }

/* Responsive */
@media (max-width: 640px) {
    .container { padding: 1.5rem 1rem 4rem 1rem; }
    .hero h1 { font-size: 1.9rem; }
    .row { flex-direction: column; gap: 1rem; }
    .wallpaper-preview-frame { height: 320px; }
    .transfer-banner { flex-direction: column; align-items: flex-start; }
    .product-grid { grid-template-columns: 1fr; }
    .steps-container { grid-template-columns: 1fr; }
}

/* ── Catálogo de 3 Productos en Cards Segmentadas ───────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    width: 100%;
    margin: 2rem 0;
}

.product-card {
    background: rgba(10, 16, 30, 0.78);
    border: 1px solid rgba(246, 196, 69, 0.25);
    border-radius: var(--radius-md);
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(246, 196, 69, 0.15);
}

.product-card.featured {
    border: 1.5px solid var(--gold-primary);
    background: linear-gradient(135deg, rgba(20, 26, 45, 0.88), rgba(35, 25, 10, 0.85));
}

.product-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    align-self: flex-start;
}

.badge-gold { background: rgba(246, 196, 69, 0.18); color: var(--gold-primary); border: 1px solid rgba(246, 196, 69, 0.4); }
.badge-cyan { background: rgba(0, 242, 254, 0.15); color: var(--cyan-accent); border: 1px solid rgba(0, 242, 254, 0.35); }
.badge-purple { background: rgba(168, 85, 247, 0.18); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }
.badge-emerald { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.5); }

.product-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.product-price .usd-tag {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.product-features {
    list-style: none;
    margin: 1rem 0 1.5rem 0;
    padding: 0;
    font-size: 0.88rem;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.product-features li span {
    color: var(--gold-primary);
}

/* ── Muelle de Viaje en el Tiempo Cósmico ── */
.viaje-tiempo-dock {
    margin-top: 14px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(246, 196, 69, 0.3);
    border-radius: 14px;
    padding: 12px 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}


/* ── Flujo de Compra Guiado en 3 Pasos ───────────────────────────────────── */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
    width: 100%;
    margin: 1.8rem 0;
}

.step-card {
    background: rgba(10, 16, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    text-align: left;
    position: relative;
    backdrop-filter: blur(12px);
}

.step-card.active-step {
    border-color: rgba(246, 196, 69, 0.5);
    background: rgba(15, 23, 42, 0.85);
}

.step-number-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold-primary);
    color: #000;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.step-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.step-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Botones de Notificación en Redes Directas */
.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 22px;
    border-radius: 28px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: scale(1.03);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.btn-telegram {
    background: #0088cc;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 20px;
    border-radius: 28px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(0, 136, 204, 0.35);
    transition: all 0.25s ease;
}

.btn-telegram:hover {
    background: #0077b5;
    transform: scale(1.03);
}
