/*
    TwinAx v0.1
    Main stylesheet

    Design goals:
    - Dark charcoal / black foundation
    - Bright green accent
    - Clean, modern, technical feel
    - No blue
    - Responsive layout
    - Minimal dependencies
*/


/* =========================================================
   GLOBAL VARIABLES
   ========================================================= */

:root {
    --bg-main: #0b0d0f;
    --bg-secondary: #14181b;
    --bg-card: #191e22;
    --bg-card-hover: #1f252a;

    --text-primary: #f5f7f8;
    --text-secondary: #b9c0c5;
    --text-muted: #7f8a91;

    --accent: #7dff4d;
    --accent-soft: #57d92c;
    --border: #2b3237;

    --max-width: 1180px;
    --radius: 18px;
}


/* =========================================================
   BASE / RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at top,
            rgba(125, 255, 77, 0.06),
            transparent 34%
        ),
        var(--bg-main);

    color: var(--text-primary);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.6;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(3.4rem, 9vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.05em;
}

h1 span {
    color: var(--accent);
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 750;
    letter-spacing: -0.03em;
}

h3 {
    margin-bottom: 0.8rem;
    color: var(--accent);
    font-size: 1.35rem;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
}


/* =========================================================
   GENERAL LAYOUT
   ========================================================= */

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

.narrow {
    width: min(92%, 820px);
}

.section {
    padding: 6rem 0;
}

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

.section-label,
.eyebrow {
    margin-bottom: 1rem;

    color: var(--accent);

    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

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

.section-lead {
    font-size: 1.2rem;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    background: rgba(11, 13, 15, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

    min-height: 72px;
}

.brand {
    text-decoration: none;

    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand span {
    color: var(--accent);
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 600;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    display: flex;
    align-items: center;

    min-height: calc(100vh - 72px);
    padding: 5rem 0 6rem;

    text-align: center;
}

.hero-content {
    max-width: 900px;
}

.hero-emblem {
    display: block;

    width: min(320px, 72vw);
    height: auto;

    margin: 0 auto 2rem;

    border-radius: 24px;

    box-shadow:
        0 0 60px rgba(125, 255, 77, 0.12);
}

.hero-tagline {
    margin-bottom: 1.5rem;

    color: var(--text-primary);

    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-tagline span {
    color: var(--accent);
}

.hero-intro {
    max-width: 760px;
    margin: 0 auto 2.25rem;

    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0.8rem 1.4rem;

    border: 1px solid transparent;
    border-radius: 999px;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background-color: var(--accent);
    color: #071008;
}

.button-primary:hover {
    background-color: #96ff70;
}

.button-secondary {
    border-color: var(--border);
    background-color: transparent;
    color: var(--text-primary);
}

.button-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* =========================================================
   CAPABILITY CARDS
   ========================================================= */

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.capability-card {
    padding: 1.75rem;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(125, 255, 77, 0.025),
            transparent 45%
        ),
        var(--bg-card);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.capability-card:hover {
    transform: translateY(-4px);

    border-color: rgba(125, 255, 77, 0.45);

    background-color: var(--bg-card-hover);
}


/* =========================================================
   ASK SECTION
   ========================================================= */

.ask-section {
    position: relative;
    overflow: hidden;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            rgba(125, 255, 77, 0.045),
            rgba(125, 255, 77, 0.015)
        );
}

.ask-section::before {
    content: "";

    position: absolute;
    top: -120px;
    left: 50%;

    width: 420px;
    height: 420px;

    transform: translateX(-50%);

    border: 1px solid rgba(125, 255, 77, 0.08);
    border-radius: 50%;

    box-shadow:
        0 0 120px rgba(125, 255, 77, 0.05);
}

.ask-section .container {
    position: relative;
    z-index: 1;
}

.ask-section h2 span {
    display: block;
    color: var(--accent);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    background-color: var(--bg-secondary);
    text-align: center;
}

.contact-section .button {
    margin-top: 1rem;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 2.5rem 0;

    border-top: 1px solid var(--border);

    background-color: #080a0c;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand {
    font-size: 1.15rem;
    font-weight: 800;
}

.footer-brand span {
    color: var(--accent);
}

.site-footer p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.copyright {
    text-align: right;
}


/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 980px) {

    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 720px) {

    .section {
        padding: 4.5rem 0;
    }

    .header-inner {
        min-height: 64px;
    }

    .main-nav {
        gap: 0.9rem;
    }

    .main-nav a {
        font-size: 0.85rem;
    }

    .hero {
        min-height: auto;
        padding-top: 4rem;
    }

    .hero-emblem {
        width: min(280px, 80vw);
    }

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .copyright {
        text-align: center;
    }

}


@media (max-width: 520px) {

    .header-inner {
        flex-direction: column;
        justify-content: center;
        gap: 0.35rem;

        padding: 0.7rem 0;
    }

    .main-nav {
        gap: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

}