/* ===== CSS Variables ===== */
:root {
    --bg: #0F1115;
    --bg-2: #0B1220;
    --card: #121722;
    --field: #162132;
    --text: #EAF3FF;
    --muted: #9DB0C9;
    --accent: #3BA7FF;
    --accent-hover: #2B8AEF;
    --accent-strong: #5BC5FF;
    --accent-soft: rgba(59, 167, 255, 0.18);
    --cyan: #4CC9F0;
    --green: #4ade80;
    --danger: #EF4444;
    --gold: #F7C77D;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 8px 28px rgba(14, 30, 64, .45);
    --transition: all 0.3s ease;
}

/* ===== Base Styles ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: radial-gradient(circle at top left, #101626, #0B0F18 70%);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 6%;
    background: rgba(11, 17, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.header-nav a:hover {
    color: var(--text);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

.btn-login {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.btn-login::after {
    display: none;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 167, 255, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===== Container ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #2563eb, transparent);
    top: -200px;
    left: -200px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #4CC9F0, transparent);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

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

.hero-content--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-eyebrow {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--cyan);
    margin-bottom: 18px;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-meta-card {
    padding: 18px 28px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 23, 34, 0.65);
    min-width: 160px;
    text-align: left;
    box-shadow: 0 15px 40px rgba(5, 7, 10, 0.35);
}

.hero-meta-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.hero-meta-label {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

/* ===== Buttons ===== */
.btn {
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 167, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(59, 167, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    position: relative;
    z-index: 10;
}

.btn-outline:hover,
.btn-outline:active {
    background: var(--accent);
    color: #fff;
}

/* Убираем все псевдоэлементы которые могут блокировать клики */
.btn-outline::before,
.btn-outline::after {
    display: none !important;
}

/* Специальные стили для ссылок документов */
.document-link {
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(59, 167, 255, 0.5);
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    z-index: 1000;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-head .section-title {
    margin-bottom: 12px;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.8rem;
    color: var(--cyan);
    margin-bottom: 12px;
}

.section-description {
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

.section-focus {
    padding-top: 80px;
}

.section-info {
    padding-top: 80px;
}

.focus-card {
    background: linear-gradient(135deg, rgba(18, 23, 34, 0.95), rgba(12, 16, 28, 0.95));
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(15, 21, 33, 0.55);
    max-width: 900px;
    margin: 0 auto;
}

.focus-card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.focus-card p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.focus-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 18px;
}

.focus-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text);
    font-weight: 500;
}

.focus-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    box-shadow: 0 0 10px rgba(59, 167, 255, 0.5);
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.about-card {
    background: linear-gradient(135deg, rgba(18, 23, 34, 0.9), rgba(18, 23, 34, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 167, 255, 0.3);
    box-shadow: 0 12px 32px rgba(59, 167, 255, 0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: rgba(18, 23, 34, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 16px 45px rgba(8, 10, 18, 0.65);
    color: var(--text);
}

.info-card h3 {
    margin-bottom: 12px;
}

.info-card p {
    margin-bottom: 10px;
    color: var(--muted);
}

.info-card--primary {
    grid-column: span 2;
}

.info-card--notice {
    background: linear-gradient(135deg, rgba(59, 167, 255, 0.08), rgba(59, 167, 255, 0.02));
    border-color: rgba(59, 167, 255, 0.4);
}

.info-card--accent {
    background: linear-gradient(135deg, rgba(18, 23, 34, 0.95), rgba(27, 41, 66, 0.9));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(3, 5, 11, 0.65);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.info-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--muted);
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.dual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.link-clean {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 167, 255, 0.4);
}

.link-clean:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.about-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* ===== Disclaimer Section ===== */
.section-disclaimer {
    background: linear-gradient(135deg, rgba(59, 167, 255, 0.05), rgba(76, 201, 240, 0.05));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.disclaimer-box {
    background: rgba(18, 23, 34, 0.6);
    border: 1px solid rgba(59, 167, 255, 0.2);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.disclaimer-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.disclaimer-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--cyan);
}

.disclaimer-content p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.disclaimer-small {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ===== Steps Section ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.step-card {
    background: linear-gradient(135deg, rgba(18, 23, 34, 0.9), rgba(18, 23, 34, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 167, 255, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 24px;
}

.step-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.step-card p {
    color: var(--muted);
}

/* ===== Devices Section ===== */
.section-devices {
    background: linear-gradient(180deg, transparent, rgba(11, 18, 32, 0.5));
}

.devices-loading {
    text-align: center;
    padding: 80px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 60px;
}

.device-card {
    background: linear-gradient(135deg, rgba(18, 23, 34, 0.95), rgba(18, 23, 34, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.device-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.device-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 167, 255, 0.3);
    box-shadow: 0 16px 40px rgba(59, 167, 255, 0.2);
}

.device-card:hover::before {
    opacity: 1;
}

.device-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.device-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.device-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-online {
    background: rgba(74, 222, 128, 0.15);
    color: var(--green);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-offline {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-busy {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.device-price {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.device-price strong {
    color: var(--green);
    font-size: 1.3rem;
}

.device-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.device-link {
    width: 100%;
    text-align: center;
}

.devices-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
}

.section-products {
    padding-top: 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.products-grid.single {
    grid-template-columns: minmax(280px, 520px);
    justify-content: center;
    margin-top: 30px;
}

.product-card {
    background: linear-gradient(135deg, rgba(12, 18, 32, 0.95), rgba(13, 21, 36, 0.92));
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    box-shadow: 0 20px 60px rgba(4, 9, 18, 0.65);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-price {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--green);
}

.product-actions {
    margin-top: auto;
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 60px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(18, 23, 34, 0.9), rgba(18, 23, 34, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 167, 255, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* ===== Contacts Section ===== */
.section-contacts {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.contact-panel,
.document-panel {
    background: linear-gradient(135deg, rgba(18, 23, 34, 0.95), rgba(12, 18, 32, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 30px 70px rgba(4, 7, 14, 0.55);
}

.contact-lead {
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px 24px;
    margin: 0;
}

.contact-list div {
    display: flex;
    flex-direction: column;
}

.contact-list dt {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.contact-list dd {
    margin: 4px 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}

.contact-panel a {
    color: var(--accent);
    text-decoration: none;
}

.contact-panel a:hover {
    color: #fff;
}

.contact-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
}

.contact-note {
    color: var(--muted);
    font-size: 0.9rem;
}

.document-panel h3 {
    margin: 0 0 8px;
}

.document-panel p {
    color: var(--muted);
    margin-bottom: 20px;
}

.document-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.doc-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 26, 46, 0.65);
    text-decoration: none;
    transition: var(--transition);
}

.doc-link:hover {
    border-color: rgba(59, 167, 255, 0.6);
    background: rgba(18, 26, 46, 0.85);
}

.doc-link__label {
    font-weight: 600;
    color: var(--text);
}

.doc-link__desc {
    font-size: 0.9rem;
    color: var(--muted);
}

.payments {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
}

.payments p {
    margin-bottom: 12px;
    color: var(--muted);
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 34px;
    opacity: 0.9;
}

.contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 12, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2000;
}

.contact-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.contact-modal__dialog {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px;
    width: min(360px, calc(100% - 32px));
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.95rem;
}

.modal-close:hover {
    color: #fff;
}

.payment-systems-title {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.payment-logo {
    height: 40px;
    width: auto;
    opacity: 0.9;
    transition: var(--transition);
    filter: brightness(1.1);
}

.payment-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ===== Footer ===== */
.site-footer {
    padding: 40px 6%;
    background: rgba(11, 18, 32, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

.footer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.footer-sep {
    opacity: 0.4;
}

.footer-link {
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tg-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.4 4.2L2.9 11.5c-.8.3-.8 1.4 0 1.6l4.6 1.4 1.8 5.6c.2.7 1.1.9 1.6.4l2.6-2.5 4.5 3.3c.6.4 1.4.1 1.6-.6l2.7-15.5c.2-.8-.6-1.4-1.5-1.1z' fill='%234CC9F0'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .site-header {
        padding: 16px 5%;
    }

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

    .mobile-menu-overlay {
        display: block;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(11, 17, 25, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 80px 24px 24px;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .header-nav.active {
        right: 0;
    }

    .header-nav a {
        font-size: 1.1rem;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: left;
    }

    .header-nav a::after {
        display: none;
    }

    .btn-login {
        margin-top: 20px;
        text-align: center;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero {
        min-height: 80vh;
        padding-top: 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons,
    .hero-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .section {
        padding: 60px 0;
    }

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

    .about-grid,
    .steps-grid,
    .features-grid,
    .info-grid,
    .dual-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card--primary,
    .info-card--list {
        grid-column: span 1;
    }

    .document-links {
        grid-template-columns: 1fr;
    }

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

    .disclaimer-box {
        flex-direction: column;
        padding: 28px;
    }

    .contact-panel,
    .document-panel {
        padding: 28px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        font-size: 0.85rem;
        gap: 10px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 5%;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

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

    .about-card,
    .step-card,
    .feature-card {
        padding: 24px;
    }

    .device-card {
        padding: 20px;
    }

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

    .doc-link {
        padding: 16px 20px;
    }
}

.section-contracts {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 32px;
}

.section-eyebrow {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .28em;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-description {
    margin-top: 12px;
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.6;
}

.contracts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.contract-card {
    text-decoration: none;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(59, 167, 255, 0.15);
    background: linear-gradient(135deg, rgba(18, 26, 46, 0.9), rgba(12, 19, 33, 0.9));
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contract-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 167, 255, 0.5);
    box-shadow: 0 20px 45px rgba(11, 24, 45, 0.35);
}

.contract-card__label {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 6px;
}

.contract-card__text {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.5;
}

.contract-card__badge {
    min-width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(59, 167, 255, 0.16);
    border: 1px solid rgba(59, 167, 255, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--accent);
}

.contract-card__body {
    flex: 1;
}

@media (max-width: 768px) {
    .contracts-grid {
        grid-template-columns: 1fr;
    }

    .contract-card {
        flex-direction: column;
    }

    .contract-card__badge {
        width: 100%;
    }
}
