:root {
    --bg-color: #050505;
    --accent-color: #007AFF;
    --text-main: #ffffff;
    --text-dim: #a1a1a1;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --t-ease: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
}

.bg-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% -10%, #1a1a1a 0%, transparent 80%);
    z-index: -1;
    pointer-events: none;
}

header {
    position: fixed;
    top: 0; width: 100%;
    padding: 1.2rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    transition: var(--t-ease);
}

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

.logo-link img {
    height: 28px;
    width: auto;
    display: block;
}

.armoname {
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--t-ease);
}

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

.lang-switcher {
    display: flex;
    gap: 8px;
    margin-left: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
}

.lang-btn {
    cursor: pointer;
    transition: var(--t-ease);
    opacity: 0.5;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
}

.lang-btn.active {
    opacity: 1;
    color: var(--accent-color);
}

.mobile-nav-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; }
.nav-close { display: none; position: absolute; top: 25px; right: 25px; background: none; border: none; color: #fff; cursor: pointer; }
.flourish-credit { display: none; }

section {
    padding: 50px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero { text-align: center; align-items: center; padding-top: 120px; }

.product-hero-img {
    width: 100%;
    max-width: 550px;
    margin: 3rem 0;
    filter: drop-shadow(0 0 40px rgba(0, 122, 255, 0.25));
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 40%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 300;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 32px;
    transition: var(--t-ease);
}

.feature-card:hover {
    border-color: rgba(0, 122, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.highlight-text {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: -2px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-top: 4rem;
    width: 100%;
}

.adv-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 28px;
    transition: var(--t-ease);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.adv-item:hover {
    border-color: rgba(0, 122, 255, 0.5);
    background: linear-gradient(145deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0.01) 100%);
    transform: translateY(-3px);
}

.adv-icon-box {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.adv-icon-box i {
    width: 28px; height: 28px;
    stroke-width: 1.25px;
}

.adv-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.adv-item p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
    font-weight: 300;
}

.compatibility-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, var(--bg-color) 100%);
}

.helmet-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.helmet-item {
    position: relative;
    width: 100%;
    max-width: 300px;
    transition: transform 0.5s ease;
}

.helmet-item:hover { transform: scale(1.02); }

.helmet-base { width: 100%; opacity: 0.6; }

.products-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, var(--bg-color) 100%);
}

.product-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
}

.product-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--t-ease);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
}

.product-image {
    width: 100%;
    max-width: 170px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
}

.product-card h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    font-weight: 800;
}

.product-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

.stat-bar-container {
    width: 100%; height: 6px;
    background: #111;
    border-radius: 10px;
    margin: 25px 0;
    overflow: hidden;
}

.stat-bar {
    height: 100%; background: var(--accent-color);
    width: 0; transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px var(--accent-color);
}

.btn {
    background: var(--text-main);
    color: #000;
    padding: 1.1rem 3rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--t-ease);
    display: inline-block;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,122,255,0.3);
    background: var(--accent-color);
    color: #fff;
}

.tech-stats-section {
    border-top: 1px solid var(--border);
    background: rgba(255,255,255, 0.01);
}

.stats-img-container img {
    width: 100%;
    border-radius: 24px;
    filter: drop-shadow(0 0 25px rgba(0, 122, 255, 0.15));
}

/* Inline content links (e.g. ТексХол / TexHol) */
.content-link {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 122, 255, 0.5);
    transition: var(--t-ease);
}

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

/* --- MODAL FORM --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.modal-content {
    background: #0a0a0a;
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    border-radius: 32px;
    width: 100%;
    max-width: 500px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 122, 255, 0.15);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px; right: 15px;
    background: none; border: none;
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--t-ease);
    z-index: 10;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; text-align: left; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label { font-size: 0.7rem; text-transform: uppercase; color: var(--accent-color); letter-spacing: 1px; }

.contact-form input, .contact-form textarea {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 0.9rem;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    transition: var(--t-ease);
    width: 100%;
}

/* --- FOOTER & DISCLAIMER --- */
footer {
    padding: 80px 10% 40px;
    background: #000;
    border-top: 1px solid var(--border);
}

.disclaimer-container {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.disclaimer-text {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.7;
    font-weight: 300;
    text-align: justify;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #444;
}

/* --- MOBILE --- */
@media (max-width: 992px) {
    header {
        padding: 1rem 5%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo-link img { display: none; }

    .mobile-nav-toggle {
        display: block;
        position: relative;
        z-index: 101;
        margin-right: auto;
    }

    .logo-link {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        gap: 0;
    }

    .lang-switcher {
        margin-left: auto;
        position: relative;
        z-index: 101;
    }

    .armoname { font-size: 1rem; }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: var(--t-ease);
        z-index: 200;
    }

    nav.active { right: 0; }
    nav a { margin: 1.2rem 0; font-size: 1.1rem; }
    .nav-close { display: block; }

    section { padding: 40px 6%; }
    .hero { padding-top: 100px; }
    .grid-container { grid-template-columns: 1fr; gap: 3rem; }
    .product-comparison { grid-template-columns: 1fr; gap: 2rem; }
    .highlight-text { font-size: 3.2rem; }
    .disclaimer-text { font-size: 1rem; text-align: left; }
}
