:root {
    --bg: #f3f6f8;
    --bg-soft: #eaf0f4;
    --bg-top: #f9fbfd;
    --bg-bottom: #e9f0f5;
    --card: rgba(255, 255, 255, 0.9);
    --card-strong: #ffffff;
    --card-muted: #eef3f7;
    --text: #243241;
    --muted: #6c7c8a;
    --muted-strong: #556574;
    --accent-primary: #f08a34;
    --accent-primary-strong: #d86f20;
    --accent-secondary: #d6e0e8;
    --accent-blue: #9cb2c5;
    --border: rgba(107, 128, 148, 0.26);
    --border-strong: rgba(88, 110, 130, 0.42);
    --shadow-soft: 0 16px 40px rgba(32, 48, 66, 0.09);
    --shadow-lg: 0 28px 70px rgba(28, 42, 58, 0.14);
    --glow-primary: rgba(240, 138, 52, 0.1);
    --glow-secondary: rgba(156, 178, 197, 0.18);
    --glow-highlight: rgba(255, 255, 255, 0.52);
    --surface-frost: rgba(255, 255, 255, 0.72);
    --surface-frost-strong: rgba(255, 255, 255, 0.82);
    --surface-frost-soft: rgba(246, 250, 253, 0.78);
    --surface-nav: rgba(245, 248, 251, 0.8);
    --surface-footer: rgba(236, 243, 248, 0.8);
    --surface-overlay: rgba(27, 38, 52, 0.72);
    --surface-overlay-border: rgba(244, 249, 255, 0.2);
    --cta-start: #33465c;
    --cta-end: #253345;
    --on-dark: #ffffff;
    --on-dark-soft: #f5f8fc;
    --placeholder: #99a8b6;
    --focus-ring: rgba(240, 138, 52, 0.18);
    --status-success-bg: rgba(254, 239, 219, 0.86);
    --status-success-border: rgba(238, 181, 111, 0.58);
    --status-success-text: #99602a;
    --status-error-bg: rgba(255, 240, 236, 0.9);
    --status-error-border: rgba(240, 176, 159, 0.8);
    --status-error-text: #a64a33;
    --status-info-bg: rgba(236, 243, 249, 0.9);
    --status-info-border: rgba(188, 206, 222, 0.86);
    --status-info-text: #4b677f;
    --maxw: 1380px;
    --content-maxw: 980px;
    --radius: 28px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --nav-height: 76px;
    --section-space: 112px;
    --section-space-sm: 72px;
    --page-top: 128px;
    --page-bottom: 84px;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background:
        radial-gradient(circle at 14% 18%, var(--glow-primary), transparent 26%),
        radial-gradient(circle at 82% 10%, var(--glow-secondary), transparent 22%),
        radial-gradient(circle at 26% 64%, var(--glow-highlight), transparent 18%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 42%, var(--bg-bottom) 100%);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
}

/* Sections */
section {
    padding: var(--section-space) 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.section-header p {
    margin: 0;
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.page {
    max-width: var(--content-maxw);
    margin: var(--page-top) auto var(--page-bottom);
    padding: 0 32px;
}

.page--narrow {
    max-width: 860px;
}

.page--wide {
    max-width: var(--maxw);
}

.page h1 {
    margin: 0 0 16px;
    font-size: 50px;
    line-height: 1.06;
    letter-spacing: -2px;
    font-weight: 800;
}

.page>p,
.page .intro {
    margin: 0 0 34px;
    font-size: 18px;
    line-height: 1.65;
    color: var(--muted);
}

.page .intro:last-of-type {
    margin-bottom: 28px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface-frost);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    color: var(--muted-strong);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--surface-nav);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 20px;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 16px;
    color: var(--text);
    text-decoration: none;
    min-width: 0;
    justify-self: start;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: block;
    overflow: hidden;
    object-fit: contain;
    background: transparent;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 4px;
    background: var(--surface-frost-soft);
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
    justify-self: center;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link.active {
    background: var(--card-strong);
    color: var(--text);
    box-shadow: 0 6px 18px rgba(36, 56, 77, 0.1);
}

.lang-switch {
    display: inline-flex;
    gap: 4px;
    justify-self: end;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-frost-soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.lang-btn {
    background: none;
    border: none;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-radius: 7px;
    transition: all 0.2s;
    min-width: 42px;
    line-height: 1.15;
}

.lang-btn.active {
    color: var(--text);
    background: var(--card-strong);
    border: 1px solid var(--border);
}

/* Store Buttons */
.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(180deg, var(--cta-start) 0%, var(--cta-end) 100%);
    color: var(--on-dark);
    padding: 14px 24px;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 180px;
    box-shadow: 0 16px 30px rgba(27, 41, 57, 0.2);
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(27, 41, 57, 0.26);
}

.store-icon-svg {
    width: 24px;
    height: 24px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text small {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.store-text span {
    font-size: 17px;
    font-weight: 700;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    background: var(--surface-footer);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-copy {
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

/* Utilities */
.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    section {
        padding: var(--section-space-sm) 0;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .nav-inner {
        display: flex;
        justify-content: space-between;
        padding: 0 16px;
    }

    .container,
    .page {
        padding: 0 18px;
    }

    .page {
        margin-top: 104px;
        margin-bottom: 64px;
    }

    .page h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .page>p,
    .page .intro {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .nav-links {
        display: none;
    }

    .nav-logo span {
        display: none;
    }
}
