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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --accent-glow: rgba(245, 158, 11, 0.2);
    --success-color: #10b981;
    --danger-color: #ef4444;
    --background: #f8fafc;
    --background-light: #f1f5f9;
    --surface: #ffffff;
    --surface-light: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

/* Navigation */
header {
    background: var(--surface);
    border-bottom: 1px solid var(--border-color);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-primary);
}

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

.logo i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border-bottom: none;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: var(--surface-light);
    text-decoration: none;
}

.nav-links a.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
    text-decoration: none;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-muted);
    opacity: 0.5;
}

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

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

.breadcrumbs li[aria-current="page"] {
    color: var(--text-primary);
    font-weight: 500;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.hero p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 450px;
    margin: 0 auto;
}

.hero-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Intro Section */
.intro {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.intro p:last-child {
    margin-bottom: 0;
}

/* Plug Types Grid */
.plug-types {
    margin-bottom: 3rem;
}

.plug-types > h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plug-types > h2 i {
    color: var(--accent-color);
}

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

.plug-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.2s ease;
}

.plug-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
}

.plug-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.plug-header h3 {
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.voltage {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.plug-visual {
    padding: 2rem;
    background: var(--surface-light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

/* Base plug icon - represents the socket face */
.plug-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #e8e8e8, #d0d0d0);
    border-radius: 12px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.15);
}

/* Type A - Two flat parallel vertical pins */
.type-a-icon::before,
.type-a-icon::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 22px;
    background: linear-gradient(90deg, #c9a227, #d4af37, #c9a227);
    border-radius: 1px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}
.type-a-icon::before { left: 22px; }
.type-a-icon::after { right: 22px; }

/* Type B - Two flat pins + round ground below */
.type-b-icon::before,
.type-b-icon::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, #c9a227, #d4af37, #c9a227);
    box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}
.type-b-icon::before {
    width: 5px;
    height: 20px;
    border-radius: 1px;
    top: 16px;
    left: 22px;
}
.type-b-icon::after {
    width: 5px;
    height: 20px;
    border-radius: 1px;
    top: 16px;
    right: 22px;
}
.type-b-icon .ground-pin {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}

/* Type C - Two round pins (Europlug) */
.type-c-icon::before,
.type-c-icon::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}
.type-c-icon::before { left: 18px; }
.type-c-icon::after { right: 18px; }

/* Type D - Three large round pins in triangle */
.type-d-icon::before,
.type-d-icon::after {
    content: '';
    position: absolute;
    width: 11px;
    height: 11px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}
.type-d-icon::before { top: 38px; left: 16px; }
.type-d-icon::after { top: 38px; right: 16px; }
.type-d-icon .ground-pin {
    position: absolute;
    width: 13px;
    height: 13px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}

/* Type E - Two round pins + ground hole above */
.type-e-icon::before,
.type-e-icon::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}
.type-e-icon::before { bottom: 18px; left: 18px; }
.type-e-icon::after { bottom: 18px; right: 18px; }
.type-e-icon .socket-ground {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #555, #333);
    border-radius: 50%;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}

/* Type F - Two round pins + side grounding clips (Schuko) */
.type-f-icon::before,
.type-f-icon::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}
.type-f-icon::before { left: 18px; }
.type-f-icon::after { right: 18px; }
.type-f-icon .ground-clip {
    position: absolute;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #2dd4bf, #14b8a6);
    border-radius: 2px;
    top: 50%;
    transform: translateY(-50%);
}
.type-f-icon .ground-clip.left { left: 5px; }
.type-f-icon .ground-clip.right { right: 5px; }

/* Type G - Three rectangular pins (UK) - triangle formation */
.type-g-icon .pin {
    position: absolute;
    background: linear-gradient(90deg, #c9a227, #d4af37, #c9a227);
    box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}
.type-g-icon .pin:nth-child(1) {
    width: 18px;
    height: 5px;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
}
.type-g-icon .pin:nth-child(2) {
    width: 5px;
    height: 14px;
    bottom: 16px;
    left: 18px;
    border-radius: 1px;
}
.type-g-icon .pin:nth-child(3) {
    width: 5px;
    height: 14px;
    bottom: 16px;
    right: 18px;
    border-radius: 1px;
}

/* Type H - Two flat V-shaped pins + ground on top (Israel) */
.type-h-icon .pin {
    position: absolute;
    width: 5px;
    height: 18px;
    background: linear-gradient(90deg, #c9a227, #d4af37, #c9a227);
    border-radius: 1px;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}
.type-h-icon .pin:nth-child(1) {
    bottom: 16px;
    left: 18px;
    transform: rotate(-10deg);
}
.type-h-icon .pin:nth-child(2) {
    bottom: 16px;
    right: 18px;
    transform: rotate(10deg);
}
.type-h-icon .ground-pin {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}

/* Type I - Two flat angled pins in V + vertical ground (Australia) */
.type-i-icon .pin {
    position: absolute;
    width: 5px;
    height: 16px;
    background: linear-gradient(90deg, #c9a227, #d4af37, #c9a227);
    border-radius: 1px;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}
.type-i-icon .pin:nth-child(1) {
    bottom: 18px;
    left: 17px;
    transform: rotate(30deg);
}
.type-i-icon .pin:nth-child(2) {
    bottom: 18px;
    right: 17px;
    transform: rotate(-30deg);
}
.type-i-icon .ground-pin {
    position: absolute;
    width: 5px;
    height: 16px;
    background: linear-gradient(90deg, #14b8a6, #2dd4bf, #14b8a6);
    border-radius: 1px;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}

/* Type J - Two round pins + offset ground (Swiss) */
.type-j-icon::before,
.type-j-icon::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}
.type-j-icon::before { top: 22px; left: 16px; }
.type-j-icon::after { top: 22px; right: 16px; }
.type-j-icon .ground-pin {
    position: absolute;
    width: 9px;
    height: 9px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}

/* Type K - Two round pins + ground below center (Danish) */
.type-k-icon::before,
.type-k-icon::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}
.type-k-icon::before { top: 18px; left: 16px; }
.type-k-icon::after { top: 18px; right: 16px; }
.type-k-icon .ground-pin {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}

/* Type L - Three round pins in a horizontal row (Italian) */
.type-l-icon .pin {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}
.type-l-icon .pin:nth-child(1) { left: 12px; }
.type-l-icon .pin:nth-child(2) {
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
}
.type-l-icon .pin:nth-child(3) { right: 12px; }

/* Type M - Three large round pins in triangle (South Africa) */
.type-m-icon::before,
.type-m-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}
.type-m-icon::before { bottom: 16px; left: 14px; }
.type-m-icon::after { bottom: 16px; right: 14px; }
.type-m-icon .ground-pin {
    position: absolute;
    width: 14px;
    height: 14px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}

/* Type N - Two round pins + center ground (Brazil) */
.type-n-icon::before,
.type-n-icon::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}
.type-n-icon::before { top: 20px; left: 15px; }
.type-n-icon::after { top: 20px; right: 15px; }
.type-n-icon .ground-pin {
    position: absolute;
    width: 9px;
    height: 9px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}

/* Type O - Two round pins + ground pin (Thailand) */
.type-o-icon::before,
.type-o-icon::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}
.type-o-icon::before { top: 22px; left: 16px; }
.type-o-icon::after { top: 22px; right: 16px; }
.type-o-icon .ground-pin {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}

.plug-details {
    padding: 1.75rem;
}

.plug-details p {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.plug-details p strong {
    color: var(--text-primary);
}

.plug-details .description {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Voltage Info Section */
.voltage-info {
    margin-bottom: 3rem;
}

.voltage-info > h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.voltage-info > h2 i {
    color: var(--accent-color);
}

.voltage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.voltage-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.voltage-card:hover {
    box-shadow: var(--shadow-lg);
}

.voltage-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.voltage-card ul {
    list-style: none;
    margin-top: 1rem;
}

.voltage-card li {
    padding: 0.35rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.voltage-card li::before {
    content: "\f0e7";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
    font-size: 0.75rem;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.cta h2 {
    margin-bottom: 0.5rem;
}

.cta p {
    margin-bottom: 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin: 0.25rem;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    background: var(--surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: var(--surface-light);
    color: var(--text-primary);
}

/* Country Page Styles */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.country-card {
    background: var(--surface);
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.country-card:hover {
    box-shadow: var(--shadow-lg);
}

.country-card h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.country-card .flag {
    font-size: 1.75rem;
}

.country-card .info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.country-card .info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.country-card .info i {
    color: var(--accent-color);
    width: 16px;
}

.country-card .plug-types-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.plug-type-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Filter/Search */
.search-filter {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.search-box {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box input {
    flex: 1;
    min-width: 200px;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--background);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-box select {
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--background);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-box select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Safety Page Styles */
.safety-section {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.safety-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.safety-section h3 i {
    color: var(--accent-color);
}

.safety-section h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.safety-section ul {
    list-style: none;
}

.safety-section li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.safety-section li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-left: 4px solid var(--accent-color);
    padding: 1.25rem 1.75rem;
    margin: 1.75rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.warning-box h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-box h4::before {
    content: "\f071";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.warning-box p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.warning-box p:last-child {
    margin-bottom: 0;
}

.danger-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-left: 4px solid var(--danger-color);
    padding: 1.25rem 1.75rem;
    margin: 1.75rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.danger-box h4 {
    color: var(--danger-color);
    margin-bottom: 0.5rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.danger-box h4::before {
    content: "\f06a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.danger-box p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.danger-box p:last-child {
    margin-bottom: 0;
}

/* Travel Guide Styles */
.checklist {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.checklist h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checklist h3 i {
    color: var(--accent-color);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.checklist-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checklist-item label {
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.checklist-item:hover label {
    color: var(--text-primary);
}

.adapter-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.adapter-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.2s ease;
}

.adapter-card:hover {
    box-shadow: var(--shadow-lg);
}

.adapter-card h4 {
    margin-bottom: 0.75rem;
}

.adapter-card .price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0.75rem 0;
}

.adapter-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.adapter-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1.25rem;
}

.adapter-card li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.adapter-card li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--success-color);
    font-size: 0.75rem;
}

/* FAQ Section */
.faq {
    margin-bottom: 3rem;
}

.faq > h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.faq > h2 i {
    color: var(--accent-color);
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: inherit;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--surface-light);
}

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: var(--surface-light);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 2.5rem 2rem 1rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/footer-bg.jpg') center -90% no-repeat;
    background-size: cover;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

footer > * {
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 55px;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h4 i {
    color: var(--accent-color);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.footer-section a i {
    color: var(--primary-light);
    width: 16px;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Region Headers */
.region-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius);
    margin: 2.5rem 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.region-header i {
    font-size: 1.25rem;
}

.region-header h3 {
    color: white;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.1rem; }

    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 0.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 1.5rem 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .plug-grid,
    .country-grid {
        grid-template-columns: 1fr;
    }

    main {
        padding: 1rem;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box input,
    .search-box select {
        width: 100%;
    }

    .intro,
    .safety-section,
    .checklist {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    header, footer, .cta {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .plug-card,
    .country-card {
        break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Legal Pages */
.legal-page {
    padding: 2rem 0 4rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.legal-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

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

.legal-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }
}

/* Contact Page */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    background: var(--surface-light);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Cookie & Disclaimer Tables */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

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

.cookie-table th {
    background: var(--surface-light);
    font-weight: 600;
    color: var(--text-primary);
}

.cookie-table td {
    background: var(--surface);
    color: var(--text-secondary);
}

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

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(234, 88, 12, 0.05));
    border: 1px solid #f59e0b;
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1.5rem 0;
}

.warning-box i {
    font-size: 1.5rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.warning-box p {
    margin: 0;
    color: var(--text-primary);
}

/* Prefooter */
.prefooter {
    background: #fff;
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 4rem 2rem;
}

.prefooter .container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.prefooter-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    text-align: center;
}

.prefooter-plugs {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    gap: 1.15rem;
    max-width: 950px;
    margin: 0 auto;
}

.prefooter-plugs a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.prefooter-plugs a:hover {
    transform: scale(1.1);
}

.prefooter-plugs .mini-plug {
    width: 26px;
    height: 26px;
    border-radius: 5px;
    box-shadow: none;
    transform: scale(1.7);
    margin: 8px;
}

.prefooter-plugs a span.label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.prefooter-countries {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    max-width: 950px;
    margin: 0 auto;
}

.prefooter-countries a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.prefooter-countries a:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

@media (max-width: 900px) {
    .prefooter-plugs {
        grid-template-columns: repeat(8, 1fr);
    }

    .prefooter-countries {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .prefooter {
        padding: 2rem 1rem;
    }

    .prefooter-plugs {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }

    .prefooter-plugs .mini-plug {
        transform: scale(1.4);
        margin: 5px;
    }

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

    .prefooter-countries a {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
}

/* Mini plug icons */
.mini-plug {
    width: 26px;
    height: 26px;
    background: linear-gradient(145deg, #e8e8e8, #d0d0d0);
    border-radius: 5px;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* Type A - Two flat vertical pins */
.mini-plug.type-a::before, .mini-plug.type-a::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 10px;
    background: linear-gradient(90deg, #c9a227, #d4af37, #c9a227);
    border-radius: 0.5px;
    top: 50%;
    transform: translateY(-50%);
}
.mini-plug.type-a::before { left: 7px; }
.mini-plug.type-a::after { right: 7px; }

/* Type B - Two flat pins + ground */
.mini-plug.type-b::before, .mini-plug.type-b::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, #c9a227, #d4af37, #c9a227);
}
.mini-plug.type-b::before {
    width: 2px;
    height: 8px;
    top: 6px;
    left: 7px;
}
.mini-plug.type-b::after {
    width: 2px;
    height: 8px;
    top: 6px;
    right: 7px;
}
.mini-plug.type-b .gnd {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Type C - Two round pins */
.mini-plug.type-c::before, .mini-plug.type-c::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.mini-plug.type-c::before { left: 5px; }
.mini-plug.type-c::after { right: 5px; }

/* Type D - Three large pins triangle */
.mini-plug.type-d::before, .mini-plug.type-d::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
}
.mini-plug.type-d::before { bottom: 6px; left: 5px; }
.mini-plug.type-d::after { bottom: 6px; right: 5px; }
.mini-plug.type-d .gnd {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Type E - Two round + ground hole */
.mini-plug.type-e::before, .mini-plug.type-e::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
}
.mini-plug.type-e::before { bottom: 6px; left: 5px; }
.mini-plug.type-e::after { bottom: 6px; right: 5px; }
.mini-plug.type-e .gnd {
    position: absolute;
    width: 5px;
    height: 5px;
    background: linear-gradient(145deg, #555, #333);
    border-radius: 50%;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

/* Type F - Two round + side clips */
.mini-plug.type-f::before, .mini-plug.type-f::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.mini-plug.type-f::before { left: 5px; }
.mini-plug.type-f::after { right: 5px; }
.mini-plug.type-f .clip-l, .mini-plug.type-f .clip-r {
    position: absolute;
    width: 2px;
    height: 8px;
    background: linear-gradient(180deg, #2dd4bf, #14b8a6);
    border-radius: 1px;
    top: 50%;
    transform: translateY(-50%);
}
.mini-plug.type-f .clip-l { left: 1px; }
.mini-plug.type-f .clip-r { right: 1px; }

/* Type G - Three rectangular UK */
.mini-plug.type-g .p1, .mini-plug.type-g .p2, .mini-plug.type-g .p3 {
    position: absolute;
    background: linear-gradient(90deg, #c9a227, #d4af37, #c9a227);
}
.mini-plug.type-g .p1 {
    width: 8px;
    height: 2px;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}
.mini-plug.type-g .p2 {
    width: 2px;
    height: 7px;
    bottom: 5px;
    left: 6px;
}
.mini-plug.type-g .p3 {
    width: 2px;
    height: 7px;
    bottom: 5px;
    right: 6px;
}

/* Type H - V-shaped + ground top */
.mini-plug.type-h .p1, .mini-plug.type-h .p2 {
    position: absolute;
    width: 2px;
    height: 8px;
    background: linear-gradient(90deg, #c9a227, #d4af37, #c9a227);
}
.mini-plug.type-h .p1 { bottom: 5px; left: 6px; transform: rotate(-10deg); }
.mini-plug.type-h .p2 { bottom: 5px; right: 6px; transform: rotate(10deg); }
.mini-plug.type-h .gnd {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Type I - Angled V + vertical ground */
.mini-plug.type-i .p1, .mini-plug.type-i .p2 {
    position: absolute;
    width: 2px;
    height: 7px;
    background: linear-gradient(90deg, #c9a227, #d4af37, #c9a227);
}
.mini-plug.type-i .p1 { bottom: 6px; left: 5px; transform: rotate(30deg); }
.mini-plug.type-i .p2 { bottom: 6px; right: 5px; transform: rotate(-30deg); }
.mini-plug.type-i .gnd {
    position: absolute;
    width: 2px;
    height: 7px;
    background: linear-gradient(90deg, #14b8a6, #2dd4bf, #14b8a6);
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Type J - Two round + offset ground */
.mini-plug.type-j::before, .mini-plug.type-j::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
}
.mini-plug.type-j::before { top: 7px; left: 5px; }
.mini-plug.type-j::after { top: 7px; right: 5px; }
.mini-plug.type-j .gnd {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
}

/* Type K - Two round + ground below center */
.mini-plug.type-k::before, .mini-plug.type-k::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
}
.mini-plug.type-k::before { top: 6px; left: 5px; }
.mini-plug.type-k::after { top: 6px; right: 5px; }
.mini-plug.type-k .gnd {
    position: absolute;
    width: 5px;
    height: 5px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Type L - Three in a row */
.mini-plug.type-l .p1, .mini-plug.type-l .p2, .mini-plug.type-l .p3 {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.mini-plug.type-l .p1 { left: 3px; }
.mini-plug.type-l .p2 { left: 50%; transform: translate(-50%, -50%); background: linear-gradient(145deg, #2dd4bf, #14b8a6); }
.mini-plug.type-l .p3 { right: 3px; }

/* Type M - Large triangle */
.mini-plug.type-m::before, .mini-plug.type-m::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
}
.mini-plug.type-m::before { bottom: 5px; left: 4px; }
.mini-plug.type-m::after { bottom: 5px; right: 4px; }
.mini-plug.type-m .gnd {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Type N - Two round + center ground */
.mini-plug.type-n::before, .mini-plug.type-n::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
}
.mini-plug.type-n::before { top: 7px; left: 5px; }
.mini-plug.type-n::after { top: 7px; right: 5px; }
.mini-plug.type-n .gnd {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
}

/* Type O - Two round + ground */
.mini-plug.type-o::before, .mini-plug.type-o::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: linear-gradient(145deg, #d4af37, #c9a227);
    border-radius: 50%;
}
.mini-plug.type-o::before { top: 7px; left: 5px; }
.mini-plug.type-o::after { top: 7px; right: 5px; }
.mini-plug.type-o .gnd {
    position: absolute;
    width: 5px;
    height: 5px;
    background: linear-gradient(145deg, #2dd4bf, #14b8a6);
    border-radius: 50%;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===========================================
   PRINT STYLES
   =========================================== */
@media print {
    /* Reset colors for print */
    * {
        color: #000 !important;
        background: #fff !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* Hide non-essential elements */
    header,
    footer,
    .prefooter,
    .breadcrumbs,
    .nav-links,
    .dropdown-menu,
    .btn,
    .cta,
    .related-countries,
    .search-filter,
    .map-container,
    .filters-panel {
        display: none !important;
    }

    /* Reset main container */
    main {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Typography adjustments */
    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    h1 {
        font-size: 18pt;
        margin-bottom: 0.5em;
    }

    h2 {
        font-size: 14pt;
        margin-top: 1em;
        margin-bottom: 0.5em;
    }

    h3 {
        font-size: 12pt;
    }

    /* Links */
    a {
        text-decoration: underline;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        font-weight: normal;
    }

    /* Tables */
    table {
        border-collapse: collapse;
        width: 100%;
    }

    th, td {
        border: 1px solid #ccc;
        padding: 0.5em;
        text-align: left;
    }

    /* Cards and grids */
    .plug-grid,
    .country-grid,
    .quick-facts {
        display: block !important;
    }

    .plug-card,
    .country-card,
    .fact-card {
        border: 1px solid #ccc !important;
        margin-bottom: 1em;
        padding: 1em;
        page-break-inside: avoid;
    }

    /* Page breaks */
    h1, h2, h3 {
        page-break-after: avoid;
    }

    .plug-card,
    .country-card,
    section {
        page-break-inside: avoid;
    }

    /* Hero section */
    .hero,
    .country-hero,
    .plug-hero {
        padding: 0 !important;
        margin-bottom: 1em !important;
    }

    /* Mini plug icons - show as text in print */
    .mini-plug {
        display: none !important;
    }

    /* Show plug type as text in country pages */
    .plug-type-card::before {
        content: attr(data-type);
        font-weight: bold;
    }

    /* Print header */
    main::before {
        content: "PlugTypes.com";
        display: block;
        font-size: 10pt;
        color: #666 !important;
        margin-bottom: 1em;
        padding-bottom: 0.5em;
        border-bottom: 1px solid #ccc;
    }

    /* Print footer */
    main::after {
        content: "Source: https://plugtypes.com | Printed on " attr(data-print-date);
        display: block;
        font-size: 9pt;
        color: #666 !important;
        margin-top: 2em;
        padding-top: 0.5em;
        border-top: 1px solid #ccc;
    }
}
