/* Shared */
section {
    padding-block: 4.5rem;
}

section>header {
    text-align: center;
    margin-bottom: 2.75rem;
}

section>header h2 {
    margin-bottom: 0.4rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

section>header p {
    margin: 0;
    opacity: 0.7;
    font-size: 1.1rem;
}

/* ===== Navigation ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--pico-background-color) 92%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--pico-muted-border-color);
    padding-block: 0.85rem;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: inherit;
}

.logo:hover {
    text-decoration: none;
    opacity: 0.85;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    list-style-type: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.15s ease;
}

.nav-links a:hover {
    opacity: 1;
    text-decoration: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-actions a {
    text-decoration: none;
}

.nav-actions .login {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.85;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
}

.nav-actions .login:hover {
    opacity: 1;
    text-decoration: none;
}

.nav-actions button,
.nav-actions .button {
    margin: 0;
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.35rem;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .site-header.menu-open .nav-links,
    .site-header.menu-open .nav-actions {
        display: flex;
    }

    .site-header.menu-open .container {
        flex-wrap: wrap;
    }

    .site-header.menu-open .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding-top: 1rem;
        border-top: 1px solid var(--pico-muted-border-color);
        margin-top: 0.75rem;
    }

    .site-header.menu-open .nav-actions {
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }
}

/* Hero section  */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero p {
    max-width: 36rem;
    margin-inline: auto;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.hero .actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Problem-Solution section */
.problem-solution {
    padding-block: 4rem;
}

.problem-solution header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.problem-solution header h2 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.problem-solution header h2 span {
    opacity: 0.45;
    font-weight: 400;
}

.problem-solution .grid {
    gap: 1.5rem;
}

.problem-solution article {
    padding: 1.75rem;
    height: 100%;
}

.problem-solution article header {
    margin-bottom: 0.75rem;
    text-align: left;
}

.problem-solution article strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.6;
    margin-bottom: 0.35rem;
}

.problem-solution article h3 {
    margin: 0;
    font-size: 1.25rem;
}

/* Benefit section */
.benefits .grid {
    gap: 1.25rem;
}

.benefits article {
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.benefits article:hover {
    transform: translateY(-3px);
}

.benefits .icon {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 0.75rem;
    background: var(--pico-primary-background);
    color: var(--pico-primary-inverse);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefits h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.benefits p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.55;
}

/* ========== Features ========== */
.feature-list {
    max-width: 960px;
    margin-inline: auto;
}

.feature-list header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.feature-list header h2 {
    margin-bottom: 0.4rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.feature-list header p {
    margin: 0;
    opacity: 0.7;
    font-size: 1.05rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin: 2rem 0;
    background: none;
}

.feature--left .feature-visual {
    order: 1;
    justify-self: end;
}

.feature--left .feature-content {
    order: 2;
    text-align: left;
}

.feature--right .feature-visual {
    order: 2;
    justify-self: start;
}

.feature--right .feature-content {
    order: 1;
    text-align: right;
}

.feature-visual {
    max-width: 280px;
}

.illustration {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--pico-primary) 6%, transparent);
    border-radius: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--pico-primary) 12%, transparent);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover .illustration {
    transform: translateY(-6px);
    background: color-mix(in srgb, var(--pico-primary) 10%, transparent);
    box-shadow: 0 16px 36px color-mix(in srgb, var(--pico-primary) 12%, transparent);
}

.illustration svg {
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.feature-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 380px;
}

.feature--right .feature-content {
    flex-direction: row-reverse;
    margin-left: auto;
}

.feature-list .check {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pico-primary-background);
    color: var(--pico-primary-inverse);
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.2rem;
}

.feature-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.feature-content p {
    margin: 0;
    opacity: 0.78;
    font-size: 1.05rem;
    line-height: 1.55;
}

/* ========== How it Works ========== */
.steps {
    max-width: 960px;
    margin-inline: auto;
}

.steps header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.steps header h2 {
    margin-bottom: 0.4rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.steps header p {
    margin: 0;
    opacity: 0.7;
    font-size: 1.05rem;
}

.steps-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.steps-list::before {
    content: "";
    position: absolute;
    top: 1.4rem;
    bottom: 1.4rem;
    left: 50%;
    width: 2px;
    border-left: 2px var(--connector-color);
    background: repeating-linear-gradient(to bottom,
            var(--connector-color) 0,
            var(--connector-color) 6px,
            transparent 6px,
            transparent 14px);
    transform: translateX(-50%);
    z-index: 0;
}

.step {
    display: grid;
    grid-template-columns: 1fr var(--step-size) 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
    background: none;
    margin: 2rem 0;
}

.step-number {
    width: var(--step-size);
    height: var(--step-size);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pico-primary-background);
    color: var(--pico-primary-inverse);
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow:
        0 0 0 6px color-mix(in srgb, var(--pico-primary) 16%, transparent),
        0 4px 12px color-mix(in srgb, var(--pico-primary) 18%, transparent);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    justify-self: center;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow:
        0 0 0 8px color-mix(in srgb, var(--pico-primary) 26%, transparent),
        0 6px 16px color-mix(in srgb, var(--pico-primary) 22%, transparent);
}

.step--left .step-visual {
    justify-self: end;
}

.step--left .step-content {
    text-align: left;
}

.step--right .step-visual {
    order: 3;
    justify-self: start;
}

.step--right .step-content {
    order: 1;
    text-align: right;
}

.step--right .step-number {
    order: 2;
}

.step-visual {
    max-width: 220px;
}

.illustration {
    width: 200px;
    height: 150px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--pico-primary) 6%, transparent);
    border-radius: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--pico-primary) 12%, transparent);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.step:hover .illustration {
    transform: translateY(-6px);
    background: color-mix(in srgb, var(--pico-primary) 10%, transparent);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--pico-primary) 14%, transparent);
}

.illustration svg {
    width: 100%;
    height: 100%;
    padding: 0.75rem;
}

.step-content h3 {
    margin: 0 0 0.55rem;
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.step-content p {
    margin: 0;
    opacity: 0.78;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 34ch;
}

.step--left .step-content p {
    margin-right: auto;
}

.step--right .step-content p {
    margin-left: auto;
}

/* CTA Banner */
.cta {
    text-align: center;
    padding-block: 5rem;
}

.cta-inner {
    max-width: 40rem;
    margin-inline: auto;
    padding: 3rem 2rem;
    border-radius: var(--pico-border-radius);
    background: var(--pico-card-background-color);
    border: 1px solid var(--pico-muted-border-color);
}

.cta h2 {
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.cta p {
    margin-bottom: 2rem;
    opacity: 0.8;
    font-size: 1.1rem;
}

.cta .actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* FAQ */
.faq {
    max-width: 42rem;
    margin-inline: auto;
}

.faq details {
    background: var(--pico-card-background-color);
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 0.85rem;
    margin-bottom: 0.85rem;
    padding: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details:hover {
    border-color: var(--pico-primary-border);
}

.faq details[open] {
    border-color: var(--pico-primary-border);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.faq details summary {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.15rem 1.35rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

.faq details summary::after {
    font-size: 1.35rem;
    font-weight: 400;
    opacity: 0.45;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.faq details[open] summary::after {
    opacity: 0.7;
}

.faq details p {
    margin: 0;
    padding: 0 1.35rem 1.25rem;
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.98rem;
}

/* Footer */
footer {
    padding-block: 3.5rem 2.5rem;
    border-top: 1px solid var(--pico-muted-border-color);
    margin-top: 2rem;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

footer h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li {
    margin-bottom: 0.5rem;
    list-style-type: none;
}

footer a {
    text-decoration: none;
    opacity: 0.85;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

footer .brand {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

footer .brand-desc {
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 16rem;
}

footer .copyright {
    text-align: center;
    opacity: 0.55;
    font-size: 0.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pico-muted-border-color);
}