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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-muted);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.5px; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

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

a:hover {
    color: var(--accent-color);
}

/* Reusable styling for geo/country links across pages */
a.geo-link {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

a.geo-link:hover,
a.geo-link:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

ul, ol {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section {
    padding: var(--space-lg) 0;
}

.section-bg {
    background-color: var(--bg-subtle);
}

.section-dark {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.section-dark h2, .section-dark h3, .section-dark p {
    color: var(--text-light);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(8, 106, 216, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(8, 106, 216, 0); }
    100% { box-shadow: 0 0 0 0 rgba(8, 106, 216, 0); }
}
