/* ===== VARIABLES Y RESET ===== */
:root {
    --primary: #8BC34A;
    --primary-dark: #7CB342;
    --primary-light: #AED581;
    --secondary: #10B981;
    --danger: #EF4444;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --background: #FFFFFF;
    --background-alt: #F9FAFB;
    --background-dark: #F3F4F6;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== UTILIDADES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* ===== HEADER / NAVEGACION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #2D3748;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 42px;
    width: auto;
    display: block;
}

.logo-text {
    color: var(--primary);
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.mobile-nav-links .btn {
    margin-top: 16px;
    text-align: center;
}

/* ===== HERO SECTION ===== */
.hero {
    margin-top: 80px;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #F9FAFB 0%, #EEF2FF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content-centered {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-text h1 .highlight {
    color: var(--primary);
    position: relative;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-content-centered .hero-buttons {
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.hero-content-centered .hero-stats {
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.hero-image {
    position: relative;
}

.hero-illustration {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: white;
    object-fit: cover;
    max-height: 450px;
    object-position: center top;
}

/* Hero Meta */
.hero-meta {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.meta-item svg {
    color: var(--primary);
}

/* Mockup */
.mockup {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background: white;
    padding: 20px;
    overflow: hidden;
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #EF4444; }
.mockup-dot:nth-child(2) { background: #F59E0B; }
.mockup-dot:nth-child(3) { background: #10B981; }

.mockup-content {
    background: var(--background-alt);
    border-radius: var(--radius-sm);
    padding: 24px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-line {
    height: 12px;
    background: var(--border);
    border-radius: 4px;
    animation: pulse 2s infinite;
}

.mockup-line.short { width: 60%; }
.mockup-line.medium { width: 80%; }
.mockup-line.long { width: 100%; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== HERO BLOG ===== */
.hero-blog {
    padding: 60px 0 80px;
}

.hero-blog h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.hero-blog .breadcrumbs {
    margin-bottom: 16px;
}

.hero-blog .breadcrumbs ol {
    justify-content: center;
}

.hero-blog .breadcrumbs a,
.hero-blog .breadcrumbs li {
    color: var(--text-secondary);
}

.hero-blog .breadcrumbs a:hover {
    color: var(--primary);
}

.hero-blog-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.hero-blog-content .hero-text {
    order: 1;
}

.hero-blog-content .hero-image {
    order: 2;
}

.hero-blog-content .breadcrumbs ol {
    justify-content: flex-start;
}

.blog-featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-height: 350px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 900px) {
    .hero-blog-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-blog-content .hero-text {
        order: 1;
    }

    .hero-blog-content .hero-image {
        order: 2;
    }

    .hero-blog-content .breadcrumbs ol {
        justify-content: center;
    }

    .blog-featured-image {
        max-height: 280px;
    }
}

@media (max-width: 600px) {
    .blog-featured-image {
        max-height: 200px;
    }
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 100px 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== COMPARISON SECTION ===== */
.comparison {
    padding: 100px 0;
    background: var(--background-alt);
}

.comparison-table {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: var(--primary);
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th:first-child {
    font-weight: 700;
}

.comparison-table tbody tr:hover {
    background: var(--background-alt);
}

.check {
    color: var(--secondary);
    font-weight: 700;
    font-size: 20px;
}

.cross {
    color: var(--danger);
    font-weight: 700;
    font-size: 20px;
}

.highlight-cell {
    background: #EEF2FF !important;
    font-weight: 600;
    color: var(--primary);
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 100px 0;
    background: var(--background);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured::before {
    content: 'MAS POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 20px;
    color: var(--text-secondary);
}

.pricing-period {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li::before {
    content: '\2713';
    color: var(--secondary);
    font-weight: 700;
    font-size: 18px;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta .btn {
    background: white;
    color: var(--primary);
    font-size: 18px;
    padding: 16px 40px;
}

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

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.trust-icon {
    font-size: 24px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-logo h3 {
    color: var(--primary);
    font-size: 24px;
    margin: 0;
}

.footer-about p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* ===== BLOG STYLES ===== */
.blog-main {
    padding: 60px 0 100px;
    background: var(--background);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

.blog-article {
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.blog-article h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.2;
}

.blog-article h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--text-primary);
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.blog-article h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.blog-article h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--text-primary);
}

.blog-article p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 17px;
}

.blog-article ul,
.blog-article ol {
    margin: 16px 0 24px 24px;
    color: var(--text-secondary);
}

.blog-article li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.blog-article a {
    color: var(--primary);
    text-decoration: underline;
}

.blog-article a:hover {
    color: var(--primary-dark);
}

.blog-article blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--background-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-article blockquote p {
    margin: 0;
    font-style: italic;
}

.blog-article code {
    background: var(--background-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Monaco', 'Consolas', monospace;
}

.blog-article pre {
    background: var(--text-primary);
    color: white;
    padding: 24px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 24px 0;
}

.blog-article pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    margin-bottom: 12px;
}

.sidebar-card a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.sidebar-cta h3 {
    color: white;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    font-size: 14px;
}

.sidebar-cta .btn {
    width: 100%;
    background: white;
    color: var(--primary);
}

.sidebar-cta .btn:hover {
    background: var(--background-alt);
}

/* Table of Contents */
.toc {
    list-style: none;
}

.toc li {
    margin-bottom: 8px;
}

.toc a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.toc a:hover,
.toc a.active {
    background: var(--background-alt);
    color: var(--primary);
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.related-posts h2 {
    font-size: 24px;
    margin-bottom: 24px;
    border-top: none;
    padding-top: 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: var(--background-alt);
    padding: 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.related-card h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.related-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.breadcrumbs li::after {
    content: "/";
    margin-left: 8px;
    color: var(--text-light);
}

.breadcrumbs li:last-child::after {
    content: "";
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

/* ===== PAGE TEMPLATES ===== */
.page-content {
    margin-top: 80px;
    padding: 80px 0 100px;
    background: var(--background);
}

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

.content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--text-primary);
}

.content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0 8px;
    color: var(--text-primary);
}

.content p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.content ul {
    margin: 12px 0 16px 18px;
    color: var(--text-secondary);
}

/* ===== FAQ ===== */
.faq {
    margin-top: 40px;
}

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

.faq-item {
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===== RELATED SECTION ===== */
.related {
    margin-top: 40px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
}

.related h2 {
    font-size: 20px;
    margin-bottom: 16px;
    border-top: none;
    padding-top: 0;
}

.related ul {
    margin-left: 18px;
}

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

/* ===== EXPLORE SECTION ===== */
.explore {
    margin-bottom: 40px;
    padding: 24px;
    background: var(--background-alt);
    border-radius: var(--radius-md);
}

.explore h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.explore h3 {
    font-size: 16px;
    color: var(--primary);
    margin: 20px 0 12px;
}

.explore ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.explore a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

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

/* ===== 404 PAGE ===== */
.not-found {
    text-align: center;
    padding: 80px 0;
}

.not-found h1 {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.not-found h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.not-found p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.not-found-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-blog h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 18px;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-meta {
        flex-direction: column;
        gap: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .cta h2 {
        font-size: 32px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .blog-article {
        padding: 24px;
    }

    .blog-article h1 {
        font-size: 28px;
    }

    .blog-article h2 {
        font-size: 24px;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

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

    .page-content {
        padding: 60px 0 80px;
    }

    .content h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-blog h1 {
        font-size: 26px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .cta h2 {
        font-size: 26px;
    }

    .blog-article {
        padding: 20px;
    }

    .blog-article h1 {
        font-size: 24px;
    }

    .blog-article h2 {
        font-size: 20px;
    }

    .blog-article p {
        font-size: 16px;
    }

    .cta-blog {
        padding: 30px 20px;
    }

    .cta-blog h2 {
        font-size: 22px;
    }
}

/* CTA Blog Component */
.cta-blog {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5a4a 100%);
    border-radius: 16px;
    padding: 48px 40px;
    margin: 48px 0;
    text-align: center;
    color: white;
}

.cta-blog-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-blog-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.cta-blog .btn-primary {
    background: white !important;
    color: #1a5a4a !important;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.cta-blog .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #1a5a4a !important;
}

.cta-trust {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.9;
}

.cta-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.table-wrapper th,
.table-wrapper td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.table-wrapper th {
    background: #f9fafb;
    font-weight: 600;
    color: var(--text-primary);
}

.table-wrapper tr:hover {
    background: #f9fafb;
}

.table-wrapper td {
    color: var(--text-secondary);
}
