/* Global Reset & Typography */
:root {
    --primary-blue: #0F172A;
    --primary-blue-light: #1E293B;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F3E5AB;
    --accent-gold-dark: #B4941F;
    --bg-cream: #FDFBF7;
    --text-dark: #1F2937;
    --text-light: #F9FAFB;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    background-image: url('../images/bg-texture.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
    line-height: 1.2;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-gold { color: var(--accent-gold-dark); }
.text-blue { color: var(--primary-blue); }
.text-center { text-align: center; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.relative { position: relative; }

/* Components */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
    filter: brightness(110%);
}

.btn-secondary {
    background: transparent;
    color: #6B7280;
    font-size: 0.9rem;
    text-decoration: underline;
    font-weight: 400;
    margin-top: 1rem;
    box-shadow: none;
}

.btn-secondary:hover {
    color: var(--text-dark);
}

/* Specific Sections */
.progress-bar {
    background: #E2E8F0;
    height: 12px;
    border-radius: 99px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    background: #22C55E;
    width: 75%;
    height: 100%;
    border-radius: 99px;
    animation: load 1.5s ease-out forwards;
}

@keyframes load { from { width: 0; } to { width: 75%; } }

.hero-box {
    border: 2px dashed var(--accent-gold);
    background: #FFFEF9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.highlight-box {
    background: var(--primary-blue);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
}

.highlight-box h2 { color: var(--accent-gold); }

.price-tag {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.old-price {
    text-decoration: line-through;
    color: #9CA3AF;
    font-size: 1.5rem;
}

/* Mockup */
.book-mockup {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.25));
}

/* Animations */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}

/* Responsive */
@media (min-width: 768px) {
    .btn { width: auto; min-width: 300px; }
    .hero-box { padding: 2rem; }
}
