/* Directed-AI Styles */

:root {
    --bg-body: #020617;
    --bg-elevated: #020617;
    --bg-section: #020617;
    --primary: #38bdf8;
    --primary-soft: rgba(56, 189, 248, 0.08);
    --accent: #22c55e;
    --text-heading: #f9fafb;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: #1e293b;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.85);
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, #0f172a 0, #020617 52%),
        radial-gradient(circle at bottom right, #0b1120 0, #020617 55%);
    color: var(--text-main);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.shell {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
}

/* NAVBAR */
header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.96),
        rgba(15, 23, 42, 0.8),
        transparent
    );
    border-bottom: 1px solid rgba(148, 163, 184, 0.20);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 15%, #e0f2fe, #38bdf8 45%, #0ea5e9 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.7),
        0 14px 35px rgba(56, 189, 248, 0.45);
    font-weight: 700;
    font-size: 0.9rem;
    color: #020617;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-text span:first-child {
    font-weight: 650;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.76rem;
    color: var(--text-heading);
}

.brand-text span:last-child {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav-links a {
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    transform-origin: center;
    transform: scaleX(0);
    background: linear-gradient(to right, #38bdf8, #22c55e);
    transition: transform 140ms ease-out;
}


.nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.nav-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle, #22c55e, #16a34a);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.58rem 1.25rem;
    border: 1px solid transparent;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition:
        transform 120ms ease-out,
        box-shadow 120ms ease-out,
        background 120ms ease-out,
        border-color 120ms ease-out;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    color: #020617;
    font-weight: 600;
    box-shadow: 0 16px 38px rgba(56, 189, 248, 0.52);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 46px rgba(56, 189, 248, 0.65);
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.45);
    color: var(--text-main);
}

.btn-ghost:hover {
    border-color: rgba(148, 163, 184, 0.85);
}

/* HERO */
.hero {
    padding: 3.6rem 0 3.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2.6rem;
    align-items: center;
}

.hero-badge-row {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.18rem 0.6rem 0.18rem 0.22rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 0.74rem;
    margin-bottom: 1.4rem;
}

.hero-pill {
    padding: 0.13rem 0.6rem;
    border-radius: 999px;
    background: linear-gradient(to right, rgba(56, 189, 248, 0.18), rgba(34, 197, 94, 0.18));
    color: var(--text-heading);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.hero-badge-text {
    color: var(--text-muted);
}

.hero h1 {
    font-size: clamp(2.35rem, 3.4vw + 1rem, 3.45rem);
    line-height: 1.04;
    color: var(--text-heading);
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
}

.hero h1 span {
    background: linear-gradient(to right, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 34rem;
    margin-bottom: 1.7rem;
}

.hero-sub strong {
    color: var(--text-main);
    font-weight: 600;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 1.4rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hero-meta-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.66rem;
    color: #6b7280;
}

.hero-meta-value {
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.86rem;
}


/* HERO RIGHT: PRODUCT SNAPSHOT */
.hero-card {
    border-radius: 28px;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), #020617);
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: var(--shadow-soft);
    padding: 1.6rem 1.4rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.hero-card-title {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9ca3af;
    margin-bottom: 0.2rem;
}

.hero-card-name {
    font-size: 1.05rem;
    color: var(--text-heading);
    font-weight: 600;
}

.hero-card-pill {
    font-size: 0.7rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.75);
    background: rgba(15, 23, 42, 0.9);
    color: #e0f2fe;
    white-space: nowrap;
}

.hero-card-main {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1rem;
    align-items: flex-start;
}

.hero-card-main p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 0.7rem;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.chip {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
}

.hero-graph {
    border-radius: 16px;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.4), transparent 65%);
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 0.85rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.hero-graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}

.hero-graph-metric {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    color: var(--text-heading);
}

.hero-graph-metric span:first-child {
    font-weight: 600;
    font-size: 0.92rem;
}

.hero-graph-metric span:last-child {
    color: #4ade80;
    font-size: 0.7rem;
}

.hero-graph-bars {
    display: flex;
    gap: 0.35rem;
    align-items: flex-end;
    height: 68px;
    margin-bottom: 0.35rem;
}

.hero-graph-bar {
    flex: 1;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.95);
    overflow: hidden;
    position: relative;
}

.hero-graph-fill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.02), #22c55e);
    box-shadow: 0 -10px 28px rgba(34, 197, 94, 0.6);
}

.hero-graph-fill--low { height: 38%; }
.hero-graph-fill--mid { height: 55%; }
.hero-graph-fill--high { height: 80%; }

.hero-graph-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
}

.hero-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.hero-card-footer strong {
    color: var(--text-heading);
}

.hero-card-dots {
    display: flex;
    gap: 0.18rem;
}

.hero-card-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.55);
}

.hero-card-dot:nth-child(1) {
    background: #38bdf8;
}


/* SECTIONS BASE */
section {
    padding: 2.5rem 0;
}

section:nth-of-type(odd) {
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 60%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    gap: 1.6rem;
    align-items: flex-end;
    margin-bottom: 1.6rem;
    flex-wrap: wrap;
}

.section-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.section-title {
    font-size: 1.48rem;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.section-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 30rem;
}

/* GRID CARDS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.1rem 1.1rem;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: -30%;
    opacity: 0;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 55%);
    transform: translate3d(0, 8px, 0);
    transition: opacity 150ms ease-out, transform 150ms ease-out;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
}

.card-title {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-heading);
}

.card-tag {
    font-size: 0.7rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: var(--text-muted);
    white-space: nowrap;
}

.card-body {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-main);
    display: grid;
    gap: 0.25rem;
}

.card-list li::before {
    content: "•";
    color: #38bdf8;
    margin-right: 0.35rem;
}

/* TWO COLUMN LAYOUT */
.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.pill {
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: var(--text-main);
}



/* PRODUCTS */
.products-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 1.8rem;
    align-items: stretch;
}

.cs-card {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.12), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: var(--shadow-soft);
    padding: 1.3rem 1.35rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cs-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.cs-title {
    font-size: 1.12rem;
    color: var(--text-heading);
    margin-bottom: 0.2rem;
}

.cs-body {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cs-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 0.78rem;
}

.cs-meta strong {
    color: var(--text-heading);
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-size: 0.78rem;
}

.badge-soft {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.65);
}

.product-list-card {
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(148, 163, 184, 0.5);
    padding: 0.9rem 1rem;
    background: rgba(15, 23, 42, 0.92);
    font-size: 0.82rem;
    color: var(--text-muted);
    display: grid;
    gap: 0.45rem;
}

.product-row {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    align-items: baseline;
}

.product-name {
    color: var(--text-heading);
    font-weight: 500;
}

.product-status {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #a5b4fc;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    margin-right: 0.25rem;
    background: radial-gradient(circle, #facc15, #f97316);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.22);
}

/* PROCESS */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    font-size: 0.8rem;
}

.step {
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.55);
    position: relative;
}

.step-num {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
    margin-bottom: 0.18rem;
}

.step-title {
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}

.step p {
    margin: 0;
    color: var(--text-muted);
}


/* CONTACT */
.contact {
    padding: 3rem 0 2.4rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    background: radial-gradient(circle at bottom, rgba(56, 189, 248, 0.16), #020617);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.contact h2 {
    font-size: 1.5rem;
    color: var(--text-heading);
    margin-bottom: 0.45rem;
}

.contact p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

form {
    display: grid;
    gap: 0.7rem;
}

label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
    display: block;
}

input,
textarea,
select {
    width: 100%;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.96);
    color: var(--text-main);
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #6b7280;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* FOOTER */
footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 1.4rem 0 1.9rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: #020617;
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.footer-links a {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .hero-grid,
    .two-col,
    .products-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        max-width: 480px;
        margin-inline: auto;
    }

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

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

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

    .hero {
        padding-top: 2.4rem;
    }

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

    .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .process-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .products-grid {
        gap: 1.2rem;
    }
}

@media (min-width: 781px) {
    .nav-links,
    .nav-cta {
        display: flex;
    }
}