/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-menu li a:hover {
    color: var(--secondary-color);
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-image {
    margin: 40px auto;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Social Share Section */
.social-share {
    background: var(--light-bg);
    padding: 30px 20px;
    text-align: center;
}

.social-share p {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-color);
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.pinterest {
    background: #bd081c;
}

/* Main Content */
.main-content {
    padding: 60px 20px;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    line-height: 1.3;
}

.content-section h3 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-color);
}

.content-section ul {
    margin: 20px 0 20px 40px;
    line-height: 1.8;
}

.content-section li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.content-section a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.content-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Table of Contents */
.toc {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.toc h2 {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.toc ul {
    list-style-position: inside;
}

.toc li {
    color: var(--text-color);
}

/* Product Image */
.product-image {
    margin: 40px auto;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* Features Table */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.features-table thead {
    background: var(--gradient-1);
    color: var(--white);
}

.features-table th {
    padding: 18px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.features-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1rem;
}

.features-table tbody tr:hover {
    background: var(--light-bg);
}

.features-table tbody tr:last-child td {
    border-bottom: none;
}

/* Benefits Grid */
.benefits-section {
    background: var(--light-bg);
    padding: 50px 30px;
    border-radius: 15px;
    margin: 50px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-card h3 {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 0;
}

/* CTA Box */
.cta-box {
    background: var(--gradient-1);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    margin: 50px 0;
    box-shadow: var(--shadow-lg);
}

.cta-box h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-box p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-box .cta-button {
    background: var(--white);
    color: var(--primary-color);
}

.cta-box .cta-button:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

/* Reviews Section */
.reviews-section {
    background: var(--light-bg);
    padding: 50px 30px;
    border-radius: 15px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.stars {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.review-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.review-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.reviewer {
    font-style: italic;
    font-weight: 600;
    color: var(--secondary-color) !important;
    margin-bottom: 0 !important;
}

/* FAQs Section */
.faqs-section {
    padding: 50px 30px;
    background: var(--white);
}

.faq-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.faq-item p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Author Section */
.author-section {
    background: var(--light-bg);
    padding: 50px 30px;
    border-radius: 15px;
    margin: 50px 0;
}

.author-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.author-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.author-content h3 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.author-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.author-social {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--light-gray);
}

.author-social p {
    font-weight: 600;
    margin-bottom: 15px;
}

.social-link {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 30px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .main-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero {
        padding: 50px 20px;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .content-section h3 {
        font-size: 1.3rem;
    }

    .benefits-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .share-btn {
        width: 100%;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .author-card {
        padding: 25px;
    }

    .social-link {
        display: block;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
    }

    .logo h2 {
        font-size: 1.4rem;
    }

    .features-table th,
    .features-table td {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .navbar,
    .social-share,
    .burger-menu,
    .cta-button,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .main-content {
        padding: 0;
    }
}
