:root {
    --bg: #090c14;
    --bg-soft: #121726;
    --card: #161d31;
    --card-2: #1d2540;
    --line: #2a3352;
    --text: #f3f5ff;
    --muted: #b8bfd7;
    --primary: #ff2d7d;
    --secondary: #6f7cff;
    --accent: #19d6b4;
    --radius: 16px;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    background-color: #090c14;
    background-image:
        radial-gradient(circle at 12% -8%, rgba(255, 82, 162, 0.2) 0%, transparent 34%),
        radial-gradient(circle at 88% 0%, rgba(111, 124, 255, 0.22) 0%, transparent 32%),
        linear-gradient(145deg, #0a0e18 0%, #090c14 44%, #080b14 100%);
    color: var(--text);
    line-height: 1.6;
}

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

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

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.site-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.035) 1px, transparent 1.1px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 72px),
        conic-gradient(from 220deg at 72% 28%, rgba(255, 45, 125, 0.08), rgba(111, 124, 255, 0.06), rgba(25, 214, 180, 0.05), rgba(255, 45, 125, 0.08)),
        radial-gradient(circle at 80% 10%, rgba(111, 124, 255, 0.16), transparent 28%),
        radial-gradient(circle at 10% 85%, rgba(255, 45, 125, 0.14), transparent 34%),
        radial-gradient(circle at 60% 45%, rgba(25, 214, 180, 0.08), transparent 30%);
    background-size: 22px 22px, 100% 72px, 72px 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    opacity: 0.82;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    backdrop-filter: blur(12px);
    background: rgba(9, 12, 20, 0.7);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
    background: rgba(9, 12, 20, 0.92);
    border-color: var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.95rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.24s ease;
}

.brand img {
    width: 36px;
}

.brand span {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.1rem;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    color: var(--muted);
    font-weight: 700;
}

.nav-links a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a:hover {
    transform: translateY(-1px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 0.85rem 1.35rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(110deg, var(--primary), #ff4f55);
    color: white;
    box-shadow: 0 14px 30px rgba(255, 45, 125, 0.35);
}

.btn-secondary {
    background: rgba(111, 124, 255, 0.14);
    border-color: rgba(111, 124, 255, 0.34);
    color: #ccd4ff;
}

.hero {
    padding: 4rem 0 3.25rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 2rem;
    align-items: center;
}

.hero-stack {
    display: grid;
    gap: 1.4rem;
}

.hero-banner-section {
    padding: 1.25rem 0 2rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #c3caf3;
    margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.14;
    font-family: "Space Grotesk", "Manrope", sans-serif;
}

h1 {
    font-size: clamp(2rem, 4.7vw, 4.05rem);
}

h2 {
    font-size: clamp(1.65rem, 3.1vw, 2.5rem);
}

p {
    margin: 0;
}

.lead {
    margin-top: 1rem;
    color: var(--muted);
    max-width: 58ch;
}

.hero-actions {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-badges {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.pill {
    padding: 0.42rem 0.78rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #d6dcfb;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
}

.hero-panel {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, #3b1d64, #db1470);
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hero-panel img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    mix-blend-mode: screen;
    opacity: 0.92;
}

.hero-panel.hero-banner {
    background: #0f1322;
    padding: 0.55rem;
}

.hero-panel.hero-banner img {
    min-height: 0;
    height: auto;
    object-fit: contain;
    mix-blend-mode: normal;
    opacity: 1;
    border-radius: 18px;
}

.hero-panel.hero-banner .hero-caption {
    position: static;
    margin: 0.7rem;
}

.hero-panel.hero-banner.hero-banner-full {
    width: 100%;
    padding: 0.65rem;
}

.hero-panel.hero-banner.hero-banner-full img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.features-hero-panel img {
    height: clamp(240px, 30vw, 340px);
    min-height: 0;
    object-fit: cover;
    mix-blend-mode: normal;
    opacity: 1;
}

.banner-downloads {
    position: absolute;
    left: 8.5%;
    transform: none;
    bottom: 10% !important;
    display: flex;
    align-items: center;
    gap: 1.1%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 44% !important;
    max-width: 560px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    z-index: 2;
}

.banner-downloads a {
    display: inline-flex;
    width: 32% !important;
    max-width: 122px;
}

.banner-downloads img {
    width: 100% !important;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.banner-webapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 32% !important;
    aspect-ratio: 800 / 237;
    min-height: 0;
    height: auto;
    padding: 0;
    border-radius: 7px;
    border: 1px solid rgba(255, 165, 64, 0.9);
    background: linear-gradient(135deg, #ffb347 0%, #ff8a00 55%, #e56a00 100%);
    color: #ffffff;
    font-size: clamp(0.62rem, 1.1vw, 0.78rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.banner-webapp svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    opacity: 0.95;
}

.hero-caption {
    position: absolute;
    inset: auto 1.1rem 1.1rem 1.1rem;
    background: rgba(9, 12, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.8rem 0.95rem;
    color: #e6ebff;
    font-weight: 700;
}

.section {
    padding: 4.1rem 0;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.section-title p {
    color: var(--muted);
    max-width: 55ch;
}

.grid {
    display: grid;
    gap: 1rem;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: linear-gradient(140deg, var(--card), var(--card-2));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.stat-number {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.stat-label {
    color: var(--muted);
}

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

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

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

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 0.9rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.two-col {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.howto-layout {
    display: grid;
    gap: 1.1rem;
}

.howto-toc {
    display: grid;
    gap: 0.85rem;
}

.howto-toc-copy {
    color: var(--muted);
    max-width: 65ch;
}

.howto-toc-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.55rem;
    color: #dbe1ff;
}

.howto-toc-list a {
    color: inherit;
}

.howto-toc-list a:hover {
    color: #ffffff;
}

.howto-accordion {
    display: grid;
    gap: 0.95rem;
}

.howto-accordion-item {
    padding: 0;
    overflow: hidden;
}

.howto-accordion-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    transition: background 0.22s ease;
}

.howto-accordion-item summary::-webkit-details-marker {
    display: none;
}

.howto-accordion-item summary::after {
    content: "+";
    font-size: 1.35rem;
    line-height: 1;
    color: #cfd6fb;
}

.howto-accordion-item[open] summary {
    border-bottom: 1px solid var(--line);
}

.howto-accordion-item[open] summary::after {
    content: "–";
}

.howto-summary-meta {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #aeb6da;
}

.howto-content {
    padding: 1rem 1.2rem 1.25rem;
    display: grid;
    gap: 0.9rem;
}

.howto-content h3 {
    font-size: 1.03rem;
    margin-top: 0.25rem;
}

.howto-content p,
.howto-content li {
    color: var(--muted);
}

.howto-content ol,
.howto-content ul {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.45rem;
}

.howto-content a {
    color: #d9deff;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.steps {
    display: grid;
    gap: 0.85rem;
}

.step {
    border-left: 2px solid #465282;
    padding-left: 0.9rem;
}

.step strong {
    color: #f4f7ff;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
}

.gallery img {
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.app-carousel {
    overflow: hidden;
}

.app-carousel-row {
    padding-top: 1.2rem;
}

.app-carousel-card {
    padding: 1rem;
}

.carousel-track {
    --carousel-gap: 0.7rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--carousel-gap) * 4)) / 5);
    gap: var(--carousel-gap);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    margin: 0;
    scroll-snap-align: start;
}

.carousel-slide img {
    width: 100%;
    height: clamp(140px, 16vw, 200px);
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.carousel-controls {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.carousel-btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: #ecf1ff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.36rem;
    flex: 1;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #4f5a80;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-dot.active {
    background: #f5f7ff;
    transform: scale(1.15);
}

.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem;
    color: #e1e7ff;
    text-align: center;
    font-weight: 700;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.cta {
    background: linear-gradient(132deg, rgba(111, 124, 255, 0.18), rgba(255, 45, 125, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.store-badges img {
    width: 160px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.legal {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 0.85rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.legal h3 {
    font-size: 1.08rem;
    margin-bottom: 0.55rem;
}

.legal ul,
.legal ol {
    margin: 0.55rem 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.contact-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 0.95fr 1.05fr;
}

.contact-card {
    background: linear-gradient(145deg, var(--card), var(--card-2));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.contact-list {
    display: grid;
    gap: 0.85rem;
    color: var(--muted);
}

.contact-list strong {
    color: #edf1ff;
}

form {
    display: grid;
    gap: 0.8rem;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: #edf1ff;
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.brand:hover {
    transform: translateY(-1px);
}

.hero-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52);
}

.card:hover,
.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(144, 160, 228, 0.46);
    box-shadow: 0 18px 36px rgba(6, 9, 18, 0.45);
}

.howto-accordion-item summary:hover {
    background: rgba(255, 255, 255, 0.03);
}

.banner-downloads a:hover img,
.store-badges img:hover,
.carousel-slide:hover img {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
}

.carousel-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(158, 171, 230, 0.6);
}

.carousel-dot:hover {
    transform: scale(1.18);
    background: #c2cdfc;
}

.category-item:hover {
    transform: translateY(-3px);
    border-color: rgba(143, 160, 235, 0.48);
    background: rgba(255, 255, 255, 0.06);
}

.legal:hover {
    transform: translateY(-2px);
    border-color: rgba(130, 145, 217, 0.44);
}

input:hover,
textarea:hover,
input:focus,
textarea:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(150, 166, 238, 0.64);
    box-shadow: 0 0 0 3px rgba(111, 124, 255, 0.16);
    outline: none;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.footer {
    border-top: 1px solid var(--line);
    margin-top: 3.5rem;
    padding: 2rem 0;
}

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.9rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .brand,
    .nav-links a,
    .btn,
    .hero-panel,
    .card,
    .contact-card,
    .banner-downloads img,
    .carousel-slide img,
    .carousel-btn,
    .carousel-dot,
    .category-item,
    .store-badges img,
    .legal,
    .howto-accordion-item summary,
    input,
    textarea {
        transition: none;
    }

    .brand:hover,
    .nav-links a:hover,
    .btn:hover,
    .hero-panel:hover,
    .card:hover,
    .contact-card:hover,
    .banner-downloads a:hover img,
    .store-badges img:hover,
    .carousel-slide:hover img,
    .carousel-btn:hover,
    .carousel-dot:hover,
    .category-item:hover,
    .legal:hover {
        transform: none;
    }
}

@media (max-width: 1040px) {

    .hero-grid,
    .contact-grid,
    .feature-grid,
    .stats-grid,
    .two-col,
    .category-grid,
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .carousel-track {
        grid-auto-columns: calc((100% - (var(--carousel-gap) * 2)) / 3);
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-links {
        position: absolute;
        left: 4vw;
        right: 4vw;
        top: calc(100% + 6px);
        flex-direction: column;
        align-items: stretch;
        background: #101626;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 0.75rem;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .hero-grid,
    .contact-grid,
    .feature-grid,
    .stats-grid,
    .two-col,
    .category-grid,
    .gallery {
        grid-template-columns: 1fr;
    }

    .carousel-track {
        grid-auto-columns: calc((100% - var(--carousel-gap)) / 2);
    }

    .carousel-slide img {
        height: clamp(120px, 34vw, 170px);
    }

    .hero {
        padding-top: 2.4rem;
    }

    .hero-panel.hero-banner.hero-banner-full img {
        max-height: none;
        object-fit: contain;
    }

    .features-hero-panel img {
        height: clamp(180px, 42vw, 260px);
    }

    .banner-downloads {
        left: 8.5%;
        transform: none;
        bottom: 14% !important;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 1%;
        width: 54% !important;
        max-width: none;
        padding: 0;
    }

    .banner-downloads a {
        width: 28% !important;
        max-width: 86px;
    }

    .banner-downloads img {
        width: 100% !important;
    }

    .banner-webapp {
        width: 28% !important;
        aspect-ratio: 800 / 237;
        min-height: 0;
        height: auto;
        padding: 0;
        font-size: clamp(0.48rem, 1.65vw, 0.58rem);
    }

    .banner-webapp svg {
        width: 10px;
        height: 10px;
    }
}