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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0f0f1e 100%);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,255,255,0.02) 2px,
        rgba(0,255,255,0.02) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

header {
    background: rgba(26,26,46,0.9);
    padding: 15px 0;
    border-bottom: 2px solid #00ffff;
    box-shadow: 0 5px 20px rgba(0,255,255,0.3);
    position: relative;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    animation: colorShift 3s infinite;
}

@keyframes colorShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(180deg); }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: #00ffff;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 5px;
    border: 1px solid transparent;
}

nav a:hover {
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0,255,255,0.5);
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        justify-content: center;
    }
}

main {
    padding: 20px 0;
}

.top-banner {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.top-banner:hover .banner-img {
    transform: scale(1.05);
}

.hero {
    background: rgba(26,26,46,0.8);
    padding: 40px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 2px solid #00ffff;
    box-shadow: 0 0 30px rgba(0,255,255,0.2);
}

.hero h1 {
    font-size: 32px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.8;
}

section {
    background: rgba(26,26,46,0.8);
    padding: 40px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0,255,255,0.3);
    animation: fadeInUp 0.8s ease-out;
}

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

h2 {
    color: #00ffff;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0,255,255,0.5);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0,255,255,0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(0,255,255,0.8), 0 0 30px rgba(0,255,255,0.6);
    }
}

h3 {
    color: #ff00ff;
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
}

p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #ccc;
}

.feature-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(15,15,30,0.5);
    border-radius: 10px;
    border: 1px solid rgba(255,0,255,0.3);
    animation: floatBox 6s ease-in-out infinite;
}

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

.feature-img-left {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #ff00ff;
    box-shadow: 0 0 20px rgba(255,0,255,0.4);
    transition: all 0.5s ease;
}

.feature-img-left:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 40px rgba(255,0,255,0.8);
}

.feature-text h3 {
    margin-top: 0;
    color: #00ffff;
}

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

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.security-card {
    background: rgba(15,15,30,0.6);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid rgba(0,255,255,0.3);
    text-align: center;
    transition: all 0.3s;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(0,255,255,0.3);
        box-shadow: 0 0 10px rgba(0,255,255,0.2);
    }
    50% {
        border-color: rgba(255,0,255,0.5);
        box-shadow: 0 0 20px rgba(255,0,255,0.4);
    }
}

.security-card:hover {
    border-color: #00ffff;
    box-shadow: 0 0 30px rgba(0,255,255,0.5);
    transform: translateY(-5px);
}

.security-card h3 {
    margin-top: 0;
    color: #00ffff;
}

.security-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    display: block;
    border: 2px solid #ff00ff;
    animation: imagePulse 3s ease-in-out infinite;
}

@keyframes imagePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255,0,255,0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(0,255,255,0.6);
    }
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.resource-item {
    background: rgba(15,15,30,0.5);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #00ffff;
    transition: all 0.3s;
}

.resource-item:hover {
    border-left-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255,0,255,0.3);
}

.resource-item h3 {
    margin-top: 0;
    color: #00ffff;
}

.resource-item a {
    color: #ff00ff;
    text-decoration: none;
    font-weight: bold;
}

.resource-item a:hover {
    color: #00ffff;
    text-decoration: underline;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.share-btn {
    padding: 12px 30px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s;
    border-radius: 30px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    box-shadow: 0 5px 15px rgba(0,255,255,0.3);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,0,255,0.5);
}

footer {
    background: rgba(26,26,46,0.9);
    color: #fff;
    padding: 50px 20px 20px;
    margin-top: 40px;
    border-top: 2px solid #00ffff;
}

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

.footer-section h4 {
    color: #00ffff;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0,255,255,0.5);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 10px;
}

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

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

.footer-section ul li a {
    color: #ff00ff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #00ffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 2px solid rgba(0,255,255,0.3);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 10px 0;
    line-height: 1.6;
    color: #888;
    font-size: 14px;
}

.footer-bottom p:first-child {
    font-weight: bold;
    font-size: 16px;
    color: #fff;
}

.footer-bottom p strong {
    color: #00ffff;
}

/* PGP Verification Styles */
.pgp-container {
    margin-top: 20px;
}

.pgp-key-block {
    background: rgba(0,0,0,0.6);
    border: 2px solid #00ffff;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.pgp-key-block pre {
    color: #00ffff;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    white-space: pre;
    word-wrap: normal;
}

.verification-steps {
    background: rgba(15,15,30,0.6);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ff00ff;
    margin: 20px 0;
}

.verification-steps ol {
    margin-left: 20px;
    color: #ccc;
}

.verification-steps li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.verification-steps code {
    background: rgba(0,255,255,0.2);
    color: #00ffff;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.security-warning {
    background: rgba(255,0,0,0.1);
    border: 2px solid #ff0066;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255,0,102,0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(255,0,102,0.6);
    }
}

.security-warning h4 {
    color: #ff0066;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.security-warning p {
    color: #ffccdd;
    line-height: 1.8;
}

.security-warning strong {
    color: #ff0066;
}
