:root {
    --bg: #0d0f12;
    --panel: rgba(255, 255, 255, 0.05);
    --panel-soft: rgba(255, 255, 255, 0.03);
    --text: #f5f7fb;
    --muted: #b4bccf;
    --muted-strong: #d3d8e5;
    --accent: #86ffea;
    --accent-2: #3fb3ff;
    --radius: 18px;
    --nav-h: 68px;
    --footer-h: 56px;
    --max-w: 1200px;
    scroll-behavior: smooth;
}

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

body {
    background: radial-gradient(circle at 20% -10%, rgba(134, 255, 234, 0.08), transparent 30%),
                radial-gradient(circle at 80% 0%, rgba(63, 179, 255, 0.08), transparent 30%),
                #050608;
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.6rem;
    background: rgba(5, 6, 8, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    z-index: 1000;
}

.logo {
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 1.15rem;
}

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

.nav-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 10px;
    padding: 0.35rem 0.6rem;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.9rem;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-download {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin-left: 0.8rem;
    align-items: center;
    text-align: left;
}

.nav-download-btn {
    padding-inline: 1rem;
    min-width: 120px;
}

.nav-download-copy {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.2;
}

.nav-underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    border-radius: 3px;
    transition: all 0.35s ease;
    left: 0;
    width: 0;
    opacity: 0;
    box-shadow: 0 0 12px rgba(134, 255, 234, 0.5);
}

.btn {
    border: none;
    outline: none;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: 0.2s ease;
    color: #030406;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    box-shadow: 0 12px 35px rgba(63, 179, 255, 0.2);
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}

.btn.primary:hover,
.btn.ghost:hover {
    transform: translateY(-1px);
}

.page {
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: calc(var(--footer-h) + 2rem);
}

.section {
    width: min(100% - 2.6rem, var(--max-w));
    margin: 0 auto 2.6rem;
    padding: 2.4rem 2rem;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.35);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-heading {
    margin-bottom: 1.6rem;
}

.section-heading h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 0.12em;
}

.product {
    background:
        linear-gradient(180deg, rgba(5, 6, 8, 0.95), rgba(5, 6, 8, 0.93)),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 24px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 24px
        );
}

.section-heading.align-right {
    text-align: right;
}

.section-heading p {
    color: var(--muted-strong);
    margin-top: 0.4rem;
    font-size: 1rem;
    line-height: 1.65;
    letter-spacing: 0.01em;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.6rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 4.6vw, 3.8rem);
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
}

.hero-copy p {
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-visual img {
    max-width: 110%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
}

.product-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: center;
}

.product-text p,
.company-text p,
.contact .section-heading p,
.download p {
    color: var(--muted-strong);
    line-height: 1.75;
    margin-bottom: 1.05rem;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    max-width: 780px;
}

#download-paragraph-3 {
    color: #bffcff;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(134, 255, 234, 0.4), 0 0 24px rgba(63, 179, 255, 0.35);
}

body[data-theme="light"] #download-paragraph-3 {
    color: #0c4a6e;
    text-shadow: none;
    font-weight: 800;
}

.product-cta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    color: #fff;
}

.product-visual {
    display: flex;
    justify-content: center;
}

.ring {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid #fff;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, rgba(63, 179, 255, 0.1), rgba(134, 255, 234, 0.08));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.ring img {
    width: 78%;
    height: auto;
}

.company {
    background:
        linear-gradient(160deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.78)),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02),
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 28px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.02),
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 28px
        ),
        url("../images/4.jpeg") center/cover no-repeat;
    position: relative;
}

.company-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: center;
}

.company-art img {
    width: 105%;
    max-width: 440px;
    display: block;
    margin-left: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact {
    background: linear-gradient(180deg, rgba(5, 6, 8, 0.92), rgba(5, 6, 8, 0.92)),
                url("../images/6.jpeg") center/cover no-repeat;
}

.contact-visual {
    display: flex;
    justify-content: center;
    margin-top: 1.4rem;
}

.contact-visual img {
    max-width: 500px;
    width: 100%;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.4rem;
    align-items: center;
}

.activation-card {
    padding: 1rem 1.1rem;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.activation-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

.paypal-inline {
    margin-top: 1rem;
    min-height: 46px;
}

.download-right {
    display: flex;
    justify-content: center;
}

.download-right img {
    width: 110%;
    max-width: 280px;
}

/* theme */
body[data-theme="light"] {
    background: radial-gradient(circle at 20% -10%, rgba(109, 240, 255, 0.06), transparent 30%), #f5f7fb;
    color: #0c1018;
}

body[data-theme="light"] .topbar,
body[data-theme="light"] .bottombar {
    background: rgba(255,255,255,0.85);
    color: #0c1018;
    border-color: rgba(0,0,0,0.08);
}

body[data-theme="light"] .nav-link {
    color: #374151;
}

body[data-theme="light"] .nav-link:hover,
body[data-theme="light"] .nav-link.active {
    color: #0c1018;
    background: rgba(0,0,0,0.06);
}

body[data-theme="light"] .nav-download-copy {
    color: #374151;
}

body[data-theme="light"] .page .section {
    background: #fff;
    border-color: rgba(0,0,0,0.04);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

body[data-theme="light"] .hero-copy p,
body[data-theme="light"] .product-text p,
body[data-theme="light"] .company-text p,
body[data-theme="light"] .contact .section-heading p,
body[data-theme="light"] .download p {
    color: #334155;
}

body[data-theme="light"] .btn.primary {
    color: #041018;
}

body[data-theme="light"] .btn.ghost {
    border-color: rgba(0,0,0,0.15);
    color: #0c1018;
}

body[data-theme="light"] .ring {
    border-color: #0c1018;
}

body[data-theme="light"] .company {
    background:
        linear-gradient(160deg, rgba(255,255,255,0.9), rgba(255,255,255,0.85)),
        repeating-linear-gradient(
            90deg, rgba(0,0,0,0.03), rgba(0,0,0,0.03) 1px, transparent 1px, transparent 28px
        ),
        repeating-linear-gradient(
            0deg, rgba(0,0,0,0.03), rgba(0,0,0,0.03) 1px, transparent 1px, transparent 28px
        ),
        url("../images/4.jpeg") center/cover no-repeat;
}

body[data-theme="light"] .contact,
body[data-theme="light"] .company {
    color: #0c1018;
}

.bottombar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--footer-h);
    background: rgba(5, 6, 8, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.6rem;
    color: var(--muted);
    font-size: 0.85rem;
    backdrop-filter: blur(12px);
    z-index: 1000;
}

.tiny {
    font-size: 0.75rem;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-backdrop.show {
    display: flex;
}

.modal {
    background: rgba(12, 13, 17, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    width: min(420px, 94vw);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.modal-header,
.modal-footer {
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-body {
    padding: 0 1rem 1rem;
}

.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
}

.modal-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.modal-field input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

.modal-footer {
    gap: 0.6rem;
}

@media (max-width: 1080px) {
    .product-grid,
    .company-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }
    .nav {
        gap: 0.4rem;
    }
}

@media (max-width: 720px) {
    .topbar {
        flex-direction: column;
        height: auto;
        padding: 0.8rem 1rem 1rem;
        gap: 0.6rem;
    }
    .nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .nav-download {
        width: 100%;
    }
    .page {
        padding-top: 5.5rem;
    }
    .section {
        padding: 1.7rem 1.3rem;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .ring {
        width: 220px;
        height: 220px;
    }
    .download-right {
        order: -1;
    }
}

.status-line {
    min-height: 18px;
    font-size: 12px;
    color: #9fb4d5;
    margin-top: 8px;
}
.status-line.ok {
    color: #4ade80;
}
.status-line.error {
    color: #f87171;
}
