@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap');

:root {
    --brand-primary: #0b3d91;
    --brand-primary-strong: #082d6b;
    --brand-secondary: #00bfa5;
    --brand-cyan: #7fd8ff;
    --brand-gold: #ffb300;
    --brand-tertiary: #7c4dff;
    --danger: #e53935;
    --warning: #ffb300;
    --success: #2e7d32;

    --bg: #080b16;
    --bg-soft: #0e1427;
    --surface: #111a2e;
    --surface-soft: #17213a;
    --line: #2b3a5a;

    --text: #eaf1ff;
    --muted: #a6b5cc;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --shadow-soft: 0 16px 34px rgba(1, 6, 22, 0.5);
    --shadow-md: 0 30px 56px rgba(2, 10, 30, 0.65);

    --container: min(1140px, 92vw);
}

@view-transition {
    navigation: auto;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 6%, rgba(11, 61, 145, 0.22) 0, transparent 34%),
        radial-gradient(circle at 86% -4%, rgba(127, 216, 255, 0.16) 0, transparent 31%),
        var(--bg);
    line-height: 1.58;
    min-height: 100vh;
    transition: opacity 0.12s ease-out, filter 0.12s ease-out;
}

body.is-page-leaving {
    opacity: 0.985;
    filter: saturate(0.98);
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 190ms;
    animation-timing-function: ease;
}

::view-transition-old(root) {
    animation-name: pageFadeOut;
}

::view-transition-new(root) {
    animation-name: pageFadeIn;
}

h1,
h2,
h3,
h4 {
    font-family: 'Sora', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -56px;
    background: var(--text);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    z-index: 2000;
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
}

:focus-visible {
    outline: 3px solid var(--brand-cyan);
    outline-offset: 2px;
    border-radius: 8px;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header,
.simple-page header:not(.site-header) {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 11, 22, 0.88);
    backdrop-filter: blur(3px);
    border-bottom: 1px solid var(--line);
}

.header-inner,
.simple-page header:not(.site-header) {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header .header-inner {
    height: 80px;
    min-height: 80px;
    padding: 30px 4px;
    display: flex;
    align-items: center;
}

.site-header .header-inner > .brand,
.site-header .header-inner > .main-nav,
.site-header .header-inner > .menu-toggle,
.site-header .header-inner > .header-cta {
    align-self: center;
}

.brand,
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    min-width: 200px;
}

.logo {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

.brand-mark {
    width: auto;
    height: 64px;
    border-radius: 8px;
}

.brand-word {
    display: inline-flex;
    align-items: center;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.56rem, 1.35vw, 1.08rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1;
    color: #f3f8ff;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 20px rgba(9, 50, 132, 0.3);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav a,
.simple-page header:not(.site-header) nav a {
    color: var(--muted);
    font-weight: 600;
    line-height: 1.15;
    transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.simple-page header:not(.site-header) nav a:hover,
.simple-page header:not(.site-header) nav a:focus-visible {
    color: var(--brand-cyan);
}

.main-nav a[aria-current="page"] {
    color: var(--text);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

.lang-chip {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 9px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-chip:hover,
.lang-chip:focus-visible {
    color: var(--text);
}

.lang-chip.is-active {
    background: var(--surface-soft);
    color: var(--brand-cyan);
}

.nav-lang {
    margin-left: 10px;
    padding-left: 12px;
    border-left: 1px solid rgba(127, 216, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-lang-label {
    color: rgba(219, 231, 255, 0.64);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-lang .lang-switch {
    border-color: rgba(127, 216, 255, 0.3);
    background: rgba(127, 216, 255, 0.06);
}

.nav-lang .lang-chip {
    min-width: 30px;
    padding: 5px 8px;
}

.nav-lang .lang-chip.is-active {
    background: linear-gradient(135deg, rgba(127, 216, 255, 0.95), rgba(69, 180, 255, 0.95));
    color: #081224;
    box-shadow: 0 4px 12px rgba(8, 32, 72, 0.26);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 11px 18px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.back-to-top-fab {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    border: 1px solid rgba(127, 216, 255, 0.28);
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(15, 35, 78, 0.96), rgba(8, 18, 38, 0.98));
    color: #dbe7ff;
    box-shadow: 0 12px 24px rgba(1, 7, 24, 0.5);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.96);
    transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
    z-index: 1200;
    display: none;
    padding: 0;
}

.back-to-top-fab-symbol {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    animation: fabArrowFloat 1.7s ease-in-out infinite;
}

.back-to-top-fab-icon {
    width: 16px;
    height: 16px;
    display: block;
    opacity: 0.95;
}

.back-to-top-fab.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.back-to-top-fab:hover {
    border-color: rgba(127, 216, 255, 0.56);
}

.back-to-top-fab:hover .back-to-top-fab-symbol {
    animation-duration: 1.15s;
}

@keyframes fabArrowFloat {
    0%,
    100% {
        transform: translateY(1px);
    }
    50% {
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top-fab-symbol {
        animation: none;
    }
}

.store-badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 12px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.store-badge-link:hover {
    transform: translateY(-1px);
}

.store-badge-image {
    display: block;
    width: 190px;
    height: auto;
}

.header-cta .store-badge-image {
    width: 168px;
}

.simple-download .store-badge-image {
    width: 150px;
}

.hero-play-badge {
    display: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff9800, #ff9800);
    color: #260a02;
    box-shadow: 0 12px 26px rgba(11, 61, 145, 0.24);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ff9800, #ebef22);
}

.btn-ghost {
    border-color: rgba(238, 244, 255, 0.34);
    color: hsl(240, 3%, 7%);
    background: rgb(252, 167, 22);
}

.btn-ghost:hover {
    box-shadow: var(--shadow-soft);
}

.btn-sm {
    padding: 9px 14px;
    font-size: 0.86rem;
}

.section {
    padding: 96px 0;
}

#features,
#gallery,
#family,
#download {
    scroll-margin-top: 80px;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    overflow: clip;
    padding-top: 56px;
    background:
        radial-gradient(132% 94% at 12% -8%, rgba(67, 129, 224, 0.36) 0%, rgba(20, 55, 118, 0.22) 34%, rgba(11, 25, 51, 0) 68%),
        radial-gradient(66% 58% at 87% 2%, rgba(212, 225, 255, 0.2) 0%, rgba(109, 146, 210, 0.12) 35%, rgba(16, 28, 54, 0) 68%),
        linear-gradient(180deg, #18335d 0%, #10274b 38%, #0b1e3d 72%, rgba(11, 18, 37, 0.92) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -104px;
    right: clamp(-124px, -8vw, -42px);
    width: clamp(290px, 43vw, 560px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 36% 34%, rgba(248, 252, 255, 0.34) 0%, rgba(188, 208, 244, 0.2) 26%, rgba(94, 128, 190, 0.14) 44%, rgba(19, 38, 76, 0) 72%);
    filter: blur(1px);
    opacity: 0.74;
    pointer-events: none;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(86% 42% at 50% -16%, rgba(4, 10, 22, 0.62) 0%, rgba(4, 10, 22, 0.28) 44%, rgba(4, 10, 22, 0) 78%),
        linear-gradient(180deg, rgba(6, 12, 25, 0) 64%, rgba(6, 12, 25, 0.38) 100%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.06fr 1fr;
    gap: 64px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    margin-top: 20px;
    padding: 12px 12px;
    border-radius: 999px;
    background: rgba(127, 216, 255, 0.14);
    color: var(--brand-cyan);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-copy h1 {
    font-size: clamp(2rem, 4.5vw, 3.32rem);
    margin-bottom: 16px;
    max-width: 13ch;
}

.lead {
    color: var(--muted);
    font-size: 1.06rem;
    max-width: 58ch;
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.helper {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-media {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: auto 4% -8% 4%;
    height: 68%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, rgba(54, 130, 244, 0.42) 0%, rgba(36, 92, 193, 0.24) 24%, rgba(12, 29, 64, 0.08) 46%, rgba(9, 18, 39, 0) 72%);
    filter: blur(22px);
    opacity: 0.84;
    transform-origin: center;
    animation: heroAuraPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.hero-media::after {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: min(620px, 120%);
    height: 176px;
    border-radius: 0 0 54% 54% / 0 0 100% 100%;
    background: linear-gradient(180deg, rgba(7, 15, 30, 0.58) 0%, rgba(7, 15, 30, 0.28) 44%, rgba(7, 15, 30, 0) 100%);
    opacity: 0.58;
    pointer-events: none;
    z-index: -1;
}

.device-frame {
    position: relative;
    width: min(250px, 86vw);
    aspect-ratio: 9.0 / 19.5;
    border-radius: 20px;
    padding: 4px;
    border: 1px solid rgba(127, 216, 255, 0.22);
    background: linear-gradient(165deg, rgba(21, 49, 106, 0.82), rgba(9, 18, 39, 0.94));
    box-shadow: 0 32px 64px rgba(2, 10, 31, 0.62), 0 0 0 1px rgba(127, 216, 255, 0.08), 0 0 48px rgba(70, 153, 255, 0.18);
    animation: floatDevice 5s ease-in-out infinite;
    overflow: hidden;
    contain: paint;
}

.media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #f2f6ff00;
}

.media-image.is-placeholder {
    filter: saturate(0.72);
}

.trust-strip {
    padding-top: 10px;
    padding-bottom: 10px;
}

.trust-grid {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.trust-item {
    text-align: center;
}

.trust-value {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.28rem, 2.2vw, 1.85rem);
    margin-bottom: 6px;
}

.trust-label {
    color: var(--muted);
    font-size: 0.92rem;
}

.section-head {
    text-align: center;
    margin-bottom: 54px;
}

.section-head h2 {
    font-size: clamp(1.58rem, 3.2vw, 2.35rem);
    margin-bottom: 10px;
}

.section-head p {
    color: var(--muted);
    max-width: 66ch;
    margin: 0 auto;
}

.feature-stack {
    display: grid;
    gap: 40px;
}

.feature-row {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr minmax(180px, 248px);
    gap: 28px;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-row.reverse {
    grid-template-columns: minmax(180px, 248px) 1fr;
}

.feature-row.reverse .feature-copy {
    order: 2;
}

.feature-row.reverse .feature-media {
    order: 1;
}

.feature-copy h3 {
    font-size: clamp(1.25rem, 2.7vw, 1.65rem);
    margin-bottom: 10px;
}

.feature-copy p {
    color: var(--muted);
    margin-bottom: 14px;
}

.feature-copy ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.feature-copy li {
    color: var(--text);
    position: relative;
    padding-left: 20px;
}

.feature-copy li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-cyan);
}

.feature-media {
    position: relative;
    display: flex;
    justify-content: center;
    width: min(100%, 210px);
    margin-inline: auto;
}

.media-card {
    border-radius: var(--radius-md);
    aspect-ratio: 8.5 / 15.5;
    width: min(100%, 210px);
    max-width: 210px;
    object-fit: cover;
    object-position: center top;
    background: rgba(4, 11, 27, 0.88);
}

.gallery-section {
    background:
        radial-gradient(circle at 8% 6%, rgba(10, 70, 164, 0.16) 0, transparent 30%),
        radial-gradient(circle at 92% 4%, rgba(127, 216, 255, 0.12) 0, transparent 24%),
        var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.gallery-toolbar {
    display: none;
}

.gallery-hint {
    margin: 0;
}

.gallery-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gallery-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(127, 216, 255, 0.34);
    background: linear-gradient(160deg, rgba(15, 35, 78, 0.96), rgba(8, 18, 38, 0.98));
    color: #dbe7ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.02rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.gallery-nav-btn:hover {
    transform: translateY(1px);
    border-color: rgba(127, 216, 255, 0.56);
}

.gallery-nav-btn:disabled {
    opacity: 0.42;
    cursor: default;
    transform: none;
}

.gallery-track-shell {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 244px));
    justify-content: center;
    gap: 22px;
    align-items: stretch;
}

.gallery-card {
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    transition: transform 0.25s ease;
    overflow: visible;
    min-height: 100%;
    isolation: isolate;
}

.gallery-card::before {
    content: '';
    position: absolute;
    inset: 14px 10px -12px;
    z-index: -1;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 110%, rgba(0, 191, 165, 0.2) 0, rgba(0, 0, 0, 0) 68%);
    filter: blur(12px);
    opacity: 0.62;
    transition: opacity 0.25s ease;
}

.gallery-media {

    position: relative;
    height: 100%;
    aspect-ratio: 9 / 18;
    border-radius: 20px;
    padding: 4px;
    border: 1px solid rgba(127, 216, 255, 0.2);
    background: linear-gradient(160deg, rgba(11, 18, 36, 0.98), rgba(3, 7, 14, 0.98));
    box-shadow: 0 20px 42px rgba(1, 7, 24, 0.55);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.device-frame::before,
.feature-media::before,
.gallery-media::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-10%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid rgba(17, 18, 20, 0.34);
    background:
        radial-gradient(circle at 24% 24%, rgba(18, 19, 19, 0.54) 0, rgba(44, 45, 46, 0.36) 34%, rgba(9, 18, 34, 0.98) 100%);
    box-shadow: 0 0 0 2px rgba(3, 7, 14, 0.72), 0 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 3;
    pointer-events: none;
}

.gallery-media::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(3, 10, 24, 0) 44%, rgba(3, 10, 24, 0.76) 74%, rgba(3, 10, 24, 0.96) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.gallery-image {
    position: relative;
    z-index: 0;
    height: 100%;
    border-radius: 18px;
    margin-bottom: 0;
    transition: transform 0.35s ease, filter 0.35s ease;
    border: 1px solid rgba(234, 241, 255, 0.16);
}

.gallery-card:hover::before {
    opacity: 0.9;
}

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

.gallery-card:focus-within .gallery-media {
    box-shadow: 0 0 0 2px rgba(127, 216, 255, 0.4), 0 28px 56px rgba(1, 9, 30, 0.64);
}

.gallery-card:hover .gallery-media {
    transform: translateY(-3px);
    box-shadow: 0 28px 56px rgba(1, 9, 30, 0.64);
}

.gallery-card:hover .gallery-image {
    transform: scale(1.01);
    filter: saturate(1.05);
}

.gallery-card:hover .gallery-media::after {
    opacity: 0.86;
}

.gallery-overlay {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    padding: 15px 14px 13px;
    border-radius: 16px;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(180deg, rgba(8, 16, 36, 0.02) 0%, rgba(8, 16, 36, 0.85) 56%, rgba(8, 16, 36, 0.97) 100%),
        rgba(8, 16, 36, 0.7);
    border: 1px solid rgba(127, 216, 255, 0.22);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(-2px);
    border-color: rgba(127, 216, 255, 0.4);
    background:
        linear-gradient(180deg, rgba(8, 16, 36, 0) 0%, rgba(8, 16, 36, 0.9) 56%, rgba(8, 16, 36, 0.98) 100%),
        rgba(8, 16, 36, 0.74);
}

.gallery-overlay-title {
    font-size: 1.06rem;
    color: #f2f6ff;
    margin-bottom: 6px;
    text-wrap: balance;
}

.gallery-overlay-text {
    color: rgba(219, 231, 255, 0.88);
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 30ch;
    text-wrap: pretty;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-dots {
    display: none;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(219, 231, 255, 0.4);
    padding: 0;
    cursor: pointer;
    transition: width 0.22s ease, background 0.22s ease, opacity 0.22s ease;
}

.gallery-dot:hover {
    opacity: 0.86;
}

.gallery-dot.is-active {
    width: 22px;
    background: linear-gradient(120deg, rgba(127, 216, 255, 0.95), rgba(40, 167, 255, 0.95));
}

.family-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 32px;
    align-items: start;
}

.family-image-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 12px;
}

.family-main-image {
    border-radius: 18px;
    aspect-ratio: 4 / 5.55;
}

.family-copy h2 {
    font-size: clamp(1.54rem, 3.2vw, 2.15rem);
    margin-bottom: 12px;
    max-width: 24ch;
}

.family-copy>p {
    color: var(--muted);
    margin-bottom: 22px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.profile-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.profile-image {
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    margin-bottom: 14px;
}

.profile-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.profile-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.58;
}

.download-section {
    padding-top: 60px;
    padding-bottom: 0px;
}

.cta-panel {
    background:
        radial-gradient(circle at 88% 8%, rgba(0, 191, 165, 0.2) 0, transparent 30%),
        radial-gradient(circle at 10% 0%, rgba(127, 216, 255, 0.14) 0, transparent 34%),
        linear-gradient(148deg, #0b1d47, #0a2f72);
    color: #eef4ff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(127, 216, 255, 0.22);
    padding: clamp(2px, 2vw, 4px);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 10px;
    align-items: stretch;
}

.cta-copy {
    display: grid;
    gap: 10px;
    padding-bottom: 20px;
}

.cta-panel h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    max-width: 28ch;
}

.cta-panel p {
    color: rgba(238, 244, 255, 0.84);
    max-width: 68ch;
}

.plan-compare-wrap {
    width: 100%;
    padding: 15px;
    border-radius: 22px;
    border: 1px solid rgba(127, 216, 255, 0.22);
    background:
        radial-gradient(circle at 100% 0, rgba(127, 216, 255, 0.14) 0, rgba(127, 216, 255, 0) 34%),
        linear-gradient(160deg, rgba(11, 26, 56, 0.94), rgba(7, 18, 40, 0.98));
    box-shadow: inset 0 1px 0 rgba(236, 245, 255, 0.06), 0 18px 34px rgba(3, 9, 26, 0.42);
}

.plan-compare-intro {
    margin-bottom: 14px;
    margin-top: 14px;
    font-size: 0.97rem;
    line-height: 1.52;
    color: rgba(236, 245, 255, 0.84);
    visibility: hidden;
}

.plan-table-shell {
    border: 1px solid rgba(127, 216, 255, 0.2);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(3, 11, 26, 0.5);
}

.plan-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.plan-col-fixed {
    width: 96px;
}

.plan-table thead th {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(127, 216, 255, 0.22);
    background: linear-gradient(180deg, rgba(20, 41, 77, 0.84), rgba(12, 27, 52, 0.72));
    color: #f2f7ff;
    font-size: 0.93rem;
    font-weight: 700;
    text-align: left;
}

.plan-table thead th:nth-child(n + 2) {
    text-align: center;
}

.plan-premium-col {
    color: #9de1ff;
}

.plan-table tbody th,
.plan-table tbody td {
    padding: 13px 14px;
    border-top: 1px solid rgba(127, 216, 255, 0.12);
}

.plan-table tbody th {
    text-align: left;
    color: rgba(236, 245, 255, 0.92);
    font-size: 0.97rem;
    font-weight: 500;
    line-height: 1.45;
}

.plan-table tbody td {
    text-align: center;
}

.plan-table tbody tr:hover {
    background: rgba(127, 216, 255, 0.05);
}

.plan-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
}

.plan-status::before {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.plan-status.is-yes {
    border: 1px solid rgba(118, 250, 168, 0.6);
    background: rgba(78, 212, 132, 0.18);
    color: #7df5a7;
    box-shadow: 0 0 0 1px rgba(9, 38, 22, 0.38) inset;
}

.plan-status.is-yes::before {
    content: '\2713';
}

.plan-status.is-no {
    border: 1px solid rgba(255, 185, 185, 0.58);
    background: rgba(255, 127, 127, 0.18);
    color: #ffcbcb;
    box-shadow: 0 0 0 1px rgba(58, 12, 12, 0.32) inset;
}

.plan-status.is-no::before {
    content: '\00D7';
    font-size: 1.12rem;
}

.download-note {
    margin-top: 14px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(127, 216, 255, 0.2);
    background: linear-gradient(160deg, rgba(14, 31, 62, 0.86), rgba(9, 20, 42, 0.94));
}

.download-note-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(127, 216, 255, 0.38);
    background: rgba(127, 216, 255, 0.14);
    color: #a8e5ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
} 

.download-note h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.download-note p {
    margin: 0;
    color: rgba(236, 245, 255, 0.8);
    font-size: 0.9rem;
    max-width: fit-content;
    line-height: 1.5;
    text-align: center;
    align-items: center;
}

.cta-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cta-panel .btn-ghost {
    border-color: rgba(238, 244, 255, 0.34);
    color: hsl(240, 3%, 7%);
    background: rgb(252, 167, 22);
}

.site-footer {
    margin-top: 52px;
    background:
        radial-gradient(circle at 4% 12%, rgba(10, 70, 164, 0.22) 0, transparent 28%),
        radial-gradient(circle at 96% 0%, rgba(127, 216, 255, 0.14) 0, transparent 24%),
        #060d1d;
    color: #dbe7ff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    padding: clamp(34px, 5vw, 56px) 0 24px;
    display: grid;
    grid-template-columns: minmax(240px, 1.18fr) repeat(3, minmax(150px, 1fr));
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-block {
    display: grid;
    gap: 14px;
    align-content: start;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Sora', sans-serif;
    font-size: 1.04rem;
    letter-spacing: 0.06em;
}

.footer-brand-logo {
    width: auto;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.footer-tagline {
    color: rgba(219, 231, 255, 0.76);
    max-width: 34ch;
    line-height: 1.6;
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(160deg, rgba(16, 28, 53, 0.45), rgba(8, 16, 34, 0.36));
}

.footer-col h4 {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
    color: #f0f5ff;
}

.footer-col a {
    color: rgba(219, 231, 255, 0.78);
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: var(--brand-cyan);
}

.footer-bottom {
    padding: 16px 0 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 18px;
    align-items: center;
}

.footer-copy {
    color: rgba(219, 231, 255, 0.72);
    font-size: 0.86rem;
}

.footer-powered {
    grid-column: auto;
    justify-self: end;
    color: rgba(219, 231, 255, 0.66);
    font-size: 0.84rem;
}

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

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

[data-lang-content][hidden] {
    display: none !important;
}

@keyframes floatDevice {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pageFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.96;
    }
}

@keyframes pageFadeIn {
    from {
        opacity: 0.96;
    }

    to {
        opacity: 1;
    }
}

.simple-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.simple-page header:not(.site-header) {
    width: var(--container);
    margin: 0 auto;
    padding: 16px 0;
    background: transparent;
    backdrop-filter: none;
}

.simple-page nav ul {
    list-style: none;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.simple-page .btn {
    font-size: 0.88rem;
    padding: 10px 14px;
}

.simple-page main {
    flex: 1;
    padding-top: 0;
}

.simple-page .container {
    padding-bottom: 30px;
}

.faq-title,
.legal-content h1 {
    padding-top: 30px;
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.faq-item,
.legal-content {
    background: var(--surface);
    border: 1px solid var(--line);
    margin: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: clamp(22px, 3.2vw, 34px);
}

.legal-content {
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 18px;
}

.faq-item h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.faq-item p,
.legal-content p,
.legal-content li {
    color: var(--muted);
    line-height: 1.65;
}

.legal-content h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.06rem;
}

.legal-content ul {
    margin-left: 20px;
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.legal-content>p+p {
    margin-top: 10px;
}

.legal-content>p+h3,
.legal-content>ul+h3 {
    margin-top: 26px;
}

@media (min-width: 901px) {
    main#main-content > section.section {
        padding-top: 88px;
        padding-bottom: 88px;
    }
}

@media (max-width: 1080px) {
    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 200px));
        justify-content: normal;
    }

    .hero-grid {
        gap: 34px;
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
    }

    .feature-row.reverse .feature-copy,
    .feature-row.reverse .feature-media {
        order: initial;
    }

    .feature-media {
        justify-content: center;
    }

    .media-card {
        width: min(100%, 210px);
        max-width: 210px;
    }

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

@media (max-width: 900px) {
    .site-header .header-inner {
        position: relative;
        height: 72px;
        min-height: 72px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-cta {
        display: none;
    }

    .back-to-top-fab {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        padding: 14px;
        display: grid;
        gap: 10px;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .main-nav a {
        padding: 8px 6px;
    }

    .main-nav .nav-lang {
        margin: 6px 0 0;
        padding: 10px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(127, 216, 255, 0.2);
        justify-content: space-between;
    }

    .main-nav .nav-lang-label {
        display: inline-flex;
        align-items: center;
    }

    .main-nav .nav-lang .lang-switch {
        margin-left: auto;
    }

    .site-header.menu-open .main-nav {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .site-header.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        padding-top: 44px;
    }

    .hero-media .device-frame {
        animation: none;
    }

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

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

    .hero-copy h1,
    .family-copy h2 {
        margin-left: auto;
        margin-right: auto;
        justify-self: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .helper {
        max-width: 44ch;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .family-copy,
    .profile-card {
        text-align: center;
    }

    .family-copy>p,
    .profile-card p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .cta-panel {
        text-align: left;
        justify-items: stretch;
    }

    .cta-panel h2,
    .cta-panel p {
        margin-left: 0;
        margin-right: 0;
    }

    .cta-panel .download-compare-note p {
        text-align: justify;
        max-width: max-content;
    }

    .plan-compare-wrap {
        padding: 13px;
    }

    .plan-col-fixed {
        width: 84px;
    }

    .plan-table thead th,
    .plan-table tbody th,
    .plan-table tbody td {
        padding: 12px 11px;
    }

    .cta-actions {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .simple-page header:not(.site-header) {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
    }

    .legal-content {
        margin: 0 auto;
        padding: clamp(18px, 5vw, 26px);
    }

    .gallery-grid {
        --gallery-card-width: clamp(168px, 68vw, 226px);
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 3px calc((100% - var(--gallery-card-width)) / 2) 14px;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: calc((100% - var(--gallery-card-width)) / 2);
        scroll-behavior: smooth;
        overscroll-behavior-inline: contain;
        overscroll-behavior-block: auto;
        touch-action: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gallery-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 4px;
        margin-bottom: 10px;
    }

    .gallery-hint {
        color: rgba(219, 231, 255, 0.76);
        font-size: 0.82rem;
        font-weight: 600;
        letter-spacing: 0.01em;
    }

    .gallery-track-shell::before,
    .gallery-track-shell::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 14px;
        width: 24px;
        pointer-events: none;
        z-index: 4;
    }

    .gallery-track-shell::before {
        left: 0;
        background: linear-gradient(90deg, rgba(10, 19, 42, 0.85), rgba(10, 19, 42, 0));
    }

    .gallery-track-shell::after {
        right: 0;
        background: linear-gradient(270deg, rgba(10, 19, 42, 0.85), rgba(10, 19, 42, 0));
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-card {
        flex: 0 0 var(--gallery-card-width);
        min-width: var(--gallery-card-width);
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .gallery-grid .gallery-card[data-reveal] {
        opacity: 1;
        transform: none;
    }

    .gallery-dots {
        margin-top: 10px;
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .footer-top,
    .footer-bottom {
        text-align: center;
    }

    .footer-brand-block,
    .footer-col {
        justify-items: center;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .footer-powered {
        justify-self: center;
    }
}

@media (max-width: 620px) {
    main#main-content > section.section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .gallery-grid {
        --gallery-card-width: clamp(156px, 66vw, 204px);
        gap: 10px;
    }

    .gallery-overlay {
        padding: 12px 11px 11px;
        min-height: 102px;
    }

    .gallery-overlay-title {
        font-size: 0.98rem;
    }

    .gallery-overlay-text {
        font-size: 0.84rem;
        line-height: 1.38;
        -webkit-line-clamp: 3;
    }

    .gallery-hint {
        font-size: 0.78rem;
    }

    .gallery-track-shell::before,
    .gallery-track-shell::after {
        width: 18px;
    }

    .plan-compare-wrap {
        padding: 11px;
        border-radius: 16px;
    }

    .plan-compare-intro {
        margin-bottom: 10px;
        font-size: 0.89rem;
        line-height: 1.45;
    }

    .plan-col-fixed {
        width: 70px;
    }

    .plan-table thead th,
    .plan-table tbody th,
    .plan-table tbody td {
        padding: 10px 9px;
    }

    .plan-table thead th {
        font-size: 0.82rem;
    }

    .plan-table tbody th {
        font-size: 0.88rem;
        line-height: 1.38;
    }

    .plan-status {
        width: 24px;
        height: 24px;
    }

    .plan-status::before {
        font-size: 0.86rem;
    }

    .plan-status.is-no::before {
        font-size: 0.98rem;
    }

    .download-note {
        margin-top: 10px;
        gap: 10px;
        padding: 11px;
        justify-content: center;
    }

    .download-note-icon {
        width: 28px;
        height: 28px;
        border-radius: 9px;
        font-size: 0.92rem;
    }

    .download-note h3 {
        font-size: 0.92rem;
        margin-bottom: 2px;
    }

    .download-note p {
        font-size: 0.84rem;
        line-height: 1.42;
        text-align: center;
    }

    .site-footer {
        padding-top: 10px;
    }

    .feature-row {
        padding: 20px;
    }

    .profile-grid {
        gap: 14px;
    }

    .profile-card {
        padding: 14px;
    }

    .profile-image {
        margin-bottom: 12px;
    }

    .hero-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .hero-actions .btn {
        width: auto;
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .hero-primary-btn {
        display: none;
    }

    .hero-play-badge {
        display: inline-flex;
    }

    .hero-play-badge .store-badge-image {
        width: 144px;
    }

    .site-footer {
        margin-top: 10px;
    }

    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        padding: 12px 0 8px;
    }

    .footer-brand-block {
        grid-column: 1 / -1;
        gap: 12px;
        padding-bottom: 14px;
        margin-bottom: 2px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-tagline {
        max-width: 42ch;
        font-size: 0.97rem;
    }

    .footer-col {
        padding: 13px 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.02);
        gap: 8px;
    }

    .footer-col:last-of-type {
        grid-column: 1 / -1;
    }

    .footer-col h4 {
        margin-bottom: 2px;
        font-size: 0.92rem;
    }

    .footer-col a {
        font-size: 0.94rem;
        line-height: 1.38;
    }

    .footer-bottom {
        padding: 16px 0 22px;
        gap: 12px;
    }

    .footer-copy {
        font-size: 0.82rem;
    }

    .footer-powered {
        margin-top: 2px;
        font-size: 0.8rem;
    }
}

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

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none !important;
    }

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

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
