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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: #4a90e2;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    width: 42px;
    height: 42px;
}

.logo-user {
    fill: none;
    stroke: #4a90e2;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.logo-shield {
    fill: none;
    stroke: #357abd;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: shieldPulse 3s ease-in-out infinite;
}

.logo-network {
    fill: none;
    stroke: #667eea;
    stroke-width: 1;
    stroke-linecap: round;
    opacity: 0.7;
    animation: networkFlow 4s ease-in-out infinite;
}

.logo-connection {
    fill: none;
    stroke: #4a90e2;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 2,2;
    animation: dataFlow 2s linear infinite;
}

.network-node {
    fill: #667eea;
    opacity: 0;
    animation: nodeGlow 3s ease-in-out infinite;
}

.network-node:nth-child(2) { animation-delay: 0.5s; }
.network-node:nth-child(3) { animation-delay: 1s; }
.network-node:nth-child(4) { animation-delay: 1.5s; }
.network-node:nth-child(5) { animation-delay: 2s; }

@keyframes shieldPulse {
    0%, 100% { stroke-width: 1.5; opacity: 1; }
    50% { stroke-width: 2; opacity: 0.8; }
}

@keyframes networkFlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes dataFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 8; }
}

@keyframes nodeGlow {
    0%, 70% { opacity: 0; }
    80% { opacity: 0.8; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(74, 144, 226, 0.1);
}

.burger-line {
    width: 22px;
    height: 2.5px;
    background-color: #333;
    margin: 2.5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Burger animation when open - forms X */
.mobile-menu-open .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: #4a90e2;
}

.mobile-menu-open .burger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: #4a90e2;
}

/* Desktop navigation */
.desktop-nav {
    display: flex;
}

/* Mobile navigation overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    padding: 1rem 2rem;
    margin-top: -15vh; /* Move content higher up */
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 1rem 0; /* Reduced spacing between items */
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0 auto;
    max-width: 280px;
}

.mobile-nav-links a:hover {
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
}

.cta-button {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 14px 28px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.large {
    padding: 18px 36px;
    font-size: 1.15rem;
    border-radius: 40px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 40%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 70%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px, 120px 120px;
    animation: networkFloat 20s infinite linear;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%);
    animation: heroShimmer 8s infinite;
}

@keyframes networkFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

@keyframes heroShimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 4px 8px rgba(0,0,0,0.3); }
    100% { text-shadow: 0 4px 20px rgba(255,255,255,0.3), 0 4px 8px rgba(0,0,0,0.3); }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-button {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.secondary-button:hover {
    background: white;
    color: #667eea;
}

/* Main Content Styles */
main {
    padding: 60px 0;
    background: white;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.page-header h1 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
}

.section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section h3 {
    font-size: 1.5rem;
    color: #4a90e2;
    margin: 2rem 0 1rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(74, 144, 226, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
    transition: all 0.3s;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(74, 144, 226, 0.4);
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: #f8fafc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s;
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(74, 144, 226, 0.2);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
    transition: all 0.3s;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(74, 144, 226, 0.35);
}

.benefit-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.benefit-content p {
    color: #666;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    animation: ctaPattern 25s infinite linear;
}

@keyframes ctaPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.white-button {
    background: white;
    color: #4a90e2;
    padding: 18px 36px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(255,255,255,0.2);
    display: inline-block;
}

.white-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s;
}

.white-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255,255,255,0.3);
    color: #357abd;
}

.white-button:hover::before {
    left: 100%;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item:hover {
    border-color: rgba(74, 144, 226, 0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-question {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    padding: 1.8rem;
    cursor: pointer;
    font-weight: 600;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: linear-gradient(145deg, #e2e8f0, #f8fafc);
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #e2e8f0;
    color: #666;
}

.faq-toggle {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
    color: #4a90e2;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: #357abd;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    color: #666;
}

.breadcrumb a {
    color: #4a90e2;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #4a90e2;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    color: #ccc;
}

/* Additional Resource Page Styles */
.step-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
}

.step-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4a90e2;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.step-list {
    list-style: none;
    padding-left: 0;
}

.step-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    border-bottom: 1px solid #e2e8f0;
}

.step-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a90e2;
    font-weight: bold;
    font-size: 1.1rem;
}

.tips-box {
    background: linear-gradient(135deg, #e6f3ff, #f0f8ff);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border: 1px solid #b3d9ff;
}

.tips-box h3 {
    color: #357abd;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-box {
    background: linear-gradient(135deg, #fee2e2, #fef7f7);
    border: 1px solid #fca5a5;
    border-left: 5px solid #ef4444;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.warning-box h3 {
    color: #dc2626;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-box {
    background: linear-gradient(135deg, #d1fae5, #f0fdf4);
    border: 1px solid #86efac;
    border-left: 5px solid #22c55e;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.success-box h3 {
    color: #16a34a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* XX Network Section */
.xx-network-section {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.xx-network-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.8" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1.2" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="0.6" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.xx-content {
    position: relative;
    z-index: 2;
}

.xx-network-section h3 {
    color: #e0e7ff;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.chaum-highlight {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 5px solid #4a90e2;
}

.chaum-highlight h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.chaum-highlight p {
    color: #1f2937;
}

.revolution-box {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid #34d399;
    border-left: 5px solid #10b981;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.revolution-box h3 {
    color: #000000;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.revolution-box p {
    color: #000000;
}

.revolution-box ul {
    color: #000000;
}

.revolution-box li {
    color: #000000;
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    padding: 1rem;
    margin: 0.5rem 0;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    padding-left: 3rem;
    color: #374151;
}

.solution-list li:before {
    content: '✅';
    position: absolute;
    left: 1rem;
    font-size: 1.2rem;
}

/* Privacy Check Tool Styles */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.privacy-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.privacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: rgba(74, 144, 226, 0.3);
}

.privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.privacy-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.card-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.loading {
    color: #666;
    font-style: italic;
}

.loading.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.result {
    color: #333;
    font-weight: 500;
}

.warning {
    color: #dc2626;
    font-weight: bold;
}

.good {
    color: #16a34a;
    font-weight: bold;
}

.info-item {
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.threat-level {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.threat-high {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    color: #dc2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.threat-medium {
    background: linear-gradient(135deg, #fed7aa, #fdba74);
    color: #ea580c;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.2);
}

.threat-low {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.refresh-button {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.2);
}

.refresh-button:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 2rem 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive - Mobile and Tablet */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .desktop-cta {
        display: none;
    }
    
    /* Mobile nav group - CTA + Burger together */
    .mobile-nav-group {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    /* Hide mobile nav group on desktop */
    .mobile-nav-group {
        display: none;
    }
    
    /* Prevent body scroll when menu is open */
    body.mobile-menu-open {
        overflow: hidden;
    }
    
    /* Adjust nav layout for mobile */
    nav {
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 0.8rem 0;
    }
    
    /* Logo optimization for mobile */
    .logo {
        font-size: 0.75rem;
        gap: 0.3rem;
        font-weight: 700;
        line-height: 1.1;
        flex: 1;
        max-width: 140px;
    }
    
    .logo span {
        line-height: 1.1;
        word-spacing: -0.1em;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }
    
    .logo-svg {
        width: 28px;
        height: 28px;
    }
    
    /* Show mobile nav group on mobile */
    .mobile-nav-group {
        display: flex !important;
    }
    
    /* CTA button in mobile nav group */
    .mobile-nav-group .cta-button {
        padding: 6px 10px;
        font-size: 0.75rem;
        border-radius: 18px;
        white-space: nowrap;
        margin: 0;
        flex-shrink: 0;
        font-weight: 600;
    }
    
    /* Burger menu in mobile nav group */
    .mobile-nav-group .mobile-menu-btn {
        margin: 0;
        flex-shrink: 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .step-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .container {
        max-width: 900px;
        padding: 0 15px;
    }
    
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .privacy-card {
        padding: 1rem;
    }
    
    .card-header {
        flex-direction: row;
        text-align: left;
        gap: 0.75rem;
    }
    
    .card-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .contact-form {
        max-width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}
/* NUCLEAR MOBILE HEADER FIX */

@media (max-width: 1024px) {
    /* Force the exact layout we want */
    nav {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
    
    /* Logo: Position 1 (far left) */
    .logo {
        order: 1 !important;
        flex: 1 !important;
        max-width: 140px !important;
        margin-right: auto !important;
    }
    
    /* Hide desktop nav */
    .desktop-nav {
        display: none !important;
    }
    
    /* CTA Button IN HEADER ONLY: Position 2 (middle-right) */
    nav .cta-button {
        order: 2 !important;
        margin: 0 6px 0 0 !important;
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    /* Burger Menu: Position 3 (far right) */
    .mobile-menu-btn {
        order: 3 !important;
        display: flex !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    
    /* Hide any mobile nav groups that might exist */
    .mobile-nav-group {
        display: none !important;
    }
    
    /* Make sure burger appears */
    .mobile-menu-btn {
        visibility: visible !important;
        opacity: 1 !important;
    }
}