:root {
    --bg: #060608;
    --bg-alt: #0a0a0e;
    --card: #0d0e13;
    --card-hover: #12131a;
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.12);

    --green: #67fd67;
    --green-2: #67fd67;
    --green-light: #67fd67;
    --green-hover: #4de84f;
    --green-dark: #2ecc71;
    --green-glow: rgba(103, 253, 103, 0.22);

    --text: #f5f4f7;
    --text-muted: #9a99a6;
    --text-dim: #6c6b78;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 999px;

    --max-w: 1180px;

    --font-head: 'Sora', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}


/* Ambient background glow */
body::before {
    content: "";
    position: absolute;
    top: 100px;
    right: 80px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 90%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.75;
}

main {
    position: relative;
    z-index: 1;
}

/* Typography helpers */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 14px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.grad {
    background: linear-gradient(120deg, var(--green-dark), var(--green-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-head {
    margin: 0 auto 46px;
    text-align: center;
}

.section-head h2 {
    font-size: 34px;
    margin-bottom: 14px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 15.5px;
}

section {
    padding: 88px 0;
    position: relative;
}

.section-tight {
    padding: 64px 0;
}

section>div {
    padding: 64px 0;

}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* padding: 13px 26px; */
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: linear-gradient(120deg, var(--green-dark), var(--green));
    color: #0a0a0e;
    box-shadow: 0 8px 24px -6px var(--green-glow);
}

.btn-primary:hover {
    background: linear-gradient(120deg, var(--green), var(--green-hover));
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -6px var(--green-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--green-light);
    background: rgba(103, 253, 103, 0.08);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* header  */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-alt);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.logo {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    font-family: var(--font-head);
    /* font-weight: 800; */
    font-size: 16px;
    color: #0a0a0e;
    flex-shrink: 0;
    padding: 12px 24px;
}

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

/* hero  */
.hero {
    padding: 80px 0 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.hero h1 {
    font-size: 47px;
    letter-spacing: -.01em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    max-width: 490px;
    margin-bottom: 34px;
    color: var(--text-muted);
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-box {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 18px 14px;
}

.stat-box .ic {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(103, 253, 103, .1);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.stat-box .ic svg {
    width: 17px;
    height: 17px;
}

.stat-box b {
    display: block;
    font-family: var(--font-head);
    font-size: 22px;
    color: var(--text);
}

.stat-box span {
    font-size: 12px;
    color: var(--text-dim);
}

/* hero stacked mockups */
.right {
    position: relative;
    height: 400px;
}

.orbit {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 430px;
    height: 430px;
    transform: translateX(-50%);
    border: 1.5px dashed rgba(103, 253, 103, .22);
    border-radius: 50%;
}

.orbit .dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px 2px rgba(103, 253, 103, .6);
}

.orbit .dot.d1 {
    top: 6%;
    right: 16%;
}

.orbit .dot.d2 {
    bottom: 14%;
    left: 10%;
    width: 5px;
    height: 5px;
}

.hero-glow {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 70px;
    background: radial-gradient(ellipse, rgba(103, 253, 103, .45), transparent 70%);
    filter: blur(18px);
}

.stack-card {
    position: absolute;
    width: 230px;
    height: 290px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 55px -18px rgba(0, 0, 0, .7);
    border: 1px solid rgba(255, 255, 255, .08);
}

.stack-card.pos-left {
    left: 6%;
    top: 56px;
    transform: rotate(-9deg);
    z-index: 1;
    opacity: .9;
}

.stack-card.pos-right {
    right: 4%;
    top: 70px;
    transform: rotate(8deg);
    z-index: 1;
    opacity: .9;
}

.stack-card.pos-center {
    left: 50%;
    top: 6px;
    width: 260px;
    height: 330px;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 40px 70px -16px rgba(103, 253, 103, .22), 0 30px 60px -18px rgba(0, 0, 0, .75);
}

/* browser "shot" mockup — reused for hero stack + project cards */
.shot {
    position: relative;
    width: 100%;
    height: 100%;
}

.shot-bar {
    height: 24px;
    background: #101210;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 11px;
    position: relative;
    z-index: 2;
}

.shot-bar span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #282c28;
}

.shot-body {
    position: absolute;
    inset: 24px 0 0 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.shot-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: rgba(103, 253, 103, .16);
    color: var(--green);
    padding: 3px 9px;
    border-radius: 5px;
    margin-bottom: 9px;
    width: fit-content;
    letter-spacing: .02em;
}

.shot h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.28;
}

.shot::after {
    content: "";
    position: absolute;
    inset: 24px 0 0 0;
    background: radial-gradient(circle at 78% 14%, rgba(103, 253, 103, .16), transparent 55%);
}

.shot.warm {
    background: linear-gradient(165deg, #2c2015, #110d09 65%);
}

.shot.cool {
    background: linear-gradient(165deg, #132a1e, #0a0f0b 65%);
}

.shot.navy {
    background: linear-gradient(165deg, #0f1f16, #080b09 65%);
}

.shot.lightwarm {
    background: linear-gradient(165deg, #e6e2da, #c7c2b6);
}

.shot.lightwarm h4 {
    color: #161512;
}

.shot.lightwarm .shot-bar {
    background: #d3cfc4;
}

.shot.lightwarm .shot-bar span {
    background: #a9a596;
}

.shot.light {
    background: linear-gradient(165deg, #e9eae7, #c8cac5);
}

.shot.light h4 {
    color: #141613;
}

.shot.light .shot-bar {
    background: #d5d6d2;
}

.shot.light .shot-bar span {
    background: #aeb0a9;
}

/* project cards */

.filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    cursor: pointer;
    background: var(--bg);
    transition: background .15s, border-color .15s, color .15s;
}

.filter-pill:hover {
    border-color: var(--green-light);
    color: var(--text);
}

.filter-pill.active {
    background: var(--green);
    border-color: var(--green);
    color: #0a0a0e;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform .2s, border-color .2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--green-dark);
}

.project-thumb {
    position: relative;
}

.tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(6, 6, 8, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
}

.project-body {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.project-body h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.project-body .stack {
    font-size: 12.5px;
    color: var(--text-dim);
}

.view-project {
    font-size: 13px;
    font-weight: 600;
    color: var(--green-light);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .15s;
}

.view-project:hover {
    color: var(--green-hover);
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* cta section  */
.cta-section {
    padding: 24px 0 70px;
}

.cta-banner {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(103, 253, 103, .12);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon svg {
    width: 26px;
    height: 26px;
}

.cta-left h3 {
    font-size: 19px;
    margin-bottom: 4px;
}

.cta-left p {
    font-size: 14px;
}

.cta-actions {
    display: flex;
    gap: 12px;
}

/* footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 26px 0;
    text-align: center;
}

.site-footer p {
    font-size: 13.5px;
    color: var(--text-dim);
}

@media (max-width:1100px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-stack {
        max-width: 420px;
        margin: 20px auto 0;
    }

    .stat-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ─── Mobile (≤640px) ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .wrap {
        padding: 0 20px;
    }

    .navbar {
        padding: 14px 20px;
    }

    .hero {
        padding: 44px 0 40px;
    }

    .hero h1 {
        font-size: 34px;
    }

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

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .btn {
        flex: 1;
        justify-content: center;
    }

    .hero-stack {
        height: 340px;
    }

    .stack-card {
        width: 180px;
        height: 230px;
    }

    .stack-card.pos-center {
        width: 210px;
        height: 270px;
    }
}

/* ─── Very small screens (≤400px) ──────────────────────────────────────── */
@media (max-width: 400px) {

    .logo {
        padding: 6px 12px;
        font-size: 14px;
    }

    .btn {
        padding: 11px 20px;
        font-size: 13px;
    }
}