/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-color: #050505;
    --bg-secondary: #0f0f0f;
    --text-color: #e0e0e0;
    --gold-primary: #d4af37;
    --gold-secondary: #b8860b;
    --green-accent: #2ecc71;
    --green-dark: #27ae60;
    --red-urgent: #e74c3c;
    --font-heading: 'Cinzel', serif;
    --font-subheading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow-gold: 0 0 15px rgba(212, 175, 55, 0.3);
    --shadow-green: 0 0 20px rgba(46, 204, 113, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #cccccc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* HEADER */
.header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid var(--gold-secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
}

/* HERO SECTION */
.hero {
    padding: 60px 0 100px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23d4af37" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    /* Subtle pattern */
    opacity: 0.3;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    z-index: 2;
    /* Content above pattern */
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes float {
    0% {
        transform: perspective(1000px) rotateY(-10deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-10deg) translateY(-20px);
    }

    100% {
        transform: perspective(1000px) rotateY(-10deg) translateY(0);
    }
}

.book-cover {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
    /* Make the book look 3D and Float */
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.book-container:hover .book-cover {
    animation-play-state: paused;
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.badge {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #000;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.gold-text {
    color: var(--gold-primary);
    background: linear-gradient(to bottom, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subheadline {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* OFFER BOX */
.offer-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gold-secondary);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-gold);
    text-align: center;
}

.price-container {
    margin-bottom: 20px;
}

.regular-price {
    font-size: 1.2rem;
    color: #888;
}

.strikethrough {
    text-decoration: line-through;
    color: var(--red-urgent);
}

.sale-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-top: 5px;
}

.green-text {
    color: var(--green-accent);
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

/* COUNTDOWN TIMER */
.countdown-container {
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--red-urgent);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    animation: blink 2s infinite;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-family: 'Courier New', monospace;
    /* Digital look */
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.time-unit span {
    background: #222;
    padding: 5px 10px;
    border-radius: 4px;
    color: var(--red-urgent);
    box-shadow: inset 0 0 5px #000;
}

.time-unit small {
    font-size: 0.6rem;
    color: #888;
    margin-top: 5px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

/* CTA BUTTON */
.cta-button {
    display: inline-block;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to bottom, #2ecc71, #27ae60);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 5px 0 #1e8449, 0 10px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.2s;
    margin-bottom: 15px;
    border: 2px solid #2ecc71;
}

.cta-button:hover {
    background: linear-gradient(to bottom, #40d47e, #2ecc71);
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #1e8449, 0 15px 25px rgba(0, 0, 0, 0.5);
}

.cta-button:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #1e8449, 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-subtext {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-top: 5px;
}

/* ANIMATIONS */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.guarantee {
    font-size: 0.9rem;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* SECTIONS */
section {
    padding: 80px 0;
}

.problem-section {
    background: var(--bg-secondary);
    text-align: center;
    border-top: 1px solid #333;
}

.highlight {
    background: rgba(212, 175, 55, 0.2);
    /* faint gold bg */
    color: var(--gold-primary);
    padding: 0 5px;
}

.benefits-section {
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.divider {
    height: 3px;
    width: 100px;
    background: var(--gold-primary);
    margin: 20px auto 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #111;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

/* AUTHOR SECTION */
.author-section {
    background: linear-gradient(45deg, #1a1a1a, #0d0d0d);
    border-top: 1px solid var(--gold-secondary);
    border-bottom: 1px solid var(--gold-secondary);
}

.author-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.author-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* FINAL CTA */
.final-cta {
    text-align: center;
    background: radial-gradient(circle, #222 0%, #000 100%);
    padding: 100px 0;
}

.offer-box-slim {
    background: #111;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto 0;
    border: 2px solid var(--gold-primary);
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
}

.price-slim {
    font-size: 2rem;
    margin-bottom: 20px;
}

.old {
    text-decoration: line-through;
    color: #555;
    font-size: 1.5rem;
}

.new {
    color: var(--green-accent);
    font-weight: 800;
}

.timer-small {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--red-urgent);
}

/* FOOTER */
footer {
    background: #000;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.8rem;
}

footer a {
    color: #888;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: var(--gold-primary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        order: -1;
        /* Image first on mobile? Or text first? Standard is text over image, but let's keep text first for copy impact. */
        order: 1;
        /* Let's put image below text on mobile so they read headline first */
        margin-top: 30px;
    }

    .countdown {
        gap: 5px;
    }
}