/* Custom CSS variables and base styles */
:root {
    --primary-blue: #2563eb; /* blue-600 */
    --secondary-gray: #6b7280;
    --light-blue: #dbeafe;
    --faq-blue: #f9fafb;
    --off-white: #f9fafb;
    --darker-blue: #0f1c4b;
    --dark-blue: #1e3a8a;
    --blue: #3b82f6;
    --footer-bg: #1f2937;
    --buy-now-orange: #f97316;
    --pricing-alt-bg: #eff6ff;
    --highlight-border: #22c55e;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
}

/* Progress bar styles for network statistics */
.progress-bar {
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 0.75rem;
    overflow: hidden;
}

.dark .progress-bar {
    background-color: #374151;
}

.progress-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.3s ease-in-out;
}

.progress-fill-blue { background-color: #2563eb; }
.progress-fill-green { background-color: #16a34a; }
.progress-fill-orange { background-color: #ea580c; }
.progress-fill-purple { background-color: #9333ea; }
.progress-fill-red { background-color: #dc2626; }
.progress-fill-yellow { background-color: #ca8a04; }
.progress-fill-indigo { background-color: #4f46e5; }
.progress-fill-pink { background-color: #db2777; }
.progress-fill-teal { background-color: #0d9488; }
.progress-fill-cyan { background-color: #0891b2; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
}

/* Ensure all clickable elements have proper cursor behavior */
a, button, [role="button"], [onclick] {
    cursor: pointer !important;
}

/* Ensure non-clickable elements don't have pointer cursor */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
    cursor: text !important;
}

.navbar.scrolled {
    padding-top: var(--space-xs);
    padding-bottom: var(--space-xs);
}

.buy-now-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.buy-now-btn:active {
    opacity: 0.7;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #ea580c, #d97706); 
    transform: translateY(-2px);
}

.btn-cta:active {
    opacity: 0.7;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-table .card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-table .card.popular::before {
    content: "Popular";
    position: absolute;
    top: 20px;
    right: -40px;
    background-color: var(--highlight-border);
    color: #ffffff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: 600;
}

.accordion-button .fa-plus {
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .fa-plus {
    transform: rotate(45deg);
}

section[id] {
    scroll-margin-top: 80px; 
}

/* News Article Heading Hierarchy */
.news-heading-h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    color: #1f2937 !important;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.dark .news-heading-h2 {
    color: #f9fafb !important;
    border-bottom-color: #374151;
}

.news-heading-h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    color: #374151 !important;
}

.dark .news-heading-h3 {
    color: #e5e7eb !important;
}

.news-heading-h4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-top: 1.25rem !important;
    margin-bottom: 0.5rem !important;
    color: #4b5563 !important;
}

.dark .news-heading-h4 {
    color: #d1d5db !important;
}

/* Responsive heading sizes */
@media (max-width: 768px) {
    .news-heading-h2 {
        font-size: 1.75rem !important;
        margin-top: 1.5rem !important;
    }
    
    .news-heading-h3 {
        font-size: 1.375rem !important;
        margin-top: 1.25rem !important;
    }
    
    .news-heading-h4 {
        font-size: 1.125rem !important;
        margin-top: 1rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .pricing-table .card,
    .btn-cta,
    .buy-now-btn,
    .navbar,
    .hero-section,
    .accordion-button .fa-plus,
    .footer a,
    .language-dropdown .dropdown-menu {
        transition: none !important;
        animation: none !important;
    }
}
