:root {
    --bg: #0b1220;
    --panel: #0f172a;
    --text: #dbeafe;
    --muted: #94a3b8;
    --brand: #0ea5e9;
    --brand2: #7c3aed;
    --ring: #22d3ee;
    --ok: #22c55e;
    --err: #ef4444;
    --shadow: 0 10px 25px rgba(2, 8, 23, .35);
    --radius: 14px;
    --maxw: 1100px;
    color-scheme: dark;
}

:root.light {
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --brand: #0ea5e9;
    --brand2: #7c3aed;
    --ring: #2563eb;
    --shadow: 0 10px 25px rgba(2, 8, 23, .08);
    color-scheme: light;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(14, 165, 233, .18), transparent 55%),
        radial-gradient(900px 500px at -10% -20%, rgba(124, 58, 237, .18), transparent 50%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 1rem;
}

.skip {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.skip:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: .6rem 1rem;
    background: #111;
    color: #fff;
    border-radius: 10px;
    z-index: 999
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(120%) blur(10px);
    background: color-mix(in oklab, var(--bg) 70%, transparent);
    border-bottom: 1px solid color-mix(in oklab, var(--panel) 85%, transparent)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 1rem
}

.brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-weight: 800;
    letter-spacing: .3px
}

/* .logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: conic-gradient(from 220deg at 50% 50%, var(--brand), var(--brand2), var(--brand));
    box-shadow: var(--shadow)
} */

.logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: url("./images/logo.png") no-repeat center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.brand-text {
    letter-spacing: .2px
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .62rem .9rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(14, 165, 233, .25)
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid color-mix(in oklab, var(--text) 18%, transparent);
    border-radius: 12px;
    background: color-mix(in oklab, var(--panel) 75%, transparent);
    color: var(--text)
}

.menu-btn {
    display: none
}

.actions {
    display: flex;
    gap: .6rem
}

@media (max-width: 920px) {
    .menu-btn {
        display: inline-grid
    }

    .nav-links {
        position: fixed;
        inset: 64px 1rem auto 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: var(--panel);
        border: 1px solid color-mix(in oklab, var(--text) 10%, transparent);
        border-radius: 16px;
        padding: 1rem;
        box-shadow: var(--shadow)
    }

    .nav-links.open {
        display: flex
    }

    .nav-cta {
        justify-content: center
    }
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 2vw + 2rem, 4rem) 0 2rem
}

.hero h1 {
    font-size: clamp(2rem, 1.4rem + 3vw, 4rem);
    line-height: 1.05;
    margin: .2rem 0 .8rem;
    font-weight: 800;
    letter-spacing: -0.02em
}

.eyebrow {
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    border: 1px solid color-mix(in oklab, white 10%, transparent);
    box-shadow: 0 6px 18px rgba(124, 58, 237, .25)
}

.lead {
    color: var(--muted);
    max-width: 60ch
}

.hero-cta {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: 1.2rem
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1rem;
    border-radius: 12px;
    border: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
    background: var(--panel);
    color: var(--text);
    font-weight: 600
}

.btn.primary {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    border-color: transparent
}

.btn.ghost {
    background: transparent;
    border-color: color-mix(in oklab, var(--text) 16%, transparent)
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem
}

.stat {
    background: var(--panel);
    border-radius: 14px;
    padding: 1rem;
    border: 1px solid color-mix(in oklab, var(--text) 10%, transparent)
}

.stat b {
    font-size: 1.3rem
}

.hero-visual {
    position: relative;
    isolation: isolate
}

.glass {
    background: linear-gradient(180deg, color-mix(in oklab, var(--panel) 75%, transparent), color-mix(in oklab, var(--panel) 95%, transparent));
    border: 1px solid color-mix(in oklab, var(--text) 10%, transparent);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow)
}

.code {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: .9rem;
    background: rgba(2, 6, 23, .5);
    border-radius: 12px;
    padding: 1rem;
    overflow: auto;
    max-height: 360px;
    border: 1px solid rgba(148, 163, 184, .2)
}

.gradient-orb {
    position: absolute;
    inset: auto -35% 10% auto;
    width: 60%;
    aspect-ratio: 1/1;
    filter: blur(40px);
    z-index: -1;
    background: radial-gradient(closest-side, rgba(14, 165, 233, .5), transparent), radial-gradient(closest-side, rgba(124, 58, 237, .55), transparent 60%);
    opacity: .7
}

/* Sections */
section {
    padding: 3.5rem 0
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem
}

.section-head h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem);
    margin: 0
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.card {
    background: var(--panel);
    border: 1px solid color-mix(in oklab, var(--text) 10%, transparent);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: var(--shadow)
}

.card h3 {
    margin: .2rem 0 .4rem
}

.icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, color-mix(in oklab, var(--brand) 85%, white 10%), color-mix(in oklab, var(--brand2) 85%, white 10%));
    color: #fff;
    box-shadow: 0 10px 20px rgba(14, 165, 233, .25)
}

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

    .features {
        grid-template-columns: 1fr 1fr
    }

    .stats {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 620px) {
    .features {
        grid-template-columns: 1fr
    }

    .stats {
        grid-template-columns: 1fr 1fr 1fr
    }
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.project img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px
}

.p-body {
    display: grid;
    gap: .6rem;
    margin-top: .6rem
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.plan {
    position: relative;
    overflow: hidden
}

.plan.popular {
    outline: 2px solid color-mix(in oklab, var(--brand) 65%, white 10%)
}

.ribbon {
    position: absolute;
    right: -45px;
    top: 14px;
    rotate: 35deg;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    font-weight: 700;
    letter-spacing: .4px;
    padding: .25rem 2.6rem
}

.price {
    display: flex;
    align-items: flex-end;
    gap: .35rem;
    margin: .6rem 0 1rem
}

.price .num {
    font-size: 2rem;
    font-weight: 800
}

.price .per {
    color: var(--muted)
}

.toggle {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--panel);
    border: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
    padding: .4rem;
    border-radius: 999px
}

.toggle button {
    border: 0;
    background: none;
    color: var(--muted);
    padding: .45rem .8rem;
    border-radius: 999px;
    font-weight: 700
}

.toggle button.active {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .5rem;
    margin-top: .6rem
}

/* Testimonials */
.t-wrap {
    overflow: hidden;
    position: relative
}

.t-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 1rem;
    transition: transform .5s ease
}

.testimonial {
    min-height: 160px
}

.t-nav {
    display: flex;
    gap: .6rem;
    justify-content: flex-end;
    margin-top: .6rem
}

/* FAQ */
.faq {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 1rem
}

.accordion button {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
    background: var(--panel)
}

.accordion button[aria-expanded="true"] {
    outline: 2px solid color-mix(in oklab, var(--brand) 55%, white 10%)
}

.accordion .content {
    padding: 0 1rem 1rem;
    color: var(--muted);
    display: none
}

.accordion .content.open {
    display: block
}

.faq-img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 4/3;
    object-fit: cover
}

/* Form */
.form {
    display: grid;
    gap: .8rem
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem
}

input,
textarea,
select {
    width: 100%;
    padding: .8rem;
    border-radius: 12px;
    border: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
    background: color-mix(in oklab, var(--panel) 92%, transparent);
    color: inherit;
    font: inherit
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--ring);
    border-color: transparent
}

.hint {
    font-size: .85rem;
    color: var(--muted)
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap
}

.status {
    font-size: .95rem;
    margin-top: .2rem
}

.status.ok {
    color: var(--ok)
}

.status.err {
    color: var(--err)
}

.agree {
    display: flex;
    align-items: center;
    gap: .5rem
}

/* Footer */
.footer {
    padding: 2.6rem 0;
    border-top: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
    margin-top: 2rem
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 1rem
}

.tiny {
    font-size: .85rem;
    color: var(--muted)
}

.right {
    text-align: right
}

.social {
    display: flex;
    gap: .6rem;
    justify-content: flex-end
}

.social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid color-mix(in oklab, var(--text) 12%, transparent)
}

/* Typing */
.gradient-text {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease
}

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

/* Responsive tweaks */
@media (max-width:920px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:620px) {
    .projects-grid {
        grid-template-columns: 1fr
    }

    .faq {
        grid-template-columns: 1fr
    }

    .grid2 {
        grid-template-columns: 1fr
    }
}