:root {
    --bg-1: #080b1a;
    --bg-2: #11162b;
    --card: rgba(255, 255, 255, 0.08);
    --line: rgba(255, 255, 255, 0.14);
    --text: #f9f9ff;
    --muted: #bdc3de;
    --primary: #6b77ff;
    --secondary: #ff5cc8;
    --highlight: #45e8ff;
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: radial-gradient(1200px 800px at 10% -10%, rgba(69, 232, 255, 0.2), transparent 50%),
        radial-gradient(1000px 800px at 90% 0%, rgba(255, 92, 200, 0.24), transparent 42%),
        linear-gradient(135deg, var(--bg-1), var(--bg-2) 42%, #1a2043);
    min-height: 100vh;
}

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(130deg, rgba(107, 119, 255, 0.14), rgba(255, 92, 200, 0.08), rgba(69, 232, 255, 0.15));
    z-index: -1;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1140px, calc(100% - 2.4rem));
    margin: 0 auto;
}

.section {
    padding: 2.4rem 0;
}

.hero {
    padding-top: 3.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.2;
    margin: 0.7rem 0 1rem;
}

.hero-copy p {
    color: var(--muted);
    margin: 0 0 1.6rem;
    line-height: 1.75;
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #d7dcff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
}

.hero-actions,
.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    min-height: 44px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(100deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 10px 28px rgba(107, 119, 255, 0.36);
}

.btn-secondary {
    color: #edf0ff;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
}

.hero-logo {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-logo img {
    width: min(100%, 390px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
    background: rgba(255, 255, 255, 0.06);
    padding: 1rem;
    position: relative;
    z-index: 2;
    animation: logoFloat 4s ease-in-out infinite;
}

.hero-logo::before,
.hero-logo::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
    opacity: 0.75;
}

.hero-logo::before {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(69, 232, 255, 0.52), rgba(69, 232, 255, 0));
    top: 18%;
    left: 7%;
    animation: glowSpin 8s linear infinite;
}

.hero-logo::after {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 92, 200, 0.45), rgba(255, 92, 200, 0));
    right: 7%;
    bottom: 12%;
    animation: glowSpinReverse 9s linear infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-7px) rotate(0.7deg);
    }
}

@keyframes glowSpin {
    from {
        transform: rotate(0deg) scale(1);
    }

    to {
        transform: rotate(360deg) scale(1.04);
    }
}

@keyframes glowSpinReverse {
    from {
        transform: rotate(360deg) scale(1);
    }

    to {
        transform: rotate(0deg) scale(1.04);
    }
}

.section-head {
    margin-bottom: 1.1rem;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.section-head p {
    margin: 0.6rem 0 0;
    color: var(--muted);
}

.carousel {
    position: relative;
    padding: 0 3rem;
}

.carousel-track {
    overflow: hidden;
    border-radius: var(--radius);
}

.carousel-card {
    display: none;
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.carousel-card.active {
    display: block;
}

.carousel-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.7rem;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-card img:hover {
    transform: scale(1.015);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.carousel-card h3 {
    margin: 0.95rem 0 0.45rem;
}

.carousel-control {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(12, 16, 32, 0.84);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.carousel-dots {
    margin-top: 0.95rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
}

.carousel-dots button.active {
    background: var(--highlight);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.price-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 62px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(120deg, rgba(74, 86, 255, 0.82), rgba(255, 92, 200, 0.78));
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(28, 10, 77, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    animation: floatPulse 3.2s ease-in-out infinite;
}

.price-option::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
    transform: translateX(-120%);
    animation: shineMove 3.6s linear infinite;
}

.price-icon {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 11, 24, 0.34);
    font-size: 0.95rem;
}

.price-label {
    position: relative;
    z-index: 1;
    font-size: 0.96rem;
    letter-spacing: 0.01em;
}

.price-option:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.58);
    box-shadow: 0 14px 35px rgba(85, 35, 186, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: shakePulse 0.42s ease-in-out 1, floatPulse 3.2s ease-in-out infinite;
}

.price-option:focus-visible {
    outline: 2px solid var(--highlight);
    outline-offset: 2px;
}

@keyframes floatPulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

@keyframes shineMove {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(120%);
    }
}

@keyframes shakePulse {
    0% {
        transform: translateX(0) rotate(0deg);
    }

    20% {
        transform: translateX(-2px) rotate(-1deg);
    }

    40% {
        transform: translateX(2px) rotate(1deg);
    }

    60% {
        transform: translateX(-2px) rotate(-1deg);
    }

    80% {
        transform: translateX(1px) rotate(1deg);
    }

    100% {
        transform: translateX(0) rotate(0deg);
    }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.video-card {
    text-decoration: none;
    color: inherit;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.35);
}

.video-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.7rem;
}

.video-card div {
    padding: 0.8rem 0.9rem 1rem;
}

.video-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.04rem;
}

.video-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.video-link-btn {
    display: inline-flex;
    margin-top: 0.7rem;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    text-decoration: none;
    color: #f2f4ff;
    font-weight: 600;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.app-item {
    margin: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.7rem;
}

.app-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.5rem;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.app-item figcaption {
    text-align: center;
    margin-top: 0.55rem;
    font-size: 0.9rem;
    color: #e8ebff;
}

.footer {
    padding-bottom: 3rem;
}

.footer-box {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.4rem;
}

.footer-box h2 {
    margin: 0;
}

.footer-box p {
    color: var(--muted);
    margin: 0.75rem 0 1.1rem;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 50;
    padding: 2vh 0;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
}

.modal-content {
    position: relative;
    width: min(860px, calc(100% - 2rem));
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #11162b;
    padding: 0.9rem 0.9rem 1rem;
}

.modal-close {
    position: absolute;
    top: 0.4rem;
    right: 0.6rem;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.5rem;
    line-height: 1;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.modal-content h3 {
    margin: 0 0 0.65rem;
    padding-right: 2rem;
}

.modal-content img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    cursor: zoom-in;
    transition: transform 0.16s ease;
    transform-origin: center center;
    user-select: none;
}

.modal-content img.is-zoomed {
    cursor: zoom-out;
}

.video-frame-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-frame-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

#videoOpenLink {
    margin-top: 0.8rem;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        order: -1;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .container {
        width: min(1140px, calc(100% - 1.2rem));
    }

    .section {
        padding: 1.8rem 0;
    }

    .carousel {
        padding: 0 2.35rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .price-option {
        min-height: 58px;
    }

    .app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .carousel-control {
        width: 38px;
        height: 38px;
    }

    body {
        background: linear-gradient(135deg, var(--bg-1), var(--bg-2) 45%, #1a2043);
    }

    .page-bg {
        display: none;
    }

    .hero-logo img,
    .hero-logo::before,
    .hero-logo::after,
    .price-option,
    .price-option::before {
        animation: none;
    }

    .hero-logo::before,
    .hero-logo::after {
        display: none;
    }

    .carousel-card,
    .footer-box {
        backdrop-filter: none;
    }

    .btn,
    .carousel-card img,
    .video-card,
    .app-item img,
    .price-option {
        transition: none;
    }

    .modal {
        padding: 1.2vh 0;
    }

    .modal-content {
        width: min(860px, calc(100% - 1rem));
        max-height: 96vh;
        overflow: auto;
    }
}