:root {
    --bg-deep: #07131f;
    --bg-dark: #0b1c2a;
    --bg-soft: #102635;
    --bg-light: #f2eee7;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --text: #f7f3ec;
    --text-soft: #c9d1d6;
    --text-dark: #18252d;
--text-black: #0a0a0a;
    --text-dark-soft: #52616a;
    --bronze: #c49a61;
    --bronze-light: #e0c18d;
    --line: rgba(255, 255, 255, 0.12);
    --line-dark: rgba(24, 37, 45, 0.12);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --radius: 24px;
    --radius-small: 14px;
    --max-width: 1180px;
    --transition: 220ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.7;
}

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

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

button,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 19, 31, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.main-nav {
    width: min(calc(100% - 40px), var(--max-width));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-size: 0.92rem;
    color: var(--text-soft);
}

.nav-links a,
.footer-main a {
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-main a:hover,
.footer-main a:focus-visible {
    color: var(--bronze-light);
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.language-selector select {
    min-width: 112px;
    padding: 8px 30px 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.language-selector select option {
    background: #ffffff;
    color: #000000;
}

.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
    padding: 24px 0 56px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    top: 30px;
    right: -220px;
    border-radius: 50%;
    background: rgba(196, 154, 97, 0.1);
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--bronze-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.045em;
}

.hero h2 {
    max-width: 650px;
    margin: 26px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.12;
    font-weight: 400;
}

.hero-text {
    margin: 0 0 18px;
    color: var(--bronze-light);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-content > p:not(.eyebrow):not(.hero-text) {
    max-width: 650px;
    color: var(--text-soft);
    font-size: 1.05rem;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    width: min(100%, 420px);
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 32px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.store-button {
    min-width: 178px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border: 1px solid rgba(224, 193, 141, 0.45);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.store-button:hover,
.store-button:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--bronze-light);
}

.store-button > span:first-child {
    font-size: 1.65rem;
    line-height: 1;
}

.store-button > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-weight: 700;
}

.store-button small {
    color: var(--text-soft);
    font-size: 0.68rem;
    font-weight: 500;
}

.section {
    padding: 110px 20px;
}

.section > * {
    width: min(100%, var(--max-width));
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 55px;
}

.section-heading h2,
.community-content h2,
.download-content h2 {
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.section-heading p {
    color: var(--text-soft);
}

.section-about {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section-about .section-heading p {
    color: var(--text-dark-soft);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 28px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 12px 40px rgba(24, 37, 45, 0.06);
}

.feature-icon {
    display: block;
    margin-bottom: 22px;
    font-size: 2rem;
}

.feature-card h3,
.flow-steps h3,
.quality-grid h3,
.feature-list h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.feature-card p,
.flow-steps p,
.quality-grid p,
.feature-list p {
    margin: 0;
    color: var(--text-dark-soft);
    font-size: 0.94rem;
}

.section-timeline {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 80px;
    background:
        radial-gradient(circle at 80% 40%, rgba(196, 154, 97, 0.12), transparent 35%),
        var(--bg-dark);
}

.timeline-content {
    max-width: 720px;
}

.timeline-content h2 {
    margin: 0 0 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 400;
}

.timeline-content p {
    color: var(--text-soft);
}

.timeline-content .highlight {
    padding-left: 20px;
    border-left: 2px solid var(--bronze);
    color: var(--bronze-light);
    font-weight: 600;
}

.timeline-logo {
    display: flex;
    justify-content: center;
}

.timeline-logo img {
    width: min(100%, 420px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--bronze);
    color: #111820;
    font-weight: 750;
    transition:
        transform var(--transition),
        background var(--transition);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    background: var(--bronze-light);
}

.section-flow {
    background: #0d2231;
}

.flow-diagram {
    margin-bottom: 55px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

.flow-diagram img {
    width: 100%;
    border-radius: 14px;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.flow-steps article {
    padding: 25px;
    border-top: 1px solid var(--line);
}

.flow-steps span {
    display: block;
    margin-bottom: 16px;
    color: var(--bronze-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.flow-steps h3 {
    color: var(--text);
}

.flow-steps p {
    color: var(--text-soft);
}

.section-conclusion,
.quality-conclusion {
    margin-top: 50px;
    text-align: center;
    color: var(--bronze-light);
    font-size: 1.1rem;
}

.section-features {
    background: var(--bg-light);
    color: var(--text-dark);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.feature-list article {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.55);
}

.feature-list article > span {
    font-size: 1.7rem;
}

.section-quality {
    background: var(--bg-dark);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quality-grid article {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.quality-grid article > span {
    display: block;
    margin-bottom: 20px;
    font-size: 2rem;
}

.quality-grid h3 {
    color: var(--text);
}

.quality-grid p {
    color: var(--text-soft);
}

.quality-conclusion {
    color: var(--text);
}

.section-community {
    background:
        linear-gradient(rgba(7, 19, 31, 0.78), rgba(7, 19, 31, 0.94)),
        radial-gradient(circle at 70% 30%, rgba(196, 154, 97, 0.22), transparent 36%),
        var(--bg-deep);
}

.community-content {
    max-width: 850px;
    text-align: center;
}

.community-content h3 {
    margin: -8px 0 24px;
    color: var(--bronze-light);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 500;
}

.community-content p {
    color: var(--text-soft);
}

.community-content .small-text {
    max-width: 700px;
    margin: 32px auto 0;
    font-size: 0.9rem;
}

.section-thanks {
    background: var(--bg-light);
    color: var(--text-dark);
    text-align: center;
}

.section-thanks .section-heading {
    max-width: 760px;
}

.section-thanks p {
    color: #000000;
}

.section-thanks .section-heading p {
    color: var(--text-dark);
}

.section-thanks a:not(.button) {
    color: #826034;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.section-download {
    background:
        radial-gradient(circle at 50% 0%, rgba(196, 154, 97, 0.16), transparent 35%),
        var(--bg-dark);
    text-align: center;
}

.download-content {
    max-width: 820px;
}

.download-content p {
    color: var(--text-soft);
}

.download-content .store-buttons {
    justify-content: center;
}

.site-footer {
    padding: 70px 20px 25px;
    background: #050e16;
    color: var(--text-soft);
}

.footer-main {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    color: var(--text);
}

.footer-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 14px;
}

.footer-main h3 {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-main nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-languages p {
    margin: 0;
}

.footer-bottom {
    width: min(100%, var(--max-width));
    margin: 55px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #87949d;
    font-size: 0.8rem;
}

:focus-visible {
    outline: 2px solid var(--bronze-light);
    outline-offset: 4px;
}

@media (max-width: 1050px) {
    .nav-links {
        gap: 14px;
        font-size: 0.84rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        gap: 45px;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .main-nav {
        min-height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 24px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content > p:not(.eyebrow):not(.hero-text) {
        margin-left: auto;
        margin-right: auto;
    }

    .hero .store-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        width: min(100%, 330px);
    }

    .section-timeline {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 560px) {
    .main-nav,
    .hero {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .brand span {
        display: none;
    }

    .language-selector select {
        min-width: 100px;
    }

    .hero {
        padding-top: 24px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(3rem, 17vw, 4.5rem);
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .store-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .store-button {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 80px 14px;
    }

    .feature-grid,
    .flow-steps {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .feature-list article,
    .quality-grid article {
        padding: 24px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
    background: var(--bg-deep);
    color: var(--text);
}

.contact-page .site-header {
    background: var(--bg-deep);
}

.section-contact {
    min-height: calc(100vh - 115px);
    padding-top: 72px;
    padding-bottom: 96px;
}

.section-contact .section-heading {
    max-width: 820px;
    margin-bottom: 52px;
}

.section-contact .section-heading p:not(.eyebrow) {
    color: var(--text-soft);
    max-width: 760px;
}


/* Contact layout */

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 64px;
    align-items: start;
    max-width: 1080px;
}


/* Form */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 34px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--radius-small);
    background: var(--surface-strong);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
    outline: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input {
    min-height: 50px;
}

.form-group textarea {
    min-height: 190px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-soft);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--bronze);
    background: var(--surface-strong);
    box-shadow: 0 0 0 3px rgba(196, 154, 97, 0.18);
}


/* Privacy checkbox */

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 2px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.form-checkbox input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--bronze);
}

.form-checkbox label {
    color: var(--text-soft);
}

.form-checkbox a {
    color: var(--bronze-light);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.form-checkbox a:hover {
    color: var(--text);
}


/* Submit button */

.contact-form .button {
    align-self: flex-start;
    margin-top: 4px;
}


/* Direct contact */

.contact-info {
    padding: 30px 0;
}

.contact-info h2 {
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--text);
}

.contact-info p {
    color: var(--text-soft);
    line-height: 1.7;
}

.contact-info a {
    color: var(--bronze-light);
    font-weight: 600;
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--text);
    text-decoration: underline;
}


/* Header language selector */

.contact-page .language-selector select {
    background: var(--surface);
    color: var(--text);
}

.contact-page .language-selector select option {
    background: #ffffff;
    color: #000000;
}


/* Mobile */

@media (max-width: 800px) {

    .section-contact {
        padding-top: 52px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-form {
        padding: 24px;
    }

    .contact-info {
        padding: 0;
    }
}


@media (max-width: 560px) {

    .section-contact {
        padding-top: 40px;
        padding-bottom: 64px;
    }

    .contact-form {
        padding: 20px;
        border-radius: 18px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    .form-checkbox {
        font-size: 0.88rem;
    }
}

/* =========================================================
   CONSENT BANNER
   ========================================================= */

.consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;

    padding: 18px 24px;

    background: rgba(20, 20, 20, 0.97);
    color: #ffffff;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
}

.consent-banner-content {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 28px;
    row-gap: 10px;

    align-items: center;
}

.consent-banner h2 {
    margin: 0;

    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

.consent-banner p {
    margin: 4px 0 0;

    font-size: 0.9rem;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.86);
}

.consent-banner-content > a {
    display: inline-block;

    margin-top: 5px;

    color: #ffffff;
    font-size: 0.85rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consent-banner-content > a:hover {
    opacity: 0.8;
}

.consent-banner-actions {
    grid-column: 2;
    grid-row: 1 / span 3;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.consent-button {
    appearance: none;
    border: 1px solid transparent;

    min-height: 40px;
    padding: 9px 16px;

    border-radius: 8px;

    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.consent-button:hover {
    opacity: 0.85;
}

.consent-button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.consent-button-primary {
    background: #ffffff;
    color: #1a1a1a;
}

.consent-button-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.consent-button-link {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border-color: transparent;
}

@media (max-width: 800px) {
    .consent-banner {
        padding: 16px 18px;
    }

    .consent-banner-content {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .consent-banner-actions {
        grid-column: 1;
        grid-row: auto;

        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .consent-banner {
        padding: 15px;
    }

    .consent-banner h2 {
        font-size: 0.95rem;
    }

    .consent-banner p {
        font-size: 0.84rem;
    }

    .consent-banner-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .consent-button {
        width: 100%;
        padding: 9px 10px;
    }

    .consent-button-link {
        grid-column: 1 / -1;
    }
}
