:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-gray: #1a1a1a;
    --font-main: 'Helvetica Neue', Arial, sans-serif;
    --radius-button: 12px;
    --radius-card: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 2.0;
    -webkit-font-smoothing: antialiased;
    position: relative;
    /* Stabilizes relative children */
}

/* --- Layout Utilities --- */
.block-container {
    width: 100%;
    /* Make every block full height behave like a Story */
    min-height: 100vh;
    /* Fallback */
    min-height: 100svh;
    padding: 40px 24px;
    /* Reduced vertical padding since height handles spacing */
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* .full-height class is now redundant if block-container has it, but keeping for specificity if needed */
.full-height {
    justify-content: center;
}

.content-wrapper {
    width: 100%;
}

.centered {
    text-align: center;
}

/* Specific utility for body paragraphs only */
.text-justify {
    text-align: justify;
    text-align-last: left;
    /* Reset to standard left for last line, unless forced otherwise */
    hyphens: manual;
}

/* Overwrite previous .justified rule if it causes issues, or simply stop using it on wrappers */


/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    text-align: center;
    margin: 0;
}

h1.headline {
    /* Manual Restore: Stretched & Uppercase */
    font-size: clamp(1.8rem, 7.5vw, 5rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    white-space: nowrap;
    text-transform: uppercase;
    transform: scaleY(1.3);
    /* Esticada na vertical */
    transform-origin: center;
    text-align: center;
}

@media (max-width: 360px) {
    h1.headline {
        font-size: 1.6rem;
        white-space: normal;
    }
}

h2.sub-headline,
h2.section-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 800;
    text-transform: uppercase;
    /* User requested */
    text-align: center;
    transform: scaleY(1.2);
    /* Slight stretch for consistency */
    letter-spacing: -0.02em;
}

/* Premium Reveal Animation for Titles */
.smooth-reveal {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px) scale(0.95);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    /* Elegant finish */
}

.smooth-reveal.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

p,
li {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #e0e0e0;
    line-height: 1.6;
}

p.warning-text {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: #aaaaaa;
}

.micro-copy {
    font-size: 0.9rem;
    color: #888;
    margin-top: 1rem;
}

/* --- Components --- */
.cta {
    display: inline-block;
    background-color: #fff;
    color: #000 !important;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-button);
    padding: 18px 36px;
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

.cta.primary-cta {
    font-size: 1.2rem;
}

.cta.final-cta {
    background-color: #fff;
    color: #000;
    font-size: 1.5rem;
    padding: 24px 48px;
}

/* --- Cards & Feature Lists (Refined Glass + Inner Glow) --- */
.feature-list,
.check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.feature-card {
    background: rgba(20, 20, 20, 0.4);
    /* More transparent */
    backdrop-filter: blur(16px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        /* Drop shadow */
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    /* Inner glow */
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    /* Stronger inner glow on hover */
}

.feature-card h4 {
    text-align: left;
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.1rem;
}

.feature-card p {
    color: #aaa;
    font-size: 0.95rem;
    margin: 0;
    text-align: left;
}

/* Pricing/Cost Cards */
.price-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 20px;
    text-align: left;
    font-family: var(--font-main);
    margin-bottom: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.price-card strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.price-card span {
    color: #888;
    font-size: 0.9rem;
}

/* Enhanced Highlight Box */
.highlight-box {
    background: linear-gradient(145deg, #1a1a1a, #000);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.calc-box {
    background-color: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.visual-fixation {
    border: 2px solid #fff;
    border-radius: 20px;
    padding: 30px;
    background: transparent;
    backdrop-filter: blur(5px);
}

/* --- Noise Overlay (Texture) --- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
}

/* --- Check Lists (Icons instead of Borders) --- */
ul.check-list li,
ul.cross-list li {
    background-color: #111;
    padding: 16px 16px 16px 48px;
    /* Extra left padding for icon */
    border-radius: 12px;
    border-left: none;
    /* Remove border */
    margin-bottom: 12px;
    color: #ddd;
    position: relative;
    list-style: none;
    /* Remove default bullets */
}

/* Base Icon Style */
ul.check-list li::before,
ul.cross-list li::before {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Negative List (Cross) - B&W */
ul.cross-list li::before {
    content: "✕";
    color: #666;
    /* Dark Gray */
}

/* Positive List (Check) - B&W */
ul.check-list-green li::before {
    content: "✔";
    color: #fff;
    /* Pure White */
}

/* --- Rotating Seal (Minimalist) --- */
.rotating-seal {
    width: 100px;
    height: 100px;
    margin: 20px auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: rotateSeal 20s linear infinite;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.rotating-seal svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.rotating-seal path {
    fill: none;
}

.rotating-seal text {
    fill: #fff;
    font-family: var(--font-main);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- B&W Emojis Enforcer --- */
/* Target all containers that have emojis to strip color */
.feature-card h4,
.visual-fixation,
.highlight-box,
h2.section-title,
ul.check-list li::before,
ul.cross-list li::before {
    filter: grayscale(100%);
}

/* Ensure no color leak on hover */
.feature-card:hover {
    filter: grayscale(100%);
}

/* Specific CTA Icon Styling (Force Black) */
.cta-icon {
    display: inline-block;
    /* Required for filter to work properly on some browsers */
    filter: brightness(0) saturate(100%);
    /* Turns any color (yellow) to PURE BLACK */
    margin-right: 4px;
}

/* --- Final Section Style --- */
.final-section {
    background-color: #000;
    color: #fff;
    /* Make it a flex container to push content to bottom */
    display: flex !important;
    /* Ensure it overrides block-container defaults if needed */
    flex-direction: column;
    justify-content: space-between;
    /* Spreads content: Title top, CTA bottom */
    padding-bottom: 40px;
    /* Space from very bottom edge */
}

/* Specific large size for the Final Checkout Headline */
.final-section .section-title {
    /* Increased significantly as requested to match Hero impact */
    font-size: clamp(2rem, 10vw, 6rem);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.final-section .sub-headline {
    /* Decreased significantly as requested - Contrast with huge title */
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: 400;
    margin-top: 20px;
    /* Removed margin-bottom: auto to stop pushing button all the way down */
    opacity: 0.8;
}

.final-section .content-wrapper {
    /* Use space-evenly or space-between with controlled margins to achieve the desired look */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center everything vertically? Or spread? User wants specific gap. */
    gap: 40px;
    /* Force consistent gap between major elements if we change structure */
}

/* Override previous flex spread logic to bring button closer if needed, 
   BUT user asked for "same distance". 
   If Headline -> (Gap X) -> Subheadline.
   Then Subheadline -> (Gap X) -> CTA.
   
   Let's try grouping via CSS Grid or simply using equal margins.
*/
.final-section .cta-group {
    margin-top: 40px;
    /* Explicit gap instead of 'auto' */
}

.final-section h2,
.final-section p,
.final-section .micro-copy {
    color: #fff;
}

.final-section .micro-copy {
    opacity: 0.7;
}

/* --- Spacing --- */
.spacer-small {
    height: 1.5rem;
}

.spacer-medium {
    height: 3rem;
}

.spacer-large {
    height: 5rem;
}

.separator {
    border: 0;
    border-top: 1px solid #333;
    margin: 4rem 0;
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@media (max-width: 480px) {
    .block-container {
        padding: 40px 20px;
    }
}

/* --- 3D Interactive Book --- */
.book-scene {
    width: 100%;
    /* User requested 700px */
    height: 850px;
    /* Adjusted prop to 700px width */
    margin: 0 auto 32px auto;
    perspective: 1000px;
}

.book-object {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    /* Initial nice angle */
    transition: transform 0.1s ease-out;
    /* Smooth but fast for interaction */
}

.book-cover {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateZ(15px);
    /* Push forward */
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
    border-radius: 2px 4px 4px 2px;
    overflow: hidden;
    background: #000;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-spine {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    /* Thickness */
    height: 100%;
    transform: rotateY(90deg) translateZ(-15px);
    background: linear-gradient(90deg, #333, #111);
    box-shadow: inset 2px 0 5px rgba(0, 0, 0, 0.5);
}