:root {
    --primary-dark: #0c2d06;
    --primary-dark-hover: #14420b;
    --accent-mint: #b9f4ae;
    --accent-mint-hover: #a3e896;
    --signal-red: #d92626;
    --bg-light: #f6f8f6;
    --bg-white: #ffffff;
    --text-dark: #111811;
    --text-muted: #4a554a;
    --border-light: #e0e6e0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

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

/* Header & Navigation */
header {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(185, 244, 174, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--bg-white);
    flex-shrink: 0;
}

.logo-group img,
.brand-logo {
    height: 44px;
    width: auto;
    max-width: 65px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    color: var(--bg-white);
    line-height: 1.1;
}

.brand-divider {
    height: 1px;
    width: 100%;
    margin: 4px 0 3px 0;
    background: linear-gradient(90deg, rgba(217, 38, 38, 0) 0%, rgba(217, 38, 38, 0.8) 20%, rgba(217, 38, 38, 0.8) 80%, rgba(217, 38, 38, 0) 100%);
}

.brand-sub {
    font-size: 0.72rem;
    color: var(--accent-mint);
    letter-spacing: 0.06em;
    line-height: 1.1;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    align-items: center;
}

nav a {
    color: #e2ece2;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

nav a:hover {
    color: var(--accent-mint);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.lang-switch {
    background: transparent;
    border: 1px solid rgba(185, 244, 174, 0.4);
    color: var(--accent-mint);
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.lang-switch:hover {
    background: rgba(185, 244, 174, 0.1);
}

.btn-primary {
    background-color: var(--accent-mint);
    color: var(--primary-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background-color 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: var(--accent-mint-hover);
}

.btn-outline {
    border: 1px solid var(--accent-mint);
    color: var(--accent-mint);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.2s;
    display: inline-block;
    white-space: nowrap;
}

.btn-outline:hover {
    background-color: rgba(185, 244, 174, 0.1);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-dark);
    color: var(--accent-mint);
    padding: 0.65rem 1.1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 1.25rem;
    transition: background-color 0.2s;
}

.btn-download:hover {
    background-color: var(--primary-dark-hover);
}

/* Hero Section */
.hero {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 5rem 2rem 4.5rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.eyebrow {
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero .eyebrow {
    color: var(--accent-mint);
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: var(--signal-red);
}

.hero h1 {
    font-size: 2.6rem;
    line-height: 1.18;
    font-weight: 700;
    margin-bottom: 1.35rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.1rem;
    color: #d0ddd0;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-media {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(185, 244, 174, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.hero-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* Trust Bar */
.trust-bar {
    background-color: #081f04;
    border-top: 1px solid rgba(185, 244, 174, 0.1);
    padding: 1.5rem 2rem;
    color: #c5d4c5;
}

.trust-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    font-size: 0.9rem;
}

.trust-item strong {
    color: var(--bg-white);
    display: block;
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

/* General Sections */
section {
    padding: 4.5rem 2rem;
}

.section-light {
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    max-width: 760px;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Value Proposition / Comparison */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 2rem;
}

.value-card.highlight {
    background: var(--primary-dark);
    color: var(--bg-white);
    border-color: var(--primary-dark);
    box-shadow: 0 12px 30px rgba(12, 45, 6, 0.12);
}

.value-card h3 {
    font-size: 1.18rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.value-card.highlight h3 {
    color: var(--accent-mint);
}

.value-card ul {
    list-style: none;
    font-size: 0.95rem;
}

.value-card li {
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
    position: relative;
}

.value-card li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.value-card.highlight li::before {
    content: "✓";
    color: var(--accent-mint);
    font-weight: bold;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-card {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 2rem;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.product-media {
    width: 100%;
    height: 195px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-light);
    background-color: var(--bg-light);
}

.product-img {
    width: 100%;
    height: 195px;
    object-fit: cover;
}

.product-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.85rem;
    border-left: 3px solid var(--signal-red);
    align-self: flex-start;
}

.product-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.65rem;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.96rem;
    margin-bottom: 1.25rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tech-tags span {
    font-size: 0.8rem;
    background: #eef3ee;
    color: var(--primary-dark);
    padding: 0.25rem 0.55rem;
    border-radius: 3px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Spec Table */
.spec-table-wrap {
    overflow-x: auto;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

.spec-table th {
    background-color: var(--primary-dark);
    color: var(--accent-mint);
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.spec-table td {
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.spec-table tr:last-child td {
    border-bottom: none;
}

.spec-table tr:nth-child(even) {
    background-color: #fafcfa;
}

/* Applications */
.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.app-card {
    background: var(--bg-white);
    padding: 1.65rem;
    border-radius: 6px;
    border-top: 3px solid var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.app-card h3 {
    font-size: 1.08rem;
    color: var(--primary-dark);
    margin-bottom: 0.55rem;
}

.app-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Engineering & About */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.about-media {
    max-width: 480px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(12, 45, 6, 0.08);
    margin-bottom: 1.5rem;
}

.about-img {
    width: 100%;
    height: 310px;
    max-height: 320px;
    object-fit: cover;
    object-position: center top;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 480px;
}

.stat-box {
    background: var(--primary-dark);
    color: var(--bg-white);
    padding: 1.25rem;
    border-radius: 6px;
}

.stat-box .num {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--accent-mint);
    display: block;
    margin-bottom: 0.2rem;
}

.stat-box .label {
    font-size: 0.85rem;
    color: #d0ddd0;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.35rem;
    color: var(--signal-red);
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin-top: 0.85rem;
    color: var(--text-muted);
    font-size: 0.96rem;
    border-top: 1px solid var(--border-light);
    padding-top: 0.85rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-dark);
    color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
}

.contact-info h2 {
    color: var(--bg-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #d0ddd0;
    margin-bottom: 2rem;
}

.contact-details {
    list-style: none;
    font-size: 0.96rem;
}

.contact-details li {
    margin-bottom: 0.85rem;
    color: #e2ece2;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 0.75rem;
    align-items: baseline;
}

.contact-details strong {
    color: var(--accent-mint);
}

.contact-details a {
    color: var(--bg-white);
    text-decoration: underline;
    text-decoration-color: rgba(185, 244, 174, 0.5);
    text-underline-offset: 3px;
}

.contact-details a:hover {
    color: var(--accent-mint);
}

.contact-form {
    background: var(--bg-white);
    padding: 2.25rem;
    border-radius: 6px;
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #cbd5cb;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: #061703;
    color: #9eb09e;
    padding: 2.5rem 2rem;
    font-size: 0.88rem;
    border-top: 1px solid rgba(185, 244, 174, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #c5d4c5;
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-links a:hover {
    color: var(--accent-mint);
}

/* Responsive */
@media (max-width: 960px) {
    .hero-container, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .value-grid, .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    nav ul {
        display: none;
    }
}

@media (max-width: 600px) {
    .app-grid, .trust-grid, .form-row {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .contact-details li {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }
}
