@charset "UTF-8";

:root {
    --wrcms-bg: #0b0f1a;
    --wrcms-bg-2: #0f172a;
    --wrcms-panel: rgba(255, 255, 255, 0.06);
    --wrcms-border: rgba(255, 255, 255, 0.12);
    --wrcms-text: #e5e7eb;
    --wrcms-muted: rgba(229, 231, 235, 0.72);
    --wrcms-accent: #7c3aed;
    --wrcms-accent-2: #22c55e;
    --wrcms-shadow: 0 24px 60px rgba(6, 8, 18, 0.45);
    --wrcms-radius: 20px;
    --wrcms-radius-sm: 14px;
    --wrcms-max: 1240px;
}

body.theme-wrcms {
    background: radial-gradient(circle at 10% 10%, rgba(124, 58, 237, 0.2), transparent 35%),
        radial-gradient(circle at 85% 20%, rgba(34, 197, 94, 0.18), transparent 40%),
        linear-gradient(120deg, var(--wrcms-bg), var(--wrcms-bg-2));
    color: var(--wrcms-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.wrcms-main {
    min-height: 60vh;
}

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

.wrcms-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(11, 15, 26, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wrcms-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.wrcms-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--wrcms-text);
    font-weight: 600;
}

.wrcms-brand-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wrcms-accent), var(--wrcms-accent-2));
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.6);
}

.wrcms-nav {
    display: flex;
    gap: 16px;
}

.wrcms-nav-link {
    color: var(--wrcms-muted);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.wrcms-nav-link:hover,
.wrcms-nav-link:focus {
    color: var(--wrcms-text);
    background: rgba(255, 255, 255, 0.08);
}

.wrcms-header-actions {
    display: flex;
    gap: 10px;
}

.wrcms-burger {
    display: none;
    background: transparent;
    border: none;
    color: var(--wrcms-text);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.wrcms-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--wrcms-text);
    border-radius: 2px;
}

.wrcms-mobile-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 12px 20px 20px;
    background: rgba(12, 16, 28, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wrcms-mobile-nav a {
    color: var(--wrcms-text);
    text-decoration: none;
    padding: 8px 0;
}

.wrcms-mobile-nav.is-open {
    display: flex;
}

.wrcms-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.wrcms-button-primary {
    background: linear-gradient(135deg, var(--wrcms-accent), #5b21b6);
    color: #fff;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}

.wrcms-button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(124, 58, 237, 0.45);
}

.wrcms-button-ghost {
    color: var(--wrcms-text);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.wrcms-button-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.wrcms-hero {
    position: relative;
    padding: clamp(80px, 12vw, 160px) 0 80px;
    overflow: hidden;
}

.wrcms-hero-compact {
    padding: clamp(70px, 8vw, 120px) 0 60px;
}

.wrcms-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.wrcms-aurora {
    position: absolute;
    filter: blur(40px);
    opacity: 0.6;
    border-radius: 999px;
    animation: wrcmsFloat 10s ease-in-out infinite;
}

.wrcms-aurora-1 {
    width: 420px;
    height: 420px;
    background: rgba(124, 58, 237, 0.35);
    top: -120px;
    left: -80px;
}

.wrcms-aurora-2 {
    width: 360px;
    height: 360px;
    background: rgba(34, 197, 94, 0.3);
    top: 40px;
    right: -120px;
    animation-delay: -3s;
}

.wrcms-aurora-3 {
    width: 320px;
    height: 320px;
    background: rgba(124, 58, 237, 0.2);
    bottom: -120px;
    right: 10%;
    animation-delay: -6s;
}

.wrcms-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.wrcms-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--wrcms-border);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wrcms-muted);
}

.wrcms-hero-title {
    font-size: clamp(36px, 5vw, 72px);
    margin: 18px 0 12px;
}

.wrcms-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--wrcms-muted);
    max-width: 70ch;
    line-height: 1.6;
}

.wrcms-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.wrcms-hero-metrics {
    display: flex;
    gap: 24px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.wrcms-metric {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--wrcms-border);
    padding: 12px 16px;
    border-radius: 12px;
    min-width: 120px;
}

.wrcms-metric span {
    display: block;
    font-size: 12px;
    color: var(--wrcms-muted);
}

.wrcms-metric strong {
    font-size: 18px;
}

.wrcms-section {
    padding: clamp(50px, 8vw, 100px) 0;
}

.wrcms-section-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.wrcms-section-head h2 {
    font-size: clamp(28px, 4vw, 40px);
}

.wrcms-section-head p {
    color: var(--wrcms-muted);
    max-width: 70ch;
}

.wrcms-glass-card {
    background: var(--wrcms-panel);
    border: 1px solid var(--wrcms-border);
    border-radius: var(--wrcms-radius);
    padding: 22px;
    box-shadow: var(--wrcms-shadow);
    backdrop-filter: blur(18px);
}

.wrcms-pipeline,
.wrcms-feature-grid,
.wrcms-showcase {
    display: grid;
    gap: 18px;
}

.wrcms-pipeline {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wrcms-feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.wrcms-showcase {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.wrcms-step-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.wrcms-showcase-card h3 {
    margin: 8px 0 10px;
}

.wrcms-card-label {
    font-size: 12px;
    color: var(--wrcms-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wrcms-mini-table {
    display: grid;
    gap: 6px;
    margin-top: 14px;
}

.wrcms-mini-table div {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--wrcms-muted);
}

.wrcms-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.wrcms-status-ok {
    color: #22c55e;
}

.wrcms-status-run {
    color: #7c3aed;
}

.wrcms-status-warn {
    color: #f59e0b;
}

.wrcms-checklist {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 10px;
}

.wrcms-checklist li::before {
    content: "•";
    color: var(--wrcms-accent-2);
    margin-right: 8px;
}

.wrcms-chips,
.wrcms-chip-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wrcms-chips span,
.wrcms-chip-stack span,
.wrcms-footer-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--wrcms-border);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--wrcms-muted);
}

.wrcms-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: center;
}

.wrcms-step-list {
    display: grid;
    gap: 12px;
}

.wrcms-step {
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--wrcms-border);
}

.wrcms-link {
    color: var(--wrcms-accent-2);
    text-decoration: none;
    font-weight: 600;
}

.wrcms-cta-section .wrcms-final-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.wrcms-final-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wrcms-two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: center;
}

.wrcms-code-card {
    background: rgba(10, 12, 22, 0.8);
    border-radius: var(--wrcms-radius-sm);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    font-size: 13px;
    color: #cbd5f5;
}

.wrcms-code-card pre {
    margin: 0;
    white-space: pre-wrap;
}

.wrcms-timeline {
    display: grid;
    gap: 18px;
}

.wrcms-timeline-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--wrcms-border);
    border-radius: var(--wrcms-radius-sm);
    padding: 18px;
}

.wrcms-timeline-step {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.2);
    display: grid;
    place-items: center;
    font-weight: 600;
}

.wrcms-docs-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.wrcms-ordered {
    color: var(--wrcms-muted);
    display: grid;
    gap: 8px;
    padding-left: 20px;
}

.wrcms-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.wrcms-links a {
    color: var(--wrcms-text);
    text-decoration: none;
}

.wrcms-footer {
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 10, 20, 0.6);
}

.wrcms-footer-inner {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
}

.wrcms-footer-brand {
    font-weight: 600;
    margin-bottom: 8px;
}

.wrcms-footer-text {
    color: var(--wrcms-muted);
    font-size: 14px;
}

.wrcms-footer-links {
    display: grid;
    gap: 8px;
}

.wrcms-footer-links a {
    color: var(--wrcms-muted);
    text-decoration: none;
}

.wrcms-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px 0;
    font-size: 12px;
    color: var(--wrcms-muted);
}

.wrcms-reveal {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
    transition: all 0.6s ease;
}

.wrcms-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@keyframes wrcmsFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(16px);
    }
}

@media (max-width: 1024px) {
    .wrcms-nav {
        display: none;
    }
    .wrcms-header-actions {
        display: none;
    }
    .wrcms-burger {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .wrcms-container {
        padding: 0 16px;
    }
    .wrcms-hero-actions {
        width: 100%;
    }
    .wrcms-hero-actions .wrcms-button {
        flex: 1;
    }
    .wrcms-hero-metrics {
        gap: 12px;
    }
    .wrcms-final-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

body.theme-wrcms.debug-mode::after {
    content: "WRCMS CSS ACTIVE";
    position: fixed;
    bottom: 12px;
    right: 12px;
    padding: 6px 10px;
    background: rgba(124, 58, 237, 0.8);
    color: #fff;
    font: 12px/1.4 monospace;
    z-index: 99999;
    border-radius: 6px;
}
