/* ═══════════════════════════════════════════════════════════
   Dynametra — Military / VS Code Dark
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #1a1a1a;
    color: #d4d4d4;
    line-height: 1.6;
}

/* ─── Navigation ────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #2a2a2a;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: #d4d4d4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-logo span {
    color: #d4d4d4;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #d4d4d4;
}

/* ─── Main Content ──────────────────────────────────────── */
main {
    padding-top: 88px;
}

section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    align-items: center;
    padding: 0 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-image {
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 500px;
    overflow: hidden;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.hero-image img:last-child {
    margin-top: -1px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    color: #d4d4d4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
}

.hero-text h1 .accent {
    color: #8a9a7e;
}

.hero-text p {
    font-size: 1rem;
    color: #888;
    max-width: 480px;
    margin: 0 0 0.75rem 0;
    line-height: 1.6;
    text-align: left;
}

.hero-text .hero-actions {
    justify-content: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #333;
    padding: 0.3rem 0.9rem;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #d4d4d4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero h1 .accent {
    color: #8a9a7e;
}

.hero p {
    font-size: 1rem;
    color: #888;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.15s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #333;
    color: #d4d4d4;
    border: 1px solid #444;
}

.btn-primary:hover {
    background: #3a3a3a;
    border-color: #555;
}

.btn-secondary {
    background: transparent;
    color: #888;
    border: 1px solid #333;
}

.btn-secondary:hover {
    color: #d4d4d4;
    border-color: #555;
}

/* ─── Section Headers ───────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #d4d4d4;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-header p {
    color: #888;
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ─── Cards ─────────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.card {
    background: #222;
    border: 1px solid #2a2a2a;
    padding: 1.75rem;
    transition: border-color 0.15s;
}

.card:hover {
    border-color: #444;
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #d4d4d4;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card p {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ─── Parallax Use Cases ─────────────────────────────────── */
.parallax-section {
    padding: 0;
    max-width: none;
    overflow: hidden;
}

.parallax-header {
    text-align: center;
    padding: 1.5rem 1.5rem 0.5rem;
}

.parallax-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #d4d4d4;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.parallax-header p {
    color: #888;
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
}

.parallax-overlay {
    padding: 1.5rem 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.08);
    border-left: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.parallax-overlay-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.2;
}

.parallax-overlay-sub {
    font-size: 0.85rem;
    font-weight: 400;
    color: #b0b0b0;
    margin-top: 0.5rem;
    text-transform: none;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.parallax-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.parallax-panel {
    position: relative;
    height: 1054px;
    display: flex;
    overflow: hidden;
}

.parallax-side {
    flex: 1;
}

.parallax-side-left {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem;
    background: #1a1a1a;
}

.parallax-side-right {
    flex: 2;
    background-size: cover;
    background-position: center 92%;
    background-repeat: no-repeat;
}

/* ─── Reveal Animations (scroll-triggered) ──────────────── */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal .parallax-side-right {
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal:not(.revealed) .parallax-side-right {
    opacity: 0.2;
    transform: scale(0.92);
}

.reveal.revealed .parallax-side-right {
    opacity: 1;
    transform: scale(1);
}

/* ─── Product Page ──────────────────────────────────────── */
.product-hero {
    text-align: center;
    padding: 1.5rem 1.5rem 2rem;
}

.product-hero .product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #333;
    padding: 0.3rem 0.9rem;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.product-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4d4d4;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-hero .subtitle {
    font-size: 1rem;
    color: #888;
    margin-bottom: 2rem;
}

/* ─── Product Showcase ──────────────────────────────────── */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-visual {
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    min-height: 200px;
    overflow: hidden;
}

.product-visual img {
    display: block;
    width: 350px;
    height: 200px;
    object-fit: contain;
}

.product-details h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4d4d4;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-details > p {
    color: #888;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #b0b0b0;
    font-size: 0.85rem;
}

.feature-list li .feat-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-top: 2px;
}

/* ─── Specs Table ───────────────────────────────────────── */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.spec-item {
    background: #222;
    border: 1px solid #2a2a2a;
    padding: 1.25rem;
    text-align: center;
}

.spec-item .spec-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #b0b0b0;
    margin-bottom: 0.25rem;
}

.spec-item .spec-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ─── About Page ────────────────────────────────────────── */
.about-content {
    max-width: 680px;
    margin: 0 auto;
}

.about-content p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.value-card {
    background: #222;
    border: 1px solid #2a2a2a;
    padding: 1.5rem;
    text-align: center;
}

.value-card .value-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #d4d4d4;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.value-card p {
    color: #888;
    font-size: 0.85rem;
}

/* ─── Contact Page ──────────────────────────────────────── */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 850px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4d4d4;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info > p {
    color: #888;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #b0b0b0;
    font-size: 0.85rem;
}

.contact-method .cm-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.6;
}

.contact-form {
    background: #222;
    border: 1px solid #2a2a2a;
    padding: 1.75rem;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b0b0b0;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #d4d4d4;
    font-size: 0.85rem;
    font-family: inherit;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #555;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
    border-top: 1px solid #222;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.25rem;
    list-style: none;
}

footer .footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s;
}

footer .footer-links a:hover {
    color: #b0b0b0;
}

footer p {
    color: #555;
    font-size: 0.7rem;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-inner {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        padding: 0.5rem 1rem;
        gap: 0.25rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-img {
        height: 60px;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.25rem 1.25rem;
    }

    .hero-image {
        min-height: 300px;
    }

    .hero-image img {
        max-height: 300px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .product-showcase {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 1.25rem;
    }

    .hero {
        padding: 5rem 1.25rem 3.5rem;
    }

    .parallax-panel {
        height: 700px;
        flex-direction: column;
    }

    .parallax-side-right {
        flex: 1;
    }

    .parallax-side-left {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 0.7rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.55rem 1.1rem;
        font-size: 0.75rem;
    }
}

/* ─── Turnstile Captcha Overlay ─────────────────────────── */
#captcha-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(26, 26, 26, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#captcha-box {
    background: #222;
    border: 1px solid #333;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

#captcha-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #d4d4d4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

#captcha-desc {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

#captcha-widget {
    display: flex;
    justify-content: center;
}