:root {
    --color-black: #1a1a1a;
    --color-gray: #6b7280;
    --color-gray-light: #afbcd5;

    /* Primary */
    --color-primary: #096fb8;
    --color-primary-dark: #07548b;
    --color-primary-light: #f8f9fa;

    /* Secondary & Tertiary */
    --color-secondary: #08aa4e;
    --color-tertiary: #00a995;

    /* Accent & States */
    --color-accent: #F59E0B;
    --color-error: #EF4444;
    --color-success: #10B981;
    --color-warning: #F59E0B;

    /* Backgrounds (dark mode) */
    --color-bg: #0F172A;
    --color-surface: #1E293B;
    --color-surface-light: #334155;

    /* Text */
    --color-text-primary: #F8FAFC;
    --color-text-secondary: #94A3B8;
    --color-text-muted: #64748B;

    /* Borders */
    --color-border: #475569;
    --color-border-light: #334155;

    /* Logo gradient colors */
    --logo-gradient-start: #00c853;
    --logo-gradient-mid: #00bfa5;
    --logo-gradient-end: #0097a7;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background: #ffffff;
    color: var(--color-black);
    overflow-x: hidden;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

/* Mobile navbar */
@media (max-width: 991px) {
    .navbar {
        background: white;
    }

    .nav-logo-img {
        height: 40px;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
    }

    .navbar-nav .dropdown-menu {
        box-shadow: none;
        padding-left: 1rem;
        border: none;
        background: transparent;
    }

    .navbar-nav .btn-contact {
        margin-top: 1rem;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .nav-logo-img {
        height: 36px;
    }
}

/* Navbar brand / Logo */
.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.navbar-brand.visible .nav-logo-img {
    opacity: 1;
    visibility: visible;
}

/* For non-homepage - always show logo */
body:not(.has-animation) .nav-logo-img {
    opacity: 1;
    visibility: visible;
}

.nav-link {
    color: var(--color-black) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-primary) !important;
}

/* Dropdown Menus */
.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
}

.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--color-black);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.dropdown-item:active {
    background: var(--color-primary);
    color: white;
}

.btn-contact {
    background: var(--color-black);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

/* ==================== LOGO ANIMATION ==================== */
.animated-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.0rem, 6vw, 3.0rem);
    font-weight: 700;
    display: inline-flex;
    align-items: baseline;
    position: absolute;
    z-index: 10;
    top: 140px;
    left: 0;
    padding-left: calc((100% - min(100% - 24px, 1320px)) / 2);
    transition: opacity 0.4s ease;
    will-change: opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.animated-logo .word {
    display: inline-flex;
    overflow: hidden;
}

.animated-logo .letter {
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: max-width, opacity;
    transform: translateZ(0);
}

/* H, S, T are black */
.animated-logo .first-letter {
    color: var(--color-black);
}

/* Remaining letters are blue */
.animated-logo .collapsible {
    color: var(--color-primary);
    max-width: 0.6em;
    opacity: 1;
}

.animated-logo.collapsed .collapsible {
    max-width: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

.animated-logo .space {
    width: 0.3em;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-logo.collapsed .space {
    width: 0;
}

/* Hide text after collapse */
.animated-logo.hidden {
    opacity: 0;
    visibility: hidden;
}

/* PNG logo that appears after text collapse */
.animated-logo-img-wrapper {
    position: absolute;
    z-index: 10;
    top: 130px;
    left: 0;
    padding-left: calc((100% - min(100% - 24px, 1320px)) / 2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.animated-logo-img-wrapper.visible {
    opacity: 1;
    visibility: visible;
}

.animated-logo-img {
    height: 2.5rem;
    width: auto;
}

@media (max-width: 768px) {
    .animated-logo-img {
        height: 1.35rem;
    }
}

@media (max-width: 480px) {
    .animated-logo-img {
        height: 1.25rem;
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-top: 100px;
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(62, 111, 178, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.hero h1.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hero h1 span {
    color: var(--color-primary);
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 540px;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.hero-tagline.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hero-accent-bar {
    width: 60px;
    height: 4px;
    opacity: 0;
    background: var(--color-primary);
    margin-bottom: 1rem;
    visibility: hidden;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
    will-change: opacity, transform;
}

.hero-accent-bar.visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
}

.hero-buttons {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.hero-buttons.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ==================== BUTTONS ==================== */
.btn-primary-hst {
    background: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary-hst:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 90, 150, 0.3);
}

.btn-secondary-hst {
    background: transparent;
    color: var(--color-black);
    padding: 1rem 2rem;
    border: 2px solid var(--color-black);
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn-secondary-hst:hover {
    background: var(--color-black);
    color: white;
}

/* ==================== STATS BAR ==================== */
.stats-bar {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.stats-bar.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1;
}

.stat-number span {
    color: var(--color-primary);
}

.stat-label {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    padding: 6rem 0;
    background: var(--color-primary-light);
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.section-subtitle {
    color: var(--color-gray);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-text {
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

a.service-card {
    display: block;
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    height: 100%;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

a.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-primary);
    transition: height 0.3s ease;
}

a.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

a.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.service-card h3 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.service-card p {
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==================== MARKETS SECTION ==================== */
.markets {
    padding: 6rem 0;
    background: white;
}

a.market-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-primary-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

a.market-item:hover {
    background: var(--color-black);
    color: white;
}

a.market-item:hover .market-icon {
    background: var(--color-primary);
    color: white;
}

.market-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.market-text h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.market-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ==================== CTA SECTION ==================== */
.cta {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.cta-box {
    background: var(--color-primary-light);
    padding: 5rem 3rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(44, 90, 150, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--color-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--color-black);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    display: inline-block;
}

.footer-logo-img {
    height: 46px;
    width: auto;
    /* filter: brightness(0) invert(1); */
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    margin: 0;
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animated-logo .letter,
    .animated-logo .space,
    .hero h1,
    .hero-tagline,
    .hero-accent-bar,
    .hero-buttons,
    .stats-bar {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}

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

/* Tablet and below */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
    }

    .hero-accent-bar {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-secondary-hst {
        margin-left: 0;
        margin-top: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .stats-bar {
        text-align: center;
    }

    .stat-item {
        text-align: center;
        margin-bottom: 2rem;
    }

    .animated-logo {
        font-size: 1.75rem;
        padding-left: 12px;
        top: 110px;
    }

    .animated-logo-img-wrapper {
        padding-left: 12px;
        top: 105px;
    }

    /* Improve touch targets */
    .btn-primary-hst,
    .btn-secondary-hst {
        min-height: 48px;
        padding: 0.875rem 1.75rem;
    }

    /* Service cards on mobile */
    .service-card {
        margin-bottom: 1rem;
    }

    /* Market items on mobile */
    a.market-item {
        padding: 1.25rem;
    }

    /* Section padding adjustments */
    .services,
    .markets,
    .cta {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* CTA box mobile */
    .cta-box {
        padding: 3rem 1.5rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero {
        padding-top: 90px;
        padding-bottom: 2rem;
    }

    .hero h1 {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .animated-logo {
        font-size: 1.25rem;
        top: 100px;
    }

    .animated-logo-img-wrapper {
        top: 95px;
    }

    /* Stats bar - stack on very small screens */
    .stats-bar .row {
        flex-direction: column;
    }

    .stats-bar .col-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .stat-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .stat-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Buttons full width on small phones */
    .hero-buttons {
        width: 100%;
    }

    .btn-primary-hst,
    .btn-secondary-hst {
        width: 100%;
        justify-content: center;
    }

    /* Section spacing */
    .services,
    .markets,
    .cta {
        padding: 3rem 0;
    }

    .section-label {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Service cards */
    a.service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    /* Market items */
    .market-text h4 {
        font-size: 1rem;
    }

    .market-text p {
        font-size: 0.85rem;
    }

    /* CTA */
    .cta-box {
        padding: 2rem 1.25rem;
        border-radius: 12px;
    }

    .cta h2 {
        font-size: 1.35rem;
    }

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

/* Footer mobile improvements */
@media (max-width: 768px) {
    footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-logo-img {
        height: 40px;
    }

    .footer-links h5 {
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 2rem;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 2.5rem 0 1.5rem;
    }

    footer .row > div {
        margin-bottom: 1.5rem;
    }

    .footer-logo-img {
        height: 36px;
    }

    .footer-links {
        margin-bottom: 0.5rem;
    }

    .footer-links h5 {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ==================== SAFE AREA INSETS (notched devices) ==================== */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .hero {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }

    footer {
        padding-bottom: max(2rem, calc(2rem + env(safe-area-inset-bottom)));
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }

    .container {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }
}

/* ==================== MOBILE NAVIGATION IMPROVEMENTS ==================== */
@media (max-width: 991px) {
    .navbar-toggler {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 2px var(--color-primary);
    }

    .dropdown-item {
        padding: 0.875rem 1.5rem;
        min-height: 44px;
    }

    .navbar-nav .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ==================== PAGE STYLES (merged from pages.css) ==================== */

/* Page Hero */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-black);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.page-badge svg {
    color: var(--color-primary);
}

.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

/* Title highlight underline - matches beehive page style */
.page-hero h1 .highlight {
    position: relative;
    display: inline-block;
}

.page-hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(62, 111, 178, 0.3);
    z-index: -1;
}

.page-hero .lead {
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Hero Icon */
.hero-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px var(--color-primary-dark);
}

.hero-icon svg {
    width: 60px;
    height: 60px;
}

/* Overview Section */
.overview-section {
    padding: 6rem 0;
    background: white;
}

.overview-section .section-text {
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Capabilities Section */
.capabilities-section {
    padding: 6rem 0;
    background: var(--color-primary-light);
}

.capability-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--color-primary);
}

.capability-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.capability-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.capability-card p {
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: var(--color-black);
    color: white;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.benefits-section .section-label {
    color: var(--color-primary);
}

.benefits-section .section-title {
    color: white;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.benefit-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
}

.benefit-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Use Cases / Industries Section */
.use-cases-section {
    padding: 6rem 0;
    background: white;
}

.use-case-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-primary-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    background: var(--color-black);
    color: white;
}

.use-case-card:hover .use-case-icon {
    background: var(--color-primary);
    color: white;
}

.use-case-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.use-case-text h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.use-case-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Page CTA Section */
.page-cta {
    padding: 6rem 0;
    background: var(--color-primary-light);
}

.page-cta-box {
    background: white;
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.page-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary);
}

.page-cta-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.page-cta-box p {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 2rem;
}

/* Page Styles Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding-top: 100px;
        min-height: auto;
        text-align: center;
    }

    .page-hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .page-hero .lead {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.05rem;
    }

    .page-cta-box {
        padding: 2.5rem 1.5rem;
    }

    .hero-icon {
        width: 80px;
        height: 80px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-icon svg {
        width: 40px;
        height: 40px;
    }

    .page-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.875rem;
    }

    /* Section spacing */
    .overview-section,
    .capabilities-section,
    .benefits-section,
    .use-cases-section,
    .page-cta {
        padding: 4rem 0;
    }

    .capability-card {
        padding: 1.5rem;
    }

    .capability-card h3 {
        font-size: 1.1rem;
    }

    .benefit-item {
        margin-bottom: 1.25rem;
    }

    .benefit-icon {
        width: 36px;
        height: 36px;
    }

    .use-case-card {
        padding: 1.25rem;
    }

    .use-case-icon {
        width: 44px;
        height: 44px;
    }

    .use-case-text h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding-top: 90px;
        padding-bottom: 2rem;
    }

    .page-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .page-hero .lead {
        font-size: 1rem;
    }

    .hero-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        margin-bottom: 1.5rem;
    }

    .hero-icon svg {
        width: 32px;
        height: 32px;
    }

    /* Section spacing */
    .overview-section,
    .capabilities-section,
    .benefits-section,
    .use-cases-section,
    .page-cta {
        padding: 3rem 0;
    }

    .capability-card {
        padding: 1.25rem;
    }

    .capability-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .page-cta-box {
        padding: 2rem 1.25rem;
        border-radius: 12px;
    }

    .page-cta-box h2 {
        font-size: 1.35rem;
    }

    .page-cta-box p {
        font-size: 1rem;
    }

    .use-case-text p {
        font-size: 0.8rem;
    }
}