*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #FFFFFF;
    background: linear-gradient(180deg, #0a0a0f 0%, #0f1220 25%, #131829 50%, #0f1528 75%, #0a0e18 100%);
    background-attachment: fixed;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Background overlay — фиксированный слой поверх всей страницы */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(66, 125, 188, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(134, 15, 251, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(67, 208, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.index-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

body.error-page .index-container {
    justify-content: flex-start;
    padding-top: 20vh;
}

.index-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    overflow-y: auto;
    padding: 2rem 0;
}

.index-content.centered {
    align-items: center;
    padding: 0;
}

.index-title {
    font-size: 4.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: center;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(67, 208, 255, 0.3);
    animation: fadeInUp 1s ease-out;
}

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

.index-footer {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    color: #FFFFFF;
    opacity: 0.8;
    z-index: 2;
}

.footer-text {
    font-weight: 400;
}

.footer-logo-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.7;
}

.footer-logo {
    height: 2.4rem;
    width: auto;
    display: block;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .index-title {
        font-size: 3.2rem;
        padding: 0 2rem;
    }

    .index-footer {
        bottom: 2rem;
        right: 2rem;
        font-size: 1.2rem;
    }

    .footer-logo {
        height: 2rem;
    }
}

@media screen and (max-width: 550px) {
    .index-title {
        font-size: 2.4rem;
        letter-spacing: 0.05em;
    }

    .index-footer {
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }

    .footer-logo {
        height: 1.8rem;
    }
}

/* Error page styles */
.error-container {
    text-align: center;
    padding: 2rem;
    width: 100%;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(67, 208, 255, 0.3);
    animation: fadeInUp 1s ease-out;
}

.error-message {
    font-size: 2.4rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.error-path {
    font-size: 1.4rem;
    color: #9B98A9;
    margin-bottom: 3rem;
    word-break: break-all;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Button/Link styles */
.back-link {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.back-link:hover {
    opacity: 0.7;
}

/* Pages list styles */
.pages-container {
    max-width: 1200px;
    width: 100%;
    padding: 3rem 2rem;
    overflow-y: auto;
    margin: 0 auto;
}

.url-group-header {
    user-select: none;
}

.url-group-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.url-group-header td {
    padding-left: 2rem !important;
}

.url-group-row {
    background: rgba(255, 255, 255, 0.02);
}

.url-group-content {
    padding: 0 !important;
}

.pages-table-nested {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    table-layout: fixed;
}

.pages-table-nested td {
    padding: 1rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pages-table-nested tr:first-child td {
    border-top: none;
}

.pages-table {
    table-layout: fixed;
}

.group-toggle {
    font-size: 1rem;
    color: #43D0FF;
    margin-right: 0.8rem;
    display: inline-block;
    min-width: 1.2rem;
}

.group-name {
    font-size: 1.3rem;
    font-weight: 500;
    color: #FFFFFF;
    font-family: 'Courier New', monospace;
}

.group-count {
    font-size: 1.1rem;
    color: #9B98A9;
    font-weight: 400;
    margin-left: 0.8rem;
}

.pages-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(67, 208, 255, 0.3);
}

.pages-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.pages-table th {
    background: rgba(66, 125, 188, 0.3);
    color: #FFFFFF;
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pages-table td {
    padding: 1rem 1.2rem;
    color: #FFFFFF;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.3rem;
}

.pages-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.path-cell {
    font-family: 'Courier New', monospace;
    color: #43D0FF;
    word-break: break-all;
}

.name-cell {
    color: #9B98A9;
}

/* Responsive design for error page */
@media screen and (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }

    .error-message {
        font-size: 2rem;
    }

    .error-path {
        font-size: 1.2rem;
    }

    .back-link {
        font-size: 1.4rem;
        padding: 1rem 2rem;
    }
}

@media screen and (max-width: 550px) {
    .error-code {
        font-size: 4.8rem;
    }

    .error-message {
        font-size: 1.6rem;
    }

    .error-path {
        font-size: 1rem;
    }

    .back-link {
        font-size: 1.2rem;
        padding: 0.8rem 1.6rem;
    }
}

/* Responsive design for pages list */
@media screen and (max-width: 768px) {
    .pages-title {
        font-size: 2.4rem;
    }

    .pages-table {
        font-size: 1.2rem;
    }

    .pages-table th,
    .pages-table td {
        padding: 0.8rem;
    }
}

@media screen and (max-width: 550px) {
    .pages-container {
        padding: 2rem 1rem;
    }

    .pages-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .pages-table {
        font-size: 1rem;
    }

    .pages-table th,
    .pages-table td {
        padding: 0.6rem;
    }

    .pages-table th {
        font-size: 1rem;
    }
}

/* ========== Landing Page ========== */
.landing-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

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

.header-login-link {
    font-size: 1.4rem;
    font-weight: 500;
    color: #43D0FF;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(67, 208, 255, 0.4);
    border-radius: 6px;
    transition: background 0.3s, border-color 0.3s;
}

.header-login-link:hover {
    background: rgba(67, 208, 255, 0.1);
    border-color: #43D0FF;
}

.header-brand {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    color: #FFFFFF;
    transition: opacity 0.3s ease;
}

.header-brand:hover {
    opacity: 0.85;
}

.header-logo {
    height: 3.2rem;
    width: auto;
}

.header-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.landing-main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 3rem 6rem;
}

.block {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(67, 208, 255, 0.2);
}

/* Block 1: Hero — компактный привлекающий блок */
.block-hero {
    position: relative;
    min-height: 22vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-network-wrap {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    animation: heroNetworkFloat 6s ease-in-out infinite;
}

.hero-network {
    width: 140px;
    height: auto;
    opacity: 0;
    animation: heroNetworkReveal 1s ease-out 0.1s forwards;
}

.hero-network .network-lines line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: networkLineDraw 1.2s ease-out 0.3s forwards;
}

.hero-network .network-lines line:nth-child(1) { animation-delay: 0.4s; }
.hero-network .network-lines line:nth-child(2) { animation-delay: 0.5s; }
.hero-network .network-lines line:nth-child(3) { animation-delay: 0.6s; }
.hero-network .network-lines line:nth-child(4) { animation-delay: 0.5s; }
.hero-network .network-lines line:nth-child(5) { animation-delay: 0.5s; }
.hero-network .network-lines line:nth-child(6) { animation-delay: 0.7s; }
.hero-network .network-lines line:nth-child(7) { animation-delay: 0.7s; }
.hero-network .network-lines line:nth-child(8) { animation-delay: 0.6s; }
.hero-network .network-lines line:nth-child(9) { animation-delay: 0.6s; }
.hero-network .network-lines line:nth-child(10) { animation-delay: 0.8s; }
.hero-network .network-lines line:nth-child(11) { animation-delay: 0.8s; }

.hero-network .network-node {
    opacity: 0;
    transform-origin: center;
    animation: networkNodePop 0.5s ease-out forwards;
}

.hero-network .network-node:nth-of-type(1) { animation-delay: 0.3s; }
.hero-network .network-node:nth-of-type(2) { animation-delay: 0.5s; }
.hero-network .network-node:nth-of-type(3) { animation-delay: 0.5s; }
.hero-network .network-node:nth-of-type(4) { animation-delay: 0.6s; }
.hero-network .network-node:nth-of-type(5) { animation-delay: 0.7s; }
.hero-network .network-node:nth-of-type(6) { animation-delay: 0.7s; }
.hero-network .network-node:nth-of-type(7) { animation-delay: 0.8s; }

.hero-network .network-node.node-hub {
    animation: networkNodePop 0.5s ease-out 0.6s forwards, networkNodePulse 2s ease-in-out 1.2s infinite;
}

.hero-network .network-node.node-center {
    animation: networkNodePop 0.5s ease-out 0.3s forwards, networkNodePulse 2.5s ease-in-out 1s infinite;
}

@keyframes heroNetworkReveal {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes networkLineDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes networkNodePop {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes networkNodePulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(67, 208, 255, 0.5));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 12px rgba(67, 208, 255, 0.9));
    }
}

@keyframes heroNetworkFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(1deg); }
    75% { transform: translateY(5px) rotate(-1deg); }
}

.hero-title {
    position: relative;
    z-index: 2;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
    text-align: left;
}

.hero-title-line {
    display: block;
    opacity: 0;
    animation: heroTitleReveal 0.8s ease-out forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.5s; }
.hero-title-line:nth-child(2) { animation-delay: 0.7s; }
.hero-title-line:nth-child(3) { animation-delay: 0.9s; }

.hero-title-accent {
    background: linear-gradient(135deg, #0663C8, #44D2FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleReveal 0.8s ease-out 0.9s forwards, heroGlow 2.5s ease-in-out 1.8s infinite;
}

.hero-title-line {
    animation: heroTitleReveal 0.8s ease-out forwards, heroTitleFloat 4s ease-in-out 2s infinite;
}

.hero-title-line:nth-child(1) { animation: heroTitleReveal 0.8s ease-out 0.5s forwards, heroTitleFloat 4s ease-in-out 2.2s infinite; }
.hero-title-line:nth-child(2) { animation: heroTitleReveal 0.8s ease-out 0.7s forwards, heroTitleFloat 4.2s ease-in-out 2.4s infinite; }
.hero-title-line:nth-child(3) { animation: heroTitleReveal 0.8s ease-out 0.9s forwards, heroGlow 2.5s ease-in-out 1.8s infinite; }

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

@keyframes heroGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(67, 208, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(67, 208, 255, 0.6)); }
}

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

.block-hero .hero-text {
    position: relative;
    z-index: 2;
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    line-height: 1.7;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0;
    animation: heroTextReveal 0.8s ease-out 1.1s forwards;
    color: rgba(255, 255, 255, 0.9);
}

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

.hero-orbs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 208, 255, 0.15) 0%, transparent 70%);
    animation: heroOrbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -50px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -30px;
    animation-delay: -2s;
    animation-duration: 10s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: 10%;
    animation-delay: -4s;
    animation-duration: 12s;
}

@keyframes heroOrbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(20px, -25px) scale(1.1);
        opacity: 0.75;
    }
    50% {
        transform: translate(-15px, 20px) scale(0.9);
        opacity: 0.6;
    }
    75% {
        transform: translate(10px, 10px) scale(1.05);
        opacity: 0.7;
    }
}

/* Block 2 & 3: Cards */
.cards-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    color: #43D0FF;
    margin-bottom: 1rem;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card,
.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.card:hover,
.benefit-card:hover {
    border-color: rgba(67, 208, 255, 0.3);
    box-shadow: 0 4px 24px rgba(67, 208, 255, 0.08);
}

.card-title,
.benefit-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #43D0FF;
}

.card-text,
.benefit-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Block 4: Tariffs */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tariff-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: border-color 0.3s, transform 0.3s;
}

.tariff-card:hover {
    border-color: rgba(67, 208, 255, 0.25);
}

.tariff-card.tariff-featured {
    border-color: rgba(67, 208, 255, 0.4);
    box-shadow: 0 0 30px rgba(67, 208, 255, 0.1);
}

.tariff-badge {
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0663C8, #44D2FF);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

.tariff-name {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.tariff-features {
    flex: 1;
    list-style: none;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.tariff-features li::before {
    content: '•';
    color: #43D0FF;
    margin-right: 0.6rem;
}

.tariff-prices {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.tariff-period-hint {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.8rem 0;
}

.tariff-period-toggle {
    display: flex;
    width: 100%;
    gap: 0.5rem;
    padding: 0.4rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.tariff-toggle-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.tariff-toggle-option:hover {
    color: #fff;
}

.tariff-toggle-option:has(input:checked) {
    background: rgba(67, 208, 255, 0.15);
    color: #43D0FF;
}

.tariff-toggle-option input {
    display: none;
}

.tariff-price-display {
    text-align: center;
    padding: 1rem 0;
}

.tariff-price-display .tariff-amount,
.tariff-price-display .tariff-period-label {
    display: inline;
}

.tariff-price-display .tariff-amount {
    font-size: 1.8rem;
    font-weight: 700;
}

.tariff-period-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 0.3rem;
}

.tariff-amount {
    font-size: 1.8rem;
    font-weight: 700;
}

.tariff-btn {
    display: inline-block;
    width: 100%;
    align-self: stretch;
    padding: 0.8rem 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    color: #0a0a0a;
    background: linear-gradient(135deg, #0663C8, #44D2FF);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
}

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

.tariff-card.tariff-featured .tariff-btn {
    background: linear-gradient(135deg, #0663C8, #44D2FF);
    box-shadow: 0 2px 12px rgba(67, 208, 255, 0.3);
}

/* Block 5: Contact Form */
.block-contact {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
}

.form-hint {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row-required .form-label::after {
    content: ' *';
    color: #e74c3c;
}

.form-label {
    display: block;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
    font-family: inherit;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #43D0FF;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-file {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-file::-webkit-file-upload-button {
    padding: 0.6rem 1rem;
    margin-right: 1rem;
    background: rgba(67, 208, 255, 0.2);
    border: 1px solid #43D0FF;
    border-radius: 6px;
    color: #43D0FF;
    font-family: inherit;
    cursor: pointer;
}

.form-actions {
    margin-top: 2rem;
}

.btn-submit {
    padding: 1.2rem 2.4rem;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: inherit;
    color: #0a0a0a;
    background: linear-gradient(135deg, #0663C8, #44D2FF);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
}

.btn-submit:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    font-size: 1.3rem;
}

.form-message--success {
    color: #2ecc71;
}

.form-message--error {
    color: #e74c3c;
}

.form-errors {
    margin-bottom: 1.5rem;
}

.form-error,
.form-field-error {
    color: #e74c3c;
    font-size: 1.3rem;
    margin-top: 0.3rem;
}

.login-back,
.cabinet-back {
    margin-top: 2rem;
    text-align: center;
}

.login-back a,
.cabinet-back a {
    color: #43D0FF;
    text-decoration: none;
}

.login-back a:hover,
.cabinet-back a:hover {
    text-decoration: underline;
}

.cabinet-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    line-height: 1.8;
}

.cabinet-info p {
    margin-bottom: 0.5rem;
}

.cabinet-admin-link {
    margin-top: 1.5rem;
}

.cabinet-admin-link a {
    color: #43D0FF;
    text-decoration: none;
}

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

/* Footer */
.landing-footer {
    margin-top: auto;
    padding: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-contacts {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-contacts a {
    color: #43D0FF;
    text-decoration: none;
}

.footer-contacts a:hover {
    text-decoration: underline;
}

.footer-legal {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-links a:hover {
    color: #43D0FF;
}

.footer-dev {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Landing responsive */
@media screen and (max-width: 768px) {
    .landing-header {
        padding: 1.5rem 2rem;
    }

    .landing-main {
        padding: 3rem 2rem 4rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .block-hero {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .hero-title-row {
        gap: 1.5rem;
    }

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

    .hero-orb-1 { width: 200px; height: 200px; }
    .hero-orb-2 { width: 140px; height: 140px; }
    .hero-orb-3 { width: 180px; height: 180px; }

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

    .block-contact {
        padding: 0 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 550px) {
    .header-logo {
        height: 2.4rem;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .block-hero {
        min-height: auto;
        padding: 1.5rem 1rem;
    }

    .hero-title-row {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-network {
        width: 100px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

