:root {
    --bg-dark: #050a14;
    --bg-card: rgba(20, 25, 40, 0.7);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-gold: #fbbf24;
    --accent-blue: #3b82f6;
    --accent-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    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;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: white;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--accent-gold);
    background: linear-gradient(to right, var(--accent-gold), #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    font-size: 1.2em;
    line-height: 1;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    animation: pulse-glow 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.6);
    animation: none;
    /* Stop animation on hover to focus */
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3.5rem;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(251, 191, 36, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .btn-large {
        font-size: 1rem;
    }
}

/* Top Banner */
.top-banner {
    background: linear-gradient(90deg, var(--accent-gold), #f59e0b, var(--accent-gold));
    background-size: 200% auto;
    animation: bannerShine 3s linear infinite;
    color: var(--bg-dark);
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 1000;
    position: relative;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
    overflow: hidden;
    /* Hide overflow for marquee */
    display: flex;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    animation: scrollText 30s linear infinite;
    will-change: transform;
}

.divider {
    color: #78350f;
    opacity: 0.5;
}

.top-banner strong {
    font-weight: 900;
    color: #78350f;
}

@keyframes scrollText {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes bannerShine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(5, 10, 20, 0.7), rgba(5, 10, 20, 0.9)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind content but above background */
    pointer-events: none;
    /* Let clicks pass through */
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.eyebrow {
    display: block;
    color: var(--accent-blue);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 100%;
    width: 450px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}


.subheadline {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Problem Section */
.problem {
    padding: 6rem 0;
    background: #080d1a;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pain-points li {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.pain-points .icon {
    color: #ef4444;
    margin-right: 1rem;
    font-weight: bold;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    height: 150px;
    gap: 20px;
    margin-top: 2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

.bar {
    flex: 1;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.bar.high {
    height: 90%;
    background: #ef4444;
    color: white;
}

.bar.low {
    height: 30%;
    background: var(--text-muted);
    color: #1f2937;
}

/* Shift Section */
.shift {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(180deg, #050a14 0%, #0f1629 100%);
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 5rem;
    color: var(--text-main);
    line-height: 1.8;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
}

.icon-box {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

/* Method Timeline */
.method {
    padding: 6rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 4rem;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 4px solid var(--accent-blue);
    border-radius: 50%;
    z-index: 2;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-blue);
}

.timeline-content p {
    color: var(--text-muted);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: #0d1220;
    border-radius: 12px;
    transition: all 0.3s;
}

.benefit-card:hover {
    background: #111827;
}

.check-icon {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-weight: bold;
}

/* Audience */
.audience {
    padding: 6rem 0;
    background: #03060a;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.audience-column {
    padding: 3rem;
    border-radius: 20px;
}

.for-who {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.not-for-who {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.audience-column h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.audience-column ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    margin-right: 15px;
}

.dot-red {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    margin-right: 15px;
}

/* Authority */
.authority {
    padding: 6rem 0;
    text-align: center;
}

.eyebrow-accent {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
}

.auth-list {
    max-width: 600px;
    margin: 3rem auto;
    text-align: left;
}

.auth-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Offer */
.offer {
    padding: 6rem 0;
}

.offer-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-header {
    background: var(--accent-gradient);
    padding: 3rem;
    text-align: center;
    color: #000;
}

.offer-header h2 {
    color: #000;
    margin-bottom: 0.5rem;
}

.offer-body {
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.offer-includes h3 {
    margin-bottom: 2rem;
    color: white;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.offer-includes .offer-list>li {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}

.offer-includes .icon {
    margin-right: 1.5rem;
    font-size: 1.8rem;
    line-height: 1;
    margin-top: 0.2rem;
}

.offer-includes .text-content strong {
    display: block;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.offer-includes .text-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.offer-includes .sub-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.offer-includes .sub-list li {
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.offer-cta {
    text-align: center;
}

.guarantee {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

footer {
    padding: 4rem 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer nav {
    margin-top: 1rem;
}

footer nav a {
    color: var(--text-muted);
    margin: 0 1rem;
    font-size: 0.9rem;
}

footer nav a:hover {
    color: white;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 5rem;
        /* More space for fixed header interaction if any */
        padding-bottom: 3rem;
    }

    .eyebrow {
        margin-bottom: 0.8rem;
        font-size: 0.8rem;
    }

    .hero-image {
        width: 80%;
        max-width: 320px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
        padding: 0 10px;
    }

    .subheadline {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .problem,
    .shift,
    .method,
    .benefits,
    .audience,
    .authority,
    .offer {
        padding: 2.5rem 0;
    }

    .grid-2,
    .pillars-grid,
    .audience-grid,
    .offer-body {
        grid-template-columns: 1fr;
    }

    .offer-body {
        padding: 1.5rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        padding-left: 20px;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }

    .timeline-marker {
        left: -9px;
    }
}

/* Pulse Highlight for HOJE */
.pulse-highlight {
    display: inline-block;
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(135deg, #ff0055 0%, #ff5500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(255, 0, 85, 0.5));
    animation: textPulse 0.8s ease-in-out infinite alternate;
}

@keyframes textPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 0, 85, 0.5));
    }

    100% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px rgba(255, 0, 85, 0.9));
    }
}

/* Pricing Section */
.pricing-planes {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(to bottom, #050a14, #0f1629);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding-bottom: 2rem;
    text-align: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.basic {
    border: 1px solid var(--accent-gold);
}

.pricing-card.basic h3 {
    margin-top: 2rem;
    font-size: 2rem;
    color: white;
}

.pricing-card.complete {
    border: 2px solid var(--accent-gold);
    transform: scale(1.05);
    /* Make it bigger like in image */
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.2);
    z-index: 10;
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.9) 0%, rgba(17, 24, 39, 0.9) 100%);
}

.ribbon-header {
    background: var(--accent-gradient);
    color: var(--bg-dark);
    font-size: 1.8rem;
    font-weight: 800;
    padding: 1.5rem 0;
    text-transform: uppercase;
    width: 100%;
}

.sub-header {
    background: white;
    color: black;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.card-image-container {
    margin: 1.5rem auto;
    width: 280px;
    max-width: 100%;
    position: relative;
    transition: transform 0.3s ease;
}

.card-image-container:hover {
    transform: scale(1.05);
}

.card-image-container img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.plan-features {
    text-align: left;
    padding: 0 2rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.plan-features li .icon {
    font-weight: bold;
    margin-right: 10px;
    min-width: 20px;
    /* Ensure alignment */
}

.plan-features li .icon.check {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-main);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: white;
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.pulse-button {
    animation: pulse-glow 2s infinite;
}

@media (max-width: 768px) {
    .pricing-grid {
        gap: 2rem;
        padding: 0 1rem;
    }

    .pricing-card.complete {
        transform: scale(1);
        margin-top: 1rem;
        border-width: 1px;
    }

    .card-image-container {
        width: 240px;
        /* Slightly smaller on mobile but still prominent */
    }

    .ribbon-header {
        font-size: 1.4rem;
        padding: 1rem 0;
    }
}

/* Carousel Styles */
.content-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0 4rem;
    position: relative;
}

.content-carousel {
    display: flex;
    gap: 2rem;
    padding-bottom: 2rem;
    width: max-content;
    animation: scrollCarousel 40s linear infinite;
}

.content-carousel:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.content-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-item {
    flex: 0 0 auto;
    width: 85vw;
    /* Responsive width for mobile */
    max-width: 380px;
    /* Cap at original design width */
    scroll-snap-align: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: white;
    /* White background as requested */
    display: flex;
    flex-direction: column;
}

.carousel-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    flex-grow: 1;
    object-fit: cover;
}

.carousel-caption {
    padding: 1rem;
    text-align: center;
    color: #16a34a;
    /* Green */
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    animation: greenPulse 1.5s infinite alternate;
}

@keyframes greenPulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(22, 163, 74, 0.2);
    }

    100% {
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(22, 163, 74, 0.6);
    }
}

/* Gradient Fade for Carousel Edges */
.content-carousel-container::before,
.content-carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.content-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #080d1a, transparent);
}

.content-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #080d1a, transparent);
}

/* Gold Emphasis for 'Tempo' */
.gold-emphasis {
    color: var(--accent-gold);
    font-size: 1.4em;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #fbbf24, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.4));
    display: inline-block;
    vertical-align: middle;
}

/* Multiline Button Styles */
.btn-multiline {
    padding: 0.8rem 2rem;
    text-align: center;
}

.btn-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.btn-main-text {
    font-size: 1.1em;
    font-weight: 800;
    text-transform: uppercase;
}

.btn-sub-text {
    font-size: 0.75em;
    font-weight: 400;
    opacity: 0.9;
    text-transform: capitalize;
}

/* Trust Badges below CTA */
.trust-badges {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Title Icon */
.title-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    font-size: 0.9em;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.gold-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.gold-title .title-icon {
    -webkit-text-fill-color: initial;
}

/* Book Slider Layout (Replacing Magazine Grid) */
/* 3D Book Flip Component (Single Page Stack) */
.book-3d-wrapper {
    width: 100%;
    max-width: 450px;
    /* Reduced for single page width */
    margin: 2rem auto 5rem;
    perspective: 2000px;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 0 60px;
}

.book-3d {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.4;
    /* Typical page ratio */
    transform-style: preserve-3d;
}

.paper {
    position: absolute;
    width: 100%;
    /* Full width */
    height: 100%;
    top: 0;
    left: 0;
    transform-origin: left center;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    /* Smoother ease-in-out */
    cursor: pointer;
    /* Z-index handled inline in HTML for stack order */
}

.paper.flipped {
    transform: rotateY(-180deg);
}

.paper-content {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: white;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

/* Front Face - With Fold Effect */
.paper-content.front {
    z-index: 2;
    border-radius: 2px 12px 12px 2px;
    /* Spine gradient for curvature + subtle right edge shadow */
    background: white;
    /* Content covers this */
    box-shadow: inset 3px 0 10px rgba(0, 0, 0, 0.05);
    /* Spine shadow */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
    /* Slight dog-ear */
}

/* Back Face */
.paper-content.back {
    z-index: 1;
    transform: rotateY(180deg);
    border-radius: 12px 2px 2px 12px;
    background: white;
    box-shadow: inset -3px 0 10px rgba(0, 0, 0, 0.05);
    /* No clip-path on back or mirrored? For simplicity, rectangular or mirrored clip-path could be added */
}

/* --- Malleable Paper Effect (Shine/Shadow Overlay) --- */
.shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1) 0%, transparent 40%, transparent 60%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0.1;
    transition: opacity 1.2s ease, background 1.2s ease;
    pointer-events: none;
    z-index: 10;
}

/* Dynamic Lighting on Flip */
.paper.flipped .paper-content.front .shine {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0.8;
    /* Darkens as it turns away */
}

.paper.flipped .paper-content.back .shine {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    opacity: 1;
    /* Brightens as it turns towards viewer */
}

/* Dog Ear Decoration (Fold) - Front Only */
.paper-content.front::before {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, transparent 50%, #f3f4f6 50%, #ffffff 100%);
    border-top: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
    box-shadow: -2px -2px 3px rgba(0, 0, 0, 0.05);
    z-index: 20;
    border-radius: 4px 0 0 0;
}

/* Shadow drop under fold */
.paper-content.front::after {
    content: '';
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 30px;
    height: 8px;
    background: transparent;
    transform: rotate(45deg);
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    .book-3d-wrapper {
        max-width: 100%;
        padding: 0 10px;
        perspective: 2000px;
        margin-bottom: 3rem;
        height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .book-3d {
        transform: scale(0.9);
        transform-origin: center center;
        width: 100%;
        min-width: 300px;
    }

    /* Nav Buttons */
    .book-nav {
        display: flex !important;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        background: rgba(20, 25, 40, 0.9);
        z-index: 100;
        position: absolute;
    }

    .book-nav.prev {
        left: 10px;
    }

    .book-nav.next {
        right: 10px;
    }

    .book-page img,
    .page-body img {
        height: 100% !important;
        object-fit: contain !important;
        margin: 0;
    }

    /* Keep fold visible on mobile */
    .paper-content.front {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%);
    }
}

/* Header Styling */
.page-header {
    background: var(--bg-dark);
    /* Dark Header like image but theme consistent */
    background: linear-gradient(135deg, #1f2937 0%, #000000 100%);
    color: white;
    padding: 1.5rem;
    position: relative;
    border-bottom: 4px solid var(--accent-gold);
    text-align: center;
}

.page-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.2rem;
    color: var(--accent-gold);
}

.page-title {
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    color: black;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Body Content refined for Digital Magazine look */
.page-body {
    padding: 2rem;
    color: #4b5563;
    /* Gray-600 */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #fff;
    font-size: 0.95rem;
}

.info-row {
    font-size: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 0.8rem;
    color: #1f2937;
    font-weight: 500;
}

.info-label {
    font-weight: 700;
    margin-right: 8px;
    color: #b91c1c;
    /* Red-700 matching reference icon tone */
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-section h4 {
    color: #991b1b;
    /* Dark Red */
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

/* The Pink Box from reference */
.highlight-box {
    background: #fff1f2;
    /* Rose-50 */
    border: 1px solid #fecdd3;
    /* Rose-200 */
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: auto;
}

.highlight-box h4 {
    color: #9f1239;
    /* Rose-800 */
    margin-bottom: 1rem;
}

.highlight-box ul {
    list-style: none;
    /* Custom bullets */
    padding-left: 0.5rem;
    margin-top: 0;
}

.highlight-box li {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: #4c0519;
    /* Rose-950 */
    position: relative;
    padding-left: 1.2rem;
    display: flex;
    align-items: flex-start;
}

.highlight-box li::before {
    content: '•';
    color: #9f1239;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

/* Nav Buttons */
.book-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.book-nav:hover {
    background: var(--accent-gold);
    color: black;
}

.book-nav.prev {
    left: -10px;
}

.book-nav.next {
    right: -10px;
}