/* Global Styles */
:root {
    --primary-bg: #1a1a1a;
    --secondary-bg: #2a2a2a;
    --accent-gold: #FFD700;
    --text-light: #f0f0f0;
    --text-dark: #333;
    --border-color: #444;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 { font-size: 3.8rem; line-height: 1.2; }
h2 { font-size: 2.8rem; line-height: 1.3; }
h3 { font-size: 2rem; line-height: 1.4; }
p { margin-bottom: 1rem; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3rem;
    color: var(--accent-gold);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background-color: #e6c200;
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow-color);
}

/* Header */
.header {
    background-color: var(--secondary-bg);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .brand-logo {
    height: 40px;
    margin-right: 10px;
}

.nav-brand h2 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.9));
    padding: 80px 0;
    text-align: left;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.trust-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.trust-item i {
    color: var(--accent-gold);
    font-size: 1.3rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: floatBook 3s ease-in-out infinite alternate;
}

.book-cover {
    width: 300px;
    height: 450px;
    background-color: #333;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: rotateY(-20deg) rotateX(10deg);
    position: relative;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.book-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-gold);
    color: var(--primary-bg);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1);
    animation: floatEffect 6s ease-in-out infinite alternate;
}

.float-1 { top: 10%; left: 5%; animation-delay: 0s; }
.float-2 { bottom: 20%; right: 10%; animation-delay: 2s; }
.float-3 { top: 30%; right: 20%; animation-delay: 4s; }

@keyframes floatBook {
    from { transform: translateY(0px) rotateY(-20deg) rotateX(10deg); }
    to { transform: translateY(-20px) rotateY(-20deg) rotateX(10deg); }
}

@keyframes floatEffect {
    from { transform: translateY(0px) rotate(0deg); opacity: 0.8; }
    to { transform: translateY(-30px) rotate(10deg); opacity: 0.4; }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--secondary-bg);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.feature-highlight {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-highlight i {
    margin-right: 8px;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: var(--secondary-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Review Navigation */
.review-navigation {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.review-navigation button {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.review-navigation button:hover {
    background-color: #e6c200;
    transform: scale(1.1);
}

/* Responsive adjustments for review navigation */
@media (max-width: 768px) {
    .review-navigation {
        margin-top: 1.5rem;
        gap: 1.5rem;
    }
    .review-navigation button {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        width: 40px;
        height: 40px;
    }
}

.review-card {
    background-color: var(--primary-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.review-card .stars {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: var(--primary-bg);
    font-size: 1.2rem;
}

.review-author h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--text-light);
}

.review-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #aaa;
}

.review-date {
    font-size: 0.85rem;
    color: #777;
    margin-top: 5px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.pricing-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.pricing-card {
    background-color: var(--secondary-bg);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: center;
    border: 1px solid var(--border-color);
    max-width: 500px;
    margin: 0 auto;
}

.pricing-header h3 {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.product-type {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.price .currency {
    font-size: 2rem;
    vertical-align: super;
    margin-right: 5px;
    color: var(--accent-gold);
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.features-list li i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.btn-full {
    width: 100%;
}

/* Timer Styles */
.timer-container {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid var(--accent-gold);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

.timer-text {
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary-bg);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    min-width: 60px;
}

.time-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.time-label {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-separator {
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin: 0 0.5rem;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Sticky Purchase Button */
.sticky-purchase {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--secondary-bg), var(--primary-bg));
    border-top: 2px solid var(--accent-gold);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.8);
    z-index: 2000;
    transition: bottom 0.3s ease;
    backdrop-filter: blur(10px);
}

.sticky-purchase.show {
    bottom: 0;
}

.sticky-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sticky-title {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

.sticky-price {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 800;
}

.sticky-btn {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-btn:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow-color);
}

.sticky-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.sticky-close:hover {
    color: var(--text-light);
}

.pricing-image .book-3d {
    transform: rotateY(20deg) rotateX(10deg);
}

/* Author Section */
.author {
    padding: 80px 0;
    background-color: var(--secondary-bg);
}

.author-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.author-visual {
    text-align: center;
    position: relative;
}

.author-avatar-large {
    width: 200px;
    height: 200px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--primary-bg);
    font-size: 4rem;
    margin: 0 auto 2rem auto;
    box-shadow: 0 0 0 8px var(--border-color);
}

.avatar-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-bg);
    color: var(--accent-gold);
    border-radius: 50%;
    padding: 15px;
    font-size: 1.5rem;
    border: 3px solid var(--accent-gold);
}

.author-quote {
    background-color: var(--primary-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.author-quote i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.author-quote p {
    font-style: italic;
    color: #ccc;
    font-size: 1.1rem;
}

.author-text h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.author-title {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.title-badge {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.author-bio, .author-mission {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.author-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.achievement-item .achievement-icon {
    font-size: 2rem;
    color: var(--accent-gold);
}

/* Footer */
.footer {
    background-color: var(--primary-bg);
    padding: 60px 0 20px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: left;
    margin-bottom: 3rem;
}

.footer-brand .brand-logo {
    height: 40px;
    margin-bottom: 10px;
}

.footer-brand h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.footer-brand .tagline {
    color: #aaa;
    font-size: 1rem;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    font-size: 1rem;
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    color: #ccc;
}

.social-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    .nav {
        padding: 1rem 1.5rem;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-subtitle {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .book-cover {
        width: 250px;
        height: 375px;
    }
    .pricing-content {
        grid-template-columns: 1fr;
    }
    .pricing-image {
        order: -1; /* Move image above pricing card on smaller screens */
        margin-bottom: 3rem;
    }
    .author-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .author-visual {
        margin-bottom: 3rem;
    }
    .author-avatar-large {
        margin: 0 auto 2rem auto;
    }
    .author-title {
        justify-content: center;
    }
    .achievement-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    .section-title {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--secondary-bg);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 5px 15px var(--shadow-color);
        padding: 1rem 0;
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-link {
        padding: 10px 20px;
        text-align: center;
        width: 100%;
    }
    .nav-link::after {
        display: none; /* Hide underline animation on mobile */
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero {
        padding: 60px 0;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.8rem;
    }
    .trust-elements {
        justify-content: center;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-image {
        margin-top: 3rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .pricing-content {
        grid-template-columns: 1fr;
    }
    .pricing-image {
        margin-bottom: 3rem;
    }
    .author-content {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand, .footer-links, .footer-contact {
        margin-bottom: 2rem;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    .section-title {
        font-size: 2rem;
    }
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .trust-item {
        font-size: 1rem;
    }
    .book-cover {
        width: 200px;
        height: 300px;
    }
    .feature-card {
        padding: 2rem 1.5rem;
    }
    .feature-icon {
        font-size: 3rem;
    }
    .review-card {
        padding: 1.5rem;
    }
    .price {
        font-size: 3rem;
    }
    .price .currency {
        font-size: 1.5rem;
    }
    .author-avatar-large {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
    .avatar-badge {
        padding: 10px;
        font-size: 1.2rem;
    }
    .author-quote p {
        font-size: 1rem;
    }
    .achievement-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    .achievement-item .achievement-icon {
        margin-bottom: 5px;
    }
}
