:root {
    --black: #05070a;
    --black-2: #090d13;
    --white: #ffffff;
    --soft: #f4f6f8;
    --ink: #101216;
    --text: #4b5565;
    --muted: #7b8494;
    --line: #d9dee7;
    --line-dark: rgba(255, 255, 255, 0.16);
    --lime: #b7ff35;
    --cyan: #10c9d4;
    --orange: #ffb24f;
    --blue: #2368cc;
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

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

a {
    color: inherit;
}

.site-header {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 40;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    width: min(var(--container), calc(100% - 44px));
    min-height: 78px;
    transform: translateX(-50%);
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: 124px;
}

.site-nav {
    display: flex;
    justify-content: flex-end;
    gap: clamp(20px, 4vw, 56px);
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
}

.site-nav a {
    position: relative;
    text-decoration: none;
}

.site-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.nav-toggle,
.nav-trigger {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button--accent {
    background: var(--orange);
    color: #171005;
    box-shadow: 0 18px 42px rgba(255, 178, 79, 0.22);
}

.button--outline,
.button--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.38);
}

.button--outline:hover,
.button--ghost:hover,
.button--outline:focus-visible,
.button--ghost:focus-visible {
    border-color: var(--lime);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    padding: 128px 0 92px;
    background: radial-gradient(circle at 72% 55%, rgba(16, 201, 212, 0.16), transparent 34%),
    linear-gradient(180deg, #05070a 0%, #090d13 100%);
    color: var(--white);
}

.hero::before {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -28%;
    left: -12%;
    height: 52%;
    background-image: linear-gradient(rgba(183, 255, 53, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 201, 212, 0.12) 1px, transparent 1px);
    background-size: 38px 38px;
    transform: perspective(620px) rotateX(63deg);
    transform-origin: center bottom;
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(183, 255, 53, 0.7), transparent);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
    gap: clamp(34px, 7vw, 88px);
    align-items: center;
    width: min(var(--container), calc(100% - 44px));
    margin: 0 auto;
}

.hero__copy {
    max-width: 610px;
}

.hero h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(50px, 5.1vw, 72px);
    font-weight: 950;
    line-height: 0.94;
}

.hero h1 span {
    color: var(--lime);
}

.hero__copy p {
    max-width: 540px;
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(19px, 2vw, 22px);
    line-height: 1.36;
}

.hero__copy strong {
    color: var(--white);
}

.hero__actions,
.device__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.hero__visual {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 460px;
}

.hero-screen {
    position: relative;
    width: min(690px, 100%);
    margin-left: auto;
    padding-bottom: 54px;
    filter: drop-shadow(0 34px 38px rgba(0, 0, 0, 0.52));
}

.hero-screen__frame {
    overflow: hidden;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, #2f343a, #12161b);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-screen__frame iframe,
.hero-screen__frame img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 3px;
    background: #0d1420;
    object-fit: cover;
}

.hero-screen__stand {
    position: absolute;
    right: 20%;
    bottom: 0;
    left: 20%;
    height: 54px;
}

.hero-screen__stand::before,
.hero-screen__stand::after {
    content: "";
    position: absolute;
    left: 50%;
    background: linear-gradient(180deg, #262c33, #0f1318);
    transform: translateX(-50%);
}

.hero-screen__stand::before {
    top: 0;
    width: 70px;
    height: 40px;
}

.hero-screen__stand::after {
    right: 50%;
    bottom: 0;
    left: 50%;
    width: 124px;
    height: 12px;
    border-radius: 999px;
    transform: translateX(-50%);
}

.hero__tag {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    min-width: 120px;
    min-height: 60px;
    padding: 12px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero__tag--smart {
    top: 118px;
    left: 14px;
    background: var(--orange);
    color: #171005;
}

.hero__tag--android {
    top: 44px;
    right: 58px;
    border: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
    backdrop-filter: blur(14px);
}

.watch {
    padding: clamp(74px, 9vw, 106px) max(24px, calc((100vw - var(--container)) / 2));
    background: var(--white);
}

.section-head {
    margin-bottom: 46px;
}

.section-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.section-head span,
.operators h2 span {
    color: var(--lime);
}

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

.watch-item {
    min-height: 250px;
    padding: 0 38px;
    border-left: 1px solid var(--line);
    text-align: center;
}

.watch-item:first-child {
    border-left: 0;
    padding-left: 0;
}

.watch-item:last-child {
    padding-right: 0;
}

.watch-item img {
    width: 60px;
    height: 60px;
    margin: 24px auto 34px;
}

.watch-item h3 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.08;
}

.watch-item p {
    min-height: 68px;
    margin: 24px 0 22px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.44;
}

.watch-item a {
    display: block;
    width: fit-content;
    margin-top: 10px;
    color: var(--cyan);
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.watch-item a:hover,
.watch-item a:focus-visible {
    text-decoration: underline;
}

.device {
    overflow: hidden;
    padding: clamp(76px, 9vw, 106px) max(24px, calc((100vw - var(--container)) / 2));
    background: linear-gradient(118deg, var(--black) 0%, var(--black-2) 60%, #0d1718 100%);
    color: var(--white);
}

.device__content {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
    gap: clamp(34px, 7vw, 86px);
    align-items: center;
}

.device__copy h2 {
    max-width: 620px;
    margin: 0;
    color: var(--white);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 950;
    line-height: 1.02;
}

.device__copy h2 span {
    color: var(--lime);
}

.device__copy p {
    max-width: 570px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
}

.spec-line {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 520px;
    margin-top: 30px;
}

.spec-line div {
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.spec-line strong,
.spec-line span {
    display: block;
}

.spec-line strong {
    color: var(--lime);
    font-size: 18px;
}

.spec-line span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.device__image {
    position: relative;
    min-height: 350px;
}

.device__image::before {
    content: "";
    position: absolute;
    top: -34px;
    right: 12%;
    bottom: -40px;
    width: 190px;
    background: var(--lime);
    transform: skewX(-17deg);
    z-index: 0;
}

.device-slider {
    position: relative;
    z-index: 1;
}

.device-slider__viewport {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
    position: relative;
}

.device-slider__viewport::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 72px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.52), transparent);
    border-radius: 0 0 16px 16px;
    pointer-events: none;
}

.device-slider__track {
    display: flex;
    width: 600%;
    animation: device-slider 21.6s linear infinite;
}

.device-slider:hover .device-slider__track {
    animation-play-state: paused;
}

.device-slider__slide {
    display: grid;
    flex: 0 0 calc(100% / 6);
    place-items: center;
    overflow: hidden;
}

.device-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.device-slider__dots {
    position: absolute;
    right: 0;
    bottom: 14px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.device-slider__dots span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    animation: device-slider-dot 21.6s linear infinite;
}

.device-slider__dots span:nth-child(2) {
    animation-delay: 3.6s;
}

.device-slider__dots span:nth-child(3) {
    animation-delay: 7.2s;
}

.device-slider__dots span:nth-child(4) {
    animation-delay: 10.8s;
}

.device-slider__dots span:nth-child(5) {
    animation-delay: 14.4s;
}

.device-slider__dots span:nth-child(6) {
    animation-delay: 18s;
}

/* 6 slides × (3s show + 0.6s transition) = 21.6s total
   show:       0% – 13.889%  (3s)
   transition: 13.889% – 16.667%  (0.6s, ease-in-out per keyframe)
   each slide step: 16.667% */
@keyframes device-slider {
    0% {
        transform: translateX(0);
    }
    13.889% {
        transform: translateX(0);
        animation-timing-function: ease-in-out;
    }
    16.667% {
        transform: translateX(-16.6667%);
    }
    30.556% {
        transform: translateX(-16.6667%);
        animation-timing-function: ease-in-out;
    }
    33.333% {
        transform: translateX(-33.3333%);
    }
    47.222% {
        transform: translateX(-33.3333%);
        animation-timing-function: ease-in-out;
    }
    50% {
        transform: translateX(-50%);
    }
    63.889% {
        transform: translateX(-50%);
        animation-timing-function: ease-in-out;
    }
    66.667% {
        transform: translateX(-66.6667%);
    }
    80.556% {
        transform: translateX(-66.6667%);
        animation-timing-function: ease-in-out;
    }
    83.333% {
        transform: translateX(-83.3333%);
    }
    97.222% {
        transform: translateX(-83.3333%);
        animation-timing-function: ease-in-out;
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes device-slider-dot {
    0%,
    16.5% {
        background: var(--lime);
        transform: scale(1.28);
    }

    17%,
    100% {
        background: rgba(255, 255, 255, 0.32);
        transform: scale(1);
    }
}

.box-description {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    gap: 22px 34px;
    margin-top: 64px;
    padding: 28px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.box-description h3 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: 24px;
}

.box-description p,
.box-description ul {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.72);
}

.box-description a {
    color: var(--orange);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--line-dark);
}

.spec-grid span {
    min-height: 62px;
    padding: 16px;
    background: #101820;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 750;
}

.notice {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 1.05fr);
    gap: clamp(34px, 7vw, 82px);
    align-items: center;
    padding: clamp(72px, 9vw, 106px) max(24px, calc((100vw - var(--container)) / 2));
    background: var(--white);
}

.notice__image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 28px 80px rgba(17, 24, 39, 0.16);
}

.notice__copy {
    max-width: 520px;
}

.notice__copy::before {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-bottom: 22px;
    background: var(--lime);
}

.notice__copy h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.notice__copy p {
    margin: 24px 0 0;
    color: var(--text);
    font-size: 18px;
}

.notice__copy a {
    color: var(--cyan);
    font-weight: 850;
}

.operators {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(36px, 7vw, 86px);
    align-items: center;
    padding: clamp(78px, 9vw, 112px) max(24px, calc((100vw - var(--container)) / 2));
    background: radial-gradient(circle at 70% 30%, rgba(16, 201, 212, 0.12), transparent 34%),
    var(--black);
    color: var(--white);
}

.operators h2 {
    margin: 0 0 30px;
    color: var(--white);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 950;
    line-height: 1.05;
    text-transform: uppercase;
}

.operators__copy p {
    max-width: 560px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
}

.operators__copy a:not(.button) {
    color: var(--orange);
}

.operators__copy .button {
    margin-top: 34px;
}

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

.operator-wall article {
    display: grid;
    min-height: 132px;
    place-items: center;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    text-align: center;
}

.operator-wall img {
    max-width: 108px;
    max-height: 56px;
    object-fit: contain;
}

.operator-wall strong {
    margin-top: 10px;
    font-size: 14px;
}

.forms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 0 max(24px, calc((100vw - var(--container)) / 2)) 64px;
    background: var(--black);
}

.form-panel {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line-dark);
    background: rgba(7, 13, 24, 0.92);
}

.form-panel--buy {
    grid-column: 1 / -1;
}

.form-panel h2 {
    margin: 0;
    color: var(--white);
    font-size: 24px;
    font-weight: 950;
    text-transform: uppercase;
}

.form-panel p {
    min-height: 44px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    flex: 1;
    margin-top: 26px;
}

label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 750;
}

label.full {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--white);
    font: inherit;
    font-size: 14px;
    outline: none;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

select option {
    color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(16, 201, 212, 0.14);
}

button.button {
    width: fit-content;
    border: 0;
}

.form-panel form .button {
    align-self: end;
    margin-top: auto;
}

@media (min-width: 721px) {
    #contact-form form,
    #operator-form form {
        grid-template-rows: auto auto minmax(45px, auto) 1fr auto;
    }

    #contact-form label.full,
    #operator-form label.full {
        grid-row: 4;
    }

    #contact-form .button,
    #operator-form .button {
        grid-row: 5;
    }
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px max(24px, calc((100vw - var(--container)) / 2));
    background: #0a0d12;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.site-footer img {
    width: 116px;
}

@media (max-width: 1080px) {
    .hero__inner,
    .device__content,
    .notice,
    .operators,
    .forms {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        min-height: 420px;
    }

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

    .watch-item:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    .box-description,
    .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .operator-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body {
        font-size: 15px;
    }

    .site-header {
        position: relative;
        left: auto;
        width: auto;
        min-height: 70px;
        padding: 12px 16px;
        transform: none;
        background: var(--black);
    }

    .brand img {
        width: 112px;
    }

    .nav-trigger {
        justify-self: end;
        display: grid;
        gap: 5px;
        width: 42px;
        height: 42px;
        place-content: center;
        border: 1px solid var(--line-dark);
        border-radius: var(--radius);
    }

    .nav-trigger span {
        width: 20px;
        height: 2px;
        background: var(--white);
    }

    .site-nav {
        position: absolute;
        top: 64px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 8px;
        border: 1px solid var(--line-dark);
        border-radius: var(--radius);
        background: #0a0d12;
    }

    .site-nav a {
        padding: 12px;
    }

    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 46px 0 62px;
    }

    .hero__inner {
        width: min(var(--container), calc(100% - 28px));
        max-width: calc(100vw - 28px);
    }

    .hero__copy,
    .hero__visual,
    .hero-screen {
        min-width: 0;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(40px, 11vw, 48px);
    }

    .hero__copy p {
        font-size: 18px;
    }

    .hero__actions,
    .device__actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero__visual {
        min-height: 310px;
    }

    .hero-screen {
        width: 100%;
        padding-bottom: 42px;
    }

    .hero-screen__frame {
        padding: 7px;
    }

    .hero-screen__frame img {
        object-fit: contain;
    }

    .hero-screen__stand {
        height: 42px;
    }

    .hero__tag {
        min-width: 94px;
        min-height: 48px;
        font-size: 11px;
    }

    .hero__tag--smart {
        top: 66px;
        left: 0;
    }

    .hero__tag--android {
        top: 8px;
        right: 10px;
    }

    .watch,
    .device,
    .notice,
    .operators {
        padding-right: 16px;
        padding-left: 16px;
    }

    .watch-grid,
    .box-description,
    .spec-grid,
    .operator-wall,
    form {
        grid-template-columns: 1fr;
    }

    .watch-item,
    .watch-item:first-child,
    .watch-item:last-child,
    .watch-item:nth-child(3) {
        padding: 0 0 28px;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .watch-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .watch-item p {
        min-height: 0;
    }

    .spec-line {
        grid-template-columns: 1fr;
    }

    .device__image {
        min-height: 260px;
    }

    .device__image::before {
        right: 8%;
        width: 110px;
    }

    .device-slider__dots {
        bottom: 10px;
    }

    .forms {
        padding-right: 16px;
        padding-left: 16px;
    }

    .form-panel--buy,
    label.full {
        grid-column: auto;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (max-width: 520px) {
    .site-header,
    .hero__inner {
        width: min(362px, calc(100% - 28px));
        margin-right: auto;
        margin-left: 14px;
    }

    .site-header {
        padding-right: 0;
        padding-left: 0;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 44px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .device-slider__track,
    .device-slider__dots span {
        animation: none;
    }

    .device-slider__dots span:first-child {
        background: var(--lime);
        transform: scale(1.28);
    }
}

/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}

.modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #0d1420;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    width: min(600px, 90vw);
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(10px);
    transition: transform 250ms ease;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
}

.modal-overlay.is-active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 22px;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 160ms ease;
}

.modal-close:hover {
    color: var(--white);
}

.modal-body {
    padding: 24px;
    color: var(--text);
}

.modal-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.modal-tab-btn {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all 160ms ease;
}

.modal-tab-btn:hover {
    color: var(--white);
}

.modal-tab-btn.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--lime);
}

.modal-tab-content {
    display: none;
}

.modal-tab-content.is-active {
    display: block;
    animation: fadeIn 300ms ease;
}

.instruction-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.instruction-steps li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.5;
}

.instruction-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(183, 255, 53, 0.15);
    color: var(--lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.instruction-steps a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
}

.instruction-steps a:hover {
    text-decoration: underline;
}

/* Make watch cards look clickable */
.watch-item.is-clickable {
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.watch-item.is-clickable:hover {
    background: rgba(0, 0, 0, 0.02);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
