@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Share+Tech+Mono&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-deep: #0a0a0f;
    --bg: #0d0d14;
    --bg-card: #12121c;
    --bg-card-hover: #181825;
    --border: rgba(139, 92, 246, 0.15);
    --border-glow: rgba(139, 92, 246, 0.4);
    --text: #e0e0e8;
    --text-muted: #6a6a7a;
    --text-bright: #ffffff;
    --neon-purple: #8b5cf6;
    --neon-blue: #06b6d4;
    --neon-pink: #ec4899;
    --bitcoin: #f7931a;
    --bitcoin-glow: rgba(247, 147, 26, 0.4);
    --green: #22c55e;
    --red: #ef4444;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Top glow */
body::after {
    content: '';
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--neon-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

/* Nav */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.8);
}
nav a {
    color: var(--text-muted);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
    transition: width 0.3s ease;
}
nav a:hover::after,
nav a.active::after {
    width: 100%;
}
nav a:hover,
nav a.active {
    color: var(--text-bright);
    text-shadow: none;
}

/* Header */
header {
    text-align: center;
    padding: 5rem 0 3rem;
    position: relative;
}
header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--text-bright) 0%, var(--neon-purple) 50%, var(--bitcoin) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}
header p {
    font-family: 'Share Tech Mono', monospace;
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Glowing line separator */
.glow-line {
    width: 120px;
    height: 2px;
    margin: 2rem auto;
    background: linear-gradient(90deg, transparent, var(--neon-purple), var(--bitcoin), transparent);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

/* Relay address box */
.relay-address {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.2rem 2rem;
    text-align: center;
    margin: 2.5rem auto;
    max-width: 500px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.15rem;
    color: var(--neon-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.relay-address::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.05), transparent);
    transition: left 0.5s ease;
}
.relay-address:hover::before {
    left: 100%;
}
.relay-address:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15), inset 0 0 20px rgba(139, 92, 246, 0.05);
}
.relay-address small {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-top: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.relay-address.tor {
    margin-top: 0.75rem;
    white-space: nowrap;
    font-size: 1.15rem;
    max-width: 100%;
}

/* Section titles */
h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
h2 span {
    color: var(--neon-purple);
}

/* Feature list */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0 3rem;
}
.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.feature:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}
.feature .icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.feature h3 {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}
.feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Pricing grid */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    align-items: start;
}

/* Price card */
.price-card {
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 4px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 0 15px rgba(139, 92, 246, 0.15),
        0 0 30px rgba(247, 147, 26, 0.08),
        inset 0 0 30px rgba(139, 92, 246, 0.03);
    animation: card-glow 3s ease-in-out infinite;
}
@keyframes card-glow {
    0%, 100% {
        border-color: rgba(139, 92, 246, 0.3);
        box-shadow:
            0 0 15px rgba(139, 92, 246, 0.15),
            0 0 30px rgba(247, 147, 26, 0.08),
            inset 0 0 30px rgba(139, 92, 246, 0.03);
    }
    50% {
        border-color: rgba(247, 147, 26, 0.4);
        box-shadow:
            0 0 25px rgba(247, 147, 26, 0.2),
            0 0 50px rgba(139, 92, 246, 0.12),
            inset 0 0 40px rgba(247, 147, 26, 0.03);
    }
}
.price-card:hover {
    transform: translateY(-2px);
    border-color: rgba(247, 147, 26, 0.5);
    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.25),
        0 0 60px rgba(247, 147, 26, 0.15),
        0 4px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 40px rgba(139, 92, 246, 0.05);
}
.save-badge {
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--bitcoin);
    color: #000;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
}
.plan-selector {
    display: flex;
    gap: 1rem;
}
.plan-option {
    flex: 1;
    cursor: pointer;
}
.plan-option input[type="radio"] {
    display: none;
}
.plan-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
}
.plan-card strong {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-bright);
}
.plan-card span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.plan-option input[type="radio"]:checked + .plan-card {
    border-color: var(--bitcoin);
    box-shadow: 0 0 15px var(--bitcoin-glow);
    background: var(--bg-card-hover);
}
.plan-card:hover {
    border-color: var(--border-glow);
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--bitcoin), var(--neon-blue));
    z-index: 1;
}
.price-card .amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--bitcoin);
    text-shadow: 0 0 30px var(--bitcoin-glow);
    line-height: 1;
    animation: price-pulse 3s ease-in-out infinite;
}
@keyframes price-pulse {
    0%, 100% { text-shadow: 0 0 30px var(--bitcoin-glow); }
    50% { text-shadow: 0 0 50px var(--bitcoin-glow), 0 0 80px rgba(247, 147, 26, 0.15); }
}
.price-card .currency {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}
.price-card .period {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: 0.25rem;
}
.price-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}
.price-card ul li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.07);
}
.price-card ul li::before {
    content: ">";
    color: var(--neon-purple);
    font-family: 'Share Tech Mono', monospace;
    margin-right: 0.75rem;
}
.price-card ul li:last-child {
    border-bottom: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: 2px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--bitcoin) 0%, #e8850f 100%);
    color: #000;
    font-weight: 600;
    box-shadow: 0 0 20px var(--bitcoin-glow);
}
.btn-primary:hover {
    box-shadow: 0 0 40px var(--bitcoin-glow), 0 0 60px rgba(247, 147, 26, 0.2);
    transform: translateY(-1px);
    color: #000;
    text-shadow: none;
}
.btn-outline {
    background: transparent;
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple);
}
.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    color: var(--text-bright);
    text-shadow: none;
}

/* Forms */
.form-group {
    margin: 1.5rem 0;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--text);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}
.form-group input::placeholder {
    color: var(--text-muted);
}

/* Status */
.status-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}
.status-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}
.status-box.active {
    border-color: rgba(34, 197, 94, 0.3);
}
.status-box.active::before {
    background: var(--green);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}
.status-box.expired {
    border-color: rgba(239, 68, 68, 0.3);
}
.status-box.expired::before {
    background: var(--red);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 2px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.status-badge.active {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.status-badge.expired {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Messages */
.message {
    padding: 1rem;
    border-radius: 2px;
    margin: 1rem 0;
    display: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
}
.message.error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--red);
}
.message.success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--green);
}
.message.visible {
    display: block;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 1px;
}

/* Free read note */


.note {
    text-align: center;
    margin-top: 2rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--bitcoin);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Typewriter cursor blink */
#cursor {
    animation: blink 0.7s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* How it works */
.steps {
    counter-reset: step;
    list-style: none;
    margin: 1.5rem 0;
}
.steps li {
    counter-increment: step;
    padding: 0.75rem 0 0.75rem 3rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-left: 1px solid var(--border);
    margin-left: 1rem;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: -0.75rem;
    top: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--bg-deep);
    border: 1px solid var(--neon-purple);
    border-radius: 50%;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-purple);
}
.steps li code {
    background: rgba(139, 92, 246, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 2px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: var(--neon-blue);
}

@media (max-width: 600px) {
    header h1 { font-size: 2rem; letter-spacing: 2px; }
    .features { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .container { padding: 1rem; }
    header { padding: 3rem 0 2rem; }
    .price-card .amount { font-size: 2.5rem; }
    nav { gap: 1.5rem; }
}
