:root {
    --bg-dark: #000000;
    --bg-card: #0a0a0a;
    --primary: #f59e0b;
    /* Gold/Orange from book title */
    --primary-glow: #d97706;
    --secondary: #a855f7;
    /* Purple from card character */
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --danger: #ef4444;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.mt-4 {
    margin-top: 2rem;
}

/* REUSABLE GLOWS */
.purple-glow {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.text-secondary {
    color: var(--secondary);
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

/* HERO SECTION */
.hero {
    padding: 6rem 0;
    background: radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
}


.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
}

.sub-headline {
    font-size: 1.15rem;
    color: #d1d5db;
    max-width: 600px;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .sub-headline {
        margin: 0 auto 3rem;
    }
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 45px rgba(168, 85, 247, 0.5);
}

.hero-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-badges {
        justify-content: flex-start;
    }
}

.hero-badges span {
    font-size: 0.875rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 3D BOOK (PURPLE SKIN) */
.hero-visual {
    perspective: 1500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-container {
    position: relative;
    width: 300px;
    /* Slightly wider */
    height: 450px;
    /* Slightly taller */
    transform-style: preserve-3d;
}

.book-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-25deg) rotateX(10deg);
    animation: float 5s ease-in-out infinite;
    transition: transform 0.3s ease-out;
}

.book-side {
    position: absolute;
    background: #050505;
    box-sizing: border-box;
}

.front {
    width: 300px;
    height: 450px;
    background: #050505 url('cover.png');
    background-size: cover;
    background-position: top center;
    transform: translateZ(30px);
    z-index: 2;
    border-radius: 2px 8px 8px 2px;
    box-shadow: inset 4px 0 10px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 40%,
            rgba(255, 255, 255, 0.1) 45%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 70%);
    transform: translateX(-100%);
    animation: shine 8s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    20%,
    100% {
        transform: translateX(100%);
    }
}


.back {
    width: 300px;
    height: 450px;
    background: #111;
    transform: translateZ(-30px) rotateY(180deg);
    border-radius: 8px 2px 2px 8px;
}

.side {
    width: 60px;
    /* Thicker spine */
    height: 450px;
    left: -30px;
    transform: rotateY(-90deg) translateZ(0);
    background: #0a0a0a;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 0;
}

/* Gold ridges on the spine */
.side::before,
.side::after {
    content: '';
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    box-shadow: 0 0 10px var(--primary-glow);
}

.top {
    width: 300px;
    height: 60px;
    top: -30px;
    transform: rotateX(90deg) translateZ(0);
    background: #d1d5db;
    /* Paper color */
    background-image: linear-gradient(to right, #9ca3af 1px, transparent 1px);
    background-size: 4px 100%;
}

.bottom {
    width: 300px;
    height: 60px;
    bottom: -30px;
    transform: rotateX(-90deg) translateZ(0);
    background: #d1d5db;
    /* Paper color */
    background-image: linear-gradient(to right, #9ca3af 1px, transparent 1px);
    background-size: 4px 100%;
}


.book-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    z-index: -1;
}

@keyframes float {

    0%,
    100% {
        transform: rotateY(-20deg) rotateX(10deg) translateY(0);
    }

    50% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(-20px);
    }
}

/* PAIN SECTION */
.pain {
    padding: 8rem 0 0;
    /* Reduced bottom padding to zero since the note adds space */
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 4rem;
    font-weight: 900;
}

.pain-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .pain-list {
        grid-template-columns: 1fr;
    }
}

.pain-item {
    background: #0a0a0a;
    border: 1px solid #1f2937;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.pain-item:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.pain-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.btn-accent {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 3rem;
    transition: var(--transition);
}

.btn-accent:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.note-visual {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    position: relative;
    padding-bottom: 0;
    /* Removed extra padding */
    margin-bottom: -4rem;
    /* Negative margin to pull the next section closer */
    z-index: 10;
}

.floating-note {
    max-width: 450px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.3));
    animation: floatNote 8s ease-in-out infinite;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

@keyframes floatNote {

    0%,
    100% {
        transform: translateY(0) rotate(2deg) scale(1);
    }

    50% {
        transform: translateY(-30px) rotate(-2deg) scale(1.02);
    }
}


/* PILLARS */
.pillars {
    padding: 8rem 0;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
}

.badge-center {
    display: table;
    margin: 0 auto 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 4rem;
}

.pillar-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    padding: 2.5rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.pillar-card .number {
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(245, 158, 11, 0.05);
}

.pillar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: var(--primary);
}

/* CHAPTER PREVIEW */
.chapters {
    padding: 6rem 0;
}

.chapters-preview {
    margin-top: 4rem;
    background: #0a0a0a;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #1f1f1f;
}

.preview-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.preview-box img {
    width: 100%;
    height: auto;
    filter: brightness(0.6);
}

.preview-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.preview-overlay h3 {
    font-size: 4rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* CHECKOUT */
.checkout {
    padding: 8rem 0;
}

.offer-box {
    background: #050505;
    border: 2px solid var(--primary);
    border-radius: 40px;
    padding: 5rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.1);
}

.offer-header .label {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.current-label {
    font-size: 1.75rem;
    font-weight: 500;
    margin: 1rem 0;
}

.price {
    font-size: 6rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 2.5rem;
    line-height: 1;
}

.big-cta {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.trust-footer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5rem;
}

.guarantee-badge {
    background: #111;
    padding: 2.5rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    text-align: left;
    border: 1px solid #1f2937;
}

@media (max-width: 600px) {
    .guarantee-badge {
        flex-direction: column;
        text-align: center;
    }
}

.badge-icon {
    font-size: 4rem;
}

.badge-text h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.badge-text p {
    font-weight: 700;
}

.badge-text .small {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 400;
    margin-top: 0.5rem;
}

/* FAQ */
.faq {
    padding: 8rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    border-bottom: 1px solid #1f2937;
    padding: 1.5rem 0;
}

.faq-question {
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    color: var(--text-muted);
    margin-top: 1rem;
    display: none;
    line-height: 1.8;
}

/* FOOTER */
.main-footer {
    padding: 6rem 0;
    font-size: 0.85rem;
    color: #4b5563;
    border-top: 1px solid #111;
}

.main-footer .disclaimer {
    margin-top: 1.5rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.6;
}