/* ============================
   VIPROK — FINAL ACCEPTED
   ============================ */

:root {
    --primary: #00B4FF;
    --primary-dark: #0078D4;
    --primary-deep: #0055A4;
    --accent: #00D4AA;
    --bg-dark: #064691;
    --bg-card: #053A70;
    --bg-card-hover: #0755A8;
    --text: #E8F0FE;
    --text-muted: #fff;
    --text-dim: #4A5A73;
    --text-secondary: #445566;
    --border: rgba(0,180,255,0.15);
    --border-hover: rgba(0,180,255,0.35);
    --gradient: linear-gradient(135deg, #00B4FF 0%, #0078D4 50%, #0055A4 100%);
    --shadow: 0 25px 80px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 60px rgba(0,180,255,0.15);
    --transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Preloader */
.preloader {
    position: fixed; inset: 0;
    background: var(--bg-dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-content { text-align: center; }
.preloader-logo { margin-bottom: 40px; }
.preloader-logo svg { width: 200px; height: 40px; }
.preloader-arrow { transform: scale(0); animation: arrowIn 0.5s ease forwards; }
.arrow-left { animation-delay: 0.2s; }
.arrow-right { animation-delay: 0.35s; }
@keyframes arrowIn {
    to { transform: scale(1); }
}
.preloader-bar {
    width: 180px; height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}
.preloader-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 2px;
    animation: fillBar 1.5s ease forwards;
}
@keyframes fillBar {
    from { width: 0; }
    to { width: 100%; }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.nav.scrolled {
    background: rgba(6,70,145,0.9);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo svg { width: 140px; height: 28px; }
.nav-logo img {
    filter: brightness(0) saturate(100%) invert(19%) sepia(95%) saturate(3000%) hue-rotate(195deg);
    transition: none;
}
.nav.scrolled .nav-logo img {
    filter: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.nav-link {
    color: rgba(3,25,55,0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: #064691;
    transition: var(--transition);
}
.nav-link:hover { color: #064691; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #064691; }
.nav.scrolled .nav-link {
    color: rgba(255,255,255,0.85);
}
.nav.scrolled .nav-link::after {
    background: #fff;
}
.nav.scrolled .nav-link:hover { color: #fff; }
.nav.scrolled .nav-link.active { color: #fff; }
.nav-dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(6,70,145,0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.dropdown-menu li a:hover {
    color: #fff;
    background: rgba(0,180,255,0.1);
}

.nav-phone { text-align: right; }
.phone-link {
    color: #064691;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    display: block;
    transition: var(--transition);
    white-space: nowrap;
}
.phone-link:hover { color: var(--primary); }
.nav.scrolled .phone-link {
    color: var(--text);
}
.nav.scrolled .phone-link:hover { color: var(--primary); }
.phone-time {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: heroZoom 20s ease infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1.2); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(3,25,55,0.75) 0%,
        rgba(3,25,55,0.25) 35%,
        transparent 60%
    );
}
.hero-content {
    text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 4px 30px rgba(0,0,0,0.4);
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}
.hero-tag {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.08);
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.8s forwards;
}
.hero-title {
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}
.title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease forwards;
}
.title-line:nth-child(1) { animation-delay: 2s; }
.title-line:nth-child(2) { animation-delay: 2.15s; }
.title-line.accent {
    color: #0078D4;
    animation-delay: 2.3s;
}
.hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.82);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 600;
    opacity: 0;
    animation: fadeInUp 0.8s ease 2.5s forwards;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 2.7s forwards;
}
.hero-buttons .btn {
    min-width: 280px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 40px rgba(0,180,255,0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0,180,255,0.5);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0,180,255,0.1);
    transform: translateY(-3px);
}
.btn-large { padding: 20px 48px; font-size: 16px; }

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s ease 3s forwards;
}
@keyframes fadeIn {
    to { opacity: 1; }
}
.scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.scroll-wheel {
    width: 3px; height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0; }
}

/* Section Styles */
section { position: relative; z-index: 1; }

.section-header { margin-bottom: 60px; position: relative; z-index: 1; }
.section-header.center { text-align: center; }
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.section-tag.light { color: var(--primary); }
.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #7EC8FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-title.light { 
    color: var(--text);
    -webkit-text-fill-color: transparent;
}
.section-title.light .line-solid {
    color: #03152b;
    -webkit-text-fill-color: #03152b;
}
.section-title.light .line-gradient {
    background: linear-gradient(135deg, #03152b 0%, #0076c5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Для обычного section-title (тёмный фон) */
.section-title .line-white {
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.section-title .line-gradient-white {
    background: linear-gradient(135deg, #fff 0%, #00B4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Products */
.products {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
}
.products::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('media/pattern.svg') repeat;
    background-size: 150px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
}
.products:hover::before {
    opacity: 0.15;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(40px);
    position: relative;
}
.product-card .product-link:after{
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,180,255,0.15) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
    border-radius: 16px;
}
.product-card:hover::after {
    opacity: 1;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.product-img {
    height: 220px;
    overflow: hidden;
}
.product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-img img { transform: scale(1.1); }
.product-badge {
    position: absolute;
    top: 16px; right: 16px;
    padding: 6px 14px;
    background: var(--gradient);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
}
.product-info { padding: 28px;}
.product-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}
.product-info p {
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 16px;
}
.product-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}
.product-link:hover { color: var(--text); }

/* Spheres — СВЕТЛАЯ СЕКЦИЯ */
.spheres {
    padding: 120px 0;
    background: #EEF2F8;
    position: relative;
}
.spheres::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.spheres .section-tag { color: var(--primary); }
.spheres .section-title { color: #1A2332 !important; }
.spheres .section-header.center p { color: #556677; }
.spheres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sphere-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.9);
    box-shadow: 0 8px 30px rgba(6,70,145,0.15);
}
.sphere-card.visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.sphere-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.sphere-img { height: 280px; overflow: hidden; }
.sphere-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.sphere-card:hover .sphere-img img { transform: scale(1.1); }
.sphere-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px 24px;
    background: linear-gradient(transparent, rgba(6,70,145,0.9));
}
.sphere-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}
.sphere-content p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* About — СВЕТЛАЯ СЕКЦИЯ (О компании) */
.about { padding: 120px 0; background: #F0F4FA; }
.about .section-title {
    color: #1A2332 !important;
    -webkit-text-fill-color: transparent;
}
.about .section-title .line-white {
    color: #1A2332;
    -webkit-text-fill-color: #1A2332;
}
.about .section-title .line-gradient-white {
    background: linear-gradient(135deg, #1A2332 0%, #0076c5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about .section-tag {
    color: var(--primary);
}
.about .feature {
    background: #E8F0FE;
    border: 1px solid rgba(0,180,255,0.2);
    color: #1A2332;
}
.about .feature:hover {
    background: #DCE8F8;
    border-color: rgba(0,180,255,0.4);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-visual { position: relative; }
.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.about-img-main img {
    width: 100%;
    display: block;
}
.about-floating-stats {
    position: absolute;
    bottom: -30px; right: -20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.stat-float {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 24px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.stat-float:hover {
    border-color: var(--border-hover);
    transform: translateX(-5px);
}
.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}
.about-floating-stats .stat-label {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.7;
}
.about-content p {
    color: #1A2332;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.7;
}
.about-content strong { color: #1A2332;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}
.feature:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.feature-icon { font-size: 18px; }

/* Advantages — ТЁМНАЯ СЕКЦИЯ (Преимущества) */
.advantages {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
}
.advantages::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('media/pattern.svg') repeat;
    background-size: 150px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
}
.advantages:hover::before {
    opacity: 0.15;
}
.advantages .section-title,
.advantages .section-title.light { color: #fff !important; }
.adv-card {
    background: #053A70;
    border: 1px solid var(--border);
}
.adv-card h3 { color: var(--text); }
.adv-card p { color: var(--text-muted); }
.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.adv-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: perspective(600px) rotateX(15deg);
    position: relative;
    overflow: hidden;
}
.adv-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,180,255,0.15) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
    border-radius: 20px;
}
.adv-card:hover::after {
    opacity: 1;
}
.adv-card.visible {
    opacity: 1;
    transform: perspective(600px) rotateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.adv-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.adv-icon {
    width: 64px; height: 64px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}
.adv-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.adv-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* CTA — паттерн */
.cta {
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.cta h2{
    color: #fff;
    line-height: 1.3;
}

.cta .checkbox span{
    color: #fff;
    text-align: left;
}

.cta .checkbox span a{
    color: #fff;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('media/pattern.svg') repeat;
    background-size: 150px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
}
.cta:hover::before {
    opacity: 0.15;
}

/* Spotlight effect on dark sections */
.products::after,
.advantages::after,
.cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,180,255,0.12), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}
.products:hover::after,
.advantages:hover::after,
.cta:hover::after {
    opacity: 1;
}

.cta-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
}
.cta-content.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.cta h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
}
.cta p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.7;
}

/* CTA Form */
.cta-form {
    max-width: 600px;
    margin: 0 auto 30px;
}
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.form-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: var(--transition);
}
.form-input::placeholder {
    color: rgba(255,255,255,0.5);
}
.form-input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.12);
}
.form-input:required:invalid {
    border-color: rgba(255,80,80,0.4);
}
.form-submit {
    width: 100%;
    margin-top: 8px;
    cursor: pointer;
}
.cta-contact {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .form-row { flex-direction: column; }
    .cta-contact { flex-direction: column; }
}
.cta-contact {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: linear-gradient(135deg, #fff 0%, #00B4FF 100%);
    color: #064691;
    box-shadow: 0 10px 40px rgba(0,180,255,0.3);
}
.cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0,180,255,0.5);
}
.cta .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}
.cta .btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Nav color variants for demo */
.nav-blue .nav-link, .nav-blue .phone-link { color: #064691; }
.nav-blue .nav-link:hover { color: #064691; }
.nav-blue .nav-link::after { background: #064691; }
.nav-blue .nav-logo img { filter: brightness(0) saturate(100%) invert(19%) sepia(95%) saturate(3000%) hue-rotate(195deg); }
.nav-dark-blue .nav-link, .nav-dark-blue .phone-link { color: #03152b; }
.nav-dark-blue .nav-link:hover { color: #03152b; }
.nav-dark-blue .nav-link::after { background: #03152b; }
.nav-dark-blue .nav-logo img { filter: brightness(0) saturate(100%) invert(7%) sepia(50%) saturate(3000%) hue-rotate(180deg); }
.nav-white .nav-link, .nav-white .phone-link { color: rgba(255,255,255,0.85); }
.nav-white .nav-link:hover { color: #fff; }
.nav-white .nav-link::after { background: #fff; }
.nav-white .nav-logo img { filter: none; }

/* Hero switcher demo */
.hero-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(3,21,43,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,180,255,0.2);
    border-radius: 16px;
    padding: 20px;
    width: 260px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    font-family: 'Montserrat', sans-serif;
}
.hero-switcher h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,180,255,0.15);
}
.switcher-group {
    margin-bottom: 16px;
}
.switcher-group:last-child { margin-bottom: 0; }
.switcher-label {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}
.switcher-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.switcher-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0,180,255,0.2);
    background: rgba(0,180,255,0.05);
    color: rgba(255,255,255,0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.switcher-btn:hover {
    border-color: rgba(0,180,255,0.5);
    background: rgba(0,180,255,0.1);
    color: #fff;
}
.switcher-btn.active {
    border-color: var(--primary);
    background: rgba(0,180,255,0.2);
    color: #fff;
}

/* CTA — outline buttons, no gradient */
.cta .btn-primary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: none;
}
.cta .btn-primary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0,180,255,0.3);
}

.footer {
    background: #042A52;
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand svg { width: 140px; margin-bottom: 20px; }
.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--text);
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a,
.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--primary); }
.footer-contact p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    text-align: center;
}
.footer-bottom p {
    color: var(--text-dim);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .spheres-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-floating-stats { position: static; flex-direction: row; margin-top: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-blue .nav-link, .nav-blue .phone-link{
        color: rgba(255, 255, 255, 0.85);
    }
    .nav-menu{
        max-height: calc(100vh - 73px);
        flex-direction: row !important;
        overflow-y: auto;
        padding: 20px !important;
    }
    .nav-menu li{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .dropdown-menu{
        opacity: 1;
        visibility: visible;
        position: static;
        /*display: none;*/
        transform: translateY(0);
        transition: none;
        box-shadow: none !important;
    }
    .container { padding: 0 20px; }
    .nav-container { padding: 0 20px; }
    .nav-menu { display: none; }
    .nav-phone { display: none; }
    .nav-toggle { display: flex; }
    .products-grid { grid-template-columns: 1fr; }
    .spheres-grid { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-features { grid-template-columns: 1fr; }
    .about-floating-stats { flex-direction: column; }
    .hero-buttons { flex-direction: column; }
    .cta-buttons { flex-direction: column; }
}

/* Mobile menu */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(6,70,145,0.98);
    backdrop-filter: blur(20px);
    padding: 30px 40px;
    gap: 20px;
    border-top: 1px solid var(--border);
}
