/* =========================================================================
   EL CÓDIGO DIVINO - CSS STYLESHEET
   ========================================================================= */

:root {
    /* Color Palette */
    --color-bg-main: #0a0f1d;
    --color-bg-darker: #050810;
    --color-gold: #d4af37;
    --color-gold-light: #f5d061;
    --color-gold-dark: #9e8125;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    
    --color-success: #10B981;
    --color-danger: #EF4444;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 55, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Animation Timing */
    --transition: 0.3s ease;
}

/* ================== BASE & RESET ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-align: center; /* Enforces central alignment per user request */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, .font-playfair {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
}

.headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.subheadline {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    color: #ffffff;
}

/* Utility Classes */
.text-gold { color: var(--color-gold); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.italic { font-style: italic; }
.text-uppercase { text-transform: uppercase; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.5rem; }
.my-2 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.pt-2 { padding-top: 1.5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.relative { position: relative; }
.z-10 { z-index: 10; }

.bg-darker { background-color: var(--color-bg-darker); }
.bg-black { background-color: #000; }
.bg-gold { background-color: var(--color-gold); }
.text-dark { color: #000; font-weight: 700; }

.border-top { border-top: 1px solid var(--glass-border); }
.border-gold { border-color: rgba(212, 175, 55, 0.3); }

/* ================== LAYOUT & CONTAINERS ================== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-small {
    max-width: 800px;
}

.section {
    padding: 5rem 0;
}

/* ================== UI COMPONENTS ================== */

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition), border-color var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.shadow-gold {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

.btn-large {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.btn-xl {
    font-size: 1.25rem;
    padding: 1.5rem 3rem;
    width: 100%;
}

.btn-glow {
    animation: animate-glow 3s infinite alternate;
}

@keyframes animate-glow {
    0% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
    100% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.7); }
}

.link-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: var(--transition);
}
.link-cta:hover {
    gap: 15px;
    color: var(--color-gold-light);
}

/* Badges */
.badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Lists */
.feature-list li {
    display: flex;
    align-items: flex-start;
    justify-content: center; /* Centered lists */
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-list i {
    font-size: 1.5rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.list-gold i { color: var(--color-gold); }

/* ================== SPECIFIC BLOCKS ================== */

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(10, 15, 29, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Using absolute path for local preview of generated AI image (Original style, no background text) */
.hero::before {
    content: ""; 
    position: absolute; 
    inset: 0; 
    background-image: url('C:/Users/d_vit/.gemini/antigravity/brain/2ce125a9-801e-4629-ad4a-edb530d93725/hero_bg_divino_notextbg_1775051290999.png'); 
    background-size: cover; 
    background-position: center; 
    opacity: 0.4; 
    z-index: 0; 
    mix-blend-mode: lighten;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.hero-content-stack {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

/* New Hero Main Mockup Image placed under H1 */
.hero-main-mockup {
    max-width: 90%;
    height: auto;
    margin: 2rem auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
    animation: fade-in-up 1s ease forwards;
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* WHAT IS CODIGO DIVINO */
.modules-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.module-card {
    width: 100%;
    max-width: 340px;
}

.module-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.module-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Book Covers inside cards */
.module-img, .bonus-img {
    width: 140px;
    margin: 0 auto 1.5rem auto; 
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
    transition: transform var(--transition);
}

.module-img-large, .bonus-img-large {
    width: 200px;
}

.glass-card:hover .module-img, .glass-card:hover .bonus-img {
    transform: translateY(-8px) scale(1.05);
}

/* Flex Stack for Offer Box */
.flex-stack {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.stack-img-container img {
    width: 280px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
    margin: 0 auto;
}

/* TRANSFORMATION */
.transformation-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.trans-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--glass-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 1.5rem;
    gap: 0.5rem;
}

.trans-before, .trans-after {
    font-weight: 600;
}

.trans-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* OFFER & BONUS */
.stack-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.bonus-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.bonus-card {
    width: 100%;
    max-width: 340px;
    position: relative;
    overflow: hidden;
}

.bonus-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--color-gold);
    color: #000;
    font-weight: 700;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
}

.price-strike {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--color-text-muted);
    margin-right: 0.5rem;
}

@media(min-width: 768px) {
    .col-span-2 { grid-column: span 2; }
    .col-span-2-desktop { grid-column: span 2; }
}

/* GUARANTEE */
.guarantee-badge i {
    font-size: 5rem;
}

/* FAQ */
.faq-accordion {
    max-width: 700px;
    margin: 0 auto;
    text-align: left; /* Keep FAQ text readable */
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.faq-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--color-text-muted);
    text-align: left;
}

.faq-content p {
    padding-bottom: 1.5rem;
}

.faq-btn.active i {
    transform: rotate(180deg);
}

/* ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}