:root {
    --bg-color: #050505;
    --bg-secondary: #0a0a0a;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --primary: #ff0050;
    /* TikTok Pink */
    --secondary: #00f2ea;
    /* TikTok Blue */
    --accent: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --gradient-main: linear-gradient(45deg, var(--primary), var(--secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 0, 80, 0.5);
}

.highlight-blue {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #050505 70%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: transparent;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.subheadline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.price-tag {
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.new-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    color: #000;
    font-weight: 900;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 0, 80, 0.4);
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 242, 234, 0.6);
}

.cta-button i {
    margin-left: 10px;
}

.guarantee-badge-hero {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--bg-secondary);
}

.section-gradient {
    background: linear-gradient(180deg, var(--bg-color) 0%, #111 50%, var(--bg-color) 100%);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.text-left {
    text-align: left;
}

/* Cards Grid (Who is this for) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 0, 80, 0.05);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Benefits Section */
.container-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.benefits-content {
    flex: 1;
}

.benefits-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefits-list {
    list-style: none;
    margin-top: 30px;
}

.benefits-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefits-list li i {
    color: var(--secondary);
    margin-top: 5px;
}

/* Graph Animation Placeholder */
.graph-visual {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
}

.bar {
    width: 50px;
    background: var(--gradient-main);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
}

.bar-1 {
    height: 40%;
    animation: grow1 2s infinite alternate;
}

.bar-2 {
    height: 70%;
    animation: grow2 2.5s infinite alternate;
}

.bar-3 {
    height: 100%;
    animation: grow3 3s infinite alternate;
}

@keyframes grow1 {
    from {
        height: 40%;
    }

    to {
        height: 50%;
    }
}

@keyframes grow2 {
    from {
        height: 70%;
    }

    to {
        height: 80%;
    }
}

@keyframes grow3 {
    from {
        height: 90%;
    }

    to {
        height: 100%;
    }
}

/* Inside eBook Categories */
.categories-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.category-item {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid var(--secondary);
}

.category-item h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.category-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Preview Box */
.preview-box {
    background: #151515;
    border-radius: 15px;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto 40px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.preview-header {
    background: #252525;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.dots {
    width: 10px;
    height: 10px;
    background: #ff5f56;
    border-radius: 50%;
    box-shadow: 15px 0 0 #ffbd2e, 30px 0 0 #27c93f;
}

.preview-body {
    padding: 30px;
    color: #e0e0e0;
}

.prompt-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.prompt-instruction {
    font-size: 1rem;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 2px solid var(--primary);
}

.cta-fake {
    display: inline-block;
    background: #333;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    color: #aaa;
}

.center-cta {
    text-align: center;
    margin-top: 40px;
}

/* Mobile Responsive New Sections */
@media (max-width: 768px) {
    .container-flex {
        flex-direction: column-reverse;
    }

    .section-title {
        font-size: 2rem;
    }

    .graph-visual {
        width: 100%;
        height: 200px;
    }

    .text-left {
        text-align: center;
    }

    .benefits-list li {
        justify-content: center;
        /* Or keep left if preferred */
        text-align: left;
    }
}

/* Hero Image / 3D Book */
.hero-image {
    display: flex;
    justify-content: center;
    perspective: 1500px;
    z-index: 2;
    position: relative;
    padding: 20px;
}

.book-scene {
    width: 280px;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    margin: 0 auto;
}

.book-3d {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transform: rotateY(-30deg) rotateX(10deg);
    transition: transform 0.1s ease-out;
}

/* Desktop Hover Effect */
@media (min-width: 769px) {
    .book-scene:hover .book-3d {
        transform: rotateY(0deg) rotateX(0deg) scale(1.05);
        transition: transform 0.5s ease;
    }
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform: translateZ(25px);
    border-radius: 4px;
    /* Slightly rounded corners */
    overflow: hidden;
    background: #000;
    box-shadow:
        -10px 10px 30px rgba(0, 0, 0, 0.5),
        inset 5px 0 10px rgba(255, 255, 255, 0.1);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.4);
    /* Zoom to remove white background from 3D render */
}

.book-spine {
    position: absolute;
    top: 0;
    left: 0;
    /* Spine is on the left relative to cover */
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, #222, #000);
    transform: rotateY(-90deg) translateZ(25px);
    /* Push back half spine width (25px) ?? No. */
    /* Correct spine math:
       Book width=300 (or 280). Spine W=50.
       Cover is at Z=25.
       Back is at Z=-25.
       Spine should be at Left edge (0), rotated -90deg.
       If rotated -90deg around center left?
       Let's stick to standard cube math.
       Front: translateZ(25)
       Back: rotateY(180) translateZ(25)
       Left (Spine): rotateY(-90) translateZ(25) -> this puts it at right angles.
       But we need to shift it to the edge.
       If Box width is 280. Center is 140.
       Wait, the div .book-3d is 280px wide.
       The spine needs to be attached to the LEFT side.
       Math: rotateY(-90deg) translateZ(140px + 25px)? No that's complicated.
       Easier: transform-origin: left; left: 0; translateZ(25px).
    */
    transform-origin: right;
    /* Actually a simpler way: */
    left: -50px;
    transform: rotateY(-90deg);
    transform-origin: right;
    /* If left is -50px, right edge of spine matches left edge of cover. */
}

.book-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    transform: translateZ(-50px) rotateY(180deg);
    /* Relative to spine width if mapped that way. */
    /* Let's try the center-spine model again which is more robust */
    /* Spine thickness = 50. Z-depth = 50. Center = 0. Front = +25. Back = -25. */
    transform: rotateY(180deg) translateZ(25px);
    border-radius: 4px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 0, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 80, 0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .price-tag {
        justify-content: center;
    }

    .guarantee-badge-hero {
        justify-content: center;
    }
}

/* Social Proof */
.testimonial-card {
    text-align: left;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.03);
    font-family: serif;
}

.stars {
    color: #ffd700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.user-info strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
}

.user-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}



/* Guarantee */
.guarantee-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border: 1px dashed #555;
    border-radius: 20px;
}

.shield-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Final CTA */
.price-big {
    font-size: 5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin: 20px 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.currency {
    font-size: 2rem;
    vertical-align: super;
    margin-right: 5px;
    color: var(--text-secondary);
}

.cta-large {
    font-size: 1.5rem;
    padding: 25px 60px;
}

.payment-methods {
    margin-top: 30px;
    font-size: 2rem;
    color: #555;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

/* Mobile Responsive Late */
@media (max-width: 768px) {
    .cta-large {
        width: 100%;
        padding: 20px;
        font-size: 1.2rem;
    }

    .price-big {
        font-size: 4rem;
    }

    .gallery-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* Results Gallery */
.results-gallery {
    margin-top: 60px;
    text-align: center;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.gallery-item {
    background: #111;
    padding: 10px;
    border-radius: 15px;
    border: 1px solid #333;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.caption {
    margin-top: 10px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}