/* Reset e Estilos Globais */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #ff5e62;
    --text-color: #333;
    --light-text: #f8f9fa;
    --dark-text: #212529;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient);
    color: var(--light-text);
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo span {
    font-size: 0.9rem;
    color: var(--secondary-color);
    display: block;
    margin-top: -5px;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient);
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-badge {
    margin-top: 30px;
}

.hero-badge span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(106, 17, 203, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 500;
}

.hero-image {
    flex: 1;
    position: relative;
}

.ebook-mockup {
    position: relative;
    max-width: 400px;
    margin-left: auto;
    transform: perspective(1000px) rotateY(-15deg);
    box-shadow: none;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.ebook-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

/* Features Section */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Contents Section */
.contents {
    background: var(--bg-light);
}

.contents-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.contents-list {
    flex: 1;
}

.contents-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contents-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contents-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contents-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contents-preview {
    flex: 1;
}

.preview-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
}

/* Author Section */
.author .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.author-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;    
}

.author-image img {
    display: block;
    transition: var(--transition);
    width: 80%;
    height: 80%;
    object-fit: cover; /* Cobrirá a div mantendo a proporção */
    object-position: center; /* Foco no centro da imagem */
}

.author-image:hover img {
    transform: scale(0.80);
}

.author-info {
    flex: 1;
}

.author-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.author-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.author-social a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Purchase Section */
.purchase {
    background: var(--gradient);
    color: white;
    text-align: center;
}

.purchase h2 {
    color: white;
}

.purchase h2::after {
    background: white;
}

.purchase-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.purchase-header {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    background: var(--gradient-accent);
}

.purchase-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.old-price {
    text-decoration: line-through;
    opacity: 0.8;
    font-size: 1.2rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
}

.purchase-body {
    padding: 30px;
    color: var(--text-color);
}

.purchase-body ul {
    margin-bottom: 30px;
    text-align: left;
}

.purchase-body li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.purchase-body i {
    color: var(--primary-color);
}

.purchase-footer {
    padding: 15px;
    background: var(--bg-light);
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: rgba(106, 17, 203, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* FAQ Section */
.faq {
    background: var(--bg-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(106, 17, 203, 0.05);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer p {
    padding-bottom: 20px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: aliceblue;
}

.footer-logo span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero::before {
        width: 60%;
    }

    .hero-content {
        padding-right: 30px;
    }

    .contents-container {
        flex-direction: column;
    }

    .author .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu {
        display: block;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-badge {
        justify-content: center;
    }

    .ebook-mockup {
        margin: 0 auto;
    }

    .contents-list ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 25px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero::before {
        display: none;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 20px;
    }
}