/*=========================================================
  STRIKE RC STORE
  Military & Tactical Landing Page CSS
=========================================================*/

/*==========================
ROOT & COLOR PALETTE
==========================*/
:root {
    --bg: #050709;
    --bg2: #090c0f;
    --bg3: #0e1217;
    --card: #0c1014;
    --border: #1a232c;
    --text: #ffffff;
    --text-light: #a4b3c1;
    --gold: #caa043;
    --green: #4caf50;
    --red: #f44336;
    --radius: 12px;
    --transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 50px rgba(0,0,0,.6);
    --container: 1200px;
}

/*==========================
RESET & BASE STYLES
==========================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

section {
    position: relative;
    padding: 100px 0;
}

.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}

/*==========================
BACKGROUND EFFECTS
==========================*/
.background-gradient {
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(202, 160, 67, 0.05), transparent 50%),
        radial-gradient(circle at 15% 70%, rgba(76, 175, 80, 0.03), transparent 50%),
        linear-gradient(180deg, rgba(5, 7, 9, 0.4) 0%, rgba(9, 12, 15, 0.7) 100%),
        url('../img/PH1.png');
    z-index: -20;
}

.background-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.01) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: .8;
    z-index: -19;
}

.background-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .02;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 3px 3px;
    z-index: -18;
}

.scanline {
    position: fixed;
    left: 0;
    top: -2px;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,.03);
    z-index: 9999;
    pointer-events: none;
}

/*==========================
HEADER & NAVIGATION
==========================*/
header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(5, 7, 9, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,.03);
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase; /* Усі літери великі */
}

.logo span {
    font-size: 11px;
    font-weight: 700;
    color:#4556ad;
    border: 1px solid rgba(202, 160, 67, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a {
    position: relative;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
    transition: var(--transition);
}

nav a:hover {
    color: #fff;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background:#4556ad;
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 15px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 600;
}

.lang-switcher a {
    text-decoration: none;
    color: #888;
    transition: color 0.3s ease;
}

.lang-switcher a:hover {
    color: #fff;
}

.lang-switcher span.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--green);
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green);
}

/*==========================
COMMON SECTION HEADER
==========================*/
.section-header {
    margin-bottom: 50px;
    max-width: 700px;
}

.section-header span {
    display: inline-flex;
    padding: 4px 12px;
    border: 1px solid rgba(202,160,67,.2);
    color:#4556ad;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-radius: 4px;
    background: rgba(202, 160, 67, 0.02);
}

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/*==========================
HERO SECTION
==========================*/
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-label {
    font-size: 11px;
    letter-spacing: 2px;
    color:#4556ad;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-left h1 {
    font-size: 64px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left h2 {
    font-size: 20px;
    line-height: 1.3;
    color: #4556ad;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-left p {
    max-width: 600px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* HERO STATS */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.card {
    background: linear-gradient(180deg, var(--bg2), var(--bg));
    border: 1px solid rgba(255,255,255,.03);
    border-radius: 8px;
    padding: 16px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(202,160,67,.3);
}

.card span {
    display: block;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 6px;
}

.card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 52px;
    background: linear-gradient(135deg, #384a9c, #1e2886);
    color: #050709;
    font-weight: 750;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 0px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(202,160,67,.25);
}

.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 52px;
    border: 1px solid rgba(255,255,255, 0.1);
    background: rgba(255,255,255,0.02);
    border-radius: 0px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color:#4556ad;
    background: rgba(202,160,67, 0.05);
    transform: translateY(-2px);
}

/*==========================
HERO RIGHT (IMAGE WRAPPER)
==========================*/
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(202,160,67,.08), transparent 75%);
    z-index: -1;
}

.hero-drone-clean {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.7));
    transition: transform 0.4s ease;
}

.hero-drone-clean:hover {
    transform: scale(1.02);
}

/*==========================
MISSION & PURPOSE GRID
==========================*/
.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mission-card {
    padding: 30px;
    background: var(--bg2);
    border: 1px solid rgba(255,255,255,.03);
    border-radius: 10px;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-4px);
    border-color: rgba(202,160,67, 0.2);
    box-shadow: var(--shadow);
}

.mission-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    border-left: 3px solid#4556ad;
    padding-left: 12px;
}

.mission-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

/*==========================
FEATURES (ADVANTAGES)
==========================*/
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: linear-gradient(180deg, var(--bg3), var(--bg2));
    border: 1px solid rgba(255,255,255,.03);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color:#4556ad;
}

.feature-number {
    font-size: 32px;
    font-weight: 900;
    color: rgba(202,160,67,.12);
    margin-bottom: 8px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/*==========================
CONFIGURATIONS
==========================*/
.config-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.config-card {
    background: var(--bg2);
    border: 1px solid rgba(255,255,255,.03);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
}

.config-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
}

.config-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.config-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.config-card strong {
    color:#4556ad;
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/*==========================
DRONE GALLERY & PRODUCTS (NEW)
==========================*/
.drone-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #000000;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* Назва зверху зліва поверх фото */
.drone-title-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Ціна знизу справа поверх фото */
.drone-price-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color:#4556ad;
    font-size: 18px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(202, 160, 67, 0.3);
    z-index: 2;
}

.gallery-item:hover {
    border-color: rgba(202, 160, 67, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* Стилі для карток товарів без посилань з ТТХ */
.product-card {
    background: #0c1014;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-image-box {
    position: relative;
    width: 100%;
    height: 240px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-specs-box {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.01);
    flex-grow: 1;
}

.product-specs-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color:#4556ad;
    font-weight: 700;
    margin-bottom: 4px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    gap: 4px;
}

.spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-item span {
    color: var(--text-light);
    flex-shrink: 0;
    font-size: 12px;
}

.spec-item strong {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
    white-space: nowrap; /* Забороняє перенесення тексту ТТХ */
    font-size: 10.8px;   /* Компактний шрифт, щоб слово "Оптоволокно" повністю влізло */
    letter-spacing: -0.2px; /* Мікро-ущільнення літер */
}

/*==========================
SPECIFICATIONS (TABLE)
==========================*/
.spec-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 16px 24px;
    border: 1px solid rgba(255,255,255,.03);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,.01), transparent);
    transition: var(--transition);
}

.spec-row:hover {
    border-color: rgba(202,160,67, 0.4);
    transform: translateX(4px);
    background: rgba(202,160,67, 0.01);
}

.spec-row span {
    font-size: 14px;
    color: var(--text-light);
}

.spec-row strong {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
}

/*==========================
CONTACT BOX
==========================*/
.contact-box {
    text-align: center;
    padding: 60px 30px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.03);
    background: linear-gradient(180deg, var(--bg2), transparent);
}

.contact-box h2 {
    font-size: 36px;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.contact-box p {
    max-width: 580px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
    font-size: 15px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/*==========================
FOOTER
==========================*/
footer {
    border-top: 1px solid rgba(255,255,255,.03);
    padding: 30px 0;
    background: #030406;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-grid h3 {
    font-size: 18px;
    margin-bottom: 4px;
    text-transform: uppercase; /* Забезпечує великі літери у футері */
    letter-spacing: 1px;
}

.footer-grid p {
    color: var(--text-light);
    font-size: 12px;
}

/*==========================
SCROLLBAR
==========================*/
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #050709;
}

::-webkit-scrollbar-thumb {
    background:#4556ad;
    border-radius: 4px;
}

/*==========================
RESPONSIVE
==========================*/
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .hero-left {
        order: 2;
    }
    .hero-right {
        order: 1;
    }
    .hero-buttons {
        justify-content: center;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .mission-grid, .feature-grid, .config-grid {
        grid-template-columns: 1fr;
    }
    nav {
        display: none;
    }
    .section-header h2 {
        font-size: 30px;
    }
    .drone-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}