@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Poppins:wght@500;600;700&display=swap');

:root {
    --primary: #4A90E2;
    --primary-dark: #357ABD;
    --secondary: #FFD166;
    --accent: #EF476F;
    --text: #2D3436;
    --text-light: #636E72;
    --bg: #F7F9FC;
    --white: #ffffff;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-nav {
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

/* Hero */
.hero {
    background: var(--white);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    padding-bottom: 80px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.tag-new {
    background: #E3F2FD;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary), #81C784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(239, 71, 111, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(239, 71, 111, 0.4);
}

.price-hero {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.2rem;
}

.trust-badges {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.trust-badges i {
    color: #00B894;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.blob-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: #F0F4F8;
    border-radius: 50%;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-book {
    position: relative;
    z-index: 1;
    max-width: 80%;
    transform: rotate(-5deg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.floating-badge {
    position: absolute;
    top: 20%;
    right: 10%;
    background: var(--white);
    padding: 15px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    z-index: 2;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.floating-badge .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.floating-badge .label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Preview Section */
.preview-section {
    padding: 60px 0;
    text-align: center;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.preview-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.preview-img {
    width: 100%;
    display: block;
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px 20px 20px;
    color: var(--white);
    text-align: left;
}

/* Themes Grid */
.themes {
    padding: 80px 0;
    background: var(--white);
}

.grid-themes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.theme-item {
    text-align: center;
}

.theme-icon {
    width: 80px;
    height: 80px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
    transition: 0.3s;
}

.theme-item:hover .theme-icon {
    transform: scale(1.1) rotate(5deg);
}

.c-blue {
    background: #E3F2FD;
    color: #2196F3;
}

.c-red {
    background: #FFEBEE;
    color: #F44336;
}

.c-gold {
    background: #FFF8E1;
    color: #FFC107;
}

.c-blue-light {
    background: #E0F7FA;
    color: #00BCD4;
}

.c-purple {
    background: #F3E5F5;
    color: #9C27B0;
}

.c-green {
    background: #E8F5E9;
    color: #4CAF50;
}

.c-orange {
    background: #FBE9E7;
    color: #FF5722;
}

.c-teal {
    background: #E0F2F1;
    color: #009688;
}

.theme-item h3 {
    font-size: 1rem;
    font-weight: 600;
}

/* Bonuses Modern */
.bonuses-modern {
    padding: 100px 0;
    background: #F0F4F8;
}

.bonus-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.bonus-text {
    flex: 1;
}

.tag-bonus {
    background: var(--secondary);
    color: #5D4037;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.bonus-list-check li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.bonus-list-check i {
    color: #00B894;
}

.bonus-visuals {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bonus-card-mini {
    background: var(--white);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.bonus-card-mini img {
    height: 60px;
    margin-bottom: 10px;
}

.bonus-card-mini span {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

/* Pricing Modern */
.pricing-modern {
    padding: 100px 0;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.card-plan {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    width: 320px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid #eee;
}

.card-plan.complete {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.best-value {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
}

.plan-price span {
    font-size: 1.2rem;
}

.installment {
    font-size: 0.9rem;
    color: var(--text-light);
}

.plan-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: #00B894;
}

.plan-features li.mute {
    color: #ccc;
    text-decoration: line-through;
}

.btn-plan {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-plan.outline {
    border: 2px solid #eee;
    color: var(--text);
}

.btn-plan.outline:hover {
    border-color: var(--text);
}

.btn-plan.primary {
    background: var(--primary);
    color: var(--white);
}

.btn-plan.primary:hover {
    background: var(--primary-dark);
}

/* Author Modern */
.author-modern {
    padding: 80px 0;
    background: var(--white);
}

.author-box {
    background: #FFF8E1;
    padding: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 30px;
}

.author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
}

.author-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.author-info p {
    font-style: italic;
    color: var(--text-light);
}

/* FAQ Modern */
.faq-modern {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.faq-item h4 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4 i {
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--text);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.small {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 10px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
    /* Controlled by JS */
    z-index: 999;
}

.toast.show {
    display: block;
    animation: slideUp 0.5s;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.toast-body {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toast-body i {
    color: #00B894;
    font-size: 1.5rem;
}

.toast-body small {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .bonus-wrapper {
        flex-direction: column;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}