/* WiFi.Report - Comprehensive Styles */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #000000;
    --primary-dark: #1a1a1a;
    --primary-light: #333333;
    --success-color: #000000;
    --warning-color: #000000;
    --danger-color: #000000;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --bg-tertiary: #E5E5E5;
    --border-color: #E0E0E0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: #000000;
    border-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    text-decoration: none;
}

.logo svg {
    flex-shrink: 0;
}

.logo svg path,
.logo svg circle {
    fill: #FFFFFF;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: #FFFFFF;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFFFFF;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.nav-extension {
    background: #FFFFFF;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 0;
    border: 2px solid #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.nav-links a.nav-extension:hover {
    background: transparent;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.nav-links a.nav-extension::after {
    display: none;
}

.nav-links a.nav-extension .ext-icon {
    font-size: 1rem;
    display: inline-block;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
    transform-origin: center;
}

.mobile-menu-toggle:hover span {
    background: rgba(255, 255, 255, 0.8);
}

/* Mobile Navigation Enhancements */
@media (max-width: 768px) {
        .nav-links.active a.nav-extension {
            background: #FFFFFF;
            color: #000000;
            border: 2px solid #FFFFFF;
            width: 100%;
            justify-content: center;
            padding: 0.75rem 1rem;
        }
        
        .nav-links.active a.nav-extension:hover {
            background: transparent;
            color: #FFFFFF;
        }
        
        /* Improve mobile CTA visibility */
        .scan-button {
            width: 100%;
            margin-top: 1rem;
        }
        
        .hero-cta-secondary {
            text-align: center;
        }
        
        /* Add safe spacing for mobile inputs and buttons */
        .form-button,
        .form-group input,
        .form-group textarea,
        .form-group select {
            min-height: 44px;
            font-size: 16px;
        }
        
        /* Improve touch targets */
        .nav-links a,
        .footer-links a {
            padding: 0.75rem 0.5rem;
        }
    }
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 6rem;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    background: #FFFFFF;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 50px,
        rgba(0, 0, 0, 0.02) 50px,
        rgba(0, 0, 0, 0.02) 51px
    );
    pointer-events: none;
    z-index: -1;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    margin-top: 3em;
}

.hero-content {
    margin: 0;
    padding: 0;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 2rem 0;
    padding: 0;
    color: var(--text-primary);
    letter-spacing: -1px;
    max-width: 1000px;
}

.gradient-text {
    color: #000000;
    font-weight: 900;
    position: relative;
    display: inline-block;
    border-bottom: 5px solid #000000;
    padding-bottom: 6px;
    margin: 0;
    transition: all 0.3s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 0 3.5rem 0;
    padding: 0;
    line-height: 1.8;
    max-width: 750px;
    font-weight: 400;
}

.hero-actions {
    margin: 0 0 1.5rem 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.scan-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 3.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
    color: #FFFFFF;
    background: #000000;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.scan-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #333333;
    transition: left 0.3s ease;
    z-index: -1;
}

.scan-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 12px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.scan-button:hover::before {
    left: 0;
}

.scan-button:active {
    transform: translateY(0);
}

.button-text,
.button-icon {
    position: relative;
    z-index: 1;
}

.hero-footer {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    width: 100%;
}

.hero-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin: 0;
    padding: 0;
}

.hero-note svg {
    flex-shrink: 0;
}

.hero-cta-secondary {
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-cta-secondary a,
.secondary-link {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #000000;
    transition: all 0.3s ease;
}

.hero-cta-secondary a:hover,
.secondary-link:hover {
    color: #333333;
    border-bottom-color: #333333;
}

/* Hero Visual - Hidden */
.hero-visual {
    display: none;
}

.oscilloscope {
    display: none;
}

.oscilloscope-svg {
    display: none;
}

.wave-line {
    animation: waveFlow 3s linear infinite;
    transform-origin: center;
}

@keyframes waveFlow {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(300px);
    }
}

.loading-grid {
    position: relative;
    width: 400px;
    height: 400px;
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(16, 1fr);
    gap: 4px;
}

.loading-square {
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0;
    animation: squareLoad 2s ease-in-out infinite;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

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

/* Scanning Section */
.scanning-section {
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

.scanning-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.scanning-visual {
    margin-bottom: 3rem;
}

.radar {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    border: 3px solid #000000;
    border-radius: 0;
    position: relative;
    background: #FFFFFF;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 2px;
    padding: 8px;
}

/* Preview radar size for hero card - black background with white squares */
.preview-radar {
    width: 320px;
    height: 160px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 1fr);
    background: #000000;
}

.preview-radar-container {
    background: #000000;
}

.preview-radar-wrapper {
    background: #000000;
}

.radar-square {
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0;
    animation: radarSquarePulse 2s ease-in-out infinite;
}

/* Preview radar squares are white */
.preview-radar .radar-square {
    background: #FFFFFF;
}

@keyframes radarSquarePulse {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.9;
        transform: scale(1);
    }
}

.radar-dot {
    display: none;
}

.radar-sweep {
    display: none;
}

/* Mobile-safe radar sizing */
@media (max-width: 480px) {
    .radar { width: 200px; height: 200px; }
    .preview-radar { width: 260px; height: 130px; }
}
@media (max-width: 360px) {
    .radar { width: 180px; height: 180px; }
    .preview-radar { width: 220px; height: 110px; }
}

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

.scanning-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.scanning-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #E0E0E0;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid #000000;
}

.progress-fill {
    height: 100%;
    background: #000000;
    border-radius: 0;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
    color: #000000;
}

.scanning-status {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.scanning-steps {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 0;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
    background: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    transform: translateX(5px);
}

.step.active .step-info h4,
.step.active .step-info p {
    color: #FFFFFF;
}

.step.completed {
    opacity: 0.6;
    border: 1px solid #000000;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: #F5F5F5;
    border: 1px solid #E0E0E0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    flex-shrink: 0;
}

.step.active .step-icon {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    color: #000000;
}

.step.completed .step-icon {
    background: #000000;
    border: 1px solid #000000;
    color: #FFFFFF;
}

.step span {
    font-weight: 500;
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
}

.step.active span {
    color: #FFFFFF;
    font-weight: 600;
}

/* Results Section */
.results-section {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    min-height: 100vh;
}

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

.results-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
    padding-bottom: 2rem;
    border-bottom: 2px solid #E0E0E0;
}

.results-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.results-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Overall Score */
.overall-score {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 0;
    border: 3px solid #000000;
    margin-bottom: 3rem;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s ease-out 0.1s both;
    transition: all 0.3s ease;
}

.overall-score:hover {
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.08);
}

.score-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.score-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-background {
    fill: none;
    stroke: var(--bg-tertiary);
    stroke-width: 12;
}

.score-progress {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    transition: stroke-dashoffset 1.5s ease-in-out;
}

.score-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-value {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: #000000;
    line-height: 1;
    font-family: 'Space Mono', monospace;
    letter-spacing: -3px;
}

.score-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.score-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.score-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Category Grid */
.category-grid {
    display: grid;
    /* Increased from 280px to 300px for better readability and spacing of card content */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Privacy Section - Full Width */
.privacy-section {
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.privacy-section .category-card {
    width: 100%;
}

.category-card {
    background: white;
    border-radius: 0;
    border: 2px solid #E0E0E0;
    padding: 2rem;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out both;
}

.category-card:hover {
    border-color: #000000;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

.category-grid .category-card:nth-child(1) { animation-delay: 0.2s; }
.category-grid .category-card:nth-child(2) { animation-delay: 0.3s; }
.category-grid .category-card:nth-child(3) { animation-delay: 0.4s; }

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.category-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon.security {
    background: #000000;
    color: white;
    border: 2px solid #000000;
}

.category-icon.privacy {
    background: #000000;
    color: white;
    border: 2px solid #000000;
}

.category-icon.speed {
    background: #000000;
    color: white;
    border: 2px solid #000000;
}

.category-icon.stability {
    background: #000000;
    color: white;
    border: 2px solid #000000;
}

.category-info {
    flex: 1;
}

.category-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.category-score {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-score .score {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge.excellent {
    background: #000000;
    color: #FFFFFF;
}

.badge.good {
    background: #666666;
    color: #FFFFFF;
}

.badge.warning {
    background: #999999;
    color: #000000;
}

.badge.poor {
    background: #E0E0E0;
    color: #000000;
}

.badge.exposed {
    background: #DC2626;
    color: #FFFFFF;
    animation: pulse-exposed 2s ease-in-out infinite;
    font-weight: 900;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
}

.badge.protected {
    background: #16A34A;
    color: #FFFFFF;
    font-weight: 900;
}

@keyframes pulse-exposed {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    }
}

/* Privacy IP Display Styles */
.privacy-ip-display {
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ip-info-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.ip-label {
    font-weight: 700;
    color: #374151;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.ip-address {
    font-family: 'Space Mono', monospace;
    font-size: 1.125rem;
    font-weight: 800;
    color: #000000;
    background: #FFFFFF;
    padding: 0.5rem 1rem;
    border: 2px solid #000000;
    border-radius: 6px;
    word-break: break-all;
    text-align: left;
}

.exposed-badge {
    background: #DC2626;
    color: #FFFFFF;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-weight: 900;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-exposed 2s ease-in-out infinite;
    display: inline-block;
    margin-top: 0.5rem;
    text-align: left;
}

.ip-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background: #FFFFFF;
    border-radius: 6px;
    font-size: 0.9rem;
    width: 100%;
    text-align: left;
}

.ip-details strong {
    color: #000000;
    font-weight: 700;
}

/* VPN CTA Styles */
.vpn-cta {
    margin-top: 1.5rem;
    padding: 2rem;
    background: #DC2626;
    border: 3px solid #DC2626;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    text-align: center;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.vpn-warning {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.5;
    font-family: 'Space Mono', monospace;
}

.vpn-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 0;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 3px solid #FFFFFF;
    width: 100%;
    max-width: 400px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Space Mono', monospace;
    background: #FFFFFF;
    color: #000000;
}

.vpn-button.expressvpn {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.vpn-button:hover {
    background: transparent;
    color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.vpn-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.vpn-text {
    font-weight: 700;
    white-space: normal;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.privacy-note {
    font-size: 0.75rem;
    color: #6B7280;
    text-align: left;
    font-weight: 500;
    margin: 0;
}

.protected-message {
    color: #16A34A;
    font-weight: 600;
    font-size: 1rem;
    padding: 1.25rem;
    background: #F0FDF4;
    border: 2px solid #86EFAC;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: left;
    width: 100%;
}

.unknown-message {
    color: #D97706;
    font-weight: 600;
    font-size: 1rem;
    padding: 1.25rem;
    background: #FFFBEB;
    border: 2px solid #FCD34D;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: left;
    width: 100%;
}

.issue-list {
    list-style: none;
    margin-top: 1rem;
}

.issue-list li {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
    background: #FEF2F2;
    border-left: 3px solid #DC2626;
    border-radius: 4px;
}

.issue-list li::before {
    content: '⚠';
    position: absolute;
    left: -0.5rem;
    display: none; /* Hide the before pseudo element */
}

.strengths-section,
.issues-section,
.metrics-section {
    margin-top: 1rem;
    padding-top: 1rem;
}

.strengths-section strong,
.issues-section strong,
.metrics-section strong {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.strengths-section ul {
    list-style: none;
    margin-top: 0.5rem;
}

.strength-item {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: #059669;
    font-weight: 500;
}

.strength-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.metrics-section ul {
    list-style: none;
    margin-top: 0.5rem;
}

.metrics-section li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E0E0E0;
    font-family: 'Space Mono', monospace;
}

.metrics-section li:last-child {
    border-bottom: none;
}

.category-details {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.category-details ul {
    list-style: none;
    margin-top: 1rem;
}

.category-details li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.category-details li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Speed Metrics */
.connection-info {
    background: white;
    border-radius: 0;
    border: 3px solid #000000;
    padding: 2.5rem;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
    transition: all 0.3s ease;
}

.connection-info:hover {
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.08);
}

.connection-info h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
    letter-spacing: -0.5px;
    border-bottom: 2px solid #E0E0E0;
    padding-bottom: 0.75rem;
}

.connection-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: #F9FAFB;
    border-left: 3px solid #000000;
    line-height: 1.5;
}

.connection-note .note-icon {
    vertical-align: middle;
    margin-right: 4px;
}

.connection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.connection-item {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: #F5F5F5;
    border-radius: 0;
    border: 2px solid #E0E0E0;
    transition: all 0.3s ease;
}

.connection-item:hover {
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.connection-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-family: 'Space Mono', monospace;
}

.connection-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
}

.connection-value.good-connection {
    color: #059669;
}

.connection-value.fair-connection {
    color: #d97706;
}

.connection-value.poor-connection {
    color: #dc2626;
}

.connection-comparison {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #E0E0E0;
}

.connection-comparison h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.comparison-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 0;
    border: 2px solid #E0E0E0;
    gap: 0.5rem;
}

.comparison-item.better {
    background: #F0FDF4;
    border-color: #059669;
}

.comparison-item.typical {
    background: #FFFBEB;
    border-color: #d97706;
}

.comparison-item.worse {
    background: #FEF2F2;
    border-color: #dc2626;
}

.comparison-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Space Mono', monospace;
}

.comparison-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
}

.comparison-typical {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-family: 'Space Mono', monospace;
}

.comparison-indicator {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.comparison-item.better .comparison-indicator {
    color: #059669;
}

.comparison-item.typical .comparison-indicator {
    color: #d97706;
}

.comparison-item.worse .comparison-indicator {
    color: #dc2626;
}

.metrics-help {
    background: white;
    border-radius: 0;
    border: 3px solid #000000;
    padding: 2rem;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.metrics-help h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.help-item {
    padding: 1.25rem;
    background: #F9FAFB;
    border-radius: 0;
    border: 2px solid #E0E0E0;
    font-size: 0.875rem;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.help-item:hover {
    border-color: #000000;
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05);
}

.help-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

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

.speed-metrics {
    background: white;
    border-radius: 0;
    border: 3px solid #000000;
    padding: 2.5rem;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.speed-metrics-list {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.speed-metrics-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.speed-metrics-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 1.2rem;
}

.speed-metrics-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.speed-metrics h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
    letter-spacing: -0.5px;
    border-bottom: 2px solid #E0E0E0;
    padding-bottom: 0.75rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.metric-card {
    padding: 2rem 1.5rem;
    background: #F5F5F5;
    border-radius: 0;
    border: 2px solid #E0E0E0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 140px;
}

.metric-card:hover {
    border-color: #000000;
    background: #FFFFFF;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.metric-icon {
    font-size: 2rem;
    display: block;
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
    letter-spacing: -0.5px;
}

.metric-unit {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-left: 0.25rem;
}

/* Responsive metrics grid */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .connection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .connection-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .speed-metrics {
        padding: 1.5rem;
    }
    
    .metric-card {
        padding: 1.5rem 1rem;
        min-height: 120px;
    }

    .speed-metrics h3,
    .connection-info h3 {
        font-size: 1.25rem;
    }

    .metric-value {
        font-size: 1rem;
    }
    
    .connection-value {
        font-size: 1.125rem;
    }
}
}

/* Recommendations */
.recommendations {
    background: white;
    border-radius: 0;
    border: 3px solid #000000;
    padding: 3rem;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.6s both;
    transition: all 0.3s ease;
}

.recommendations:hover {
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.08);
}

.recommendations-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
    letter-spacing: -1px;
    border-bottom: 3px solid #000000;
    padding-bottom: 1rem;
}

.recommendations-grid {
    display: grid;
    gap: 1.25rem;
}

.recommendation-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #F5F5F5;
    border-radius: 0;
    border-left: 4px solid #000000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.recommendation-card:hover {
    transform: translateX(8px);
    background: #EFEFEF;
    border-left-width: 6px;
}

.recommendation-card.critical {
    border-left-color: #000000;
    border-left-width: 6px;
}

.recommendation-card.warning {
    border-left-color: #666666;
}

.recommendation-card.info {
    border-left-color: #999999;
}

.recommendation-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
}

.recommendation-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.recommendation-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Results Actions */
.results-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.7s both;
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-button.primary {
    background: #000000;
    color: white;
    border: 2px solid #000000;
    border-radius: 0;
}

.action-button.primary:hover {
    background: #FFFFFF;
    color: #000000;
    transform: translateY(-2px);
}

.action-button.secondary {
    background: white;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 0;
}

.action-button.secondary:hover {
    background: #000000;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: white;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 0;
    background: #FFFFFF;
    border: 2px solid #E0E0E0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translate(-3px, -3px);
    border-color: #000000;
    background: white;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    color: #FFFFFF;
    border-radius: 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 4rem 0 2rem;
    border-top: 3px solid #000000;
    width: 100%;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-links-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 1.5rem 2rem;
    width: 100%;
}

.links-group ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000000;
        padding: 1rem 2rem;
        flex-direction: column;
        gap: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.active a {
        color: #FFFFFF;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 4rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-container {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        letter-spacing: -0.5px;
        margin: 0 0 1.5rem 0;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        margin: 0 0 1.5rem 0;
        max-width: 100%;
    }
    
    .hero-actions {
        margin: 0 0 2.5rem 0;
    }
    
    .scan-button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 0.9rem;
        letter-spacing: 1.5px;
        box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
    }
    
    .scan-button:hover {
        box-shadow: 0 6px 0 rgba(0, 0, 0, 0.2);
        transform: translateY(-1px);
    }
    
    .hero-note {
        font-size: 0.8rem;
        gap: 0.4rem;
    }
    
    .hero-cta-secondary {
        font-size: 0.85rem;
    }
    
    .hero-footer {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .scan-button {
        width: 100%;
        justify-content: center;
        padding: 1.25rem 2rem;
        font-size: 0.9rem;
        letter-spacing: 2px;
        box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
    }
    
    .scan-button:hover {
        box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.12);
    }
    
    .hero-note {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .hero-cta-secondary {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .hero-footer {
        gap: 0.75rem;
    }
    
    .wifi-rings, .loading-grid {
        width: 280px;
        height: 280px;
    }
    
    .ring {
        max-width: 300px;
        max-height: 300px;
    }
    
    .scan-button {
        width: 100%;
        justify-content: center;
        padding: 1.25rem 2rem;
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .hero-note {
        font-size: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Scanning Section Mobile Fixes */
    .scanning-section {
        padding: 2rem 1rem;
    }
    
    .scanning-container {
        padding: 0 0.5rem;
    }
    
    .scanning-title {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .scanning-status {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        word-wrap: break-word;
    }
    
    .scanning-steps {
        max-width: 100%;
        padding: 0;
    }
    
    .step {
        padding: 0.75rem;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }
    
    .step span {
        font-size: 0.85rem;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .step-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    /* Results Section Mobile Fixes */
    .results-section {
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .results-header {
        padding-bottom: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .results-title {
        font-size: 1.75rem;
        word-wrap: break-word;
        line-height: 1.3;
    }
    
    .results-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .overall-score {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        padding: 2rem 1.5rem;
    }
    
    .score-info h3 {
        font-size: 1.5rem;
        word-wrap: break-word;
    }
    
    .score-info p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-header {
        gap: 1rem;
        flex-wrap: nowrap;
    }
    
    .category-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    
    .category-info h3 {
        font-size: 1.1rem;
        word-wrap: break-word;
    }
    
    .category-details {
        font-size: 0.875rem;
        line-height: 1.6;
        word-wrap: break-word;
    }
    
    /* Privacy IP Display Mobile */
    .privacy-ip-display {
        padding: 1.25rem;
        gap: 1.25rem;
        align-items: center;
        text-align: center;
    }
    
    .ip-info-row {
        gap: 0.75rem;
        max-width: 100%;
        align-items: center;
    }
    
    .ip-address {
        font-size: 1rem;
        word-break: break-all;
        padding: 0.5rem 1rem;
        text-align: center;
    }
    
    .exposed-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.85rem;
        text-align: center;
    }
    
    .ip-details {
        font-size: 0.875rem;
        padding: 0.75rem;
        word-wrap: break-word;
        grid-template-columns: 1fr;
        max-width: 100%;
        text-align: center;
    }
    
    .vpn-cta {
        padding: 1.25rem;
        max-width: 100%;
        align-items: center;
    }
    
    .vpn-warning {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: center;
    }
    
    .vpn-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        min-width: auto;
    }
    
    .privacy-note,
    .protected-message,
    .ip-label {
        text-align: center;
    }
    
    .recommendations {
        padding: 1.5rem 1rem;
        margin: 0 0 2rem;
    }
    
    .recommendations-title {
        font-size: 1.5rem;
        padding-bottom: 0.75rem;
        word-wrap: break-word;
    }
    
    .recommendation-card {
        gap: 1rem;
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .recommendation-icon {
        width: 40px;
        height: 40px;
    }
    
    .recommendation-content h4 {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .recommendation-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .results-actions {
        gap: 0.75rem;
    }
    
    .action-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
    
    .footer-brand {
        padding-bottom: 1.5rem;
    }
    
    .footer-links-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links h4 {
        margin-bottom: 1rem;
        font-size: 0.85rem;
    }
    
    .footer-links li {
        margin-bottom: 0.6rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .scan-button {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    #home,
    .features-section,
    .footer,
    .results-actions {
        display: none !important;
    }
    
    .results-section {
        padding: 0;
    }
    
    .category-card {
        break-inside: avoid;
    }
}

/* Digital Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
}

/* Utility class for loading grid squares */
.loading-grid-square {
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0;
    animation: squareLoad 2s ease-in-out infinite;
}

/* Blog Styles */
.blog-hero {
    background: #000000;
    color: white;
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.blog-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

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

.blog-card {
    background: white;
    border: 2px solid #000000;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

/* Results Section Responsive */
@media (max-width: 768px) {
    .overall-score {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .score-info h3 {
        font-size: 1.5rem;
    }
    
    .score-info p {
        font-size: 0.95rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-header {
        flex-direction: row;
        align-items: center;
    }
    
    .recommendation-card {
        flex-direction: column;
        text-align: center;
    }
    
    .vpn-cta {
        padding: 1.5rem;
    }
    
    .vpn-warning {
        font-size: 1rem;
    }
    
    .vpn-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

@keyframes digitalGlitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

.scan-button:active {
    animation: digitalGlitch 0.3s;
