/* IsItUpDown.com - Main Stylesheet */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-glow: rgba(59, 130, 246, 0.18);
    --success: #10b981;
    --success-bg: #d1fae5;
    --success-color: #065f46;
    --danger: #ef4444;
    --danger-bg: #fee2e2;
    --danger-color: #991b1b; 
    --lookup-bg: #f3f4f6;
    --warning: #f59e0b;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --bg-card: #ffffff;
    --bg-secondary: #f3f4f6;
    --border-color: #e5e7eb;
    --primary-color: var(--primary);
    --color-danger: var(--danger);
    --color-warning: var(--warning);
    --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;
    --page-bg: #f5f7fb;
    --page-bg-accent: #eef4ff;
    --page-spot-warm: rgba(251, 146, 60, 0.16);
    --page-spot-cool: rgba(14, 165, 233, 0.16);
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    position: relative;
    background:
        radial-gradient(circle at top left, var(--primary-glow) 0, rgba(59, 130, 246, 0) 30%),
        radial-gradient(circle at 85% 18%, var(--page-spot-warm) 0, rgba(251, 146, 60, 0) 24%),
        radial-gradient(circle at 18% 78%, var(--page-spot-cool) 0, rgba(14, 165, 233, 0) 26%),
        linear-gradient(180deg, var(--page-bg-accent) 0%, var(--page-bg) 38%, #ffffff 100%);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    min-width: 340px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    isolation: isolate;
}

body.menu-open {
    overflow: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    border-radius: 999px;
    pointer-events: none;
    z-index: -1;
    filter: blur(6px);
}

body::before {
    top: 6rem;
    right: -6rem;
    width: 22rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0.06) 42%, rgba(59, 130, 246, 0) 72%);
}

body::after {
    left: -8rem;
    bottom: 5rem;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.05) 38%, rgba(16, 185, 129, 0) 72%);
}


.country-check-section { 
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: left;
}

.country-check-section h2 {
    margin-bottom: 0.5rem;
}

.country-check-section .section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.country-check-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.country-check-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.country-check-shortcut.is-current {
    opacity: 0.9;
}

.country-link-list {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.country-link-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--white);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.country-link-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.country-link-chip.active {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
}

.popular-countries-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.country-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: var(--bg-secondary);
    border-radius: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: background 0.2s var(--ease-out), color 0.2s;
}

.country-quick-btn:hover {
    background: var(--primary-color);
    color: white;
}
 
@media (max-width: 640px) {
    .country-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .country-stat-card {
        padding: 0.7rem;
    }

    .country-stat-name {
        font-size: 0.85rem;
    }

    .country-stat-meta {
        font-size: 0.74rem;
    }

    .popular-countries-buttons {
        gap: 0.375rem;
    }
    
    .country-quick-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }

    .country-check-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .country-check-shortcut {
        width: 100%;
    }

    .country-link-list {
        gap: 0.5rem;
    }

    .country-check-controls-grid {
        grid-template-columns: 1fr;
    }

    .country-inline-panel-header {
        flex-direction: column;
    }

    .country-inline-report {
        flex-direction: column;
        align-items: flex-start;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    padding: 15px 0;
    position: relative;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin-left: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

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

.header-addon-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-900);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.header-addon-link:hover {
    color: var(--primary);
}

.header-addon-link .fa-chrome {
    color: #2563eb;
}

@media (max-width: 1180px) {
    .header-addon-link {
        display: none !important;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 3px;
}

/* Main */
.main {
    flex: 1;
    padding: 40px 0;
}

/* Hero Section */
.hero {
    text-align: center; 
}

h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--gray-900);
    letter-spacing: -0.025em;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--gray-900);
    letter-spacing: -0.015em;
}

.highlight {
    color: var(--success);
}

.highlight-down {
    color: var(--danger);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.country-check .country-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 2rem;
    margin-bottom: 1rem;
    width: fit-content;
}

.country-check .country-flag {
    font-size: 1.5rem;
}

.country-check .country-name {
    font-weight: 600;
} 

.other-countries-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 1rem;
}

.other-countries-section h2 {
    margin-bottom: 1rem;
}

.your-country-check {
    margin-bottom: 1rem;
}

.popular-countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.country-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s var(--ease-out), color 0.2s;
    font-size: 0.875rem;
}

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

.country-btn.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
}

.country-btn.unavailable:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.country-btn .flag {
    font-size: 1.25rem;
}

.country-btn .unavailable-badge {
    margin-left: auto;
    font-size: 0.75rem;
}

.all-countries-link {
    text-align: center;
    margin-top: 2rem;
}

.back-to-main {
    margin-top: 1.5rem;
    text-align: center;
}

.error-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 1rem;
    border: 2px solid var(--color-danger);
}

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

.error-card h2 {
    color: var(--color-danger);
    margin-bottom: 0.5rem;
}

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

.no-proxy-warning {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 0.5rem;
    color: var(--color-warning);
}

@media (max-width: 640px) {
    .popular-countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} 
/* Forms */
.check-form, .ip-form {
    max-width: 600px;
    margin: 0 auto;  
    position: relative;
}

.multi-country-form {
    margin-top: 10px;
}

/* Autocomplete */
.autocomplete-wrapper {
    position: relative;
} 

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--primary);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
} 

.autocomplete-results.active {
    display: block;
}

.autocomplete-item {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: var(--gray-50);
}

.autocomplete-domain {
    font-size: 1rem;
    color: var(--gray-900);
    font-weight: 500;
}

.autocomplete-meta {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.input-group {
    display: flex;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: border-color 0.2s;
}

.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.input-prefix {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 0.95rem;
    border-right: 1px solid var(--gray-200);
}

.domain-input, .ip-input {
    flex: 1;
    min-width: 0;
    padding: 18px 10px;
    border: none;
    font-size: 1.1rem;
    outline: none;
}

.domain-input::placeholder, .ip-input::placeholder {
    color: var(--gray-400);
}

.form-hint {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Buttons */
.btn {
    padding: 10px 15px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), color 0.2s;
    border-radius: var(--radius-lg);
    text-decoration: none;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

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

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

.btn-success:hover {
    background: #059669;
}

.btn-outline {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
}

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


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

.btn-danger:hover {
    background: #dc2626;
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

.btn-country {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
    margin-left: 0.5rem;
}

.btn-country:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-recheck { 
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: var(--white);
    width: auto; 
    font-size: 0.95rem;
    font-weight: bold;
    line-height: 1.2;
}

.btn-recheck:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-recheck:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.status-warning {
    border-left: 4px solid var(--warning);
}

.status-warning .status-icon {
    color: var(--warning);
}

.status-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.vpn-test-action {
    text-align: center; 
    margin-bottom: 15px;
}

.vpn-info h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.vpn-info ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.vpn-info li {
    margin-bottom: 0.5rem;
}

.vpn-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.status-card-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    gap: 1rem;
    flex-wrap: wrap;
}

/* Social Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    text-decoration: none;
    transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    font-size: 18px;
}

.share-btn i {
    line-height: 1;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

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

.share-btn.telegram {
    background: #f0f2f5;
    color: #0088cc;
}

.share-btn.telegram:hover {
    background: #0088cc;
    color: white;
}

.share-btn.reddit {
    background: #f0f2f5;
    color: #ff4500;
}

.share-btn.reddit:hover {
    background: #ff4500;
    color: white;
}

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

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

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Top Domains Section */
.top-domains {
    padding: 60px 0 20px 0; 
}

.top-domains h2 {
    text-align: center;
    margin-bottom: 10px; 
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Unified Card/Section Styles */
.card-section {
    padding: 30px; 
    margin-bottom: 30px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: left;
}

.ad-card-section {
    text-align: center; 
}

.ad-card-section .adsbygoogle {
    width: 100%;
}

.domain-card {
    background: var(--white);
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    text-align: left;
    min-width: 0;
}

.domain-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.domain-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.domain-checked-time {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 2px;
}

.domain-info {
    flex: 1;
    min-width: 0;
}

.domain-status-line {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.dot-up {
    background-color: var(--success);
    box-shadow: 0 0 4px var(--success);
}

.status-dot.dot-down {
    background-color: var(--danger);
    box-shadow: 0 0 4px var(--danger);
}

.domain-ago {
    font-size: 0.7rem;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.domain-favicon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
}

.domain-favicon-placeholder {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--gray-100);
    border-radius: 4px;
    flex-shrink: 0;
}

/* Features Section */ 
.features {
    padding: 20px 0;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 0;
}
 

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
}

/* How to Check Section */
.how-to-check {
    padding: 40px 0;
}

.how-to-check h2 {
    text-align: center;
    margin-bottom: 8px;
}

.how-to-check .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.how-to-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 780px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.how-to-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 28px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
    position: relative;
}

.how-to-step:last-child {
    border-bottom: none;
}

.how-to-step:hover {
    background: var(--gray-50);
}

.how-to-step-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    max-width: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #2563eb));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 4px;
    line-height: 1;
    aspect-ratio: 1 / 1;
}

.how-to-step-text h3 {
    font-size: 1.02rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.how-to-step-text p {
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .how-to-step {
        padding: 18px 20px;
        gap: 14px;
    }
}

.how-to-step h3 {
    font-size: 1.02rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.how-to-step p {
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Limitations Section */
.limitations {
    padding: 20px 0;
}

.limitations h2 {
    text-align: center; 
    margin-bottom: 40px;
}

.limitations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.limitation-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.limitation-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.limitation-card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.limitation-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.limitation-card li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray-700);
    line-height: 1.6;
    border-bottom: 1px solid var(--gray-100);
}

.limitation-card li:last-child {
    border-bottom: none;
}

.limitation-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
}

.limitation-card:last-child li:before {
    content: "✗";
    color: var(--danger);
}

/* Why Choose Section */
.why-choose {
    padding: 40px 0;
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 8px;
}

.why-choose .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.why-choose-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
    text-align: center;
}

.why-choose-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-choose-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #2563eb));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}

.why-choose-card h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.why-choose-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Other Tools Section */
.other-tools {
    padding: 10px 0;
}

.other-tools h2 {
    text-align: center;
    margin-bottom: 8px;
}

.other-tools .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.other-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.other-tool-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.other-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.35);
}

.other-tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #2563eb));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.other-tool-card h3 {
    color: var(--gray-900);
    font-size: 1.08rem;
    margin-bottom: 10px;
}

.other-tool-card p {
    color: var(--gray-600);
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0;
}

/* How It Works */
.how-it-works {
    padding: 40px 0;
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: 40px;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    max-width: 200px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step h4 {
    margin-bottom: 10px;
}

.step p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Learn More Section */
.learn-more {
    padding: 20px 0;
}

.learn-more h2 {
    text-align: center;
    font-size: 2rem;
}

.internal-links {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.internal-links li {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.internal-links li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.internal-links a {
    display: block;
    padding: 20px 25px;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding-left: 50px;
}

.internal-links a:before {
    content: "→";
    position: absolute;
    left: 20px;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.3rem;
    transition: transform 0.2s;
}

.internal-links li:hover a:before {
    transform: translateX(5px);
}

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

/* Status Card */
.content {
    max-width: 900px;
    margin: 0 auto;
}

.loader-container {
    margin: 30px 0;
}

.loader {
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-inline {
    display: inline-block;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
}

.loader-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

.loading-placeholder {
    color: var(--text-secondary);
    font-style: italic;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.error-text {
    color: var(--danger);
    font-size: 1.1rem;
    font-weight: 600;
}

.check-card {
    box-shadow: var(--shadow-lg);
    padding: 50px 40px;
    text-align: center;
}
 
.check-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.last-check-info {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.last-check-info p {
    margin: 5px 0;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.2rem;
    min-width: 250px;
}

.btn-loading {
    display: inline-block;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.status-card { 
    overflow: hidden;
    padding: 0;
    transition: box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.status-card > h1 {
    padding: 16px 30px 0;
    margin: 0;
    font-size: 2rem;
}
 
.status-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 30px 30px;
}

.status-icon {
    box-sizing: border-box;
    font-size: 64px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #a6adba;
}

.status-icon .loader-inline {
    width: 64px;
    height: 64px;
    border-width: 4px;
    flex: 0 0 64px;
}

.check-result .status-icon {
    color: #a6adba;
}

.status-card.status-up .status-icon {
    color: var(--success-color);
}

.status-card.status-down .status-icon {
    color: var(--danger-color);
}

.status-icon.hidden {
    display: none;
}

.status-icon.has-screenshot {
    overflow: hidden;
    border-radius: 12px;
    background: #f3f4f6;
    box-shadow: inset 0 0 0 1px #d1d5db, 0 8px 20px rgba(31, 41, 55, 0.16);
}

.check-result .status-icon.has-screenshot {
    background: #f3f4f6;
    box-shadow: inset 0 0 0 1px #d1d5db, 0 8px 20px rgba(31, 41, 55, 0.16);
}

.status-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 11px;
}

.status-screenshot:hover {
    transform: none;
}

.status-icon-mobile {
    width: 3.5rem;
    height: 5.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted, #888);
    flex-shrink: 0;
}

.check-result .status-icon-mobile {
    color: var(--text-muted, #888);
}

.status-icon-mobile.hidden {
    display: none;
}

/* Screenshot Lightbox */
.screenshot-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-lightbox.active {
    opacity: 1;
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.screenshot-lightbox-image {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 1;
}

.screenshot-lightbox.active .screenshot-lightbox-image {
    transform: scale(1);
}
 
.status-info {
    flex: 1;
    min-width: 0;
}
 
.status-primary-action {
    margin-top: 12px;
}

.status-primary-action .btn-recheck {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.status-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.status-text { 
    color: var(--gray-600);
    min-height: 2em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-bottom: 0;
}

.check-result .status-text {
    color: var(--gray-600);
}

@media (min-width: 769px) {
    .status-card > h1 {
        text-align: center;
    }

    .status-header {
        justify-content: center;
        text-align: center;
    }

    .status-info {
        flex: 0 1 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .status-meta-row {
        justify-content: center;
        margin-top: 12px;
    }

    .status-text {
        justify-content: center;
        margin-top: 0;
    }

    .status-primary-action {
        margin-top: 0;
    }
}

.status-badge {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-size:1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    max-width: 100%;
    text-align: center;
    border: 1.5px solid transparent;
}

.status-badge-label {
    white-space: nowrap;
}

.status-badge-time {
    white-space: nowrap;
    font-weight: 600;
    opacity: 0.9;
}

.status-badge i {
    font-size: 0.85em;
}

.status-badge-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    animation: tickerPulse 2s ease-in-out infinite;
}

.status-badge.up .status-badge-arrow {
    color: #fff;
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

.status-badge.down .status-badge-arrow {
    color: #fff;
    background: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}

@keyframes tickerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.status-badge.up { 
    color: #16a349; 
}

.status-badge.down {
    background: #fee2e2;
    color: #991b1b;
    border: 1.5px solid rgba(220, 38, 38, 0.25);
}

.status-badge.pending { 
    background: #fef3c7;
    color: #92400e;
    border: 1.5px solid rgba(245, 158, 11, 0.35);
}

.status-badge-loading {
    gap: 0.25rem;
    justify-content: center;
    min-width: 11rem;
}

.status-badge-dots {
    display: inline-flex;
    align-items: center;
    min-width: 1.2rem;
}

.status-badge-dots span {
    opacity: 0.25;
    animation: statusBadgeDotPulse 1.2s infinite;
}

.status-badge-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.status-badge-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes statusBadgeDotPulse {
    0%, 20% {
        opacity: 0.25;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.25;
    }
}

.status-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    padding: 16px 24px;
    background: var(--gray-50); 
}

.check-result .status-details {
    background: var(--gray-50);
    border-top-color: var(--gray-200);
}

.status-report-mini {
    display: grid;
    gap: 14px;
    padding: 12px 24px 16px; 
    background: transparent;
}

.check-result .status-report-mini {
    border-top-color: var(--gray-200);
    background: transparent;
}

.status-report-mini-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.status-report-mini-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-500);
}

.check-result .status-report-mini-title {
    color: var(--gray-500);
}

.status-report-mini .report-buttons {
    margin-bottom: 0;
    gap: 10px;
    justify-content: flex-start;
}

.status-report-mini .report-btn {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: none;
    opacity: 0.78;
}

.status-report-mini .report-btn:hover:not(:disabled) {
    opacity: 1;
    box-shadow: none;
}

.status-report-mini .report-btn.btn-success {
    background: transparent;
    border-color: rgba(16, 185, 129, 0.45);
    color: #047857;
}

.status-report-mini .report-btn.btn-success:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.08);
}

.status-report-mini .report-btn.btn-danger {
    background: transparent;
    border-color: rgba(239, 68, 68, 0.4);
    color: #b91c1c;
}

.status-report-mini .report-btn.btn-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.08);
}

.status-report-mini .report-summary {
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.status-report-mini .report-count {
    min-width: 92px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.12);
}

.check-result .status-report-mini .report-count {
    background: rgba(148, 163, 184, 0.12);
}

.status-report-mini .report-count .count {
    font-size: 1.25rem;
    line-height: 1.1;
}

.status-report-mini .report-count .label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.detail-item {
    text-align: center;
    display: grid;
    gap: 2px;
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0;
    line-height: 1.2;
}

.check-result .detail-label {
    color: var(--gray-500);
}

.detail-value {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--gray-800);
}

.check-result .detail-value {
    color: var(--gray-800);
}

.check-result .status-primary-action .btn-recheck {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.check-result .status-primary-action .btn-recheck:hover:not(:disabled) {
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.26);
}

/* Chat Site Link */
.chat-site-link {
    padding: 20px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.btn-chat-site {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), color 0.3s;
}

.btn-chat-site:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #764ba2;
}

/* Report Section */
.report-section {
    text-align: center;
}

.report-section > p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.report-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.report-btn {
    border-radius: 30px;
    padding: 12px 30px;
}

.report-summary {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.report-count {
    text-align: center;
}

.report-count .count {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.report-count.working .count {
    color: var(--success);
}

.report-count.not-working .count {
    color: var(--danger);
}

.report-count .label {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* History Section */
.card-section h2 {
    margin-bottom: 20px;
    text-align: center;
}
/* History Section */
 
.reports-chart-section .section-subtitle {
    color: var(--gray-500);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.history-text-summary {
    margin: -4px 0 16px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--gray-50);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.history-text-summary p {
    margin: 0;
    line-height: 1.6;
}

.chart-container {
    height: 300px;
    position: relative;
}

.history-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 420px;
}

.history-table th,
.history-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

.history-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
}

.history-header-mobile {
    display: none;
}

@media (max-width: 640px) {
    .history-table-wrapper {
        margin-top: 16px;
    }

    .history-table {
        min-width: 0;
        table-layout: fixed;
    }

    .history-table th,
    .history-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .history-table th {
        white-space: normal;
        line-height: 1.15;
    }

    .history-table th:nth-child(1),
    .history-table td:nth-child(1) {
        width: 42%;
        line-height: 1.25;
    }

    .history-table td:nth-child(2),
    .history-table td:nth-child(3),
    .history-table td:nth-child(4) {
        white-space: nowrap;
    }

    .history-table th:nth-child(2),
    .history-table td:nth-child(2) {
        width: 20%;
    }

    .history-table th:nth-child(3),
    .history-table td:nth-child(3) {
        width: 16%;
    }

    .history-table th:nth-child(4),
    .history-table td:nth-child(4) {
        width: 22%;
    }

    .history-header-desktop {
        display: none;
    }

    .history-header-mobile {
        display: inline;
    }

    .history-table .status-badge {
        padding: 3px 8px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .history-table th,
    .history-table td {
        padding: 9px 6px;
        font-size: 0.78rem;
    }

    .history-table th:nth-child(1),
    .history-table td:nth-child(1) {
        width: 40%;
        font-size: 0.74rem;
    }

    .history-table th:nth-child(2),
    .history-table td:nth-child(2) {
        width: 20%;
    }

    .history-table th:nth-child(3),
    .history-table td:nth-child(3) {
        width: 16%;
    }

    .history-table th:nth-child(4),
    .history-table td:nth-child(4) {
        width: 24%;
    }

    .history-table .status-badge {
        padding: 2px 6px; 
    }
}

.doughnut-chart-container {
    max-width: 360px;
    margin: 0 auto;
}

/* Downtime Table */
.downtime-table-wrapper {
    overflow-x: auto;
}

.downtime-table {
    width: 100%;
    border-collapse: collapse;
}

.downtime-table th, .downtime-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.downtime-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
}

.ongoing {
    display: inline-block;
    background: var(--danger);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
}

/* Outage Map */
.outage-map-section .section-subtitle {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.outage-map-container {
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-50);
    min-height: 400px;
}

#outageMap {
    width: 100%;
    height: 400px;
}

.jvectormap-container {
    width: 100%;
    height: 100%;
}

.jvectormap-tip {
    background: #1e293b !important;
    color: #fff !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.outage-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.outage-table-wrapper {
    overflow-x: auto;
}

.outage-table {
    width: 100%;
    border-collapse: collapse;
}

.outage-table th, .outage-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.outage-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
}

.outage-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.outage-status-badge.status-good {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.outage-status-badge.status-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.outage-status-badge.status-bad {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.uptime-bar {
    display: inline-block;
    width: 80px;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    vertical-align: middle;
    margin-right: 8px;
}

.uptime-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.uptime-fill.status-good {
    background: #10b981;
}

.uptime-fill.status-warning {
    background: #f59e0b;
}

.uptime-fill.status-bad {
    background: #ef4444;
}

.uptime-percent {
    font-weight: 600;
    color: var(--gray-700);
}

/* User Reports List */
.reports-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.report-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-top: 1px solid var(--gray-200);
}

.report-item:first-child {
    padding-top: 0;
    border-top: none;
}

.report-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.report-item.working .report-icon {
    color: var(--success);
}

.report-item.not_working .report-icon {
    color: var(--danger);
}

.report-text {
    flex: 1;
    color: var(--gray-700);
    line-height: 1.5;
}

.problem-type-badge {
    display: inline-block;
    background: var(--danger);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 5px;
}

.report-status {
    font-weight: 500;
    flex: 1;
}

.report-country {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.report-time {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.lookup-value {
    background: var(--lookup-bg);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    color: var(--text-color);
    line-height: 1.6;
    font-weight: normal;
}

.bot-notice {
    grid-column: 1 / -1;
    background: #fff3cd;
    border-color: #ffc107;
}

.troubleshooting-content {
    text-align: left;
}

.troubleshooting-content h3 {
    font-size: 1.1rem;
    margin-top: 20px;
    color: var(--gray-800);
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

.troubleshooting-content h3:first-of-type {
    margin-top: 0;
}

.troubleshooting-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.troubleshooting-content li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gray-700);
    line-height: 1.6;
}

.troubleshooting-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.1rem;
}

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

.troubleshooting-content p {
    margin: 15px 0;
    color: var(--gray-700);
    line-height: 1.7;
}

/* Check Another */
.check-another {
    text-align: center;
    margin-top: 2rem;
}

.check-another h3 {
    margin-bottom: 20px;
}

/* Popular Websites Section (Check Page) */
.popular-websites-section {
    text-align: center;
}

.popular-websites-section h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.popular-websites-section .section-subtitle {
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.popular-websites-section .domains-grid {
    max-width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 5px;
}

.popular-websites-section .domain-card {
    padding: 5px;
    justify-content: flex-start;
}

.popular-websites-section .domain-name {
    font-size: 0.9rem;
}

.latest-domain-card {
    justify-content: center;
    text-align: center;
    align-items: center;
}

.latest-domain-card .domain-info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    text-align: center;
}

.latest-domain-card .domain-checked-time {
    display: inline;
    margin-top: 0;
    white-space: nowrap;
    text-align: center;
}
 

.page-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
}
 
.lookup-header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.lookup-header strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    width: 100%;
}

.lookup-header h2 {
    font-size: 1.5rem; 
    margin: 0;
}

.lookup-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-icon {
    font-size: 2rem;
    line-height: 1;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color); 
    align-items: center; 
}

.detail-value .version {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--text-muted);
}

.lookup-map,
.lookup-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.lookup-map {
    text-align: center;
}

.lookup-map h3 {
    margin-bottom: 15px;
}

.lookup-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.lookup-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.coordinates {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--gray-600);
}

.copy-icon {
    font-size: 1.2rem;
}

/* Country select page */
.country-select .select-header {
    text-align: center;
    margin-bottom: 2rem;
}

.country-select .page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.country-select h2 {
    font-size: 1.25rem; 
    margin-bottom: 1rem; 
    color: var(--text-primary);
}

.country-picker {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.country-dropdown {
    flex: 1 1 300px;
    max-width: 420px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: var(--bg-card);
    color: var(--text-primary);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.country-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

@media (max-width: 480px) {
    .country-picker {
        flex-direction: column;
    }
    .country-dropdown {
        max-width: 100%;
    }
}

.hero-desc {
    color: var(--gray-600);
    line-height: 1.7;
    margin-top: 1rem;
}

.your-country-section, 
.popular-section,
.available-section { 
    margin-bottom: 3rem;
}

.your-country-section h2,
.popular-section h2,
.available-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.your-country-section {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
    border-radius: 1rem;
    border: 2px solid var(--primary-color);
}

.popular-section {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: 1rem;
    border: 1px solid rgba(251, 146, 60, 0.2);
}

.popular-section h2::before {
    content: "⭐ ";
    margin-right: 0.5rem;
}

.available-section {
    padding: 1.5rem;
}

.available-section h2 {
    color: var(--text-secondary);
}

.available-section h2::before {
    content: "🌐 ";
    margin-right: 0.5rem;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.countries-grid.compact {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.country-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s;
    border: 1px solid var(--border-color);
}

.country-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.country-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border: none;
}

.country-card.featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.country-card.unavailable {
    opacity: 0.6;
    cursor: not-allowed;
}

.country-card.unavailable:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
}

.country-card .flag {
    font-size: 2rem;
    line-height: 1;
}

.country-card .country-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.country-card .name {
    font-weight: 600;
    font-size: 1rem;
}

.country-card .label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.country-card .proxy-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.country-card.featured .proxy-count,
.country-card.featured .label {
    color: rgba(255, 255, 255, 0.8);
}

.country-card .no-proxy {
    font-size: 0.75rem;
    color: var(--color-warning);
}

.country-card .arrow {
    font-size: 1.25rem;
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s var(--ease-out);
}

.country-card:hover .arrow {
    opacity: 1;
    transform: translateX(4px);
}

.country-card .unavailable-icon {
    font-size: 1rem;
}

.back-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {  
     
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .countries-grid,
    .countries-grid.compact {
        grid-template-columns: 1fr;
    }
}

.about-content, .legal-content, .blog-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about-content h2, .legal-content h2, .blog-content h2 {
    margin: 30px 0 15px;
    color: var(--gray-900);
}

.about-content ul, .legal-content ul, .blog-content ul {
    padding-left: 25px;
    margin: 15px 0;
}

.about-content li, .legal-content li, .blog-content li {
    margin-bottom: 8px;
}

.legal-content h3 {
    margin: 20px 0 10px;
    font-size: 1.05rem;
    color: var(--gray-800);
}

.legal-content p {
    margin: 10px 0;
    line-height: 1.7;
    color: var(--gray-700);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 0.92rem;
}

.cookie-table th,
.cookie-table td {
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    text-align: left;
}

.cookie-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-900);
}

.cookie-table td {
    color: var(--gray-700);
}

.about-content a, .legal-content a, .contact-form-section a {
    color: var(--primary);
    text-decoration: underline;
}

.about-content a:hover, .legal-content a:hover, .contact-form-section a:hover {
    color: var(--primary-dark);
}

/* Blog readability */
.blog-content {
    max-width: 880px;
    margin: 0 auto;
}

.blog-content p,
.blog-content li {
    font-size: 1.03rem;
    line-height: 1.82;
    color: var(--gray-700);
}

.blog-content p {
    margin: 0.9rem 0;
}

.blog-content h1 {
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.blog-content h2,
.blog-content h3 {
    line-height: 1.35;
}

.blog-content img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 1rem 0 1.1rem;
}
.check-result > .other-tools {
    padding: 18px 0;
}
.check-result > .other-tools > h2,
.check-result > .reports-cluster h2,
.check-result > section > h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 10px;
    text-align: left;
    font-size: 1.2rem;
    color: var(--gray-800);
}
.check-result > .other-tools > h2 i,
.check-result > .reports-cluster h2 i,
.check-result > section > h2 i {
    color: var(--primary);
    font-size: 0.95em;
}
.check-result > .other-tools .card-section,
.check-result > section .card-section,
.check-result .downtime-section {
    padding: 20px;
    margin-bottom: 0;
    border: 1px solid var(--gray-200);
    box-shadow: none;
}
.check-result .country-check-section {
    padding: 18px;
}
.check-result .country-check-actions {
    margin-top: 0;
}
.check-result .country-link-list {
    gap: 0.45rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--gray-200);
}
.check-result .country-link-chip {
    padding: 0.45rem 0.65rem;
    background: var(--gray-50);
    font-size: 0.86rem;
    font-weight: 500;
}
.check-result .country-link-chip:hover {
    background: rgba(37, 99, 235, 0.06);
}
.check-result .history-section,
.check-result .downtime-section,
.check-result .user-reports-section {
    border-radius: var(--radius);
}
.check-result .reports-list {
    gap: 0;
}
.check-result .report-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}
.check-result .report-item:first-child {
    padding-top: 0;
}
.check-result .report-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.check-result .downtime-table th {
    color: var(--gray-500);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.check-result .discovery-section {
    box-shadow: none;
}
@media (max-width: 640px) {
    .check-result > .other-tools,
    .check-result > section {
        padding: 14px 0;
    }
    .check-result > .other-tools > h2,
    .check-result > .reports-cluster h2,
    .check-result > section > h2 {
        font-size: 1.05rem;
    }
    .check-result > .other-tools .card-section,
    .check-result > section .card-section,
    .check-result .downtime-section {
        padding: 16px;
    }
}

.blog-content .domain-checked-time {
    margin-top: 0.25rem;
    margin-bottom: 0.8rem;
}

.blog-content .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.6rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 10px;
    background: transparent;
    color: var(--primary);
    font-size: 0.95rem;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.blog-content .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.blog-list-item {
    margin-bottom: 0.25rem;
}

.blog-list-actions {
    margin-top: 1rem;
    margin-bottom: 0;
}

.blog-list-divider {
    border: 0;
    height: 1px;
    margin: 1.15rem 0 1.35rem;
    background: linear-gradient(90deg, transparent 0%, var(--gray-200) 14%, var(--gray-200) 86%, transparent 100%);
}

.blog-article-body > :first-child {
    margin-top: 0;
}

.blog-article-body h2,
.blog-article-body h3 {
    margin-top: 1.65rem;
    margin-bottom: 0.7rem;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0.9rem 0 1rem;
    padding-left: 1.4rem;
}

.blog-article-body blockquote {
    margin: 1.1rem 0;
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--primary);
    background: var(--gray-50);
    border-radius: 0 8px 8px 0;
}

@media (max-width: 768px) {
    .blog-content p,
    .blog-content li {
        font-size: 1rem;
        line-height: 1.75;
    }

    .blog-content .btn-outline {
        padding: 0.55rem 0.9rem;
    }

    .blog-list-divider {
        margin: 1rem 0 1.2rem;
    }
}

.last-updated {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 30px;
}

.faq-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.faq-section h2 {
    margin-bottom: 25px;
    text-align: center;
}

@media (max-width: 640px) {
    .faq-section {
        padding: 16px 12px;
    }

    .faq-section .accordion-header {
        padding: 0.85rem 0.75rem;
    }

    .faq-section .accordion-header h3 {
        font-size: 0.9rem;
    }

    .faq-section .accordion-body {
        padding: 0.85rem 0.75rem;
    }
}  
/* Error Page */
.error-page {
    text-align: center;
    padding: 80px 20px;
}

.error-page .error-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}
 
.error-page h2 {
    margin-bottom: 15px;
}

.error-page p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    color: var(--gray-700);
    border-top: 1px solid rgba(229, 231, 235, 0.5);
    padding: 40px 0 15px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-icon, .footer-brand .logo-text {
    color: var(--gray-900);
    font-size: 1.25rem;
}

.footer-brand p {
    margin-top: 10px;
    color: var(--gray-600);
}

.footer-social {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: var(--gray-700);
    text-decoration: none;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social-link:hover {
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.28);
    transform: translateY(-1px);
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-app-badge {
    display: inline-flex;
    margin-top: 14px;
}

.footer-app-badge img {
    width: 135px;
    height: auto;
}


.footer-links h4 {
    color: var(--gray-900);
    margin-bottom: 15px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.9rem;
}
 
 
/* Responsive */
@media (max-width: 768px) { 

    .nav {
        gap: 12px;
    }

    .nav-actions {
        margin-left: auto;
    }

    .lookup-header h2 {
        font-size: 1rem; 
        margin: 0;
    }

    .top-domains, .learn-more ,.how-it-works, .common-reasons, .features {
        padding: 20px 0;
    }
    
    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .domain-card {
        padding: 8px 10px;
    }
    
    .domain-name {
        font-size: 0.85rem;
    }
    
    .domain-favicon,
    .domain-favicon-placeholder {
        width: 18px;
        height: 18px;
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    
    .main {
        padding: 20px 0;
    }
    .check-card {
        padding: 30px 20px;
    }
     
    .status-icon {
        font-size: 64px;
    }
    
    .report-section, .history-section, .downtime-section, .user-reports-section, .reports-chart-section, .check-another {
        padding: 20px;
    }
    
    .report-section h2, .history-section h2, .downtime-section h2, .user-reports-section h2, .reports-chart-section h2 {
        font-size: 1.25rem;
    }
    
    /* Mobile Menu */
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: calc(100vh - 72px);
        background: var(--white);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        padding: 8px 16px 20px;
        gap: 0;
        z-index: 100;
        display: none;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 10px;
        font-size: 1.1rem;
    }
    
    .nav-links .lang-switcher {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--gray-200);
        width: 100%;
    }
    
    .nav-links .lang-btn {
        width: 100%;
        justify-content: center;
    }
       
    .status-card > h1 {
        padding: 16px 16px 0;
        font-size: 1.2rem;
    }

    .status-header {
        align-items: flex-start; 
        gap: 12px; 
        padding: 10px 16px 16px;
        text-align: left;
    }

    .status-icon {
        width: 90px;
        height: 90px;
        font-size: 64px;
    }

    .status-screenshot {
        width: 100%;
        height: 100%;
    }

    .status-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
    }

    .status-meta-row {
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
    }

    .status-text {
        justify-content: flex-start;
        text-align: left;
        margin-top: 0;
        min-height: 0;
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
    }

    .status-text .status-badge {
        width: 100%;
        max-width: none;
    }

    .status-primary-action {
        margin-top: 0;
        margin-left: 0;
        display: flex;
        justify-content: stretch;
        width: 100%;
        flex: 1 1 100%;
    }

    .status-primary-action .btn-recheck {
        width: 100%;
        padding: 10px 14px;
        min-height: 42px;
        font-size: 0.92rem;
        max-width: none;
        white-space: normal;
        text-align: center;
    }
    
    .status-details { 
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 12px 14px;
    }

    .detail-item {
        text-align: left;
    }

    .detail-label {
        font-size: 0.74rem;
    }

    .detail-value {
        font-size: 0.98rem;
    }

    .status-summary {
        padding: 14px 16px 4px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content, .legal-content {
        padding: 25px;
    }
    
    .chart-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .top-domains, .learn-more ,.how-it-works, .common-reasons, .features {
        padding: 10px 0;
    }
    h1 {
        font-size: 1.25rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    h3 {
        font-size: 1rem;
    }
    .check-card h1 {
        font-size: 1.15rem;
    }
    
    .status-card > h1 {
        padding: 14px 14px 0;
        font-size: 1.15rem;
    }

    .status-info h1 {
        font-size: 1.15rem;
    }
    
    .status-icon {
        width: 90px;
        height: 90px;
        font-size: 64px;
    }

    .status-screenshot {
        width: 100%;
        height: 100%;
        max-height: none;
    }

    .status-meta-row {
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .status-text {
        flex: 1 1 auto;
        margin-top: 0;
        width: 100%;
    }

    .status-text .status-badge {
        width: 100%;
        max-width: none;
    }

    .status-primary-action {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
    }

    .status-primary-action .btn-recheck {
        width: 100%;
        padding: 9px 12px;
        font-size: 0.86rem;
        max-width: none;
    }

    .status-badge { 
        gap: 0.35rem;
        padding: 10px 4px; 
    }

    .status-badge-arrow {
        width: 22px;
        height: 22px;
        font-size: 0.85rem;
    }

    .status-badge-time {
        font-size: 0.82rem;
    }

    .status-details {
        gap: 8px;
        padding: 10px 12px;
    }

    .status-report-mini {
        gap: 12px;
        padding: 12px;
    }

    .status-report-mini-header {
        align-items: stretch;
        flex-direction: column;
    }

    .status-report-mini .report-summary {
        justify-content: flex-start;
    }

    .status-report-mini .report-count {
        min-width: 0;
        flex: 1 1 110px;
    }

    .status-report-mini .report-btn {
        flex: 1 1 160px;
        padding: 11px 14px;
    }

    .detail-value {
        font-size: 0.95rem;
    }

    .detail-label {
        font-size: 0.72rem;
    }
    
    .report-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .report-btn {
        width: auto;
        flex: 0 1 auto;
    }
    
    .report-summary {
        gap: 20px;
    }

    .status-report-mini .report-summary {
        gap: 8px;
    }

    .status-report-mini-title {
        font-size: 0.88rem;
    }
    .btn {
        padding: 15px; 
    }
    .domain-input, .ip-input {
        font-size: 1rem; 
        padding: 18px 3px;
    }
    .input-prefix {
        padding: 0 5px;
    }
    .check-another {
        padding: 20px 0;
        background: transparent;
        box-shadow: none;
    }
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    font-family: inherit;
}

.lang-btn:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.lang-dropdown-content {
    position: absolute;
    top: calc(100% + 8px); 
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s var(--ease-out);
}

.lang-switcher:hover .lang-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: var(--gray-700);
    text-decoration: none;
    transition: background 0.15s ease;
    border-bottom: 1px solid var(--gray-100);
}

.lang-dropdown-content a:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
}

.lang-dropdown-content a:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
    border-bottom: none;
}

.lang-dropdown-content a:hover {
    background: var(--gray-100);
}

.lang-dropdown-content a.active {
    background: var(--primary);
    color: var(--white);
}

.lang-dropdown-content a.active:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .nav-links .lang-switcher {
        position: relative;
    }
    
    .nav-links .lang-dropdown-content {
        position: fixed;
        top: 80px;
        right: 0;
        transform: none;
        left: auto;
        margin-top: 0;
        width: 280px;
        max-width: none;
        max-height: 100vh;
        overflow-y: auto;
        box-shadow: none;
        border-radius: 0;
        z-index: 101;
    }
    
    .nav-links .lang-dropdown-content a {
        padding: 14px 18px;
        font-size: 1rem;
    }
}

/* Contact Form Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-section {
    grid-column: 1;
}

.contact-form {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

.form-feedback.success {
    background: var(--success-bg);
    color: var(--success-color);
    border: 1px solid var(--success);
}

.form-feedback.error {
    background: var(--danger-bg);
    color: var(--danger-color);
    border: 1px solid var(--danger);
}

.cf-turnstile {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Check Result Report + Promos */
.check-result .status-report-mini {
    display: grid;
    gap: 12px;
    width: 100%;
    padding: 14px 0 0;
    justify-items: center;
}

.check-result .status-report-mini-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.check-result .status-report-mini-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
}

.check-result .status-report-mini .report-buttons {
    margin-bottom: 0;
    gap: 10px;
    justify-content: center;
}

.check-result .status-report-mini .report-btn {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.check-result .status-report-mini .problem-type-title {
    color: var(--gray-800);
}

.check-result .status-report-mini .problem-type-options {
    width: 100%;
    margin-top: 10px;
    padding-top: 0;
    border-top: 0;
}

.check-result .status-report-mini .report-followup {
    width: min(100%, 560px);
}

.check-result .status-report-mini .report-feedback,
.check-result .status-report-mini .report-troubleshooting {
    display: none;
    margin-top: 10px;
    padding: 0;
    text-align: center;
}

.check-result .status-report-mini .report-feedback.is-visible,
.check-result .status-report-mini .report-troubleshooting.is-visible {
    display: block;
}

.check-result .status-report-mini .report-feedback {
    color: var(--success-color);
    font-weight: 600;
}

.check-result .status-report-mini .report-troubleshooting-title {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 700; 
}

.check-result .status-report-mini .report-troubleshooting-body {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
}

.check-result .status-promo-stack {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 8px;
    justify-items: center;
}

.check-result .status-promo-card {
    position: relative;
    width: min(100%, 620px);
    padding: 10px 0 0;
    text-align: center;
}

.check-result .trustpilot-promo-card {
    width: fit-content;
    max-width: 100%;
    padding-top: 0;
}
 
.check-result .status-promo-eyebrow {
    margin: 0 0 6px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase; 
}

.check-result .status-promo-card h3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--gray-800);
}

.check-result .status-promo-card p {
    max-width: 34rem;
    margin: 0 auto; 
}
 
.check-result .status-promo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 12px;
}

.check-result .status-promo-link .fa-chrome {
    color: #93c5fd;
}

.check-result .status-promo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 6px;
    color: var(--gray-600);
    font-size: 0.8rem;
    font-weight: 700;
}

.check-result .status-promo-stars {
    display: inline-flex;
    gap: 3px;
    color: #00b67a;
}


.check-result .status-promo-close {
    position: absolute;
    top: -4px;
    right: -5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--gray-500);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
    z-index: 10;
}

.check-result .status-promo-close:hover {
    background: rgba(148, 163, 184, 0.16);
    border-color: rgba(148, 163, 184, 0.4);
    color: var(--gray-700);
    transform: scale(1.04);
}

.check-result .status-promo-inline-link {
    display: inline-flex;
    z-index: 9;
    align-items: center;
    justify-content: center;
    gap: 0.45rem; 
    flex-wrap: wrap;
    padding: 0.8rem 2rem 0.8rem 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px 0 999px 999px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: var(--gray-800);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.check-result .status-promo-inline-link:hover {
    color: var(--gray-900);
    background: rgba(239, 246, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.check-result .status-promo-inline-link .status-promo-badge {
    margin-bottom: 0;
    color: var(--gray-700);
}

/* Problem Type Options */
.problem-type-options { 
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.problem-type-options.active {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
}

.problem-type-title {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    text-align: center;
    font-weight: 500;
}

.problem-type-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.problem-type-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: var(--white); 
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.problem-type-btn:hover {
    border-color: var(--primary);
    background: var(--gray-50);
}

.problem-type-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.problem-type-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.problem-icon {
    font-size: 1rem;
}

.problem-label {
    font-weight: 500;
}

/* Mobile responsive for share buttons */
@media (max-width: 640px) {
    .status-card-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .share-buttons {
        width: 100%;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .check-result .status-report-mini {
        gap: 12px;
        padding: 12px 0 0;
    }

    .check-result .status-report-mini-header {
        align-items: stretch;
        flex-direction: column;
    }

    .check-result .status-report-mini .report-btn {
        flex: 1 1 160px;
        padding: 11px 14px;
    }

    .check-result .status-report-mini-title {
        font-size: 0.88rem;
    }

    .check-result .status-promo-card {
        padding-top: 8px;
    }

    .check-result .status-promo-inline-link {
        font-size: 0.88rem;
        line-height: 1.5;
    }
}

/* ========================================
   SVG VISUALIZATION STYLES
   ======================================== */

/* Hero Layout with SVG Visual */
.hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-layout .hero-text {
    max-width: 100%;
}

.home-hero .hero-layout {
    width: 100%;
    max-width: 900px;
}

.home-hero .hero-text {
    width: 100%;
}

.home-hero {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.home-hero h1 {
    max-width: 820px;
    margin: 0 auto 0.75rem;
    font-size: clamp(2.25rem, 5vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.home-hero-intro {
    max-width: 620px;
    margin: 0 auto 1.35rem;
    color: var(--gray-600);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.5;
}

.home-hero .hero-check-backdrop {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px; 
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.24);
}

.feature-highlight {
    width: 100%;
    margin: 1.5rem 0;
    padding: 1.35rem;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.feature-highlight-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 999px;
    background: rgba(239, 246, 255, 0.95);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.feature-highlight-body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.feature-highlight-value {
    flex: 1 1 320px;
    min-width: 0;
    margin: 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    color: var(--gray-900);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.feature-highlight-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.feature-highlight-actions .btn {
    min-height: 52px;
    border-radius: 12px;
    white-space: nowrap;
}

.feature-highlight .status-card {
    margin-top: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.feature-highlight .status-card h2,
.feature-highlight .status-text {
    color: var(--gray-800);
}

.feature-highlight .status-icon {
    color: var(--gray-500);
}

.feature-highlight .status-badge.pending {
    background: #fef3c7;
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.35);
}

.feature-highlight .status-card-actions {
    border-top-color: var(--gray-200);
    display: none;
}

.hero-check-card {
    width: 100%;
    max-width: 700px;
    margin: 1.25rem auto 0; 
    text-align: left;
}
 
.hero-check-form {
    max-width: none;
}

.hero-check-card .input-group {
    border-color: var(--gray-200);
    background: var(--white);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.hero-check-card .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14), 0 10px 22px rgba(37, 99, 235, 0.14);
}

.hero-check-card .domain-input {
    min-height: 62px;
    padding-left: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-900);
}

.hero-check-card .btn-primary {
    flex: 0 0 auto;
    min-width: 75px;
    border-radius: 12px;
    margin: 7px;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.hero-check-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.26);
}

.home-hero-note {
    margin: 0.75rem 0 0;
    color: var(--gray-500);
    font-size: 0.85rem;
    text-align: center;
}
 
/* Feature Icons */
.feature-icon {
    width: 100%;
    max-width: 180px;
    height: 120px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    padding-top: 1rem;
}

.connector-arrow {
    width: 40px;
    height: 24px;
    color: var(--gray-400);
}

/* Accordion / Expandable Items */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: background 0.2s ease;
    user-select: none;
}

.accordion-header:hover {
    background: var(--gray-200);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: var(--gray-500);
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-body {
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.accordion-body ul {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

.accordion-body li:last-child {
    margin-bottom: 0;
}

.accordion-body strong {
    color: var(--text-primary);
}

.accordion-body code {
    background: var(--gray-100);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: monospace;
}

/* Troubleshooting specific accordion */
.troubleshooting-accordion {
    margin-top: 1rem;
}

.troubleshooting-accordion .accordion-header {
    background: var(--gray-50);
}

.troubleshooting-accordion .accordion-header:hover {
    background: var(--gray-100);
}

.troubleshooting-accordion .accordion-item {
    border-color: var(--gray-200);
}

.troubleshooting-accordion .accordion-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

/* Responsive SVG Layouts */
@media (max-width: 900px) {
    .hero-check-label {
        margin-left: auto;
        margin-right: auto;
    }
 
    .steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .step {
        max-width: 100%;
    }
    
    .step-connector {
        transform: rotate(90deg);
        padding: 0;
        margin: 0 auto;
        width: fit-content;
    }
}

@media (max-width: 640px) {
    .home-hero .hero-check-backdrop {
        padding: 0.85rem;
        border-radius: 18px;
    }

    .feature-highlight {
        padding: 0.85rem;
        border-radius: 18px;
    }

    .feature-highlight-label {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-highlight-body {
        gap: 0.65rem;
    }

    .feature-highlight-value {
        flex-basis: 100%;
        font-size: 1.05rem;
        padding: 0.95rem 1rem;
    }

    .feature-highlight-actions {
        width: 100%;
    }

    .feature-highlight-actions .btn {
        width: 100%;
    }

    .hero-check-card {
        max-width: none;
        margin: 0 auto;
    }

    .hero-check-card .input-group {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        overflow: visible;
        padding: 0.45rem;
        gap: 0.45rem;
    }

    .hero-check-card .domain-input {
        min-height: 52px;
        padding: 0.9rem 0.95rem;
        min-width: 0;
    }

    .hero-check-card .btn-primary {
        width: auto;
        min-width: 86px;
        min-height: 52px;
        margin: 0;
        padding: 0.9rem 1rem;
        align-self: stretch;
    }
   

}

@media (max-width: 640px) {
    .feature-icon {
        max-width: 140px;
        height: 100px;
    }
}

/* =====================================================================
   check.php restructured layout — added 2026-04
   ===================================================================== */

/* anchor offset (so jump links don't hide under sticky headers) */
.anchor-target {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
    height: 0;
}

/* Hero: consensus pill */
.status-consensus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    margin-top: 1rem;
}
.status-consensus-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.92rem;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.status-consensus-pill.is-issues {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}
.status-consensus-pill strong { font-weight: 700; }
.status-consensus-link {
    font-size: 0.88rem;
    color: #2563eb;
    text-decoration: none;
}
.status-consensus-link:hover { text-decoration: underline; }

/* Hero: share buttons + label */
.status-share {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.status-share-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-right: 0.25rem;
}

/* Hero: jump nav */
.status-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}
.status-jump-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.15s;
}
.status-jump-nav a:hover { background: #e5e7eb; }
.status-jump-nav a i { font-size: 0.78rem; opacity: 0.75; }

/* Reports cluster: side-by-side donut on desktop */
.reports-cluster { display: contents; }
.reports-cluster-grid {
    display: grid;
    grid-template-columns: 1fr; 
    margin-top: 0.25rem; 
}
.reports-cluster-grid.has-chart {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}
.reports-chart-aside .doughnut-chart-container {
    max-height: 300px;
    height: 300px;
}
@media (max-width: 860px) {
    .reports-cluster-grid.has-chart {
        grid-template-columns: 1fr;
    }
}

/* Discovery tabbed card */
.discovery-section { padding-top: 0; }
.discovery-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid #e5e7eb;
    margin: 0 -1.5rem 1.25rem;
    padding: 0 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.discovery-tabs::-webkit-scrollbar { display: none; }
.discovery-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
}
.discovery-tab:hover { color: #374151; }
.discovery-tab.is-active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}
.discovery-panel { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mobile sticky status bar */
.status-sticky-mobile {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 0.6rem 0.85rem;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.06);
    align-items: center;
    gap: 0.6rem;
}
.status-sticky-mobile.is-visible { display: flex; }
.status-sticky-domain {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    font-size: 0.92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #111827;
}
.status-sticky-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}
.status-sticky-badge.is-up { background: #ecfdf5; color: #047857; }
.status-sticky-badge.is-down { background: #fef2f2; color: #b91c1c; }
.status-sticky-recheck {
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
}
@media (min-width: 768px) {
    .status-sticky-mobile.is-visible { display: none; }
}
@media (max-width: 640px) {
    .status-jump-nav { gap: 0.3rem; }
    .status-jump-nav a { font-size: 0.8rem; padding: 0.3rem 0.6rem; }
    .reports-chart-aside .doughnut-chart-container { height: 240px; max-height: 240px; }
}

/* Final readable-bundle overrides for the simplified check layout */
.check-result .status-report-mini {
    padding: 12px 24px 16px;
    background: transparent;
    justify-items: start;
}
.check-result .status-report-mini-header {
    justify-content: flex-start;
}
.check-result .status-report-mini-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-500);
    text-align: left;
}
.check-result .status-report-mini .report-buttons {
    justify-content: flex-start;
}
.check-result .status-report-mini .report-btn {
    padding: 8px 12px;
    font-size: 0.82rem;
    box-shadow: none;
    opacity: 0.78;
}
.check-result .status-report-mini .report-btn:hover:not(:disabled) {
    opacity: 1;
    box-shadow: none;
}
.check-result .status-report-mini .report-btn.btn-success {
    background: transparent;
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #047857;
}
.check-result .status-report-mini .report-btn.btn-danger {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #b91c1c;
}
.check-result .status-report-mini .report-btn.btn-success:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.08);
}
.check-result .status-report-mini .report-btn.btn-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.08);
}
.check-result .user-reports-section .status-report-mini {
    justify-items: center;
    padding: 0 0 16px; 
}
.check-result .user-reports-section .status-report-mini-header {
    justify-content: center;
}
.check-result .user-reports-section .status-report-mini-title {
    text-align: center;
}
.check-result .user-reports-section .status-report-mini .report-buttons {
    justify-content: center;
}
@media (max-width: 640px) {
    .check-result .status-report-mini {
        padding: 12px 16px 16px;
    }
}
