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

:root {
    --bg-primary: #0c0c14;
    --bg-secondary: #12121e;
    --bg-card: #181828;
    --accent: #00e5a0;
    --accent-dim: rgba(0, 229, 160, 0.15);
    --accent-hover: #00c98a;
    --cyan: #00b4d8;
    --purple: #7b68ee;
    --white: #eef2f7;
    --text: #9ba4b5;
    --text-dim: #5a6377;
    --border: rgba(255, 255, 255, 0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text);
    line-height: 1.7;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(12, 12, 20, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--accent);
    font-weight: 400;
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

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

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 30px rgba(0, 229, 160, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(0, 229, 160, 0.4);
}

.btn-outline:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 160, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 160, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 229, 160, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 2.5rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Spectrum bar */
.hero-visual {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    margin-top: 4rem;
}

.spectrum-bar {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.freq-band {
    flex: 1;
    padding: 1.2rem 0.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    cursor: default;
}

.freq-band:nth-child(1) {
    background: linear-gradient(180deg, rgba(0, 180, 216, 0.15), transparent);
    border-right: 1px solid var(--border);
}
.freq-band:nth-child(2) {
    background: linear-gradient(180deg, rgba(0, 229, 160, 0.12), transparent);
    border-right: 1px solid var(--border);
}
.freq-band:nth-child(3) {
    background: linear-gradient(180deg, rgba(123, 104, 238, 0.12), transparent);
    border-right: 1px solid var(--border);
}
.freq-band:nth-child(4) {
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.12), transparent);
}

.freq-band span {
    display: block;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.freq-band::after {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.freq-band:hover {
    background: rgba(0, 229, 160, 0.1);
}

/* Sections */
section {
    padding: 7rem 2rem;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

.section-sub {
    text-align: center;
    color: var(--text);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

/* Capabilities */
.capabilities {
    background: var(--bg-secondary);
}

.cap-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cap-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: border-color 0.3s, transform 0.3s;
}

.cap-card:hover {
    border-color: rgba(0, 229, 160, 0.3);
    transform: translateY(-3px);
}

.cap-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-family: monospace;
}

.cap-card h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cap-card > p {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.cap-card ul {
    list-style: none;
}

.cap-card ul li {
    font-size: 0.82rem;
    color: var(--text-dim);
    padding: 0.2rem 0;
    padding-left: 1rem;
    position: relative;
}

.cap-card ul li::before {
    content: ">";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-family: monospace;
    font-weight: bold;
}

/* Operating Domains */
.domains {
    background: var(--bg-primary);
}

.domain-stack {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.domain-layer {
    display: grid;
    grid-template-columns: 60px 1fr 140px;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: border-color 0.3s, transform 0.3s;
}

.domain-layer:hover {
    border-color: rgba(0, 229, 160, 0.3);
    transform: translateX(4px);
}

.domain-icon {
    font-size: 1.8rem;
    text-align: center;
}

.domain-info h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.domain-info p {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.5;
}

.domain-freq {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--accent);
    text-align: right;
    letter-spacing: 0.5px;
}

/* About */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.metric {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact */
.contact {
    background: var(--bg-primary);
}

.contact-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text);
    margin-bottom: 2rem;
}

.contact-details p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.8;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-dim);
}

.contact-form select option {
    background: var(--bg-card);
}

.form-success {
    color: var(--accent);
    font-size: 1.1rem;
    text-align: center;
    padding: 2rem 0;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

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

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.copyright {
    color: var(--text-dim);
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
    .cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(12, 12, 20, 0.98);
        padding: 1rem 2rem 2rem;
        gap: 1rem;
    }

    .mobile-menu {
        display: block;
    }

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

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .cap-grid {
        grid-template-columns: 1fr;
    }

    .domain-layer {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.75rem;
    }

    .domain-freq {
        text-align: center;
    }

    .about-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .spectrum-bar {
        flex-direction: column;
    }

    .freq-band {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .freq-band:last-child {
        border-bottom: none;
    }
}
