@import url('../../vendor/fonts/inter.css');

:root {
    --ru-black: #0A0A0B;
    --ru-white: #E2E8F0;
    --ru-accent: #00D1FF;
    
    --on-accent: #000000;
    --ru-border: rgba(255, 255, 255, 0.08);
    --ru-dark-gray: rgba(20, 20, 23, 0.74);
    
    --primary-blue:    #00D1FF; 
    --dark-blue:       #0099CC;
    --primary-yellow:  #ffffff;
    --off-white:       #141417;
    --color-dark:      #E2E8F0;
    --color-green:     #4ADE80;
    --color-accent:    #FF5F56;
    --radius-sm:  6px;
    --radius-md:  8px;
    --radius-lg:  10px;
    --radius-xl:  12px;
    --bg:              #0A0A0B;
    --card-bg:         rgba(20, 20, 23, 0.74);
    --text-primary:    #E2E8F0;
    --text-secondary:  #94A3B8;
    --text-muted:      #64748B;
    --border-light:    rgba(255, 255, 255, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--ru-black);
    color: var(--ru-white);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.grid-bg {
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px),
        radial-gradient(circle at 50% 0%, rgba(0,209,255,0.16), transparent 34rem);
    background-size: 40px 40px, 40px 40px, auto;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--ru-black); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.16); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--ru-accent); }

.container-custom {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.on { opacity: 1; transform: none; }

.brutalist-border {
    background: var(--card-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--ru-border);
    border-radius: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.brutalist-border:hover {
    border-color: var(--ru-accent);
    box-shadow: 0 0 30px rgba(0, 209, 255, 0.16);
    transform: translateY(-2px);
}

.glass {
    background: rgba(20, 20, 23, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-card:hover {
    border-color: var(--ru-accent);
    box-shadow: 0 0 30px rgba(0, 209, 255, 0.15);
    transform: translateY(-2px);
}

.btn-glow {
    background: var(--ru-accent);
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(0, 209, 255, 0.6);
    transform: scale(1.02);
}

.scan-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    z-index: 10;
    background: var(--ru-accent);
    box-shadow: 0 0 18px rgba(0, 209, 255, 0.4);
    opacity: 0.28;
    pointer-events: none;
    animation: scan 3s linear infinite;
}

.hero-mini-svg {
    position: relative;
    z-index: 1;
}

.hero-device-panel {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.16);
}

.stats-number {
    color: rgba(255, 255, 255, 0.3);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 0 10px rgba(0, 209, 255, 0.06);
}

.ru-title { text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.92; }
.ru-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(0, 209, 255, 0.1);
    color: var(--ru-accent);
    border: 1px solid rgba(0, 209, 255, 0.22);
    border-radius: 999px;
    padding: 4px 12px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}
.ru-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--ru-accent);
    box-shadow: 0 0 12px rgba(0, 209, 255, 0.75);
}

.scanline {
    display: none;
}
@keyframes scan { from { top: 0; } to { top: 100%; } }

.btn-ru {
    background: var(--ru-accent); color: var(--on-accent);
    font-weight: 800; text-transform: uppercase; padding: 12px 24px;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid var(--ru-accent); text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(0, 209, 255, 0.34);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-ru:hover { background: #39ddff; color: var(--on-accent); box-shadow: 0 0 28px rgba(0, 209, 255, 0.55); transform: scale(1.02); }

.btn-ru-outline {
    background: transparent;
    color: var(--ru-white);
    border: 1px solid rgba(255,255,255,0.14);
    font-weight: 800; text-transform: uppercase; padding: 10px 22px;
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-ru-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(0,209,255,0.5); color: var(--ru-accent); }

input, select, textarea {
    border-radius: 8px; border: 1px solid var(--ru-border); padding: 12px 16px;
    font-size: 16px; background: rgba(20, 20, 23, 0.72); color: var(--ru-white);
    transition: all 0.2s ease; font-family: 'Inter', sans-serif;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--ru-accent); background: var(--ru-black);
}
#modalContent h1, #modalContent h2, #modalContent h3, #modalContent h4 { color: #fff !important; }

.tm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 9999px;
    background: var(--ru-accent, #00D1FF);
    color: var(--on-accent);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid var(--ru-accent, #00D1FF);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    box-shadow: 0 0 18px rgba(0,209,255,0.35);
    outline: none;
    line-height: 1;
}
.tm-btn-primary:hover {
    background: #39ddff;
    color: var(--on-accent);
    box-shadow: 0 0 28px rgba(0,209,255,0.55);
    transform: translateY(-1px);
}
.tm-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 0 12px rgba(0,209,255,0.35);
}

.tm-nav-link {
    color: #e5e5e5;
    text-decoration: none;
    transition: color 0.2s;
}
.tm-nav-link:hover { color: var(--ru-accent, #00D1FF); }
.tm-nav-link.active { color: var(--ru-accent, #00D1FF) !important; }

.tf-root {
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.9), rgba(0, 0, 0, 0.96));
    border-top: 1px solid rgba(255,255,255,0.08);
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(16px);
}
.tf-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 3rem 2.5rem;
}
.tf-body {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(520px, 1.6fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
    margin-bottom: 4rem;
}
.tf-brand {
    max-width: 360px;
}
.tf-logo {
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.02em;
    color: #e5e5e5;
    text-decoration: none;
    margin-bottom: 1.25rem;
    line-height: 1;
}
.tf-logo span { color: inherit; }
.tf-tagline {
    max-width: 300px;
    font-size: 0.95rem;
    color: rgba(229, 229, 229, 0.62);
    font-weight: 650;
    line-height: 1.8;
    letter-spacing: 0.02em;
}
.tf-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr)) minmax(220px, 1.2fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
}
.tf-col {
    min-width: 0;
}
.tf-col-label {
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ru-accent, #00D1FF);
    margin-bottom: 1.25rem;
}
.tf-col-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.tm-footer-link {
    display: inline-flex;
    width: fit-content;
    font-size: 0.95rem;
    font-weight: 650;
    color: rgba(229, 229, 229, 0.62);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    letter-spacing: 0.02em;
}
.tm-footer-link:hover {
    color: #e5e5e5;
    transform: translateX(2px);
}
.tf-contact {
    padding-left: clamp(1.25rem, 3vw, 2.5rem);
    border-left: 1px solid rgba(255,255,255,0.08);
}
.tf-contact-text {
    max-width: 240px;
    margin-bottom: 1rem;
    color: rgba(229, 229, 229, 0.54);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.7;
}
.tf-contact-email {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(229, 229, 229, 0.78);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    word-break: break-all;
    letter-spacing: 0.01em;
}
.tf-contact-email:hover {
    color: var(--ru-accent, #00D1FF);
    transform: translateX(2px);
}
.tf-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.75rem;
    padding-bottom: 0.25rem;
}
.tf-copy,
.tf-region {
    font-size: 0.8rem;
    color: rgba(229, 229, 229, 0.42);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

@media (max-width: 1040px) {
    .tf-inner {
        padding: 4rem 1.5rem 2rem;
    }
    .tf-body {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }
    .tf-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 2rem;
    }
    .tf-contact {
        grid-column: 1 / -1;
        padding-left: 0;
        padding-top: 2rem;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .tf-contact-text {
        max-width: 420px;
    }
}

@media (max-width: 560px) {
    .tf-inner {
        padding: 3.5rem 1.25rem 1.75rem;
    }
    .tf-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .tf-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }
    .tf-copy,
    .tf-region {
        font-size: 0.72rem;
        line-height: 1.7;
    }
}

.acrylic,
.glass-panel,
[class*="bg-[#111]"],
[class*="bg-[#151515]"],
[class*="bg-[#1a1a1a]"],
[class*="bg-[#0a0a0a]"],
[class*="via-[#0a0a0a]"],
[class*="to-[#0a0a0a]"] {
    background: rgba(20, 20, 23, 0.72) !important;
    backdrop-filter: blur(14px);
}

[class*="border-[#333]"],
[class*="border-[#222]"],
[class*="border-cyan-400"],
[class*="border-cyan-500"] {
    border-color: rgba(255,255,255,0.08) !important;
}

[class*="border-cyan-400"]:hover,
[class*="hover:border-cyan-400"]:hover,
.acrylic:hover {
    border-color: rgba(0,209,255,0.72) !important;
    box-shadow: 0 0 30px rgba(0, 209, 255, 0.15);
}

[class*="rounded-[2.5rem]"],
[class*="rounded-[28px]"],
.rounded-2xl {
    border-radius: 12px !important;
}

.text-cyan-400,
.text-\[\#C1FF72\],
.text-\[\#00D1FF\] {
    color: var(--ru-accent) !important;
}

.bg-cyan-500,
.bg-\[\#C1FF72\],
.bg-\[\#00D1FF\] {
    background-color: var(--ru-accent) !important;
    color: var(--on-accent) !important;
}

.btn-primary,
.inst-btn-primary {
    background: var(--ru-accent) !important;
    color: var(--on-accent) !important;
    border: 1px solid var(--ru-accent) !important;
    border-radius: 8px !important;
    box-shadow: 0 0 18px rgba(0,209,255,0.34) !important;
}

.btn-primary:hover,
.inst-btn-primary:hover {
    background: #39ddff !important;
    color: var(--on-accent) !important;
    box-shadow: 0 0 28px rgba(0,209,255,0.55) !important;
}
