/* ===========================
   GENERAL
=========================== */

.container{
    width:min(1360px, calc(100% - 40px));
    margin:auto;
}

body{
    background:var(--bg-main);
    color:var(--text-main);
    overflow-x:hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.message-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

/* ===========================
   HEADER
=========================== */

.header{
    position:sticky;
    top:0;
    z-index:100;
    backdrop-filter:blur(18px);
    background:rgba(7,17,31,.85);
    border-bottom:1px solid var(--border);
}

.header .container{
    height:82px;
    display:flex;
    align-items:center;
}

/* ===========================
   LOGO
=========================== */

.logo{
    font-size:32px;
    font-weight:800;
    letter-spacing:-1px;
}

.logo-blue{
    color:#31a8ff;
}

/* ===========================
   MENU
=========================== */

.desktop-menu{
    display:flex;
    gap:34px;
    margin-left:60px;
}

.desktop-menu a{
    color:var(--text-muted);
    transition:.25s;
    font-size:16px;
}

.desktop-menu a:hover{
    color:white;
}

/* ===========================
   BUTTONS
=========================== */

.header-buttons{
    display:flex;
    gap:14px;
    margin-left:auto;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:46px;
    padding:0 24px;
    border-radius:12px;
    font-weight:600;
    transition:.25s;
}

.btn-primary{
    background:#1677ff;
}

.btn-primary:hover{
    background:#3390ff;
}

.btn-outline{
    border:1px solid rgba(255,255,255,.15);
}

.btn-outline:hover{
    background:rgba(255,255,255,.05);
}

/* ===========================
   HERO
=========================== */

/* Desktop hero layout */

.hero {
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(22,119,255,.15);
    color: #57b8ff;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(38px,5vw,64px);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

/* ===========================
   HERO VISUAL
=========================== */

.hero-right {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background glow */

.hero-glow {
    position: absolute;
    width: 75%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(22,119,255,.32) 0%,
            rgba(0,200,255,.12) 35%,
            transparent 70%
        );
    filter: blur(20px);
}

.tv {
    position: relative;
    width: 78%;
    z-index: 5;
    transform:
        perspective(1000px)
        rotateY(-8deg)
        rotateX(3deg);
    filter:
        drop-shadow(
            0 35px 45px rgba(0,0,0,.45)
        );
}

.tv-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 8px solid #18283b;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #102b4b,
            #071523 60%,
            #0b1c30
        );
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.08),
        0 0 0 1px rgba(255,255,255,.04);
}

.tv-top {
    position: absolute;
    top: 18px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    z-index: 3;
}

.live {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 700;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4d5a;
    box-shadow: 0 0 10px rgba(255,77,90,.8);
}

.channel-name {
    color: rgba(255,255,255,.55);
}

.tv-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(50,150,255,.22),
            transparent 45%
        );
}

.play-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
    font-size: 18px;
    padding-left: 3px;
    box-shadow: 0 10px 35px rgba(0,0,0,.3);
}

.program-info {
    margin-top: 18px;
    text-align: center;
}

.program-info span {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,.55);
    margin-bottom: 5px;
}

.program-info strong {
    font-size: 20px;
}

.tv-bottom {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 3;
}

.progress {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,.15);
    border-radius: 10px;
    overflow: hidden;
}

.progress span {
    display: block;
    width: 38%;
    height: 100%;
    background: var(--secondary);
    box-shadow: 0 0 10px rgba(0,200,255,.7);
}

.tv-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    font-size: 11px;
    color: rgba(255,255,255,.6);
}

.tv-controls .time {
    margin-left: auto;
    color: rgba(255,255,255,.45);
}

.tv-frame {
    position: absolute;
    left: 50%;
    bottom: -55px;
    transform: translateX(-50%);
    width: 100px;
    height: 55px;
    background:
        linear-gradient(
            90deg,
            transparent 0,
            #152437 20%,
            #152437 80%,
            transparent 100%
        );

    clip-path:
        polygon(
            25% 0,
            75% 0,
            100% 100%,
            0 100%
        );
}

.tv-frame::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 190px;
    height: 6px;
    border-radius: 10px;
    background: #152437;
}

.channel-card {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    min-width: 150px;
    border-radius: 14px;
    background: rgba(19,36,58,.82);
    border: 1px solid rgba(255,255,255,.09);
    backdrop-filter: blur(14px);
    box-shadow: 0 15px 35px rgba(0,0,0,.3);
    animation: floating 5s ease-in-out infinite;
}

.channel-card strong {
    display: block;
    font-size: 14px;
}

.channel-card small {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 11px;
}

.channel-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(22,119,255,.16);
    color: #62b9ff;
    font-size: 11px;
    font-weight: 700;
}

.channel-card-1 {
    top: 18%;
    left: 0;
}

.channel-card-2 {
    right: 0;
    bottom: 17%;
    animation-delay: -2.5s;
}

/* Floating animation */

@keyframes floating {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===========================
   TRUST / ADVANTAGES
=========================== */

.trust-section {
    position: relative;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.015);
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 70px;
    padding: 10px 28px;
    border-right: 1px solid var(--border);
}

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

.trust-item:last-child {
    border-right: none;
}

.trust-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(22,119,255,.10);
    border: 1px solid
        rgba(22,119,255,.14);
}

.trust-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke:
        var(--secondary);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-content {
    min-width: 0;
}

.trust-content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 700;
}

.trust-content span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

/* ===========================
   SERVICES
=========================== */

.services-section {
    padding: 110px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.section-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -.8px;
}

.section-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

/* ===========================
   SERVICES GRID
=========================== */

.services-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 32px;
    overflow: hidden;
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(19,36,58,.96),
            rgba(13,27,45,.96)
        );
    border: 1px solid var(--border);
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: rgba(0,200,255,.07);
    filter: blur(10px);
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(49,168,255,.25);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.service-card:hover::before {
    transform: scale(1.35);
}

.service-card-featured {
    border-color: rgba(22,119,255,.3);
    background:
        linear-gradient(
            145deg,
            rgba(18,48,82,.98),
            rgba(13,27,45,.98)
        );
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(22,119,255,.12);
    border: 1px solid
        rgba(22,119,255,.18);
}

.service-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke:
        var(--secondary);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-badge {
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(32,201,151,.10);
    color: #43d7aa;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .8px;
}

.service-card h3 {
    margin: 0 0 14px;
    font-size: 25px;
    letter-spacing: -.3px;
}

.service-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 25px 0 30px;
    padding: 0;
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c8d4e3;
    font-size: 13px;
}

.service-list li span {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    border-radius: 50%;
    background: rgba(32,201,151,.10);
    color: #43d7aa;
    font-size: 11px;
    font-weight: 800;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: #65b9ff;
    font-size: 14px;
    font-weight: 700;
    transition: gap .25s ease;
}

.service-link span {
    font-size: 20px;
    line-height: 1;
}

.service-card:hover .service-link {
    gap: 15px;
}

/* ===========================
   BENEFITS
=========================== */

.benefits-section {
    position: relative;
    padding: 115px 0;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(13,27,45,.35)
        );
}

/* ===========================
   BENEFITS LAYOUT
=========================== */

.benefits-layout {
    display: grid;
    grid-template-columns:
        minmax(280px, .8fr)
        minmax(500px, 1.2fr);
    gap: 100px;
    align-items: start;
}

.benefits-intro {
    position: sticky;
    top: 120px;
}

.benefits-intro h2 {
    margin: 0 0 22px;
    max-width: 500px;
    font-size:
        clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -.8px;
}

.benefits-intro p {
    max-width: 470px;
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
}

.benefits-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    color: #65b9ff;
    font-size: 14px;
    font-weight: 700;
    transition: gap .25s ease;
}

.benefits-link span {
    font-size: 20px;
}

.benefits-link:hover {
    gap: 16px;
}

/* ===========================
   BENEFIT ITEMS
=========================== */

.benefits-list {
    border-top: 1px solid var(--border);
}

.benefit-item {
    position: relative;
    display: grid;
    grid-template-columns:
        40px
        52px
        1fr;
    align-items: start;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left .25s ease;
}

.benefit-item:hover {
    padding-left: 10px;
}

.benefit-number {
    padding-top: 5px;
    color: rgba(255,255,255,.25);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.benefit-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(22,119,255,.08);
    border: 1px solid rgba(22,119,255,.13);
}

.benefit-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: var(--secondary);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefit-content h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.benefit-content p {
    max-width: 560px;
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* ===========================
   PRICING
=========================== */

.pricing-section {
    padding: 115px 0;
}

.pricing-heading {
    max-width: 700px;
}

/* ===========================
   CATEGORY
=========================== */

.pricing-category {
    margin-top: 65px;
}

.pricing-category + .pricing-category {
    margin-top: 90px;
}

.pricing-category-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.category-label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.pricing-category-heading h3 {
    margin: 0;
    font-size: 25px;
}

.pricing-category-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

/* ===========================
   SINGLE PLAN
=========================== */

.pricing-single {
    max-width: 440px;
}

/* ===========================
   PRICING GRID
=========================== */

.pricing-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);
    gap: 16px;
}

/* ===========================
   CARD
=========================== */

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(19,36,58,.95),
            rgba(10,22,37,.98)
        );
    border: 1px solid var(--border);
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(49,168,255,.25);
    box-shadow: 0 20px 45px rgba(0,0,0,.25);
}

.pricing-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.pricing-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(22,119,255,.10);
    border: 1px solid rgba(22,119,255,.15);
}

.pricing-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: var(--secondary);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pricing-type {
    color: rgba(255,255,255,.4);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pricing-card h4 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.25;
}

.pricing-description {
    min-height: 72px;
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* ===========================
   PRICE
=========================== */

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-height: 52px;
    margin: 22px 0;
}

.price-value {
    font-size: 30px;
    line-height: 1;
}

.price-period {
    color: var(--text-muted);
    font-size: 11px;
}

/* ===========================
   FEATURES
=========================== */

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #c4d0df;
    font-size: 12px;
}

.pricing-features li span {
    color: #43d7aa;
    font-weight: 800;
}

.pricing-button {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.10);
    color: #dbe7f4;
    font-size: 13px;
    font-weight: 700;
    transition: .25s;
}

.pricing-button:hover {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.18);
}

.pricing-button-primary {
    border-color: transparent;
    background:var(--primary);
    color: white;
}

.pricing-button-primary:hover {
    background: var(--primary-hover);
}

/* ===========================
   RECOMMENDED
=========================== */

.pricing-card-recommended {
    border-color: rgba(22,119,255,.40);
    background:
        linear-gradient(
            145deg,
            rgba(18,49,84,.98),
            rgba(10,22,37,.98)
        );
}

.recommended-label {
    position: absolute;
    top: 0;
    right: 20px;
    padding: 6px 10px;
    border-radius: 0 0 8px 8px;
    background:
        var(--primary);
    color: white;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .8px;
}

/* ===========================
   PREMIUM
=========================== */

.pricing-card-premium {
    background:
        linear-gradient(
            145deg,
            rgba(25,42,63,.98),
            rgba(10,22,37,.98)
        );

}

/* ===========================
   HOW IT WORKS
=========================== */

.steps-section {
    padding: 110px 0;
    background: rgba(7,17,29,.35);
}

.steps-heading {
    max-width: 650px;
}

/* ===========================
   STEPS
=========================== */

.steps-list {
    position: relative;
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 20px;
}

/*
   Connecting line
*/

.steps-list::before {
    content: "";
    position: absolute;
    left: 16.66%;
    right: 16.66%;
    top: 52px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(49,168,255,.25),
            transparent
        );
}

.step-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 25px 20px;
}

.step-number {
    margin-bottom: 18px;
    color: rgba(255,255,255,.25);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.step-icon {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            #122b48,
            #0d1d31
        );
    border: 1px solid rgba(49,168,255,.25);
    box-shadow: 0 0 0 8px rgba(49,168,255,.035);
}

.step-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke:
        var(--secondary);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.step-content h3 {
    margin: 0 0 11px;
    font-size: 19px;
}

.step-content p {
    max-width: 300px;
    margin: 0;
    color:
        var(--text-muted);
    font-size: 13px;
    line-height: 1.65;
}

.step-arrow {
    position: absolute;
    top: 36px;
    right: -12px;
    width: 24px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(101,185,255,.45);
    font-size: 20px;
}

.step-arrow-last {
    color: rgba(67,215,170,.65);
}

/* ===========================
   STEP HOVER
=========================== */

.step-item:hover .step-icon {
    transform:
        translateY(-4px);
    border-color:
        rgba(49,168,255,.45);
    box-shadow:
        0 0 0 8px rgba(49,168,255,.05),
        0 12px 35px rgba(0,0,0,.2);
}

.step-icon {
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

/* ===========================
   CTA
=========================== */

.cta-section {
    padding: 70px 0 115px;
}

.cta-box {
    position: relative;
    display: grid;
    grid-template-columns:
        1.2fr
        .8fr;
    align-items: center;
    min-height: 390px;
    overflow: hidden;
    padding: 65px 75px;
    border-radius: 28px;
    background:
        linear-gradient(
            125deg,
            #102c4b 0%,
            #0d2138 50%,
            #0a192b 100%
        );
    border: 1px solid rgba(49,168,255,.22);
    box-shadow: 0 25px 70px rgba(0,0,0,.25);
}

/* ===========================
   CTA CONTENT
=========================== */

.cta-content {
    position: relative;
    z-index: 3;
    max-width: 620px;
}

.cta-content h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -.8px;
}

.cta-content p {
    max-width: 560px;
    margin: 0;
    color: rgba(220,232,245,.72);
    font-size: 16px;
    line-height: 1.7;
}

/* ===========================
   CTA BUTTONS
=========================== */

.cta-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 11px;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(22,119,255,.25);
    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.cta-button span {
    font-size: 20px;
    line-height: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: var(--primary-hover);
    box-shadow: 0 14px 35px rgba(22,119,255,.35);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 11px;
    border: 1px solid rgba(255,255,255,.13);
    color: #d7e3ef;
    font-size: 13px;
    font-weight: 600;
    transition:
        background .25s ease,
        border-color .25s ease;
}

.cta-secondary:hover {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.22);
}

/* ===========================
   CTA VISUAL
=========================== */

.cta-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

/* TV screen */

.cta-screen {
    position: relative;
    z-index: 2;
    width: 280px;
    height: 180px;
    padding: 8px;
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            #1c3046,
            #091421
        );
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 25px 50px rgba(0,0,0,.35),
        inset 0 1px 0
            rgba(255,255,255,.08);
    transform:
        perspective(900px)
        rotateY(-12deg)
        rotateX(4deg);
}

.cta-screen::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: 75px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 10px;
    background: rgba(255,255,255,.13);
}

/* screen top */

.cta-screen-top {
    height: 22px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 7px;
}

.cta-screen-top span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
}

/* screen content */

.cta-screen-content {
    height: calc(100% - 22px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(49,168,255,.25),
            transparent 55%
        ),
        linear-gradient(
            135deg,
            #0c2036,
            #081521
        );
}

.cta-play {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(49,168,255,.12);
    border: 1px solid rgba(49,168,255,.3);
    box-shadow: 0 0 35px rgba(49,168,255,.15);
}

.cta-play svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
    fill: #65b9ff;
}

/* decorative rings */

.cta-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(49,168,255,.12);
}

.cta-ring-1 {
    width: 340px;
    height: 340px;
}

.cta-ring-2 {
    width: 440px;
    height: 440px;
    opacity: .5;
}

/* ===========================
   CTA GLOW
=========================== */

.cta-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.cta-glow-left {
    left: -150px;
    top: -150px;
    background: rgba(22,119,255,.12);
}

.cta-glow-right {
    right: -120px;
    bottom: -180px;
    background: rgba(0,200,255,.08);
}

/* ===========================
   FOOTER
=========================== */

.site-footer {
    position: relative;
    background: #07111d;
    border-top: 1px solid var(--border);
}

/* ===========================
   FOOTER MAIN
=========================== */

.footer-main {
    display: grid;
    grid-template-columns:
        1.8fr
        1fr
        1fr
        1fr;
    gap: 55px;
    padding: 70px 0 60px;
}

/* ===========================
   BRAND
=========================== */

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-mark {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background:
        linear-gradient(
            135deg,
            #1677ff,
            #2aa9ff
        );
    color: white;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -.5px;
    box-shadow: 0 7px 20px rgba(22,119,255,.2);
}

.footer-logo-text {
    color: white;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.footer-logo-text span {
    color: #4baeff;
}

.footer-brand > p {
    max-width: 320px;
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* ===========================
   TELEGRAM
=========================== */

.footer-telegram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: #cbd9e8;
    font-size: 12px;
    font-weight: 600;
    transition: color .25s ease;
}

.footer-telegram:hover {
    color: #65b9ff;
}

.footer-telegram-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(49,168,255,.09);
    border: 1px solid rgba(49,168,255,.14);
}

.footer-telegram-icon svg {
    width: 17px;
    height: 17px;
    fill: #65b9ff;
}

/* ===========================
   FOOTER COLUMNS
=========================== */

.footer-column h3 {
    margin: 4px 0 18px;
    color: #e7eff8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}

.footer-column ul {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin: 0;

    padding: 0;

    list-style: none;

}


.footer-column a {

    color:
        #8191a3;

    font-size: 12px;

    transition:
        color .2s ease,
        padding-left .2s ease;

}


.footer-column a:hover {

    color:
        #cbd9e8;

    padding-left: 3px;

}


/* ===========================
   FOOTER BOTTOM
=========================== */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding:
        22px 0;
    border-top:
        1px solid var(--border);
}

.footer-copy {
    color: #596a7d;
    font-size: 11px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-legal a {
    color: #596a7d;
    font-size: 11px;
    transition: color .2s ease;
}

.footer-legal a:hover {
    color: #9caec1;
}

/* ===========================
   MOBILE MENU
=========================== */

.mobile-menu {
    display: none;
}

/* ===========================
   BURGER
=========================== */

.burger {
    display: none;
    position: relative;
    width: 42px;
    height: 42px;
    margin-left:auto;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    position: absolute;
    left: 50%;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: #dce8f4;
    transform: translateX(-50%);
    transition:
        transform .25s ease,
        opacity .2s ease,
        top .25s ease;
}

.burger span:nth-child(1) {
    top: 13px;
}

.burger span:nth-child(2) {
    top: 20px;
}

.burger span:nth-child(3) {
    top: 27px;
}

/* ===========================
   BURGER ACTIVE
=========================== */

.burger.active span:nth-child(1) {
    top: 20px;
    transform:
        translateX(-50%)
        rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    top: 20px;
    transform:
        translateX(-50%)
        rotate(-45deg);
}

/* ===========================
   BODY LOCK WHEN MENU OPEN
=========================== */

body.menu-open {
    overflow: hidden;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(75,174,255,.75);
    outline-offset: 3px;
}

/* ===========================
   AUTH / REGISTER PAGE
=========================== */

.auth-page {
    width: 100%;
    padding: 70px 0 90px;
}


.auth-card {

    width: min(
        100%,
        520px
    );

    margin: 0 auto;

    padding:
        38px;

    background:
        rgba(255,255,255,.035);

    border:
        1px solid var(--border);

    border-radius:
        18px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.18);

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);

}


/* ===========================
   AUTH HEADER
=========================== */

.auth-header {

    margin-bottom:
        30px;

    text-align:
        center;

}


.auth-label {

    display:
        inline-block;

    margin-bottom:
        10px;

    color:
        #65b9ff;

    font-size:
        12px;

    font-weight:
        700;

    letter-spacing:
        .12em;

    text-transform:
        uppercase;

}


.auth-header h1 {

    margin:
        0 0 10px;

    color:
        #ffffff;

    font-size:
        30px;

    line-height:
        1.2;

}


.auth-header p {

    margin:
        0;

    color:
        #8fa4b8;

    font-size:
        14px;

    line-height:
        1.6;

}


/* ===========================
   FORM
=========================== */

#theForm {

    width:
        100%;

}


.form-group {

    margin-bottom:
        18px;

}


.form-group label {

    display:
        block;

    margin-bottom:
        8px;

    color:
        #dce8f4;

    font-size:
        14px;

    font-weight:
        600;

}


.form-group input {

    display:
        block;

    width:
        100% !important;

    height:
        48px;

    box-sizing:
        border-box;

    padding:
        0 14px;

    border:
        1px solid var(--border);

    border-radius:
        10px;

    outline:
        none;

    background:
        rgba(255,255,255,.045);

    color:
        #ffffff;

    font-family:
        inherit;

    font-size:
        14px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;

}


.form-group input::placeholder {

    color:
        #71869a;

}


.form-group input:focus {

    border-color:
        rgba(75,174,255,.65);

    background:
        rgba(255,255,255,.06);

    box-shadow:
        0 0 0 3px
        rgba(75,174,255,.10);

}


/* ===========================
   FORM NOTES
=========================== */

.form-note {

    margin:
        2px 0 12px;

    color:
        #8297aa;

    font-size:
        12px;

    line-height:
        1.5;

}


.form-agreement {

    margin:
        0 0 24px;

}


.form-agreement a {

    color:
        #65b9ff;

    font-size:
        13px;

    text-decoration:
        none;

    transition:
        color .2s ease;

}


.form-agreement a:hover {

    color:
        #9bd2ff;

    text-decoration:
        underline;

}


/* ===========================
   CAPTCHA
=========================== */

.captcha-wrap {

    display:
        flex;

    justify-content:
        center;

    margin:
        0 0 24px;

    overflow:
        hidden;

}

/* ===========================
   SUBMIT
=========================== */

.form-submit {
    width: 100%;
}

.form-submit input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform .2s ease,
        filter .2s ease,
        box-shadow .2s ease;
}

.form-submit input[type="submit"]:hover {
    filter: brightness(1.08);
    box-shadow:
        0 8px 24px
        rgba(0,0,0,.18);
}

.form-submit input[type="submit"]:active {
    transform: translateY(1px);
}

/* ===========================
   INFORMATION / ERROR MESSAGE
=========================== */

.error {
    width: min(100% - 40px, 520px);
    box-sizing: border-box;
    margin: auto;
    padding: 16px 18px;
    border: 1px solid rgba(255, 92, 92, .28);
    border-radius: 12px;
    background: rgba(255, 92, 92, .07);
    color: #ffb5b5;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* ссылки внутри сообщения */

.error a {
    color: #7cc8ff;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.error a:hover {
    color: #b4e0ff;
    text-decoration: underline;
}

.error.success {
    border-color: rgba(72, 210, 140, .28);
    background: rgba(72, 210, 140, .07);
    color: #a9e8c8;
}

.error.info {
    border-color: rgba(75, 174, 255, .28);
    background: rgba(75, 174, 255, .07);
    color: #b7dcf7;
}

/* ===========================
   AUTH LOGIN ACTIONS
=========================== */

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
}

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform .2s ease,
        filter .2s ease,
        box-shadow .2s ease;
}

.auth-submit:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.auth-submit:active {
    transform: translateY(1px);
}

.auth-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    padding: 0 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
    color: #cbd9e8;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease;
}

.auth-secondary:hover {
    border-color: rgba(75,174,255,.45);
    background: rgba(75,174,255,.06);
    color: #ffffff;
}

.auth-agreement {
    margin-top: 24px;
    text-align: center;
}

.auth-agreement a {
    color: #65b9ff;
    font-size: 12px;
    text-decoration: none;
    transition: color .2s ease;
}

.auth-agreement a:hover {
    color: #9bd2ff;
    text-decoration: underline;
}

.content-page {
    padding: 60px 0 80px;
}

.content-page h1 {
    margin: 0 0 30px;
    color: var(--text-main);
    font-size: 32px;
    line-height: 1.2;
}

.content-page h2 {
    margin: 32px 0 14px;
    color: var(--text-main);
    font-size: 20px;
    line-height: 1.35;
}

.content-page h3 {
    margin: 24px 0 10px;
    color: var(--text-main);
    font-size: 17px;
}

.content-page p {
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
}

.content-page a {
    color: #ffffff;
    text-decoration: none;
}

.content-page a:hover {
    text-decoration: underline;
}

/* ===========================
   RUNNING LINE
=========================== */

.top-ticker {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 0 28px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
    height: 38px;
    line-height: 38px;
    white-space: nowrap;
    position: relative;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    height: 100%;
    width: max-content;
    padding-left: 100%;
    animation: tickerMove 28s linear infinite;
    font-size: 13px;
}

.ticker-content a {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease;
}

.ticker-content a:hover {
    color:
        var(--primary);
}

.ticker-content img {
    display: block;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin-right: 6px;
}

.ticker-separator {
    display: inline-block;
    flex-shrink: 0;
    margin:
        0 16px;
    color:
        var(--text-muted);
}

.ticker-text {
    display: inline-block;
    flex-shrink: 0;
    color:
        var(--text-muted);
}

.ticker-text strong {
    color:
        var(--text-main);
    font-weight: 700;
}

@keyframes tickerMove {
    0% {
        transform: translateX(0);
    }
    
    100% {
        transform: translateX(-100%);
    }
}

/* ===========================
   CABINET
=========================== */

/* Account status */

.cabinet-status {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin: 0 0 28px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background:
        rgba(255,255,255,.025);
}

.cabinet-status-iptv {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cabinet-status-iptv .status-action {
    margin-left: auto;
    flex-shrink: 0;
}

.status-indicator {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
}

.status-active .status-indicator {
    background: #43d7aa;
    box-shadow:
        0 0 10px rgba(67,215,170,.55);
}

.status-disabled .status-indicator {
    background: #ff5c5c;
    box-shadow:
        0 0 10px rgba(255,92,92,.45);
}

.status-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-content strong {
    color: var(--text-main);
    font-size: 13px;
    line-height: 1.3;
}

.status-content span {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.3;
}

.status-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 30px;
    margin-left: 4px;
    border-radius: 8px;
    background:
        rgba(255,255,255,.04);
    transition:
        background .2s ease,
        transform .2s ease;
}

.status-action:hover {
    background:
        rgba(255,255,255,.08);
    transform:
        translateY(-1px);
}

.status-action img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* ===========================
   CABINET NAVIGATION
=========================== */

.cabinet-nav {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.cabinet-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        color .2s ease;
}

.cabinet-nav-item:hover {
    background:
        rgba(255,255,255,.05);
    border-color:
        rgba(49,168,255,.25);
    color:
        #65b9ff;
    transform:
        translateY(-2px);
}

.cabinet-nav-item img {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
}

.cabinet-nav-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===========================
   CABINET BALANCE
=========================== */

.cabinet-balance {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.cabinet-balance-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    border:
        1px solid var(--border);
    border-radius: 14px;
    background:
        rgba(255,255,255,.025);
}

.cabinet-label {
    color:
        var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
}

.cabinet-value {
    color: #43d7aa;
    font-size: 20px;
    line-height: 1.2;
    white-space: nowrap;
}

.cabinet-value-accent {
    color: #65b9ff;
}

.cabinet-link {
    margin-left: auto;
    color: #65b9ff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.cabinet-link:hover {
    text-decoration: underline;
}

/* ===========================
   CABINET ACCOUNT INFO
=========================== */

.cabinet-info {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);
    gap: 1px;
    margin-bottom: 60px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--border);
}

.cabinet-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    padding: 16px 18px;
    background: rgba(7,17,29,.96);
}

.cabinet-info-item > span {
    color: var(--text-muted);
    font-size: 12px;
}

.cabinet-info-item > strong {
    min-width: 0;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.cabinet-info-item small {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 400;
}

/* ===========================
   CABINET SERVER
=========================== */

.server-card,
.server-change,
.ip-access,
.config-card {
    margin-bottom: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
}

.server-card-header,
.server-change-header,
.ip-access-header,
.config-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.server-card-label,
.config-card-label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.server-card h3,
.server-change h3,
.ip-access h3,
.config-card h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 16px;
}

.server-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.server-card-form {
    display: flex;
    margin: 0 0 0 auto;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #43d7aa;
    font-size: 12px;
    font-weight: 700;
}

.server-status-iptv-inactive {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #ff5c5c;
    font-size: 12px;
    font-weight: 700;
}

.server-status img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.server-details {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.server-detail {
    padding: 12px;
    border-radius: 9px;
    background: rgba(255,255,255,.025);
}

.server-detail span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 11px;
}

.server-detail strong {
    display: block;
    color: var(--text-main);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.server-change-header p,
.ip-access-header p {
    margin: 5px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.server-change-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.server-select {
    min-width: 240px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(255,255,255,.035);
    color: var(--text-main);
    font: inherit;
}

.ip-access-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 12px;
}

.ip-access-status strong {
    color: #43d7aa;
}

.ip-access-form {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
}

.ip-access-form > .btn {
    margin-top: 0;
}

.ip-access-input {
    flex: 1;
}

.ip-access-input input {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(255,255,255,.035);
    color: var(--text-main);
    font: inherit;
}

.ip-access-input span {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 10px;
}

.config-toggle {
    color: #65b9ff;
    font-size: 12px;
    font-weight: 700;
}

.config-toggle:hover {
    text-decoration: underline;
}

.config-content {
    margin-top: 15px;
}

.config-grid {
    display: grid;
    grid-template-columns:
        1fr 1fr 1fr;
    margin-top: 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.config-grid-header,
.config-grid-cell {
    padding: 10px 12px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.config-grid-header {
    color: var(--text-muted);
    background: rgba(255,255,255,.025);
    font-size: 11px;
    font-weight: 700;
}

.config-grid-cell {
    color: var(--text-main);
    font-size: 12px;
}

.config-grid-header:nth-child(3n),
.config-grid-cell:nth-child(3n) {
    border-right: 0;
}

/* Последняя строка */
.config-grid-cell:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.config-file-name {
    margin: 20px 0 10px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.config-content > .config-file-name:first-child {
    margin-top: 0;
}

.config-warning {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.config-quote {
    width: 100%;
    max-height: 420px;
    padding: 16px;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(0, 0, 0, .20);
    scrollbar-width: thin;
}


.config-quote code {
    display: block;
    width: max-content;
    min-width: 100%;
    white-space: pre;
    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;
    font-size: 12px;
    line-height: 1.8;
}

.loading-img-token {
    display: block;
    margin: 0 auto;
}

.playlist-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.playlist-url {
    flex: 1;
    min-width: 0;
}

.channel-packages {
    margin-top: 28px;
}

.channel-packages-header {
    margin-bottom: 24px;
}

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

.channel-package {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.channel-package .cabinet-input {
    flex: 0 0 auto;
    width: auto;
}

.channel-package-name {
    min-width: 0;
}

.channel-packages-actions {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

/* =======================================================================================================================================
   HERO RESPONSIVE 1100px
======================================================================================================================================= */

@media (max-width: 1100px) {

    /* ===========================
    HERO RESPONSIVE
    =========================== */

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

    .hero p {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }
    /* ===========================
    HERO RESPONSIVE END
    =========================== */

    /* ===========================
    TRUST — TABLET
    =========================== */

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
        gap: 0;
    }

    .trust-item {
        padding: 18px 20px;
        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .trust-item:nth-child(2n) {
        border-right: none;
    }

    .trust-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .trust-item:first-child {
        padding-left: 20px;
    }
    /* ===========================
    TRUST — TABLET END
    =========================== */
    /* ===========================
    TABLET
    =========================== */

    .pricing-section {
        padding: 85px 0;
    }

    .pricing-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    /* ===========================
    TABLET END
    =========================== */
    /* ===========================
    MOBILE
    =========================== */

    .desktop-menu,
    .header-buttons {
        display: none;
    }

    .burger {
        display: block;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        background: rgba(7,17,29,.98);
        border-top: 1px solid transparent;
        box-shadow: 0 20px 45px rgba(0,0,0,.30);
        transition:
            max-height .35s ease,
            opacity .25s ease,
            visibility .35s ease,
            border-color .25s ease;
        z-index: 1000;
    }

    .mobile-menu.active {
        max-height: calc(100dvh - 70px);
        opacity: 1;
        visibility: visible;
        border-top-color:
            var(--border);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        padding:
            12px 20px 5px;
    }

    .mobile-menu-nav a {
        display: flex;
        align-items: center;
        min-height: 50px;
        padding: 0 5px;
        border-bottom:
            1px solid rgba(255,255,255,.06);
        color:
            #dce8f4;
        font-size: 15px;
        font-weight: 600;
        transition:
            color .2s ease,
            padding-left .2s ease;
    }

    .mobile-menu-nav a:hover {
        padding-left: 10px;
        color: #65b9ff;
    }

    .mobile-menu-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 20px;
    }

    .mobile-menu-buttons .btn {
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }
    /* ===========================
    MOBILE END
    =========================== */
    .channel-packages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =======================================================================================================================================
   BENEFITS — TABLET 1000px
======================================================================================================================================= */

@media (max-width: 1000px) {

    /* ========================
     BENEFITS — TABLET
    ======================== */

    .benefits-section {
        padding: 85px 0;
    }

    .benefits-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .benefits-intro {
        position: static;
    }

    .benefits-intro h2 {
        max-width: 650px;
    }

    .benefits-intro p {
        max-width: 650px;
    }

    /* ========================
     BENEFITS — TABLET END
    ======================== */

    /* ===========================
    SERVICES — TABLET
    =========================== */

    .services-section {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .service-card:last-child {
        grid-column:
            1 / -1;
    }
    /* ===========================
    SERVICES — TABLET END
    =========================== */
}

/* =======================================================================================================================================
   CTA TABLET 900px
======================================================================================================================================= */

@media (max-width: 900px) {

    .cta-section {
        padding: 55px 0 85px;
    }

    .cta-box {
        grid-template-columns: 1fr;
        padding: 55px 45px;
    }

    .cta-content {
        max-width: 700px;
    }

    .cta-visual {
        min-height: 230px;
        margin-top: 25px;
    }

    /* ===========================
    FOOTER TABLET
    =========================== */

    .footer-main {
        grid-template-columns:
            1.5fr 1fr 1fr;
        gap: 45px;
    }

    .footer-brand {
        grid-column:
            1 / -1;
        max-width: 550px;
    }
    /* ===========================
    FOOTER TABLET END
    =========================== */

}

/* =======================================================================================================================================
   TABLET 800px
======================================================================================================================================= */

@media (max-width: 800px) {

    .steps-section {
        padding: 85px 0;
    }

    .steps-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .steps-list::before {
        left: 41px;
        right: auto;
        top: 40px;
        bottom: 40px;
        width: 1px;
        height: auto;
        background:
            linear-gradient(
                180deg,
                transparent,
                rgba(49,168,255,.25),
                transparent
            );
    }

    .step-item {
        display: grid;
        grid-template-columns:
            82px
            1fr;
        grid-template-rows: auto auto;
        column-gap: 20px;
        align-items: center;
        padding: 20px 0;
        text-align: left;
    }

    .step-number {
        display: none;
    }

    .step-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 82px;
        height: 82px;
        margin: 0;
    }

    .step-content {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .step-content h3 {
        margin-bottom: 7px;
        font-size: 18px;
    }

    .step-content p {
        max-width: none;
        font-size: 13px;
    }

    .step-arrow {
        display: none;
    }
}

/* =======================================================================================================================================
    MOBILE 768px
======================================================================================================================================= */

@media (max-width:768px) and (orientation: landscape) {

    .mobile-menu.active {
        max-height: calc(100dvh - 60px);
    }

    .mobile-menu-nav {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .mobile-menu-nav a {
        min-height: 42px;
    }

    .mobile-menu-buttons {
        padding-top: 12px;
        padding-bottom: 15px;
    }

    .header .container {
        height: 70px;
    }

    .logo {
        font-size: 26px;
    }

    .hero {
        padding: 50px 0 30px;
    }

    .hero-grid {
        gap: 20px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.12;
    }

    .hero p {
        font-size: 17px;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-right {
        min-height: 340px;
        margin-top: 10px;
    }

    .hero-visual {
        width: 100%;
        max-width: 380px;
    }

    .tv {
        width: 86%;
        transform:
            perspective(1000px)
            rotateY(-4deg)
            rotateX(2deg);
    }

    .channel-card {
        display: none;
    }

    .hero-glow {
        width: 85%;
        filter: blur(25px);
    }

}

/* =======================================================================================================================================
    MOBILE 600px
======================================================================================================================================= */

@media (max-width: 600px) {

    /* ===========================
    AUTH MOBILE
    =========================== */

    .auth-page {
        padding: 40px 0 60px;
    }

    .auth-card {
        width: 100%;
        padding: 28px 20px;
        border-radius: 14px;
    }

    .auth-header {
        margin-bottom: 26px;
    }

    .auth-header h1 {
        font-size: 26px;
    }

    .auth-header p {
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .captcha-wrap {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }
    
    .error {
        padding: 14px 15px;
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 20px;
    }
    
    .content-page {
        padding: 40px 0 60px;
    }

    .content-page h1 {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .content-page h2 {
        font-size: 18px;
    }

    .content-page p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .top-ticker {
        margin-bottom: 24px;
        padding: 0 12px;
    }

    .ticker-content {
        font-size: 12px;
    }
    
    .cabinet-status {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 20px;
    }
    
    .cabinet-status-iptv {
        align-items: flex-start;
    }
    
    .cabinet-status-iptv .status-action {
        margin-left: auto;
    }

    .cabinet-nav {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 20px;
    }

    .cabinet-nav-item {
        min-height: 46px;
        padding: 0 11px;
        font-size: 12px;
    }

    .cabinet-nav-item img {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .cabinet-balance {
        grid-template-columns:
            1fr;
        gap: 8px;
    }

    .cabinet-balance-item {
        padding: 16px;
    }

    .cabinet-value {
        font-size: 18px;
    }

    .cabinet-info {
        grid-template-columns:
            1fr;
        margin-bottom: 45px;
    }

    .cabinet-info-item {
        padding: 14px 15px;
    }

    /* ===========================
    AUTH MOBILE END
    =========================== */

    /* ===========================
    TRUST — MOBILE
    =========================== */

    .trust-section {
        padding: 10px 0;
    }

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .trust-item {
        min-height: 92px;
        padding: 15px 10px;
        gap: 10px;
    }

    .trust-item:nth-child(2n) {
        border-right: none;
    }

    .trust-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .trust-icon {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .trust-icon svg {
        width: 18px;
        height: 18px;
    }

    .trust-content strong {
        font-size: 12px;
    }

    .trust-content span {
        font-size: 10px;
        line-height: 1.35;
    }

    /* ===========================
    TRUST — MOBILE END
    =========================== */

    /* ===========================
    SERVICES — MOBILE
    =========================== */

    .services-section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .section-heading p {
        font-size: 15px;
        line-height: 1.6;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        min-height: auto;
        padding: 25px;
    }

    .service-card:last-child {
        grid-column: auto;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .service-card p {
        font-size: 14px;
    }

    /* ===========================
    SERVICES — MOBILE END
    =========================== */

    /* ===========================
    BENEFITS — MOBILE
    =========================== */

    .benefits-section {
        padding: 65px 0;
    }

    .benefits-layout {
        gap: 35px;
    }

    .benefits-intro h2 {
        font-size: 31px;
    }

    .benefits-intro p {
        font-size: 15px;
        line-height: 1.6;
    }

    .benefit-item {
        grid-template-columns:
            36px
            1fr;
        gap: 14px;
        padding: 23px 0;
    }

    .benefit-number {
        display: none;
    }

    .benefit-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .benefit-icon svg {
        width: 18px;
        height: 18px;
    }

    .benefit-content {
        min-width: 0;
    }

    .benefit-content h3 {
        font-size: 17px;
    }

    .benefit-content p {
        font-size: 13px;
        line-height: 1.55;
    }

    .benefit-item:hover {
        padding-left: 0;
    }
    
    /* ===========================
    BENEFITS — MOBILE END
    =========================== */

    /* ===========================
    RICING MOBILE
    =========================== */

    .pricing-section {
        padding: 65px 0;
    }

    .pricing-category {
        margin-top: 45px;
    }

    .pricing-category + .pricing-category {
        margin-top: 60px;
    }

    .pricing-category-heading {
        display: block;
        margin-bottom: 22px;
    }

    .pricing-category-heading h3 {
        font-size: 21px;
    }

    .pricing-category-heading p {
        margin-top: 8px;
        font-size: 12px;
    }

    .pricing-single {
        max-width: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pricing-card {
        padding: 24px;
    }

    .pricing-description {
        min-height: auto;
    }

    /* ===========================
    RICING MOBILE END
    =========================== */

    /* ===========================
    CTA MOBILE
    =========================== */

    .cta-section {
        padding: 40px 0 65px;
    }

    .cta-box {
        min-height: auto;
        padding: 40px 22px;
        border-radius: 22px;
    }

    .cta-content h2 {
        font-size: 30px;
    }

    .cta-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .cta-button,
    .cta-secondary {
        width: 100%;
    }

    .cta-visual {
        min-height: 190px;
        margin-top: 20px;
        transform: scale(.82);
    }

    .cta-screen {
        width: 280px;
        height: 180px;
    }

    /* ===========================
    CTA MOBILE END
    =========================== */

    /* ===========================
    FOOTER MOBILE
    =========================== */

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 25px;
        padding: 55px 0 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand > p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px 0;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }

    /* ===========================
    FOOTER MOBILE END
    =========================== */
    /* ===========================
       CABINET SERVER
    =========================== */
    .server-card,
    .server-change,
    .ip-access,
    .config-card {
        padding: 16px;
    }
    
    .server-card-header,
    .server-change-header,
    .ip-access-header,
    .config-card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    
    .server-details {
        grid-template-columns: 1fr;
    }
    
    .server-change-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .server-select {
        width: 100%;
        min-width: 0;
    }
    
    .server-change-form .btn {
        width: 100%;
        box-sizing: border-box;
    }
    
    .ip-access-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ip-access-form .btn {
        width: 100%;
    }
    
    .ip-access-input input {
        min-height: 44px;
    }
    /* ===========================
       CABINET SERVER END
    =========================== */
    
     /* ===========================
       SETTINGS
    =========================== */   
    .config-grid {
        grid-template-columns: 1fr;
    }
    
    .config-grid-header {
        display: none;
    }
    
    .config-grid-cell {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        border-right: 0;
    }
    
    .config-grid-cell::before {
        content: attr(data-label);
        flex-shrink: 0;
        color: var(--text-muted);
        font-size: 10px;
        font-weight: 700;
    }

    /* ===========================
       SETTINGS END
    =========================== */
    .playlist-row {
        flex-wrap: wrap;
    }

    .playlist-url {
        width: 100%;
        flex: 1 1 100%;
    }
    
    .channel-packages-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    }
    
    .channel-package {
        width: 100%;
    }
    
    .channel-package .cabinet-input {
        flex: 0 0 auto;
    }
    
    .channel-package-name {
        font-size: 14px;
    }
}

/* =======================================================================================================================================
   MOBILE 500px
======================================================================================================================================= */

@media (max-width: 500px) {

    .steps-section {
        padding: 65px 0;
    }

    .steps-list::before {
        left: 30px;
        top: 30px;
        bottom: 30px;
    }

    .step-item {
        grid-template-columns:
            60px
            1fr;
        column-gap: 16px;
        padding: 16px 0;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        box-shadow: 0 0 0 6px rgba(49,168,255,.035);
    }

    .step-icon svg {
        width: 23px;
        height: 23px;
    }

    .step-content h3 {
        font-size: 16px;
    }

    .step-content p {
        font-size: 12px;
        line-height: 1.55;
    }

}