/* Homepage - server-room design. Loaded only on the homepage, after site.css.
   Header, footer, mobile menu and the .fade-in reveal come from site.css/site.js. */

body { background: #0c0f1c; }

/* Header: a glass bar over the hero photo; solid once the page scrolls */
.site-header {
    background: rgba(8, 10, 20, 0.5);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}
.site-header.scrolled { background: rgba(12, 15, 28, 0.94); }
.back-bar.scrolled { background: #0c0f1c; }
.nav-links a { color: #ececf5; }

.dc-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Small uppercase mono label, optionally followed by a short rule */
.dc-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c9cdda;
    display: flex;
    align-items: center;
    gap: 16px;
}
.dc-eyebrow--rule::after {
    content: '';
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 205, 218, 0.45), rgba(201, 205, 218, 0));
}

/* ============================================================
   HERO
   ============================================================ */
.dc-hero {
    position: relative;
    overflow: hidden;
    padding: 164px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    isolation: isolate;
}

/* Full-width photo: the city window sits behind the copy, the racks on the
   right. The image is set inline so its URL carries a version stamp. */
.dc-hero-photo {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform-origin: 65% 50%;
    animation: dcDrift 36s ease-in-out infinite alternate;
    z-index: -2;
}

@keyframes dcDrift {
    from { transform: scale(1); }
    to { transform: scale(1.04); }
}

/* Keeps the copy readable over the photo without hiding the skyline */
.dc-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8, 10, 20, 0.35) 0%, rgba(8, 10, 20, 0) 140px),
        linear-gradient(0deg, rgba(12, 15, 28, 0.6) 0%, rgba(12, 15, 28, 0) 110px),
        linear-gradient(90deg, rgba(8, 10, 20, 0.25) 0%, rgba(8, 10, 20, 0.35) 30%, rgba(8, 10, 20, 0.25) 45%, rgba(8, 10, 20, 0) 62%);
}

.dc-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.dc-hero-content {
    position: relative;
    max-width: 640px;
}

.dc-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: clamp(40px, 3.9vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 22px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.dc-h1-line { display: block; }
.dc-h1-line--violet {
    background-image: linear-gradient(90deg, #bba2fd 0%, #946ffe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.dc-lede {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #e4e6f0;
    max-width: 545px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.dc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 26px;
}

.dc-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 54px;
    padding: 0 28px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 16.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.dc-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.dc-btn--primary {
    color: #fff;
    background: linear-gradient(90deg, #9a6cfb 0%, #6f40f7 100%);
    box-shadow: 0 10px 30px -10px rgba(112, 64, 247, 0.8), 0 0 28px rgba(122, 80, 250, 0.35);
}
.dc-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -10px rgba(112, 64, 247, 0.9), 0 0 36px rgba(122, 80, 250, 0.5);
}
.dc-btn--ghost {
    color: #fff;
    background: rgba(10, 13, 27, 0.72);
    border: 1.5px solid rgba(186, 200, 240, 0.75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.dc-btn--ghost:hover {
    transform: translateY(-2px);
    border-color: #fff;
    background: rgba(24, 26, 52, 0.8);
}

/* ============================================================
   INTRO - Why NWOS (left) + latest daily post (right)
   ============================================================ */
.dc-intro {
    padding: 56px 0 72px;
}
.dc-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.dc-why-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.dc-why-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a9adc2;
}
.dc-why-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 3.4vw, 48px);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 20px 0 16px;
}
.dc-why-title span,
.dc-section-title span {
    background-image: linear-gradient(90deg, #a274ff 0%, #c9a6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dc-why-text {
    font-family: 'Outfit', sans-serif;
    font-size: 18.5px;
    line-height: 1.42;
    color: #e0e2ec;
    max-width: 620px;
}

.dc-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 34px;
}
.dc-features li {
    display: flex;
    flex-direction: column;
    padding: 0 12px 0 16px;
    position: relative;
}
.dc-features li:first-child { padding-left: 0; }
.dc-features li + li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 4px;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.09) 30%, rgba(255, 255, 255, 0.09) 70%, rgba(255, 255, 255, 0));
}
.dc-features strong {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-top: 16px;
}
.dc-features li > span:last-child {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #a9abbd;
    margin-top: 4px;
}

/* Rounded icon tile, shared by the features and the service cards */
.dc-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #19172d, #121122);
    border: 1px solid rgba(167, 139, 250, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 20px rgba(124, 77, 255, 0.08);
    flex-shrink: 0;
}
.dc-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #c39bff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Daily card: post on the left, a small build-pipeline panel on the right */
.dc-daily {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 24px;
    border-radius: 18px;
    border: 1px solid rgba(124, 108, 220, 0.22);
    background: linear-gradient(180deg, #11142a 0%, #0d1022 100%);
    box-shadow: 0 30px 70px -40px rgba(80, 60, 200, 0.45);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.dc-daily:hover {
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 30px 70px -36px rgba(124, 77, 255, 0.6);
}
.dc-daily-meta {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 28px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a8aabf;
}
.dc-daily-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3fe39b;
    font-weight: 600;
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.dc-daily-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #33f297;
    box-shadow: 0 0 10px rgba(51, 242, 151, 0.8);
    animation: dcBlink 2.4s ease-in-out infinite;
}
@keyframes dcBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}
.dc-daily-read { margin-left: auto; }

.dc-daily-body {
    padding: 18px 0 26px 28px;
}
.dc-daily-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 14px;
}
.dc-daily-body p {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #c9cddd;
}
.dc-daily-cta {
    display: inline-flex;
    gap: 10px;
    margin-top: 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #c4a0ff;
    transition: gap 0.25s ease;
}
.dc-daily:hover .dc-daily-cta { gap: 14px; }

.dc-daily-art {
    padding: 22px 26px 26px 0;
}
.dc-pipeline {
    border-radius: 12px;
    background: #0a0c18;
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}
.dc-pipeline-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-family: 'Outfit', sans-serif;
    font-size: 15.5px;
    font-weight: 500;
    color: #ececf6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dc-pipeline-head svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: none;
    stroke: #ececf6;
    stroke-width: 1.6;
}
.dc-pipeline ol { list-style: none; }
.dc-pipeline li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 15.5px;
    color: #ececf6;
}
.dc-pipeline li + li { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.dc-pipeline em {
    margin-left: auto;
    font-style: normal;
    font-size: 14.5px;
    color: #a8aabf;
}
.dc-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #3fe09c;
    box-shadow: 0 0 10px rgba(63, 224, 156, 0.45);
    position: relative;
    flex-shrink: 0;
}
.dc-check::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2.5px;
    width: 5px;
    height: 10px;
    border: solid #3fe09c;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
/* The last step is still running: an empty ring that breathes */
.dc-pipeline li.is-running .dc-check {
    border-color: #6e7088;
    box-shadow: none;
    animation: dcRing 2s ease-in-out infinite;
}
.dc-pipeline li.is-running .dc-check::after { display: none; }
@keyframes dcRing {
    0%, 100% { border-color: #6e7088; }
    50% { border-color: #b8a4ff; }
}

/* Steps tick in one after another once the card is on screen */
.dc-daily .dc-pipeline li {
    opacity: 0;
    transform: translateX(-8px);
}
.dc-daily.visible .dc-pipeline li {
    animation: dcStep 0.5s ease forwards;
}
.dc-daily.visible .dc-pipeline li:nth-child(1) { animation-delay: 0.5s; }
.dc-daily.visible .dc-pipeline li:nth-child(2) { animation-delay: 1.1s; }
.dc-daily.visible .dc-pipeline li:nth-child(3) { animation-delay: 1.7s; }
@keyframes dcStep {
    to { opacity: 1; transform: none; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.dc-services {
    padding: 36px 0 84px;
}
.dc-section-head { margin-bottom: 36px; }
.dc-section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 3vw, 44px);
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: #fff;
    margin: 16px 0 0;
}
.dc-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.dc-service {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(124, 108, 220, 0.18);
    background: linear-gradient(180deg, #11142a 0%, #0d1022 100%);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.dc-service:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow: 0 20px 50px -30px rgba(124, 77, 255, 0.6);
}
.dc-service h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 20px 0 10px;
}
.dc-service p {
    font-family: 'Outfit', sans-serif;
    font-size: 15.5px;
    line-height: 1.55;
    color: #b4b7c9;
}
.dc-service-link {
    margin-top: auto;
    padding-top: 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #c4a0ff;
    display: inline-flex;
    gap: 8px;
    transition: gap 0.25s ease, color 0.25s ease;
}
.dc-service-link:hover { gap: 12px; color: #dcc4ff; }

/* ============================================================
   CTA
   ============================================================ */
.dc-cta {
    padding: 0 0 100px;
}
.dc-cta-card {
    text-align: center;
    padding: 64px 32px 68px;
    border-radius: 20px;
    border: 1px solid rgba(124, 108, 220, 0.22);
    background:
        radial-gradient(60% 80% at 50% 0%, rgba(124, 77, 255, 0.24), transparent 70%),
        #0f1224;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dc-cta-card .dc-section-title {
    font-size: clamp(34px, 3.4vw, 48px);
    margin: 14px 0 16px;
}
.dc-cta-card p:not(.dc-eyebrow) {
    font-family: 'Outfit', sans-serif;
    font-size: 18.5px;
    line-height: 1.45;
    color: #d4d6e2;
    max-width: 560px;
    margin-bottom: 30px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .dc-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .dc-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .dc-hero { padding: 150px 0 56px; }
    .dc-hero-photo { background-position: 45% center; }
    .dc-hero-shade {
        background: linear-gradient(180deg, rgba(8, 10, 20, 0.6) 0%, rgba(8, 10, 20, 0.55) 50%, rgba(12, 15, 28, 0.9) 100%);
    }
}

@media (max-width: 768px) {
    .dc-container, .dc-hero-inner { padding: 0 20px; }
    .dc-hero h1 { font-size: 40px; }
    .dc-lede { font-size: 16px; }
    .dc-features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .dc-features li:nth-child(3) { padding-left: 0; }
    .dc-features li:nth-child(3)::before { display: none; }
    .dc-daily { grid-template-columns: minmax(0, 1fr); }
    .dc-daily-body { padding-right: 28px; padding-bottom: 8px; }
    .dc-daily-art { padding: 14px 28px 26px; }
    .dc-service-grid { grid-template-columns: minmax(0, 1fr); }
    .dc-cta-card { padding: 48px 22px 52px; }
}

@media (max-width: 480px) {
    .dc-hero h1 { font-size: 35px; }
    .dc-btn { width: 100%; justify-content: center; }
    .dc-why-tagline { display: none; }
    .dc-daily-meta { flex-wrap: wrap; row-gap: 8px; padding: 20px 20px 0; }
    .dc-daily-body { padding: 14px 20px 8px; }
    .dc-daily-art { padding: 14px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .dc-hero-photo,
    .dc-daily-dot,
    .dc-pipeline li.is-running .dc-check {
        animation: none !important;
    }
    .dc-daily .dc-pipeline li,
    .dc-daily.visible .dc-pipeline li {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}
