:root {
    --bg-main: #0b0f19;
    --bg-card: #111827;
    --bg-card-subtle: #172033;
    --border-card: #1f293d;
    --border-hover: #3b82f6;
    --accent-primary: #2563eb;
    --accent-secondary: #0284c7;
    --text-heading: #f9fafb;
    --text-body: #94a3b8;
    --text-muted: #64748b;
    --color-success: #10b981;
    --code-bg: #030712;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 1.6;
    padding: 2.5rem 1.5rem;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
}

/* Top Executive Header */
.executive-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.brand-text h1 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.brand-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.system-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-success);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Executive Main Card */
.executive-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.5rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.executive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

h2 {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

/* Service List */
.service-list {
    list-style: none;
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-list li {
    background: var(--bg-card-subtle);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: border-color 0.2s, transform 0.15s;
}

.service-list li:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 500;
    font-size: 0.95rem;
}

.service-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    margin-left: 0.5rem;
}

.service-method {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.65rem;
}

/* Documentation & Code Examples Section */
.spec-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.spec-box {
    background: var(--code-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.spec-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.spec-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-format {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #64748b;
}

pre {
    padding: 1.15rem 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.84rem;
    line-height: 1.55;
    color: #e2e8f0;
    overflow-x: auto;
}

.code-key {
    color: #38bdf8;
}

.code-str {
    color: #a5f3fc;
}

.code-num {
    color: #f59e0b;
}

.code-header-name {
    color: #93c5fd;
    font-weight: 600;
}

.code-header-val {
    color: #cbd5e1;
}

/* Creator Signature Box */
.creator-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.creator-box p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.5;
}

.creator-box strong {
    color: var(--text-heading);
    font-weight: 600;
}

.creator-box a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.creator-box a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.creator-badge {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer */
.executive-footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2rem;
}

@media (max-width: 640px) {
    body {
        padding: 1.5rem 1rem;
    }

    .executive-card {
        padding: 1.5rem;
    }

    .executive-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .creator-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}