:root {
    --bg: #0b1220;
    --panel: #111d30;
    --panel2: #142239;
    --border: #293a53;
    --text: #eef4fd;
    --muted: #a9b8cf;
    --blue: #19b8e6;
    --blue-light: #45d2ff;
    --blue-dark: #0a8fb9;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    text-decoration: none;
}

a:focus-visible {
    outline: 3px solid #77dcff;
    outline-offset: 4px;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 78% 23%, rgba(25, 184, 230, 0.13), transparent 36%),
        radial-gradient(ellipse at 20% 12%, rgba(69, 210, 255, 0.08), transparent 28%),
        var(--bg);
}

.container {
    max-width: 1160px;
}

.site-header {
    border-bottom: 1px solid rgba(144, 172, 212, 0.13);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
}

.brand:hover {
    color: var(--text);
}

.brand-logo {
    width: 120px;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

.brand-name {
    font-size: 18px;
    letter-spacing: -0.4px;
    color: #dceafd;
}

.brand-name strong {
    color: #9ceeff;
    font-weight: 800;
}

.header-contact {
    color: #d5e2f6;
    padding: 10px 16px;
    border: 1px solid #2f5564;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s, border-color 0.2s;
}

.header-contact:hover {
    color: white;
    background: #13313d;
    border-color: #3eaac9;
}

.header-contact span {
    margin-left: 7px;
}

.main-content {
    flex: 1;
}

.hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 28px;
    align-items: center;
    min-height: 560px;
    padding-top: 82px;
    padding-bottom: 100px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* A clean section label instead of the old rounded status badge. */
.construction-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 26px;
    color: #74e8ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.1px;
    line-height: 1.5;
}

.construction-line {
    display: block;
    flex: 0 0 27px;
    width: 27px;
    height: 3px;
    background: #19b8e6;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(25, 184, 230, 0.17);
}

.hero-logo-wrap {
    margin: 24px 0 16px;
}

.hero-logo {
    width: min(100%, 300px);
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3));
}

.eyebrow {
    color: #74e8ff;
    font-size: 12px;
    letter-spacing: 2.4px;
    font-weight: 800;
    margin: 0 0 12px;
}

h1 {
    font-size: clamp(41px, 5.1vw, 66px);
    line-height: 1.09;
    letter-spacing: -2.4px;
    font-weight: 800;
    max-width: 650px;
    margin: 0 0 22px;
}

h1 span {
    color: var(--blue-light);
}

.hero-description {
    max-width: 560px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 14px 20px;
    min-height: 52px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.button:hover {
    transform: translateY(-2px);
}

.button svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.button-primary {
    background: #109dc5;
    border: 1px solid #24b7de;
    color: white;
    box-shadow: 0 7px 24px rgba(16, 157, 197, 0.2);
}

.button-primary:hover {
    background: #22add4;
    color: white;
}

.button-secondary {
    background: #17263a;
    border: 1px solid #2f5564;
    color: #e4edfa;
}

.button-secondary:hover {
    background: #20374a;
    border-color: #47b2d2;
    color: white;
}

.help-note {
    font-size: 12px;
    line-height: 1.6;
    color: #8599b2;
    margin: 20px 0 0;
}

.hero-art {
    height: 425px;
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
}

.art-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.16;
    filter: blur(75px);
}

.orbit {
    position: absolute;
    border: 1px solid rgba(82, 211, 241, 0.15);
    border-radius: 50%;
    transform: rotate(-23deg);
}

.orbit-outer {
    width: 460px;
    height: 320px;
}

.orbit-inner {
    width: 370px;
    height: 255px;
}

.code-window {
    width: min(100%, 470px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #295468;
    background: #101b2b;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.45);
    transform: rotate(1.5deg);
    z-index: 1;
}

.window-top {
    height: 47px;
    background: #1a293d;
    border-bottom: 1px solid #294758;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 17px;
}

.window-top > span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #57708a;
}

.window-top > span:first-child {
    background: #ca727b;
}

.window-top > span:nth-child(2) {
    background: #cca365;
}

.window-top > span:nth-child(3) {
    background: #6dbd94;
}

.window-top i {
    font-style: normal;
    color: #9aaec7;
    margin: auto;
    padding-right: 45px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.code-body {
    padding: 27px 20px 30px;
    font-family: Consolas, 'Courier New', monospace;
    font-size: clamp(12px, 1.3vw, 15px);
    color: #d7e4f5;
}

.typing-code {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.code-line {
    display: flex;
    align-items: center;
    min-height: 1.95em;
    white-space: pre;
}

.line-number {
    color: #58718d;
    margin-right: 14px;
    flex: 0 0 auto;
}

.code-text {
    white-space: pre;
}

.live-code-cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background: #78e7ff;
    vertical-align: -0.2em;
    animation: xen-cursor-blink .85s step-end infinite;
}

@keyframes xen-cursor-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.syntax-purple {
    color: #b9a5ff;
}

.syntax-blue {
    color: #7bc3ff;
}

.syntax-green {
    color: #83d4b0;
}

.syntax-orange {
    color: #e9bc7c;
}



@keyframes typing1 {
    from { width: 0; opacity: 1; }
    to { width: 18ch; opacity: 1; }
}

@keyframes typing2 {
    from { width: 0; opacity: 1; }
    to { width: 30ch; opacity: 1; }
}

@keyframes typing3 {
    from { width: 0; opacity: 1; }
    to { width: 20ch; opacity: 1; }
}

@keyframes typing4 {
    from { width: 0; opacity: 1; }
    to { width: 31ch; opacity: 1; }
}

@keyframes typing5 {
    from { width: 0; opacity: 1; }
    to { width: 2ch; opacity: 1; }
}

@keyframes showCursor {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes blinkCursor {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.art-tag {
    position: absolute;
    z-index: 2;
    right: -5px;
    bottom: 44px;
    background: #172b42;
    border: 1px solid #2e7188;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    color: #d5e8fc;
    padding: 13px 17px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(-2deg);
}

.tag-symbol {
    color: #87f0d0;
    font-size: 14px;
    margin-right: 7px;
}

.contact-section {
    padding-bottom: 95px;
}

.contact-heading {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: end;
    margin-bottom: 24px;
}

.contact-heading .eyebrow {
    margin: 0 0 11px;
}

.contact-heading h2 {
    font-size: 30px;
    letter-spacing: -1px;
    margin: 0;
    font-weight: 800;
}

.contact-heading > p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 3px;
    max-width: 350px;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-card {
    min-height: 166px;
    display: flex;
    align-items: start;
    gap: 19px;
    border: 1px solid #27495a;
    background: linear-gradient(135deg, #14243a, #101c2d);
    border-radius: 15px;
    padding: 27px;
    color: var(--text);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.contact-card:hover {
    color: white;
    border-color: #41c2e4;
    background: #183246;
    transform: translateY(-3px);
}

.contact-icon {
    width: 51px;
    height: 51px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #154b63;
    color: #9defff;
    border: 1px solid #28718d;
    border-radius: 13px;
}

.contact-icon svg {
    width: 25px;
    height: 25px;
}

.email-icon {
    background: #173749;
    color: #a8efff;
}

.contact-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.contact-copy strong {
    font-size: 17px;
}

.contact-copy > span:nth-child(2) {
    color: #a8b9cf;
    line-height: 1.55;
    font-size: 13px;
}

.card-link {
    color: #86e7ff;
    font-weight: 700;
    font-size: 13px;
    margin-top: 9px;
}

.card-link span {
    margin-left: 4px;
}

.site-footer {
    border-top: 1px solid rgba(144, 172, 212, 0.13);
}

.footer-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #8095ae;
    font-size: 12px;
}

@media (max-width: 991px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 70px;
        gap: 15px;
        padding-bottom: 65px;
    }

    .hero-description {
        max-width: 650px;
    }

    .hero-art {
        height: 330px;
        max-width: 520px;
        width: 100%;
        margin: auto;
    }

    .art-tag {
        bottom: 0;
        right: 0;
    }

    .code-window {
        max-width: 430px;
    }

    .orbit-outer {
        width: 420px;
    }
}

@media (max-width: 650px) {
    .header-inner {
        min-height: 74px;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 88px;
    }

    .brand-name {
        font-size: 15px;
    }

    .header-contact {
        padding: 9px 11px;
        font-size: 12px;
    }

    .hero {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

    .hero-logo {
        width: min(100%, 220px);
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero-art {
        height: 300px;
    }

    .code-window {
        width: 94%;
    }

    .code-body {
        font-size: 12px;
        padding: 20px 12px;
    }

    .typing-code {
        gap: 2px;
    }

    .line-number {
        margin-right: 5px;
    }

    .orbit-outer {
        width: 340px;
        height: 250px;
    }

    .orbit-inner {
        width: 275px;
        height: 200px;
    }

    .art-tag {
        right: 0;
        bottom: 4px;
        font-size: 11px;
    }

    .contact-heading {
        display: block;
    }

    .contact-heading > p {
        margin-top: 13px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 22px;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        text-align: center;
        padding: 18px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}


/* Header logo update */
.brand-logo {
    width: 190px;
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

@media (max-width: 650px) {
    .brand-logo {
        width: 130px;
    }
}
