/* Stable layout styles for Virmatox landing */
:root {
    --bg: #120014;
    --bg-soft: #1b031f;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-strong: rgba(255, 255, 255, 0.08);
    --accent: #ff4fd8;
    --accent-strong: #ff7ae3;
    --text: #ffffff;
    --muted: #d7cfd6;
    --border: rgba(255, 79, 216, 0.28);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

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

body {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 15% -10%, rgba(255, 79, 216, 0.22), transparent 40%),
        radial-gradient(circle at 85% 10%, rgba(255, 79, 216, 0.12), transparent 38%),
        var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

p {
    color: var(--muted);
    margin-top: 14px;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.1rem, 4.7vw, 3.5rem);
    color: var(--accent);
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.7rem, 3.8vw, 2.6rem);
    margin-bottom: 18px;
    color: var(--accent);
    text-wrap: balance;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    margin-bottom: 10px;
}

main > section {
    padding: 84px 0;
}

main > section > div,
header > div,
footer > div {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(18, 0, 20, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

header > div {
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 18px;
}

header > div > div:first-child {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-right: auto;
}

#nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

label[for="nav-toggle"] {
    display: none;
    width: 44px;
    height: 34px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

label[for="nav-toggle"] span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent);
    margin: 3px 0;
    transition: 0.25s ease;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
}

header nav a {
    text-decoration: none;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f2e8f1;
    padding: 7px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

header nav a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* About */
#SectionAboutProject > div {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 42px;
    align-items: center;
}

#SectionAboutProject img {
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 6 / 7;
}

#SectionAboutProject p {
    max-width: 66ch;
}

#SectionAboutProject a[href="#SectionContactForm"],
#SectionPricingPlans a[href="#SectionContactForm"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #21001f;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 28px rgba(255, 79, 216, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#SectionAboutProject a[href="#SectionContactForm"]:hover,
#SectionPricingPlans a[href="#SectionContactForm"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(255, 79, 216, 0.45);
}

/* Audience */
#SectionTargetAudience {
    background: linear-gradient(180deg, #140018 0%, #1b0321 100%);
}

#SectionTargetAudience ul {
    margin-top: 24px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

#SectionTargetAudience li {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
}

/* Pricing */
#SectionPricingPlans > div > div {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

#SectionPricingPlans > div > div > div {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

#SectionPricingPlans ul {
    list-style: none;
    margin-top: 8px;
    margin-bottom: 18px;
    flex-grow: 1;
}

#SectionPricingPlans li {
    color: var(--muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

#SectionPricingPlans li:last-child {
    border-bottom: 0;
}

#SectionPricingPlans > div > div > div > div {
    font-size: clamp(1.55rem, 3.2vw, 2.1rem);
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 10px;
}

/* Benefits */
#SectionMainBenefits > div {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
}

#SectionMainBenefits img {
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

#SectionMainBenefits ul {
    margin-top: 18px;
    padding-left: 20px;
}

#SectionMainBenefits li {
    margin-bottom: 9px;
    color: var(--muted);
}

/* Quote */
#SectionExpertQuote {
    background: linear-gradient(180deg, #0d0010 0%, #140018 100%);
    text-align: center;
}

#SectionExpertQuote blockquote {
    font-size: clamp(1.22rem, 2.8vw, 1.85rem);
    line-height: 1.45;
    max-width: 920px;
    margin: 0 auto;
    color: #f7f4f7;
    font-style: italic;
}

#SectionExpertQuote cite {
    display: block;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 700;
}

/* Text sections */
#SectionDailyRhythm,
#SectionHabitBuilding,
#SectionWorkspaceComfort {
    background: #140018;
}

#SectionDailyRhythm h3,
#SectionHabitBuilding h3,
#SectionWorkspaceComfort h3 {
    margin-top: 22px;
}

#SectionDailyRhythm ul,
#SectionHabitBuilding ul,
#SectionWorkspaceComfort ul {
    margin-top: 16px;
    padding-left: 20px;
}

#SectionDailyRhythm li,
#SectionHabitBuilding li,
#SectionWorkspaceComfort li {
    margin-bottom: 8px;
    color: var(--muted);
}

/* FAQ */
#SectionFAQ {
    background: linear-gradient(180deg, #140018 0%, #1d0322 100%);
}

#SectionFAQ > div {
    max-width: 860px;
}

#SectionFAQ details {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    margin-bottom: 12px;
    overflow: hidden;
}

#SectionFAQ summary {
    list-style: none;
    cursor: pointer;
    padding: 16px;
    font-weight: 700;
    color: #ffe8fa;
    transition: background 0.2s ease;
}

#SectionFAQ summary:hover {
    background: rgba(255, 79, 216, 0.1);
}

#SectionFAQ details p {
    margin: 0;
    padding: 0 16px 16px;
}

/* Contact form */
#SectionContactForm {
    background: linear-gradient(180deg, #18001c 0%, #25002d 100%);
}

#SectionContactForm > div {
    max-width: 660px;
    text-align: center;
}

#SectionContactForm form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#SectionContactForm input[type="text"],
#SectionContactForm input[type="email"],
#SectionContactForm textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1rem;
    padding: 12px 14px;
}

#SectionContactForm textarea {
    min-height: 132px;
    resize: vertical;
}

#SectionContactForm input::placeholder,
#SectionContactForm textarea::placeholder {
    color: #d5c1d1;
}

#SectionContactForm label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    color: #ebd8e8;
}

#SectionContactForm label a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

#SectionContactForm button {
    border: 0;
    border-radius: 10px;
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
    color: #21001f;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(255, 79, 216, 0.34);
    transition: transform 0.2s ease;
}

#SectionContactForm button:hover {
    transform: translateY(-1px);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    background: #0a000c;
    padding: 42px 0;
    text-align: center;
}

footer p,
footer div {
    color: #d8cad6;
}

footer a {
    color: var(--accent-strong);
    text-decoration: none;
}

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

footer .StUvWxYzAbCd {
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    header nav ul {
        gap: 12px;
    }

    #SectionAboutProject > div,
    #SectionMainBenefits > div {
        grid-template-columns: 1fr;
    }

    #SectionPricingPlans > div > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    label[for="nav-toggle"] {
        display: inline-flex;
        flex-direction: column;
    }

    header nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(18, 0, 20, 0.98);
        border-top: 1px solid var(--border);
        transform: translateY(-140%);
        transition: transform 0.26s ease;
        padding-bottom: 16px;
    }

    header nav ul {
        flex-direction: column;
        gap: 8px;
        padding: 12px 20px;
        align-items: flex-start;
    }

    #nav-toggle:checked ~ nav {
        transform: translateY(0);
    }

    #nav-toggle:checked + label span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #nav-toggle:checked + label span:nth-child(2) {
        opacity: 0;
    }

    #nav-toggle:checked + label span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 700px) {
    main > section {
        padding: 62px 0;
    }

    #SectionTargetAudience ul,
    #SectionPricingPlans > div > div {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 32px 0;
    }

    footer .StUvWxYzAbCd a {
        display: inline-block;
        margin: 3px 4px;
    }
}
