/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--white);
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: var(--primary-600);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* ============================================
   Header & Navbar (matches main site style)
   ============================================ */
body > header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body > header > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: 40px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-billing { color: var(--primary-800); }
.logo-fast { color: var(--primary-600); }

.nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
        align-items: center;
    }
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-600);
}

.cta-buttons {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 992px) {
    .cta-buttons {
        display: flex;
    }
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

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

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

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

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

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

@media (min-width: 992px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    gap: 1rem;
}

.nav-links.active li a {
    display: block;
    padding: 0.5rem 0;
}

/* Mobile CTA buttons inside nav-links */
.nav-links .mobile-cta {
    display: none;
}

.nav-links.active .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-200);
    margin-top: 0.5rem;
}

.nav-links.active .mobile-cta .btn {
    text-align: center;
}

/* ============================================
   Main Layout
   ============================================ */
.main {
    padding-top: 5rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.article-content {
    max-width: 800px;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--gray-500);
}

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

.breadcrumb-separator {
    color: var(--gray-300);
}

/* ============================================
   Article Header
   ============================================ */
.article-header {
    margin-bottom: 2.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.article-category {
    background-color: var(--primary-600);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-date {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.article-read-time {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.article-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .article-title {
        font-size: 2.5rem;
    }
}

.article-excerpt {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   Cover Image
   ============================================ */
.cover-image {
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Article Content (Prose)
   ============================================ */
.article-content {
    color: var(--gray-700);
}

.article-content h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-100);
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

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

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

.article-content ul,
.article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

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

.article-content ul li {
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

.article-content img {
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-content a {
    color: var(--primary-600);
    font-weight: 500;
}

.article-content a:hover {
    color: var(--primary-700);
}

.article-content blockquote {
    border-left: 4px solid var(--primary-600);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--gray-600);
    background-color: var(--gray-50);
    padding: 1rem 1.25rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.article-content code {
    background-color: var(--gray-100);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: var(--primary-700);
}

.article-content pre {
    background-color: var(--gray-900);
    color: var(--gray-100);
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

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

.article-content hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 2rem 0;
}

/* ============================================
   Tags
   ============================================ */
/* ============================================
   Features Grid Section
   ============================================ */
.features-grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-box {
    background-color: var(--gray-50);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.feature-box h3 {
    color: var(--primary-600);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-600);
}

.feature-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-box li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-200);
}

.feature-box li:last-child {
    border-bottom: none;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.tag {
    background-color: var(--gray-100);
    color: var(--gray-700);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ============================================
   Author Box
   ============================================ */
.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: var(--gray-50);
    border-radius: 0.75rem;
}

.author-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    border-top: 1px solid var(--gray-200);
    margin-top: 4rem;
    padding: 2rem 0;
    background-color: var(--gray-50);
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.footer-logo-img {
    height: 1.5rem;
    width: 1.5rem;
}

.footer-logo-text {
    font-weight: 600;
    color: var(--gray-800);
}

.copyright {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-200);
    color: var(--gray-700);
    transition: background-color 0.2s, color 0.2s;
}

.footer-social-link:hover {
    background-color: var(--primary-600);
    color: var(--white);
    text-decoration: none;
}

.footer-app-btn {
    font-size: 0.875rem;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .footer-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 639px) {
    .footer-links {
        order: 2;
    }

    .copyright {
        order: 3;
    }
}

/* ============================================
   Social Links (Footer)
   ============================================ */
.social-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--gray-700);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
    background-color: var(--primary-600);
    color: var(--white);
    transform: scale(1.1);
    text-decoration: none;
}

.social-link i {
    font-size: 1.25rem;
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.whatsapp-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.whatsapp-sticky i {
    font-size: 1.75rem;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 640px) {
    .article-title {
        font-size: 1.75rem;
    }

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

    .article-content h3 {
        font-size: 1.125rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }
}

/* ============================================
   Feature Section - Side by Side Layout
   ============================================ */
.feature-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .feature-section {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .feature-section.reverse {
        flex-direction: row-reverse;
    }
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 0;
}

.feature-content .feature-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

.feature-content p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.feature-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-content ul {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.feature-content li {
    margin-bottom: 0.375rem;
    list-style-type: disc;
}

.feature-content a {
    color: var(--primary-600);
    font-weight: 500;
}

.feature-content a:hover {
    color: var(--primary-700);
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image img {
    width: 100%;
    max-width: 450px;
    max-height: 300px;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Cover Image Box
   ============================================ */
.img-box {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
}

.img-box img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Comparison Table
   ============================================ */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comparison-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 0.875rem;
    background-color: var(--white);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    color: var(--white);
}

.comparison-table th {
    padding: 1rem 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
    border-bottom: 2px solid var(--gray-200);
}

.comparison-table th:first-child {
    text-align: left;
    padding-left: 1.25rem;
}

.comparison-table th.highlight {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

.comparison-table td {
    padding: 0.875rem 0.75rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

.comparison-table td:first-child {
    text-align: left;
    padding-left: 1.25rem;
    background-color: var(--gray-50);
    font-weight: 500;
}

.comparison-table td.highlight {
    background-color: rgba(37, 99, 235, 0.08);
}

.comparison-table tbody tr:hover {
    background-color: var(--gray-50);
}

.comparison-table tbody tr:hover td.highlight {
    background-color: rgba(37, 99, 235, 0.12);
}

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

/* Status indicators */
.status-yes {
    color: #059669;
    font-weight: 600;
}

.status-no {
    color: #dc2626;
    font-weight: 500;
}

.status-limited {
    color: #d97706;
    font-weight: 500;
    font-size: 0.8rem;
}

/* Responsive adjustments for comparison table */
@media (max-width: 768px) {
    .comparison-table-wrapper {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
    }

    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.625rem 0.5rem;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        padding-left: 1rem;
    }
}

