:root {
    --color-pixelhue-main: #007bff;
    --color-pixelhue-main-strong: #005ec4;
    --color-pixelhue-light-bg: #e6f2ff;
    --color-accent-orange: #ff7a1a;
    --color-bg-dark: #060d17;
    --color-bg-panel: rgba(15, 30, 50, 0.62);
    --color-border-soft: rgba(255, 255, 255, 0.18);
    --text-primary: #f5f8ff;
    --text-secondary: #c9d6ea;
    --radius-xl: 1.25rem;
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.32);
    --shadow-glow: 0 0 0 1px rgba(0, 123, 255, 0.25), 0 0 26px rgba(0, 123, 255, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background:
        radial-gradient(circle at 8% 10%, rgba(0, 123, 255, 0.14), transparent 38%),
        radial-gradient(circle at 92% 88%, rgba(0, 123, 255, 0.08), transparent 44%),
        var(--color-bg-dark);
}

body::before,
body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: -1;
    border-radius: 999px;
    filter: blur(65px);
}

body::before {
    width: 34rem;
    height: 34rem;
    top: -10rem;
    right: -8rem;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.22) 0%, rgba(255, 122, 26, 0) 68%);
}

body::after {
    width: 30rem;
    height: 30rem;
    left: -7rem;
    bottom: -9rem;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.2) 0%, rgba(0, 123, 255, 0) 70%);
}

.container {
    width: min(100%, 1180px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero,
.section,
.section-alt,
.section-cta {
    position: relative;
}

.hero,
.section,
.section-alt {
    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

.hero .container {
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    padding: clamp(2rem, 4vw, 3rem);
}

.section-alt {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-cta {
    padding-top: clamp(3rem, 5vw, 4.5rem);
    padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.logo-wrap {
    display: flex;
    justify-content: center;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.logo-panel {
    background: linear-gradient(180deg, rgba(237, 246, 255, 0.95) 0%, rgba(224, 239, 255, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    padding: 0.9rem 1.3rem;
}

.split-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .split-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
        gap: 2.4rem;
    }
}

.split-grid > div {
    width: 100%;
}

.split-media {
    justify-self: center;
    width: 100%;
    max-width: 460px;
}

.split-media img {
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.section-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 2.25rem;
    line-height: 1.1;
    color: #f8fbff;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.sub-heading {
    font-size: clamp(1.75rem, 3.4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #f4f8ff;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.card,
.faq-item,
.cta-card,
.hero-section {
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.card,
.faq-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.faq-item {
    padding: 1.2rem 1.3rem;
    margin-bottom: 1rem;
    border-left: 3px solid rgba(255, 122, 26, 0.7);
    background:
        linear-gradient(130deg, rgba(255, 122, 26, 0.11) 0%, rgba(255, 122, 26, 0) 26%),
        var(--color-bg-panel);
}

.faq-item a {
	text-decoration: underline;
	color: var(--color-accent-orange);
}

.card::after,
.faq-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.26s ease;
    pointer-events: none;
}

.card:hover,
.faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.card:hover::after,
.faq-item:hover::after {
    border-color: rgba(0, 123, 255, 0.38);
}

.faq-item:hover {
    box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 122, 26, 0.36), 0 0 24px rgba(255, 122, 26, 0.2);
}

.benefit-icon-bg {
    background-color: rgba(0, 123, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.benefit-title {
    color: #ffffff;
}

.faq-item .benefit-title {
    color: #ffd8b5;
}

.btn-primary,
.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(180deg, #1b8eff 0%, var(--color-pixelhue-main-strong) 100%);
    color: #ffffff;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 94, 196, 0.34);
    transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.btn-primary {
    padding: 0.95rem 2.35rem;
}

.btn-primary:hover,
.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 94, 196, 0.42);
    filter: brightness(1.02);
}

.lang-switcher-top {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 50;
    padding: 0.35rem;
    border-radius: 0.85rem;
    background: rgba(6, 13, 23, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: rgba(15, 30, 50, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 0.5rem 0.75rem;
    border-radius: 0.65rem;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    transform: translateY(-1px);
    background-color: rgba(19, 40, 66, 0.96);
    border-color: rgba(255, 122, 26, 0.58);
    box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.32);
}

.lang-btn.active {
    background-color: var(--color-accent-orange);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.lang-btn span {
    font-size: 1.5rem;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
}

.download-button {
    padding: 1rem 2rem;
    width: auto;
}

.download-button svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.cta-card {
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 60;
    background: linear-gradient(90deg, #53adff, #007bff);
    transform-origin: 0 50%;
    transform: scaleX(0);
    will-change: transform;
    box-shadow: 0 0 18px rgba(0, 123, 255, 0.45);
}

.scrollable-content {
    max-height: 25rem;
    overflow: hidden;
    position: relative;
    padding-bottom: 1rem;
    cursor: grab;
}

.scroll-animation-container {
    will-change: transform;
}

p,
li {
    color: var(--text-secondary);
}

.text-gray-800,
.text-gray-700,
.text-gray-600 {
    color: var(--text-secondary) !important;
}

nav a,
footer p,
footer a,
#contact p,
#contact a {
    color: #e6efff;
}

.legacy-page,
.soon-page {
    background: var(--color-bg-dark);
}

.legacy-page::before,
.legacy-page::after,
.soon-page::before,
.soon-page::after {
    display: none;
}

.legacy-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.legacy-page .window {
    background: var(--color-bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 700px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.legacy-page .title-bar {
    background: rgba(0, 123, 255, 0.2);
    color: #fff;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.legacy-page .title-bar-controls button,
.legacy-page .retro-button {
    background: rgba(15, 30, 50, 0.9);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
}

.legacy-page .content-area {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legacy-page .content-area h1,
.legacy-page .content-area h2 {
    color: #f8fbff;
}

.legacy-page .content-area ul li {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.legacy-page .button-container {
    justify-content: flex-end;
    padding: 10px 15px;
}

.legacy-page .retro-button a {
    color: #fff;
    text-decoration: none;
}

.legacy-page .status-bar {
    padding: 8px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.soon-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

.soon-page .soon-text {
    font-size: 25vw;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(120deg, #ffffff 5%, #53adff 40%, #ff7a1a 85%);
    text-shadow: 0 0 22px rgba(0, 123, 255, 0.2);
}
