:root {
    --bg-dark: #0C1222;
    --bg-card: #121C34;
    --bg-card-hover: #1A2848;
    --accent-green: #78D68B;
    --accent-green-hover: #92E8A3;
    --accent-gold: #E8C874;
    --text-main: #F6FAFF;
    --text-muted: rgba(246, 250, 255, 0.78);
    --text-dim: rgba(246, 250, 255, 0.58);
    --border-color: rgba(150, 185, 255, 0.18);
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: radial-gradient(1200px 700px at 80% -10%, rgba(120, 214, 139, 0.08), transparent 60%),
                radial-gradient(900px 600px at 0% 35%, rgba(111, 145, 255, 0.12), transparent 55%),
                var(--bg-dark);
    color: var(--text-main);
    line-height: 1.65;
    letter-spacing: 0;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    text-wrap: balance;
    text-shadow: 0 4px 20px rgba(8, 14, 32, 0.45);
}

.section-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: var(--accent-green);
    color: #0B1527;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(120, 214, 139, 0.28);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(8, 14, 30, 0.92);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 30px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent-green);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(120, 214, 139, 0.16) 0%, rgba(16, 28, 52, 0.75) 42%, var(--bg-dark) 75%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    margin: 2rem auto;
    display: block;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn-secondary:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-2px);
}

/* Mission Section */
.mission {
    background: linear-gradient(160deg, #121C34 0%, #101A31 45%, #0F1930 100%);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.08rem;
    line-height: 1.7;
    text-align: left;
    hyphens: none;
}

.mission-text .section-title {
    text-align: center;
}

/* Technology Section */
.product-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-row.reverse {
    direction: rtl;
}

.product-row.reverse > * {
    direction: ltr;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-img-main-container {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    background: linear-gradient(145deg, #0B1326 0%, #0F1A31 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.product-thumb {
    width: 100px;
    height: 80px;
    object-fit: contain;
    background-color: var(--bg-dark);
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}

.product-thumb:hover {
    opacity: 0.8;
}

.product-thumb.active {
    opacity: 1;
    border-color: var(--accent-green);
}

.product-content {
    padding: 2rem 0;
}

.product-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(115, 184, 97, 0.1);
    color: var(--accent-green);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.product-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.product-desc {
    color: var(--text-muted);
    font-size: 1.08rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: left;
    hyphens: none;
}

.product-features {
    list-style: none;
}

.product-features li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* Why Us Section */
.why-us {
    background: linear-gradient(135deg, #111B33 0%, #0C1427 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.why-grid {
    max-width: 800px;
    margin: 0 auto;
}

.why-content .lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
    text-align: left;
    hyphens: none;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--text-main);
    text-align: left;
    hyphens: none;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.member-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-img img {
    transform: scale(1.05);
}

.member-info .role {
    color: var(--accent-green);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.member-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.member-info p {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.7;
    text-align: left;
    hyphens: none;
}

/* Contact Section */
.contact {
    background: linear-gradient(165deg, #121D36 0%, #101A30 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info .role {
    color: var(--accent-green);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.08rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: left;
    hyphens: none;
}

.contact-form {
    background: linear-gradient(160deg, #0E1830 0%, #0B1428 100%);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1em;
}

.form-group select option {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit {
    width: 100%;
    gap: 0.5rem;
}

/* Footer */
footer {
    background: #0A1122;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.hero .section-title,
.mission .section-title,
.technology .section-title,
.why-us .section-title,
.team .section-title,
.contact .section-title {
    background: linear-gradient(90deg, #FFFFFF 0%, #DDEBFF 55%, #BFD8FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo img {
    height: 40px;
    opacity: 0.5;
    transition: var(--transition);
}

.footer-logo img:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-dim);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    color: var(--accent-green);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.copyright {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .mission-grid,
    .product-row,
    .team-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-row.reverse {
        direction: ltr;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-logo {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .contact-form {
        padding: 2rem;
    }

    /* Avoid stretched word spacing on narrow screens */
    .mission-text p,
    .product-desc,
    .why-content .lead,
    .feature-list li,
    .member-info p,
    .contact-info p {
        text-align: left;
        text-justify: auto;
        word-spacing: normal;
        letter-spacing: normal;
    }
}
