/* DrugHub Market - Enhanced Cyberpunk Design with Advanced Animations */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-size: 1.125rem;
    background: radial-gradient(ellipse at 70% 15%, #1be0ff44 0%, #0a0f14 100%);
    min-height: 100vh;
    color: #e8f7fa;
    font-family: 'Inter', 'Share Tech Mono', monospace, Arial, sans-serif;
    letter-spacing: 0.01em;
    animation: bg-flow 30s ease-in-out infinite alternate;
    overflow-x: hidden;
    line-height: 1.7;
    position: relative;
}

@keyframes bg-flow {
    0% { 
        background: radial-gradient(ellipse at 70% 15%, #1be0ff44 0%, #0a0f14 100%);
        background-position: 0% 0%; 
    }
    50% { 
        background: radial-gradient(ellipse at 30% 85%, #12ffc244 0%, #0a0f14 100%);
        background-position: 50% 50%; 
    }
    100% { 
        background: radial-gradient(ellipse at 90% 45%, #38ffad33 0%, #0a0f14 100%);
        background-position: 100% 100%; 
    }
}

/* Enhanced Matrix Background Animation */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.6;
}

.matrix-symbol {
    position: absolute;
    color: #1be0ff33;
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    animation: matrix-fall linear infinite;
    text-shadow: 0 0 8px #12ffc244, 0 0 16px #1be0ff22;
    filter: blur(0.5px);
}

@keyframes matrix-fall {
    0% {
        transform: translateY(-100vh) rotateX(0deg);
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        opacity: 0.8;
        filter: blur(0.5px);
    }
    100% {
        transform: translateY(100vh) rotateX(360deg);
        opacity: 0;
        filter: blur(1px);
    }
}

/* Enhanced Typography */
h1, h2, h3, .neon, .neon-text {
    color: #1be0ff;
    text-shadow:
        0 0 8px #12ffc2cc,
        0 0 20px #1be0ff77,
        0 0 40px #c2fffb33,
        0 0 60px #1be0ff22;
    font-family: 'Orbitron', 'Share Tech Mono', monospace;
    letter-spacing: 0.05em;
    position: relative;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5em;
    font-weight: 700;
    background: linear-gradient(45deg, #1be0ff, #12ffc2, #ffbe2f, #ee40ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.2em;
    font-weight: 600;
    position: relative;
}

h2::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: linear-gradient(45deg, #1be0ff11, #12ffc211, #ffbe2f11, #ee40ff11);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

h2:hover::before {
    opacity: 1;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 0.8em;
    font-weight: 500;
}

/* Enhanced Links */
a, .accent-link {
    color: #ee40ff;
    text-shadow: 0 0 6px #12ffc299, 0 0 18px #1be0ff22;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #12ffc2, #1be0ff);
    transition: width 0.3s ease;
}

a:hover::before {
    width: 100%;
}

a:hover, .accent-link:hover {
    color: #12ffc2;
    text-shadow: 0 0 15px #12ffc2cc, 0 0 35px #1be0ff44;
    transform: translateY(-2px);
}

/* Enhanced Navigation */
.terminal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #0a0f14ee 60%, #1a1f2acc 100%);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 2px solid #38ffad77;
    box-shadow: 
        0 8px 32px #1be0ff22,
        0 0 0 1px #1be0ff11 inset;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #38ffad;
    box-shadow: 
        0 0 20px #1be0ff44,
        0 0 40px #12ffc222 inset;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px #1be0ff66);
}

.nav-logo:hover {
    box-shadow: 
        0 0 30px #1be0ff66,
        0 0 60px #12ffc233 inset;
    transform: rotate(360deg);
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(45deg, #1be0ff, #12ffc2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: #87aac4;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #1be0ff22, transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover, .nav-link.active {
    color: #1be0ff;
    background: linear-gradient(135deg, #1be0ff11 0%, #12ffc222 100%);
    border-color: #38ffad55;
    box-shadow: 
        0 0 15px #1be0ff33,
        0 0 30px #12ffc222 inset;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: #1be0ff11;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #1be0ff, #12ffc2);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px #1be0ff44;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Enhanced Terminal Boot Intro */
.terminal-intro {
    background: linear-gradient(135deg, #0a0f14ee 0%, #1a1f2acc 100%);
    color: #e8f7fa;
    border: 2px solid #1be0ff55;
    border-radius: 16px;
    box-shadow: 
        0 0 30px #1be0ff22,
        0 0 60px #12ffc211 inset;
    font-family: 'Share Tech Mono', monospace;
    padding: 2.5rem 2rem 2rem 2.5rem;
    margin: 140px auto 3rem;
    max-width: 900px;
    backdrop-filter: blur(8px) saturate(180%);
    position: relative;
    overflow: hidden;
}

.terminal-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(90deg, #1be0ff22, #12ffc222, #ffbe2f22);
    border-radius: 16px 16px 0 0;
}

.terminal-intro::after {
    content: '● ● ●';
    position: absolute;
    top: 12px;
    left: 20px;
    color: #ff5555;
    font-size: 1.2rem;
    letter-spacing: 8px;
}

.boot-sequence div {
    margin-bottom: 0.75rem;
    opacity: 0;
    animation: boot-line 1s ease-in-out forwards;
    font-size: 1.1rem;
}

.boot-sequence div:nth-child(1) { animation-delay: 0s; }
.boot-sequence div:nth-child(2) { animation-delay: 1.2s; }
.boot-sequence div:nth-child(3) { animation-delay: 2.4s; }
.boot-sequence div:nth-child(4) { animation-delay: 3.6s; }

@keyframes boot-line {
    0% { 
        opacity: 0; 
        transform: translateX(-30px) scale(0.95); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(0) scale(1); 
    }
}

.typing-text {
    font-size: 1.2rem;
    color: #12ffc2;
    text-shadow: 0 0 12px #12ffc266;
    margin-top: 1rem;
}

.typing-text::after {
    content: '█';
    animation: cursor-blink 1.2s infinite;
    color: #ffbe2f;
    margin-left: 2px;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Enhanced Hero Section */
.hero-section {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, #1be0ff11 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #1be0ff, #12ffc2, #ffbe2f, #ee40ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hero-glow 4s ease-in-out infinite alternate, gradient-shift 6s ease-in-out infinite;
    position: relative;
}

@keyframes hero-glow {
    0% { 
        filter: drop-shadow(0 0 20px #1be0ff66);
        transform: scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 50px #12ffc266);
        transform: scale(1.02);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #87aac4;
    margin-bottom: 1.5rem;
    font-family: 'Share Tech Mono', monospace;
    opacity: 0;
    animation: fade-in-up 1s ease-out 0.5s forwards;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #e8f7fa;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0;
    animation: fade-in-up 1s ease-out 1s forwards;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Fast Stats Bar */
.fast-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: linear-gradient(135deg, #0a0f14ee 0%, #1a1f2acc 100%);
    border-radius: 20px;
    box-shadow: 
        0 4px 32px #1be0ff22,
        0 0 0 1px #38ffad33 inset;
    margin: 3rem auto;
    padding: 3rem 2rem;
    border: 2px solid #38ffad33;
    backdrop-filter: blur(12px) saturate(180%);
    max-width: 1400px;
    position: relative;
    overflow: hidden;
}

.fast-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #1be0ff11, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #1be0ff11 0%, #12ffc211 100%);
    border: 1px solid #38ffad33;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1be0ff, #12ffc2, #ffbe2f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 35px #1be0ff33,
        0 0 0 1px #ffbe2f66 inset;
    border-color: #ffbe2f66;
    background: linear-gradient(135deg, #1be0ff22 0%, #12ffc222 100%);
}

.stat-number {
    display: block;
    color: #ffbe2f;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-shadow: 
        0 0 15px #ffbe2f66, 
        0 0 30px #38ffad33;
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: #12ffc2;
    text-shadow: 
        0 0 20px #12ffc266, 
        0 0 40px #1be0ff33;
    transform: scale(1.1);
}

.stat-label {
    color: #12ffc2;
    font-size: 0.95rem;
    font-family: 'Inter', Arial, sans-serif;
    opacity: 0.92;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* Enhanced Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Enhanced Sections */
.section {
    background: linear-gradient(135deg, #0a0f14ee 0%, #1a1f2acc 100%);
    border-radius: 20px;
    box-shadow: 
        0 4px 32px #1be0ff22,
        0 0 0 1px #38ffad33 inset;
    margin: 3rem auto;
    padding: 3rem 2.5rem;
    border: 2px solid #38ffad33;
    backdrop-filter: blur(12px) saturate(180%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section:hover {
    box-shadow: 
        0 8px 40px #1be0ff33,
        0 0 0 1px #1be0ff44 inset;
    border-color: #1be0ff44;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1be0ff, #12ffc2, #ffbe2f, #ee40ff);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease-in-out infinite;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #1be0ff, #12ffc2, #ffbe2f);
    border-radius: 3px;
    box-shadow: 0 0 15px #1be0ff66;
}

.section-content {
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 1.8rem;
    color: #e8f7fa;
    font-size: 1.1rem;
    opacity: 0;
    animation: fade-in-up 0.8s ease-out forwards;
}

.section-content p:nth-child(1) { animation-delay: 0.1s; }
.section-content p:nth-child(2) { animation-delay: 0.2s; }
.section-content p:nth-child(3) { animation-delay: 0.3s; }
.section-content p:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced Mirrors Section */
.mirrors-warning {
    background: linear-gradient(90deg, #ffbe2f22 0%, #ee40ff11 100%);
    border-left: 4px solid #ffbe2f;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    color: #c2fffb;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.mirrors-warning::before {
    content: '⚠️';
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.mirrors-container {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.mirror-item {
    background: linear-gradient(135deg, #1a1f2abb 0%, #0a0f14 100%);
    border: 1px solid #38ffad44;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mirror-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #1be0ff11, transparent);
    transition: left 0.6s ease;
}

.mirror-item:hover::before {
    left: 100%;
}

.mirror-item:hover {
    border-color: #1be0ff66;
    box-shadow: 
        0 8px 30px #1be0ff22,
        0 0 0 1px #1be0ff33 inset;
    transform: translateY(-4px);
    background: linear-gradient(135deg, #1a1f2acc 0%, #0a0f14 100%);
}

.mirror-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.mirror-link {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    color: #1be0ff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1be0ff11 0%, #12ffc211 100%);
    border-radius: 12px;
    border: 1px solid #38ffad44;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mirror-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #1be0ff22, #12ffc222);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mirror-link:hover::before {
    opacity: 1;
}

.mirror-link:hover {
    background: linear-gradient(135deg, #1be0ff22 0%, #12ffc222 100%);
    box-shadow: 
        0 0 20px #1be0ff44,
        0 0 40px #12ffc222 inset;
    transform: translateY(-2px);
}

.mirror-status {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
}

.status-online {
    background: linear-gradient(135deg, #12ffc222 0%, #38ffad22 100%);
    color: #12ffc2;
    border: 1px solid #12ffc244;
    box-shadow: 0 0 15px #12ffc233;
}

.status-online::before {
    content: '●';
    margin-right: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.status-maintenance {
    background: linear-gradient(135deg, #ffbe2f22 0%, #ee40ff22 100%);
    color: #ffbe2f;
    border: 1px solid #ffbe2f44;
    box-shadow: 0 0 15px #ffbe2f33;
}

.status-maintenance::before {
    content: '⚠';
    margin-right: 0.5rem;
}

.mirror-details {
    display: flex;
    gap: 2.5rem;
    font-size: 0.95rem;
    color: #87aac4;
    flex-wrap: wrap;
}

.mirror-details > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mirrors-refresh {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #38ffad33;
}

.refresh-btn {
    background: linear-gradient(135deg, #1be0ff33 0%, #12ffc255 100%);
    border: 2px solid #38ffad;
    color: #1be0ff;
    border-radius: 16px;
    box-shadow: 
        0 0 20px #12ffc244,
        0 0 40px #1be0ff22 inset;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Share Tech Mono', monospace;
    position: relative;
    overflow: hidden;
}

.refresh-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #1be0ff22, transparent);
    transition: left 0.5s ease;
}

.refresh-btn:hover::before {
    left: 100%;
}

.refresh-btn:hover {
    box-shadow: 
        0 0 40px #1be0ff99, 
        0 0 20px #12ffc2cc inset;
    border-color: #ee40ff;
    color: #ee40ff;
    transform: translateY(-3px) scale(1.02);
}

.refresh-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.last-updated {
    display: block;
    margin-top: 1.5rem;
    color: #87aac4;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Enhanced Registration Steps */
.registration-steps {
    margin: 2.5rem 0;
}

.step-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1f2abb 0%, #0a0f14 100%);
    border-radius: 16px;
    border: 1px solid #38ffad33;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1be0ff, #12ffc2, #ffbe2f);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.step-item:hover::before {
    transform: scaleY(1);
}

.step-item:hover {
    border-color: #ffbe2f66;
    box-shadow: 
        0 8px 30px #1be0ff22,
        0 0 0 1px #1be0ff22 inset;
    transform: translateX(8px);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1be0ff, #12ffc2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 1.2rem;
    color: #0a0f14;
    box-shadow: 
        0 0 20px #1be0ff44,
        0 0 40px #12ffc222 inset;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 
        0 0 30px #1be0ff66,
        0 0 60px #12ffc233 inset;
}

.step-content h3 {
    margin-bottom: 1rem;
    color: #1be0ff;
    font-size: 1.3rem;
}

.step-content p {
    color: #e8f7fa;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Enhanced Feature Cards */
.pgp-features, .payment-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.feature-card, .payment-card {
    background: linear-gradient(135deg, #1a1f2abb 0%, #0a0f14 100%);
    border: 1px solid #38ffad33;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before, .payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1be0ff, #12ffc2, #ffbe2f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover, .payment-card:hover {
    border-color: #1be0ff66;
    box-shadow: 
        0 8px 30px #1be0ff22,
        0 0 0 1px #1be0ff22 inset;
    transform: translateY(-6px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 10px #1be0ff44);
}

.feature-card h3, .payment-card h3 {
    margin-bottom: 1rem;
    color: #1be0ff;
    font-size: 1.2rem;
}

.feature-card p, .payment-card p {
    color: #e8f7fa;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Enhanced Stats Cards */
.pgp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #1be0ff11 0%, #12ffc211 100%);
    border: 1px solid #38ffad33;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1be0ff, #12ffc2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px #1be0ff33;
    border-color: #ffbe2f66;
}

.stat-card .stat-number {
    font-size: 2rem;
    color: #ffbe2f;
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-card .stat-label {
    color: #12ffc2;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Payment Section Enhancements */
.payment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.crypto-icon {
    font-size: 2rem;
    color: #ffbe2f;
    text-shadow: 0 0 15px #ffbe2f66;
}

.payment-details {
    margin-top: 1rem;
}

.payment-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #87aac4;
}

.payment-details strong {
    color: #1be0ff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0a0f14ee 0%, #1a1f2acc 100%);
        backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
        border-top: 2px solid #38ffad77;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        top: 100%;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .terminal-intro {
        margin: 120px auto 2rem;
        padding: 2rem 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .fast-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .section {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
    }
    
    .step-item {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .mirror-main {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .mirror-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pgp-features, .payment-features {
        grid-template-columns: 1fr;
    }
    
    .pgp-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .terminal-intro {
        padding: 1.5rem 1rem;
        margin: 100px auto 1.5rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .fast-stats {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
    }
    
    .section {
        padding: 1.5rem 1rem;
        margin: 1.5rem auto;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .matrix-bg {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .section {
        border-width: 3px;
    }
    
    .nav-link:hover, .nav-link.active {
        background: #1be0ff;
        color: #000;
    }
    
    .mirror-link:hover {
        background: #1be0ff;
        color: #000;
    }
}

/* Print styles */
@media print {
    .matrix-bg,
    .terminal-nav,
    .terminal-intro,
    .refresh-btn {
        display: none;
    }
    
    .section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
    
    body {
        background: white;
        color: black;
    }
    
    h1, h2, h3 {
        color: black;
        text-shadow: none;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #1be0ff33;
    border-top: 3px solid #1be0ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Focus states for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #1be0ff;
    outline-offset: 2px;
}

/* Smooth scrolling enhancement */
html {
    scroll-padding-top: 120px;
}

/* Enhanced animations for modern browsers */
@supports (backdrop-filter: blur(10px)) {
    .terminal-nav,
    .section,
    .fast-stats {
        backdrop-filter: blur(12px) saturate(180%);
    }
}

/* CSS Grid fallback */
@supports not (display: grid) {
    .fast-stats,
    .pgp-features,
    .payment-features,
    .pgp-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .stat-item,
    .feature-card,
    .payment-card,
    .stat-card {
        flex: 1 1 300px;
    }
}

