:root {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-blue: #007AFF;
    --accent-cyan: #32ADE6;
    --accent-purple: #AF52DE;
}

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

/* Animated Background */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-blue);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-cyan);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -50px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

/* Glassmorphism Utilities */
.glass-nav,
.glass-card,
.glass-button {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 12px 24px;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.logo img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

/* Buttons */
.glass-button {
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.glass-button.primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-button.small {
    padding: 6px 16px;
    font-size: 0.8rem;
}

/* Main Layout */
main {
    max-width: 1000px;
    margin: 140px auto 40px;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 100px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, white, #a0a0a0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.version-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Hero Mockup (CSS Only Interface) */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mockup {
    width: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.traffic-lights {
    display: flex;
    gap: 6px;
}

.traffic-lights span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mockup-title {
    margin-left: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.mockup-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-row {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mockup-status-icon.green {
    border: 2px solid rgba(48, 209, 88, 0.5);
    box-shadow: 0 0 8px rgba(48, 209, 88, 0.3);
}

.mockup-status-icon.orange {
    border: 2px solid rgba(255, 159, 10, 0.5);
    box-shadow: 0 0 8px rgba(255, 159, 10, 0.3);
}

.server-icon {
    font-size: 18px;
}

.mockup-actions {
    display: flex;
    gap: 4px;
}

.action-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.action-btn.disabled {
    opacity: 0.3;
}

.mockup-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mockup-row-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2px;
}

.mockup-row-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 30px;
    border-radius: 24px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Protocols Section */
.protocols {
    margin-top: 100px;
    text-align: center;
}

.protocols h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    background: linear-gradient(to right, white, #a0a0a0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.protocol-card {
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.protocol-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.protocol-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.protocol-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.protocol-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Comparison Table */
.comparison {
    margin-top: 100px;
    text-align: center;
}

.comparison h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    background: linear-gradient(to right, white, #a0a0a0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.table-wrapper {
    padding: 30px;
    border-radius: 24px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

thead th {
    padding: 16px 12px;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--glass-border);
}

thead th:first-child {
    text-align: left;
}

tbody td {
    padding: 14px 12px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

tbody td:first-child {
    text-align: left;
    color: var(--text-primary);
    font-weight: 500;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

td.yes {
    color: #30D158;
    font-weight: 600;
}

td.no {
    color: #FF453A;
    font-weight: 600;
}

td.partial {
    color: #FFD60A;
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-nav {
        width: 90%;
        top: 10px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        margin-top: 100px;
    }

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

    .cta-group {
        justify-content: center;
        flex-direction: column;
    }

    .protocol-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}