:root {
    /* Dark Base Colors */
    --background-dark: #23252e;
    --background-darker: #1a1c23;
    --background-light: #2d3039;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b7280;

    /* Accent Colors */
    --accent-blue: #3f90fb;
    --accent-blue-dark: #2b6cc4;
    --accent-teal: #14b8a6;
    --accent-green: #10b981;
    --accent-red: #c71422;
    --accent-yellow: #f59e0b;

    /* UI Element Colors */
    --border-color: #374151;
    --card-background: rgba(255, 255, 255, 0.05);
    --hover-overlay: rgba(255, 255, 255, 0.1);

    /* Spacing and Layout */
    --border-radius: 8px;
    --container-width: 1200px;
    --section-spacing: 60px;
    --card-padding: 24px;
}

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

body {
    font-family:
        "Inter",
        "Segoe UI",
        Roboto,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
    color: var(--accent-blue);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    color: var(--text-primary);
}

h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-teal);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-spacing) 0;
}

.card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-blue);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-blue-dark);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-outline:hover {
    background-color: var(--accent-blue);
    color: white;
}

.highlight {
    color: var(--accent-teal);
    font-weight: 600;
    background-color: rgba(20, 184, 166, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.warning {
    color: var(--accent-red);
    font-weight: 600;
}

.success {
    color: var(--accent-green);
    font-weight: 600;
}

/* Header Styles */
header {
    background-color: var(--background-darker);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--background-darker);
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Darkmatter Link Section */
.onion-section {
    padding: 40px 0;
    background-color: var(--background-darker);
}

.onion-box {
    background-color: var(--background-light);
    border: 2px solid var(--accent-teal);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.onion-box h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: none;
    color: var(--text-primary);
}

.onion-box h2:after {
    display: none;
}

.onion-link {
    display: block;
    font-family: "Courier New", monospace;
    font-size: 1.1rem;
    color: var(--accent-teal);
    word-break: break-all;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.onion-link:hover {
    background-color: rgba(20, 184, 166, 0.1);
    border-color: var(--accent-teal);
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.copy-btn:hover {
    background-color: rgba(59, 130, 246, 0.2);
    border-color: var(--accent-teal);
}

.copy-notice {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-green);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Status Container */
.status-container {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
}

.status-message {
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.status-timestamp {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

/* Status Colors */
.status-online .status-message {
    color: var(--accent-green);
}

.status-offline .status-message {
    color: var(--accent-red);
}

.status-error .status-message {
    color: var(--accent-yellow);
}

/* Check Button */
.check-btn {
    display: inline-flex;
    align-items: center;
    background-color: rgba(20, 184, 166, 0.1);
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.check-btn:hover {
    background-color: rgba(20, 184, 166, 0.2);
    border-color: var(--accent-green);
}

.check-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Onion Box Actions */
.onion-box-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.stat-source {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-blue);
    font-size: 1.5rem;
}

/* Verification Steps */
.verification-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.comparison-table th {
    background-color: rgba(59, 130, 246, 0.1);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-blue);
    color: var(--text-primary);
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Vendor Section */
.vendor-section {
    position: relative;
}

.vendor-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.vendor-feature-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    border-left: 4px solid var(--accent-teal);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vendor-feature-card:hover {
    transform: translateY(-3px);
    border-left-color: var(--accent-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.vendor-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.vendor-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.vendor-stat {
    text-align: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.vendor-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 5px;
}

.vendor-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: var(--background-darker);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h4 {
    color: var(--accent-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Special Cards */
.disclaimer-card {
    border-left: 4px solid var(--accent-red);
    background-color: rgba(220, 38, 38, 0.05);
}

.info-card {
    border-left: 4px solid var(--accent-blue);
    background-color: rgba(59, 130, 246, 0.05);
}

.success-card {
    border-left: 4px solid var(--accent-green);
    background-color: rgba(16, 185, 129, 0.05);
}

/* PGP Form Styles */
.pgp-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--background-dark);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(63, 144, 251, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.key-output {
    margin-top: 30px;
}

.key-output h4 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.key-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--background-darker);
    color: var(--accent-teal);
    font-family: "Courier New", monospace;
    font-size: 12px;
    line-height: 1.4;
    resize: vertical;
}

.pgp-copy-btn {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pgp-copy-btn:hover {
    background-color: rgba(59, 130, 246, 0.2);
    border-color: var(--accent-teal);
}

.message-display {
    background-color: var(--background-darker);
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--text-secondary);
    font-family: "Courier New", monospace;
    font-size: 14px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-40 {
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        align-self: center;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
    }

    .onion-link {
        font-size: 0.9rem;
    }

    .vendor-stats {
        grid-template-columns: 1fr;
    }
}
