:root {
    --bg: #070a12;
    --bg-soft: #0b1020;
    --panel: rgba(15, 21, 39, .72);
    --panel-solid: #10162a;
    --line: rgba(255, 255, 255, .09);
    --line-bright: rgba(255, 255, 255, .15);
    --text: #f7f8fc;
    --muted: #9ba7bd;
    --blue: #4f8cff;
    --cyan: #43dcff;
    --purple: #a06cff;
    --green: #63e6a6;
    --yellow: #ffd479;
    --container: 1180px;
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.site-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(7,10,18,.18), rgba(7,10,18,.92) 78%),
        radial-gradient(circle at center, transparent 0, rgba(7,10,18,.34) 70%);
}

.grid {
    position: absolute;
    inset: 0;
    opacity: .19;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .26;
    animation: drift 15s ease-in-out infinite alternate;
}

.orb-one {
    width: 580px;
    height: 580px;
    background: #245dff;
    top: -220px;
    left: -160px;
}

.orb-two {
    width: 500px;
    height: 500px;
    background: #7a3cff;
    right: -130px;
    top: 100px;
    animation-delay: -5s;
}

.orb-three {
    width: 430px;
    height: 430px;
    background: #00b9d9;
    left: 42%;
    top: 700px;
    opacity: .13;
    animation-delay: -9s;
}

@keyframes drift {
    to {
        transform: translate3d(40px, 45px, 0) scale(1.08);
    }
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid transparent;
    transition: .25s ease;
}

.site-header.scrolled {
    background: rgba(7, 10, 18, .78);
    border-color: var(--line);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.16);
    background: linear-gradient(135deg, rgba(79,140,255,.25), rgba(160,108,255,.18));
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.04em;
    box-shadow: inset 0 0 24px rgba(255,255,255,.035);
}

.brand-name {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -.02em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 31px;
}

.nav a {
    color: #bdc5d5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .2s ease;
}

.nav a:hover {
    color: white;
}

.nav .nav-contact {
    color: white;
    border: 1px solid var(--line-bright);
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,.045);
}

.menu-button {
    display: none;
}

.hero {
    min-height: 100vh;
    padding: 175px 0 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
    color: #b9c4d7;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .035em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(99,230,166,.08), 0 0 15px rgba(99,230,166,.5);
}

h1,
h2,
h3 {
    font-family: "Manrope", sans-serif;
}

h1 {
    margin: 23px 0 23px;
    max-width: 760px;
    font-size: clamp(52px, 6.1vw, 82px);
    line-height: .99;
    letter-spacing: -.065em;
    font-weight: 800;
}

.gradient-text {
    display: block;
    color: transparent;
    background: linear-gradient(100deg, #79a9ff 5%, #9f7aff 52%, #55dcff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-intro {
    max-width: 660px;
    margin: 0;
    color: #aab5c8;
    font-size: 18px;
    line-height: 1.72;
}

.hero-intro strong {
    color: #f4f6fb;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 34px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 13px;
    padding: 0 19px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: white;
    background: linear-gradient(120deg, #386df2, #754ee8);
    box-shadow: 0 12px 35px rgba(75,92,245,.22);
}

.button-secondary {
    color: #d8deea;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--line-bright);
}

.currently {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 38px;
    font-size: 13px;
}

.currently-label {
    color: #6f7c94;
}

.currently-value {
    color: #c8d3e6;
    font-weight: 600;
    min-width: 145px;
    transition: opacity .2s ease, transform .2s ease;
}

.currently-value.changing {
    opacity: 0;
    transform: translateY(4px);
}

.code-card {
    position: relative;
    max-width: 500px;
    margin-left: auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(19,26,49,.94), rgba(9,13,26,.94));
    box-shadow:
        0 35px 80px rgba(0,0,0,.38),
        inset 0 1px 0 rgba(255,255,255,.04);
}

.code-card::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: -100px;
    top: -100px;
    background: #704dff;
    filter: blur(100px);
    opacity: .17;
}

.code-top {
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
}

.window-dots {
    display: flex;
    gap: 7px;
}

.window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #495268;
}

.window-dots span:nth-child(2) {
    opacity: .72;
}

.window-dots span:nth-child(3) {
    opacity: .45;
}

.code-file {
    margin: 0 auto;
    transform: translateX(-21px);
    color: #6f7c94;
    font-family: monospace;
    font-size: 11px;
}

.code-body {
    min-height: 355px;
    padding: 31px 30px;
    font: 14px/1.85 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #b8c3d9;
}

.indent {
    padding-left: 24px;
}

.indent-two {
    padding-left: 48px;
}

.code-space {
    height: 15px;
}

.code-purple { color: #bc87ff; }
.code-blue { color: #79a8ff; }
.code-cyan { color: #62d9f7; }
.code-green { color: #7be3b1; }
.code-yellow { color: #f1c875; }

.terminal-line {
    display: flex;
    align-items: center;
    gap: 9px;
    border-top: 1px solid var(--line);
    padding: 16px 20px;
    color: #6c7c98;
    font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.terminal-command {
    color: #aab5c9;
}

.cursor {
    width: 6px;
    height: 13px;
    background: var(--cyan);
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.quote-wrap {
    margin-top: 82px;
}

.quote-card {
    max-width: 790px;
    display: flex;
    gap: 17px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.quote-symbol {
    color: #6f8ff7;
    font-family: Georgia, serif;
    font-size: 40px;
    line-height: .8;
}

.quote-card p {
    min-height: 27px;
    margin: 0 0 7px;
    color: #c7cfdd;
    font-size: 15px;
    line-height: 1.65;
    transition: opacity .25s ease;
}

.quote-card span {
    color: #66738b;
    font-size: 12px;
    transition: opacity .25s ease;
}

.section {
    padding: 125px 0;
    border-top: 1px solid rgba(255,255,255,.055);
}

.split-layout,
.principles-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
}

.section-heading {
    max-width: 560px;
}

.section-number {
    color: #53627d;
    font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.section-kicker {
    margin: 14px 0 12px;
    color: #7b91c8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.about-copy {
    max-width: 650px;
}

.about-copy p {
    color: #929fb5;
    line-height: 1.8;
    font-size: 16px;
}

.about-copy .large-copy {
    margin-top: 0;
    color: #e1e5ed;
    font-size: 23px;
    line-height: 1.55;
    letter-spacing: -.02em;
}

.text-link {
    color: #8fb1ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(143,177,255,.35);
}

.build-section {
    background: rgba(255,255,255,.012);
}

.build-section .section-heading {
    margin-bottom: 50px;
}

.build-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.build-card {
    position: relative;
    min-height: 330px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(17,23,43,.78), rgba(10,14,27,.72));
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease;
}

.build-card:hover {
    transform: translateY(-4px);
    border-color: rgba(115,144,255,.25);
}

.build-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -90px;
    bottom: -110px;
    border-radius: 50%;
    background: #315cf4;
    filter: blur(80px);
    opacity: .10;
}

.card-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(116,149,255,.2);
    border-radius: 13px;
    background: rgba(75,105,219,.09);
    color: #92aeff;
    font-family: monospace;
    font-size: 15px;
}

.card-index {
    position: absolute;
    right: 27px;
    top: 29px;
    color: #47536a;
    font: 11px monospace;
}

.build-card h3 {
    margin: 27px 0 11px;
    font-size: 21px;
    letter-spacing: -.025em;
}

.build-card p {
    max-width: 460px;
    color: #8e9bb1;
    line-height: 1.72;
    font-size: 14px;
}

.card-tags {
    position: absolute;
    left: 30px;
    bottom: 29px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.card-tags span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 9px;
    color: #7f8da5;
    background: rgba(255,255,255,.025);
    font-size: 10px;
    font-weight: 600;
}

.principle-list {
    border-top: 1px solid var(--line);
}

.principle {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 17px;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
}

.principle > span {
    padding-top: 5px;
    color: #52617c;
    font: 10px monospace;
}

.principle h3 {
    margin: 0 0 7px;
    font-size: 17px;
    letter-spacing: -.02em;
}

.principle p {
    margin: 0;
    color: #8491a8;
    line-height: 1.6;
    font-size: 14px;
}

.cta-section {
    padding: 30px 0 100px;
}

.cta-card {
    position: relative;
    min-height: 310px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    border: 1px solid rgba(132,153,255,.18);
    border-radius: 30px;
    padding: 48px;
    background:
        linear-gradient(120deg, rgba(39,58,124,.35), rgba(74,42,126,.25)),
        #0d1325;
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(90deg, black, transparent);
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    top: -240px;
    right: 8%;
    border-radius: 50%;
    background: #704cff;
    filter: blur(100px);
    opacity: .3;
}

.cta-card > *:not(.cta-glow) {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    max-width: 650px;
    margin: 9px 0 10px;
    font-size: clamp(34px, 4vw, 50px);
    letter-spacing: -.045em;
}

.cta-card p {
    max-width: 570px;
    margin: 0;
    color: #9da9bd;
    line-height: 1.65;
}

.button-light {
    flex: 0 0 auto;
    background: #f5f7fb;
    color: #111725;
}

footer {
    border-top: 1px solid var(--line);
    padding: 45px 0;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-end;
}

.footer-brand {
    margin-bottom: 12px;
}

.footer-wrap p {
    margin: 4px 0;
    color: #68758c;
    font-size: 12px;
}

.footer-right {
    text-align: right;
}

.footer-right a {
    color: #9baee2;
    text-decoration: none;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .7s cubic-bezier(.2,.7,.2,1),
        transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.delay-one { transition-delay: .10s; }
.delay-two { transition-delay: .18s; }
.delay-three { transition-delay: .26s; }

@media (max-width: 900px) {
    .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .hero {
        padding-top: 145px;
    }

    .hero-grid,
    .split-layout,
    .principles-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 65px;
    }

    .code-card {
        max-width: 620px;
        margin: 0;
    }

    .split-layout,
    .principles-layout {
        gap: 45px;
    }

    .cta-card {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-end;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .nav-wrap {
        height: 70px;
    }

    .brand-mark {
        width: 35px;
        height: 35px;
    }

    .menu-button {
        width: 42px;
        height: 42px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        border: 1px solid var(--line);
        border-radius: 11px;
        background: rgba(255,255,255,.035);
    }

    .menu-button span {
        width: 17px;
        height: 1px;
        background: #d5dbea;
        transition: .2s ease;
    }

    .nav {
        position: absolute;
        top: 62px;
        left: 14px;
        right: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: rgba(10,14,26,.97);
        box-shadow: 0 20px 50px rgba(0,0,0,.4);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 12px;
    }

    .nav .nav-contact {
        margin-top: 4px;
    }

    .hero {
        min-height: auto;
        padding: 126px 0 75px;
    }

    h1 {
        margin-top: 20px;
        font-size: clamp(44px, 14vw, 65px);
    }

    .hero-intro {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .currently {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .hero-visual {
        margin-top: -10px;
    }

    .code-body {
        min-height: auto;
        padding: 24px 18px;
        font-size: 11px;
        overflow-x: auto;
    }

    .terminal-line {
        overflow: hidden;
        white-space: nowrap;
    }

    .quote-wrap {
        margin-top: 60px;
    }

    .section {
        padding: 85px 0;
    }

    .about-copy .large-copy {
        font-size: 20px;
    }

    .build-grid {
        grid-template-columns: 1fr;
    }

    .build-card {
        min-height: 310px;
        padding: 25px;
    }

    .card-tags {
        left: 25px;
        bottom: 24px;
    }

    .cta-section {
        padding-bottom: 70px;
    }

    .cta-card {
        min-height: 380px;
        padding: 30px 24px;
        border-radius: 23px;
    }

    .footer-wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-right {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   SADIKMUSSAH.COM — DESKTOP VISUAL REFINEMENT
   ========================================================= */

@media (min-width: 901px) {

    :root {
        --container: 1260px;
    }

    .nav-wrap {
        height: 76px;
    }

    .hero {
        min-height: 92vh;
        padding-top: 145px;
        padding-bottom: 70px;
    }

    .hero-grid {
        grid-template-columns: 1.04fr .96fr;
        gap: 78px;
    }

    h1 {
        font-size: clamp(60px, 5.4vw, 86px);
        max-width: 790px;
    }

    .hero-intro {
        max-width: 680px;
        font-size: 18px;
        line-height: 1.68;
    }

    .code-card {
        width: 100%;
        max-width: 540px;
    }

    .code-body {
        min-height: 375px;
        padding: 34px 32px;
        font-size: 14px;
    }

    .quote-wrap {
        margin-top: 58px;
    }

    .section {
        padding-top: 105px;
        padding-bottom: 105px;
    }

    .split-layout,
    .principles-layout {
        gap: 90px;
    }

    .section-heading h2 {
        font-size: clamp(38px, 3.5vw, 54px);
    }

    .about-copy p {
        font-size: 16px;
    }

    .about-copy .large-copy {
        font-size: 24px;
        line-height: 1.52;
    }

    .build-section .section-heading {
        margin-bottom: 42px;
    }

    .build-grid {
        gap: 18px;
    }

    .build-card {
        min-height: 310px;
        padding: 32px;
        background:
            radial-gradient(
                circle at 100% 0%,
                rgba(79, 108, 255, .08),
                transparent 42%
            ),
            linear-gradient(
                145deg,
                rgba(18, 25, 47, .90),
                rgba(10, 14, 27, .82)
            );
    }

    .build-card h3 {
        font-size: 22px;
    }

    .build-card p {
        font-size: 15px;
        line-height: 1.68;
    }

    .principle {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .principle h3 {
        font-size: 18px;
    }

    .principle p {
        font-size: 14px;
    }

    .cta-section {
        padding-top: 20px;
        padding-bottom: 90px;
    }

    .cta-card {
        min-height: 285px;
        padding: 48px 52px;
    }
}

/* Improve readability on very large monitors without making
   the page feel oversized. */
@media (min-width: 1500px) {

    :root {
        --container: 1320px;
    }

    .hero-grid {
        gap: 95px;
    }

    .code-card {
        max-width: 565px;
    }
}

/* Slightly stronger cards and controls */
.build-card,
.code-card,
.cta-card {
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .18),
        inset 0 1px 0 rgba(255, 255, 255, .025);
}

.button-primary {
    box-shadow:
        0 12px 34px rgba(66, 91, 245, .25),
        inset 0 1px 0 rgba(255, 255, 255, .16);
}

.button-primary:hover {
    box-shadow:
        0 16px 42px rgba(66, 91, 245, .34),
        inset 0 1px 0 rgba(255, 255, 255, .16);
}

.text-link:hover,
.footer-right a:hover {
    color: #c4d4ff;
}

