@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --ink: #070707;
    --surface: #111212;
    --surface-raised: #171918;
    --line: rgba(255, 255, 255, 0.1);
    --muted: #777b78;
    --soft: #c7cbc7;
    --accent: #fff200;
    --alert: #ff5147;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Marcellus", serif;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.6;
    background: var(--ink);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
}

.container {
    max-width: 720px;
    width: calc(100% - 32px);
    margin: 0 auto;
}

a{
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover{
    color: #FFF200;
}

h2{
    font-weight: 500;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-family: "Marcellus", sans-serif;
    margin-bottom: 20px;
}

section {
    padding: 92px 0;
    margin: 0 auto;
}

.section-label {
    width: 100%;
    max-width: 450px;
    margin: 0 auto 22px;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, calc(100% - 32px));
    z-index: 1000;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 26px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 11, 11, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.brand,
.nav-links a {
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.brand {
    font-weight: 600;
    color: #ff3333;
}

.nav-links {
    display: flex;
    gap: 26px;
}

.nav-links a:hover,
.nav-links a:focus,
.brand:hover,
.brand:focus {
    opacity: 0.8;
}

.page-shell {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    padding-top: 120px;
    padding-bottom: 40px;
}

.hero-section{
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
}

.hero-details{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
}

.hero-details p:last-child{
    max-width: 30ch;
    color: var(--soft);
}

.hero-section > a{
    margin: 0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.hero-section > a:hover,
.hero-section > a:focus-visible{
    color: #FFF200;
}

.about-details{
    margin-top: 0;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ */
.faq {
    max-width: 450px;
    margin: 0 auto;
}

.faq-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.faq-intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-intro h2 {
    font-size: clamp(1.25rem, 2.8vw, 1.6rem);
    line-height: 1.3;
    margin: 0;
    font-weight: 500;
}

.faq-intro p {
    color: var(--soft);
    margin: 0;
    font-size: 0.95rem;
}

.faq-intro a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-group {
    padding-top: 18px;
}

.faq-group h3 {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: inherit;
}

.faq-group details {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.faq-group summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 14px;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
}

.faq-group summary span {
    flex: 1;
}

.faq-group summary i {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1.15rem;
    line-height: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq-group summary::-webkit-details-marker {
    display: none;
}

.faq-group details[open] summary {
    color: #FFF200;
}

.faq-group details[open] summary i {
    color: #FFF200;
    transform: rotate(180deg);
}

.faq-group summary:hover {
    color: #FFF200;
}

.answer {
    padding: 0 14px 18px;
    color: var(--soft);
}

.answer p,
.answer li {
    color: var(--soft);
    font-size: 0.95rem;
    line-height: 1.65;
}

.answer p {
    margin: 0 0 10px;
}

.answer p:last-child {
    margin-bottom: 0;
}

.answer ul {
    margin: 0 0 10px;
    padding-left: 18px;
}

.answer li {
    margin-bottom: 6px;
}

.faq-group details[open] .answer {
    animation: reveal 0.2s ease;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-group details[open] .answer {
        animation: none;
    }

    .faq-group summary::after {
        transition: none;
    }
}


/* Pricing */
.pricing-details{
    margin-top: 0;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.pricingbx{
    background: var(--surface);
    border-radius: 8px;
    padding: 32px;
}

.pricingbx > div{
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.pricingbx > div:last-child{
    border-bottom: none;
}

.pricingbx > div p{
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    margin-bottom: 10px;
}

.pricingbx > div h2{
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 10px;
}

.pricing-note{
    color: var(--muted);
}

.contact-details{
    margin-top: 0;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

footer{
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links{
    display: flex;
    gap: 20px;
}

@media (max-width: 600px) {
    .page-shell {
        width: calc(100% - 24px);
        padding-top: 72px;
    }

    section {
        padding: 56px 0;
    }

    .about-details,
    .project-details,
    .pricing-details,
    .contact-details {
        width: 100%;
        max-width: none;
    }

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

    .process-details,
    .pricingbx {
        width: 100%;
        padding: 24px;
    }

    .process-details h2 {
        line-height: 1.35;
    }

    .label small {
        display: block;
        margin-top: 4px;
    }

    .desc {
        font-size: 14px;
        line-height: 1.4;
    }

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

    .social-links {
        flex-wrap: wrap;
        gap: 12px;
    }
}