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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust based on navbar height */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

/* Header styles are in header.css */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(239, 68, 68, 0.5);
}

.hero-features {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.95;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Container and Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

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

.comparison-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .check {
    color: var(--secondary);
    font-weight: bold;
}

.comparison-table .cross {
    color: #ef4444;
    font-weight: bold;
}

/* Calculator */
.calculator {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.calculator h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group small {
    color: var(--text-light);
    display: block;
    margin-top: 0.25rem;
}

/* Result Box */
.result-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--primary);
}

.result-box h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.result-column-success {
    background: #f0fdf4;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--secondary);
}

.result-column-warning {
    background: #fef2f2;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #ef4444;
}

.result-column-success h5 {
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.result-column-warning h5 {
    color: #ef4444;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.result-column-success .result-item {
    border-color: #d1fae5;
}

.result-column-warning .result-item {
    border-color: #fecaca;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item-separator {
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
}

.result-column-warning .result-item-separator {
    border-bottom: 2px solid #ef4444;
}

.result-value {
    font-weight: 600;
    color: var(--text);
}

.result-value-highlight {
    font-weight: 700;
    font-size: 1.1rem;
}

.result-value-success {
    color: var(--secondary);
    font-weight: 700;
}

.result-value-neutral {
    color: #6b7280;
}

.result-summary {
    background: linear-gradient(135deg, var(--secondary) 0%, #059669 100%);
    color: white;
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: center;
}

.result-summary h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.result-summary-value {
    font-size: 2rem;
    font-weight: 700;
}

.result-summary-percent {
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

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

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.875rem 2rem;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #059669;
}

#newsletter-feedback {
    margin-top: 1rem;
    display: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WhatsApp Float */
#whatsapp-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.whatsapp-float {
    position: relative;
}

.whatsapp-button {
    background: #25d366;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    cursor: pointer;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 50%;
    right: 80px;
    transform: translateY(50%);
    background: white;
    color: var(--text);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
    opacity: 1;
    transition: opacity 0.3s;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-tooltip.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Info Tooltip */
.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    cursor: help;
    margin-left: 0.25rem;
}

.info-tooltip:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    white-space: normal;
    width: 200px;
    text-align: center;
    font-size: 12px;
    font-weight: normal;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.info-tooltip:hover::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--text);
}

/* Footer */
footer {
    background: var(--text);
    color: white;
    padding: 2rem;
    text-align: center;
}

footer p {
    margin-top: 1rem;
    opacity: 0.8;
}

footer p:first-child {
    margin-top: 0;
    opacity: 1;
}

/* FAQ */
.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: var(--text-light);
    margin-top: 0.5rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Highlight Boxes */
.highlight-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-box strong {
    color: #92400e;
}

.highlight-danger {
    background: linear-gradient(135deg, #fef3c7 0%, #fef3c7 100%);
    border-left: 4px solid #ef4444;
}

.highlight-danger strong {
    color: #92400e;
    font-size: 1.1rem;
}

.highlight-content {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.highlight-badge {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    min-width: fit-content;
}

.warning-banner {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 3px solid #ef4444;
}

.warning-banner h3 {
    color: #ef4444;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.warning-banner p {
    text-align: center;
    font-size: 1.1rem;
    color: #991b1b;
}

/* Blog Styles */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.25rem;
    color: var(--text-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.blog-card.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.blog-card.locked:hover {
    transform: none;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.blog-card.locked .blog-card-image::after {
    content: '🔒';
    position: absolute;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-card-category {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.read-time {
    font-size: 0.875rem;
    color: var(--text-light);
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    text-decoration: underline;
}

.blog-card.locked .read-more {
    color: var(--text-light);
    cursor: not-allowed;
}

.unlock-date {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #92400e;
    margin-top: 1rem;
}

/* Article Styles */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.article-header {
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.article-category {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text);
}

.article-excerpt {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text);
}

.article-content h2 {
    font-size: 1.875rem;
    margin: 2.5rem 0 1rem 0;
    color: var(--text);
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--text);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content strong {
    color: var(--text);
    font-weight: 600;
}

.article-content .highlight-box {
    background: #f0f9ff;
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.article-content .highlight-box strong {
    color: var(--primary);
}

.article-content .warning-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.article-content .success-box {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    margin-bottom: 1rem;
    color: white;
}

.cta-box p {
    color: white;
    opacity: 0.95;
}

.cta-box .btn {
    background: white;
    color: var(--primary);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.share-facebook {
    background: #1877f2;
    color: white;
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-whatsapp {
    background: #25d366;
    color: white;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50%) translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(50%) translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .nav-links {
        display: none;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .result-grid {
        grid-template-columns: 1fr !important;
    }

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

    .blog-header h1 {
        font-size: 2rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }
}