/*
   Orion Solutions - Consultive Ops Theme
   Theme: Navy, Silver, and Clean Operational Focus
*/

:root {
    /* Palette */
    --color-bg: #f8faff;
    --color-surface: #f2f5fb;
    --color-surface-highlight: #e3e9f2;

    --color-primary: #0b1b3a; /* Navy */
    --color-primary-dark: #071126;
    --color-accent: #5f8fd9;
    --color-silver: #c3ccd9;
    --color-surface-dark: #0b1021;

    --color-text-main: #0b1021;
    --color-text-muted: #3a465a;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* UI */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --border-light: #d6dde8;
    --ops-dashboard-height: 640px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

body::before {
    background:
        radial-gradient(900px 520px at 12% 12%, rgba(95, 143, 217, 0.18), transparent 55%),
        radial-gradient(700px 480px at 92% 18%, rgba(11, 27, 58, 0.14), transparent 60%),
        radial-gradient(700px 520px at 18% 92%, rgba(195, 204, 217, 0.25), transparent 65%),
        linear-gradient(115deg, rgba(7, 17, 38, 0.08) 0%, rgba(248, 250, 255, 0) 40%);
}

body::after {
    background:
        repeating-linear-gradient(
            -12deg,
            rgba(11, 27, 58, 0.03) 0,
            rgba(11, 27, 58, 0.03) 1px,
            transparent 1px,
            transparent 12px
        ),
        linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(243, 247, 255, 0.6));
    z-index: -3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--color-text-main);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section-padding {
    padding: var(--space-xl) 0;
}

.text-highlight {
    color: var(--color-accent);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(11, 27, 58, 0.06);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* Components */

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(248, 250, 255, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(248, 250, 255, 0.9);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text-main);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    border: 1px solid var(--color-primary);
    box-shadow: 0 10px 20px -12px rgba(11, 27, 58, 0.6);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--color-text-main);
}

.btn-outline:hover {
    border-color: var(--color-text-main);
    background: rgba(11, 27, 58, 0.05);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: transparent;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: stretch;
}

.hero-text {
    max-width: 600px;
}

.hero-rotate-line {
    display: block;
}

.hero-rotate {
    display: inline-block;
    transition: opacity 0.35s ease;
}

.hero-rotate.is-fading {
    opacity: 0;
}

.hero-rotate-silver {
    color: var(--color-silver);
}

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

.hero-visual {
    position: relative;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin-top: calc(var(--space-md) + 0.5rem);
}

.hero-main {
    display: flex;
    flex-direction: column;
}

.hub-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.hub-layout {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}

.hub-copy {
    position: relative;
    margin-left: -0.99rem;
    padding: 2.75rem 3.25rem 2.75rem 4.25rem;
    border-radius: 24px;
    border: 1px solid rgba(11, 27, 58, 0.85);
    background: linear-gradient(150deg, rgba(248, 250, 255, 0.7), rgba(235, 240, 248, 0.55));
    box-shadow: 0 30px 55px -45px rgba(11, 27, 58, 0.7);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 520px;
    z-index: 3;
}

.hub-copy h3 {
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
}

.hub-copy .feature-item {
    font-size: 1.02rem;
}

.hub-carousel {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(11, 27, 58, 0.15);
    box-shadow: 0 25px 50px -35px rgba(11, 27, 58, 0.9);
    background: linear-gradient(160deg, rgba(11, 27, 58, 0.08), rgba(255, 255, 255, 0.6));
    width: 100%;
    max-width: 440px;
    height: 560px;
    aspect-ratio: 4 / 5;
    z-index: 2;
}

.hub-carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(11, 27, 58, 0.55), rgba(11, 27, 58, 0.15));
    z-index: 1;
    pointer-events: none;
}

.carousel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    z-index: 2;
    color: #f5f7fa;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(11, 27, 58, 0.55);
    border: 1px solid rgba(195, 204, 217, 0.3);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    max-width: 70%;
}

.hub-modules {
    margin-top: 3.5rem;
}

.hub-modules h3 {
    margin-bottom: 1.5rem;
}

.tech-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 20px 35px -30px rgba(11, 27, 58, 0.8);
}

.hero-card-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.hero-card p {
    margin-bottom: 2rem;
}

.ops-dashboard {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 1.5rem;
    width: 100%;
    background: linear-gradient(160deg, rgba(11, 27, 58, 0.86), rgba(7, 17, 38, 0.72));
    border: 1px solid rgba(195, 204, 217, 0.25);
    border-radius: 22px 22px 14px 14px;
    padding: 1.5rem;
    color: #f5f7fa;
    box-shadow: 0 30px 60px -45px rgba(11, 27, 58, 0.95);
    min-height: var(--ops-dashboard-height);
    height: var(--ops-dashboard-height);
    max-height: var(--ops-dashboard-height);
    flex: 1;
    overflow: hidden;
}

.ops-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(11, 27, 58, 0.55);
    border: 1px solid rgba(195, 204, 217, 0.15);
}

.ops-brand {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: rgba(195, 204, 217, 0.9);
}

.ops-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ops-nav-item {
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    background: rgba(195, 204, 217, 0.1);
    font-size: 0.85rem;
    color: rgba(245, 247, 250, 0.9);
    border: 1px solid transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.ops-nav-item.active {
    background: rgba(95, 143, 217, 0.2);
    color: #ffffff;
    border: 1px solid rgba(95, 143, 217, 0.5);
}

.ops-status {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: rgba(195, 204, 217, 0.9);
}

.ops-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(95, 143, 217, 0.9);
    box-shadow: 0 0 12px rgba(95, 143, 217, 0.9);
    animation: workflowPulse 2s infinite;
}

.ops-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    min-height: 0;
    position: relative;
}

.ops-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

.ops-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.ops-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.ops-panel-header h4 {
    color: #f5f7fa;
}

.ops-filter-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ops-input {
    background: rgba(11, 27, 58, 0.6);
    border: 1px solid rgba(195, 204, 217, 0.25);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    color: #f5f7fa;
    font-size: 0.8rem;
    min-width: 140px;
}

.ops-input::placeholder {
    color: rgba(195, 204, 217, 0.7);
}

.ops-list {
    display: grid;
    gap: 0.75rem;
    overflow: visible;
}

.ops-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(11, 27, 58, 0.45);
    border: 1px solid rgba(195, 204, 217, 0.2);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    min-width: 0;
}

.ops-list-item div {
    min-width: 0;
}

.ops-list-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
}

.ops-list-item span {
    font-size: 0.75rem;
    color: rgba(195, 204, 217, 0.8);
    white-space: normal;
}

.ops-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: rgba(95, 143, 217, 0.2);
    border: 1px solid rgba(95, 143, 217, 0.4);
    color: #f5f7fa;
    white-space: nowrap;
}

.ops-tag.warning {
    background: rgba(255, 184, 77, 0.2);
    border-color: rgba(255, 184, 77, 0.6);
}

.ops-tag.danger {
    background: rgba(255, 99, 132, 0.2);
    border-color: rgba(255, 99, 132, 0.6);
}

.ops-two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
}

.ops-two-columns > div {
    min-width: 0;
}

.ops-two-columns h5 {
    margin-bottom: 0.75rem;
    color: #f5f7fa;
    font-size: 0.9rem;
}

.ops-history-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ops-top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ops-metric {
    background: rgba(11, 27, 58, 0.45);
    border: 1px solid rgba(195, 204, 217, 0.2);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ops-metric strong {
    font-size: 1.6rem;
    color: #ffffff;
}

.ops-metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(195, 204, 217, 0.85);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(195, 204, 217, 0.2);
}

.ops-metric-sub {
    font-size: 0.75rem;
    color: rgba(195, 204, 217, 0.8);
}

.ops-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ops-chart-card {
    background: rgba(11, 27, 58, 0.45);
    border: 1px solid rgba(195, 204, 217, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ops-chart-title {
    font-size: 0.85rem;
    color: rgba(195, 204, 217, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(195, 204, 217, 0.2);
}

.ops-gauge {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ops-gauge-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 10px solid rgba(195, 204, 217, 0.2);
    border-top-color: rgba(95, 143, 217, 0.9);
    border-right-color: rgba(95, 143, 217, 0.6);
    transform: rotate(45deg);
}

.ops-gauge-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
}

.ops-gauge-label {
    position: absolute;
    bottom: -1.2rem;
    font-size: 0.75rem;
    color: rgba(195, 204, 217, 0.85);
}

.ops-donut {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(
        rgba(95, 143, 217, 0.9) 0deg 200deg,
        rgba(255, 184, 77, 0.9) 200deg 290deg,
        rgba(255, 99, 132, 0.9) 290deg 360deg
    );
    display: grid;
    place-items: center;
    margin: 0 auto;
    position: relative;
}

.ops-donut::before {
    content: '';
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: rgba(11, 27, 58, 0.9);
}

.ops-donut-center {
    position: relative;
    font-size: 0.95rem;
    color: #ffffff;
}

.ops-donut-legend {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(195, 204, 217, 0.85);
}

.ops-donut-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ops-donut-legend i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(95, 143, 217, 0.9);
    display: inline-block;
}

.ops-donut-legend span:nth-child(2) i {
    background: rgba(255, 184, 77, 0.9);
}

.ops-donut-legend span:nth-child(3) i {
    background: rgba(255, 99, 132, 0.9);
}

.ops-workflow {
    background: rgba(11, 27, 58, 0.35);
    border: 1px solid rgba(195, 204, 217, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ops-workflow-demo {
    margin-top: 0;
    background: linear-gradient(160deg, rgba(11, 27, 58, 0.82), rgba(7, 17, 38, 0.68));
    border: 1px solid rgba(195, 204, 217, 0.2);
    border-radius: 14px 14px 22px 22px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 30px 60px -45px rgba(11, 27, 58, 0.85);
}

.ops-workflow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.ops-workflow-header h4 {
    color: #f5f7fa;
    font-size: 1rem;
}

.ops-flow-status {
    font-size: 0.75rem;
    color: rgba(195, 204, 217, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ops-flow-track {
    position: relative;
    padding: 1.25rem 0 2.25rem;
}

.ops-flow-line {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 9px;
    height: 2px;
    background: rgba(195, 204, 217, 0.35);
}

.ops-flow-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.ops-flow-step {
    position: relative;
    top: 0;
    transform: none;
    font-size: 0.68rem;
    line-height: 1.2;
    color: rgba(195, 204, 217, 0.9);
    text-align: center;
    min-width: 0;
    padding-top: 18px;
}

.ops-flow-step::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(195, 204, 217, 0.4);
    border: 1px solid rgba(195, 204, 217, 0.6);
}

.ops-flow-step.active,
.ops-flow-step.complete {
    color: #ffffff;
}

.ops-flow-step.active::before,
.ops-flow-step.complete::before {
    background: rgba(95, 143, 217, 1);
    box-shadow: 0 0 14px rgba(95, 143, 217, 0.9);
    border-color: rgba(95, 143, 217, 1);
}

.ops-flow-step:last-child.complete::after {
    content: '✓';
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(95, 143, 217, 0.25);
    border: 1px solid rgba(95, 143, 217, 0.7);
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 22px;
    text-align: center;
    box-shadow: 0 0 12px rgba(95, 143, 217, 0.7);
    opacity: 0;
    animation: opsCheckFade 1.6s ease-in-out infinite;
}

@keyframes opsCheckFade {
    0% { opacity: 0; transform: translateX(-50%) scale(0.9); }
    50% { opacity: 1; transform: translateX(-50%) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) scale(0.9); }
}

.ops-flow-dot {
    position: absolute;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%);
    transition: left 0.6s ease;
}

.ops-flow-note {
    font-size: 0.8rem;
    color: rgba(195, 204, 217, 0.85);
}

.btn-small {
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
}

@keyframes workflowPulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.stat-highlight {
    color: var(--color-primary);
    background: rgba(11, 27, 58, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .services-grid .service-card {
        grid-column: span 2;
    }

    .services-grid .service-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .services-grid .service-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.service-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(11, 27, 58, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* FAQ layout */
.faq-layout {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 2rem;
    align-items: start;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 860px;
}

.faq-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 2.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(11, 27, 58, 0.1);
    min-height: 190px;
}

.faq-card--wide {
    grid-column: 1 / -1;
    padding: 2.75rem;
    min-height: 210px;
}

.faq-card h3 {
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.faq-card--wide h3 {
    font-size: 1.25rem;
}

.faq-card p {
    margin-top: 0.6rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.faq-strip {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(11, 27, 58, 0.2);
    overflow: hidden;
    min-height: 520px;
    background: linear-gradient(160deg, rgba(11, 27, 58, 0.1), rgba(255, 255, 255, 0.6));
    box-shadow: 0 25px 50px -40px rgba(11, 27, 58, 0.6);
}

.faq-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.feature-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* Methodology */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: border-color 0.3s;
}

.step-card:hover {
    border-color: var(--border-light);
}

.step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Projects/Lab */
.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.lab-card {
    position: relative;
}

.lab-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    position: relative;
    background: var(--color-surface);
}

.lab-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.lab-card:hover .lab-image img {
    transform: scale(1.03);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    background: var(--color-surface);
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 3rem 0;
    margin-top: 4rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    background: var(--color-surface);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(248, 250, 255, 0.98), rgba(227, 233, 242, 0.98));
    z-index: 99;
    padding: 5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 4rem;
    }
    
    h1 { font-size: 3rem; }

    .hero-visual {
        margin-top: 0;
    }

    .ops-dashboard {
        grid-template-columns: 1fr;
    }

    .ops-sidebar {
        flex-direction: row;
        justify-content: space-between;
    }

    .ops-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ops-top {
        grid-template-columns: 1fr;
    }

    .ops-charts {
        grid-template-columns: 1fr;
    }

    .ops-two-columns {
        grid-template-columns: 1fr;
    }

    .ops-history-summary {
        grid-template-columns: 1fr;
    }

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

    .hub-carousel {
        max-width: 100%;
        height: 520px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-strip {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .nav-links, .header .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-padding {
        padding: var(--space-lg) 0;
    }

    .ops-dashboard {
        padding: 1.25rem;
        min-height: var(--ops-dashboard-height);
        height: var(--ops-dashboard-height);
        max-height: var(--ops-dashboard-height);
    }

    .ops-sidebar {
        flex-direction: column;
    }

    .ops-flow-step {
        min-width: 70px;
        font-size: 0.65rem;
    }

    .hub-carousel {
        height: 420px;
    }

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

/* Logo */
.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}
.ops-workflow-demo {
    width: 100%;
    min-height: 300px;
}
