
:root {
    --bg: #0b0c13;
    --panel: #141620;
    --text: #f4f4fa;
    --muted: #a8aabc;
    --accent: #a78bfa;
    --line: #292b3a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(
        ellipse at 80% 0%,
        #231943 0%,
        transparent 35%
    ), var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6;
}

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

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.wrap {
    width: min(1120px, 90%);
    margin: auto;
}

/* NAVIGATION */

.siteheader {
    border-bottom: 1px solid var(--line);
    background: #0b0c13ed;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 0;
}

.brand {
    display: block;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 230px;
    max-width: 100%;
    border-radius: 5px;
}

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.logo span {
    color: var(--accent);
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    color: var(--muted);
}

nav a {
    padding: 8px 0;
    transition: color .2s;
}

nav a:hover {
    color: white;
}

.nav a[aria-current] {
    color: #c4b5fd;
    border-bottom: 2px solid var(--accent);
}

/* BUTTONS */

.nav-cta,
.secondary {
    border: 1px solid var(--line);
    padding: 12px 19px;
    border-radius: 9px;
    display: inline-block;
    color: var(--text);
}

.button {
    display: inline-block;
    background: var(--accent);
    color: #100b20;
    font-weight: 800;
    padding: 13px 20px;
    border-radius: 9px;
    transition: transform .2s, background .2s;
}

.button:hover {
    transform: translateY(-3px);
    background: #c4b5fd;
}

.secondary:hover {
    border-color: var(--accent);
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* TYPOGRAPHY */

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(48px, 6.2vw, 86px);
    line-height: 1.04;
    letter-spacing: -.065em;
    margin: 24px 0;
}

h1 span {
    color: var(--accent);
    background: linear-gradient(
        100deg,
        #c4b5fd,
        #818cf8
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -.04em;
    margin-bottom: 24px;
}

.eyebrow {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
}

.eyebrow i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 8px;
}

.lead,
.muted,
.card p {
    color: var(--muted);
}

.lead {
    font-size: 18px;
    max-width: 470px;
}

/* HOMEPAGE */

.hero {
    min-height: 570px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
    padding: 65px 0 90px;
}

.visual {
    position: relative;
    padding: 35px 0;
    background: radial-gradient(
        ellipse,
        #47317655,
        transparent 72%
    );
}

.browser {
    border: 1px solid #45435b;
    border-radius: 14px;
    overflow: hidden;
    background: #171925;
    box-shadow: 0 25px 70px #0008;
    transform: rotate(-3deg);
}

.browserbar {
    padding: 12px;
    display: flex;
    gap: 5px;
    align-items: center;
    background: #222433;
}

.browserbar b {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #77788a;
}

.browserbar small {
    margin: auto;
    color: #b7b8c7;
    font-size: 10px;
}

.mock {
    padding: 22px;
}

.mocknav {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    justify-content: space-between;
}

.mockhero {
    margin: 20px 0;
    padding: 28px;
    background: linear-gradient(
        135deg,
        #35236c,
        #18274c
    );
    border-radius: 8px;
}

.mockhero small {
    font-size: 9px;
    letter-spacing: 1px;
}

.mockhero strong {
    display: block;
    font-size: clamp(25px, 3.5vw, 48px);
    line-height: 1.1;
    margin: 15px 0;
}

.mockhero em {
    font-size: 10px;
    font-style: normal;
    background: #c4b5fd;
    color: #171125;
    padding: 7px 12px;
    border-radius: 4px;
}

.mockcards {
    display: flex;
    gap: 10px;
}

.mockcards div {
    height: 55px;
    flex: 1;
    background: #2b2d40;
    border-radius: 6px;
}

.floating {
    position: absolute;
    bottom: 10px;
    right: 0;
    padding: 12px 20px;
    background: #222139;
    border: 1px solid #62528d;
    border-radius: 10px;
    font-size: 13px;
}

/* INFORMATION STRIP */

.strip {
    border-block: 1px solid var(--line);
    padding: 20px 0;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
}

.strip .wrap {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.strip span {
    color: var(--accent);
}

/* PAGE LAYOUT */

.pagehead {
    padding: 90px 0 25px;
}

.pagehead h1 {
    max-width: 900px;
}

.pagehead .lead {
    max-width: 650px;
}

.section {
    padding: 55px 0 15px;
    scroll-margin-top: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 250px), 1fr)
    );
    gap: 18px;
}

/* CARDS */

.card {
    background: linear-gradient(
        145deg,
        #191b29,
        #12141e
    );
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 25px;
    transition:
        transform .2s,
        border-color .2s,
        box-shadow .2s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #7461a8;
}

.symbol {
    font-size: 26px;
    color: var(--accent);
    margin-bottom: 15px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.card p {
    margin-bottom: 0;
}

/* ORIGINAL PROJECT PREVIEWS */

.preview {
    height: 230px;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 20px;
}

.preview strong {
    font-size: 36px;
    line-height: 1.1;
    margin: 12px 0;
}

.preview small,
.preview span {
    font-size: 10px;
    letter-spacing: 2px;
}

.green {
    background: linear-gradient(
        135deg,
        #143c2b,
        #3e7651
    );
}

.violet {
    background: linear-gradient(
        135deg,
        #24213f,
        #493879
    );
}

/* PORTFOLIO PAGE */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.portfolio-grid .project {
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
}

.portfolio-grid .project:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 45px #8b5cf615;
}

.project-preview {
    position: relative;
    overflow: hidden;
    background: #11121a;
    border-bottom: 1px solid var(--line);
}

.project-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top;
    transition: transform .5s ease;
}

.project-preview:hover .project-image {
    transform: scale(1.035);
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0b0c13ed;
    color: #c4b5fd;
    border: 1px solid #ffffff20;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.project-content {
    padding: 28px;
}

.project-content .eyebrow {
    color: var(--accent);
    margin-bottom: 12px;
}

.project-content h3 {
    font-size: 26px;
    letter-spacing: -.7px;
    margin-bottom: 12px;
}

.project-content p {
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
}

.project-tags span {
    color: #c4b5fd;
    background: #a78bfa12;
    border: 1px solid #a78bfa25;
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.coming-soon {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: radial-gradient(
        ellipse at center,
        #38275c,
        #151421 75%
    );
    border-bottom: 1px solid var(--line);
}

.coming-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #a78bfa50;
    border-radius: 12px;
    color: var(--accent);
    font-size: 28px;
    margin-bottom: 15px;
}

.coming-soon small {
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 3px;
}

.coming-soon strong {
    font-size: clamp(20px, 3vw, 32px);
    line-height: 1.2;
    margin-top: 12px;
}

.portfolio-notice {
    color: var(--muted);
    font-size: 12px;
    margin-top: 25px;
}

/* PRICING PAGE */

.amount {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -2px;
}

.amount small {
    font-size: 15px;
    letter-spacing: 0;
    color: var(--muted);
}

.price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price ul {
    padding-left: 20px;
    color: var(--muted);
    margin: 22px 0 30px;
}

.price a {
    margin-top: auto;
}

.featured {
    border-color: var(--accent);
}

/* CONTACT SECTION */

.contact {
    text-align: center;
    background: radial-gradient(
        ellipse at top,
        #30234e,
        #141620 70%
    );
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 60px 25px;
}

.contact p {
    color: var(--muted);
}

.contact .eyebrow {
    color: var(--accent);
}

.notice {
    display: inline-block;
    border: 1px solid var(--line);
    padding: 10px 18px;
    border-radius: 8px;
}

.contactgrid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

.contactgrid .secondary {
    margin-top: 20px;
}

/* FORMS */

form {
    display: grid;
    gap: 10px;
}

label {
    font-size: 14px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    background: #0d0f18;
    border: 1px solid #414358;
    border-radius: 8px;
    padding: 13px;
    color: #c9c9d7;
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: 1px solid var(--accent);
    border-color: var(--accent);
}

textarea {
    resize: vertical;
}

button {
    border: 0;
    font: inherit;
    cursor: pointer;
}

button:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* FAQ */

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 25px 0;
}

.faq details {
    padding: 20px;
    border-bottom: 1px solid var(--line);
}

summary {
    cursor: pointer;
    font-weight: bold;
}

.faq p {
    color: var(--muted);
    margin: 12px 0 0;
}

/* FOOTER */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 45px 0;
    color: var(--muted);
    margin-top: 65px;
    border-top: 1px solid var(--line);
}

.footer .brand img {
    width: 180px;
}

.footer a:hover {
    color: var(--accent);
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 760px) {

    .nav {
        flex-wrap: wrap;
    }

    .brand img {
        width: 190px;
    }

    nav {
        gap: 12px;
        flex-wrap: wrap;
    }

    .nav nav {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .nav nav a {
        font-size: 13px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 45px 0;
        min-height: auto;
    }

    .pagehead {
        padding: 50px 0 10px;
    }

    .section {
        padding-top: 55px;
    }

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

    .project-content {
        padding: 22px;
    }

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

    .footer {
        flex-wrap: wrap;
        margin-top: 40px;
    }

    .visual {
        padding: 20px 8px 35px;
    }

}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }

}
