
/* =========================================
   CVXSA PUBLIC WEBSITE
   Theme: Bright Intelligence
   Graphite & Copper
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --background: #FCFCFA;
    --white: #FFFFFF;
    --graphite: #25282B;
    --copper: #B87333;
    --peach: #F5C9AA;
    --blue: #DFE9FA;
    --ivory: #F8F7F4;
    --muted: #65666B;
    --border: #E8E6E2;
    --heading-font: 'Manrope', sans-serif;
    --body-font: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--graphite);
    font-family: var(--body-font);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    margin: 0;
    letter-spacing: -0.035em;
}

p {
    line-height: 1.7;
}

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

img {
    max-width: 100%;
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================
   NAVIGATION
   ========================================= */

.navbar {
    max-width: 1200px;
    width: calc(100% - 48px);
    margin: 24px auto 0;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    z-index: 10;
}

.logo img {
    display: block;
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s ease;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 100px;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease,
                background 0.25s ease,
                box-shadow 0.25s ease;
}

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

.btn-primary {
    background: var(--graphite);
    color: var(--white);
}

.btn-primary:hover {
    background: #41464C;
    box-shadow: 0 8px 24px rgba(37,40,43,0.12);
}

.btn-secondary {
    background: var(--white);
    border-color: var(--border);
    color: var(--graphite);
}

.btn-secondary:hover {
    background: var(--ivory);
}

.btn:focus-visible,
a:focus-visible {
    outline: 3px solid var(--copper);
    outline-offset: 4px;
}

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

.hero {
    text-align: center;
    padding: 100px 0 60px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #E5D3BE;
    border-radius: 100px;
    padding: 9px 18px;
    color: #986332;
    font-size: 13px;
    font-weight: 500;
    background: rgba(255,255,255,0.7);
}

.hero h1 {
    max-width: 1000px;
    margin: 30px auto 24px;
    font-size: clamp(46px, 7vw, 92px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.065em;
}

.hero-description {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

/* =========================================
   DIGITAL HERO ILLUSTRATION
   ========================================= */

.hero-visual {
    position: relative;
    min-height: 450px;
    margin-top: 56px;
    border-radius: 30px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(
        120deg,
        #FFF3DE,
        #F3C6AC,
        #DCE6F8,
        #F8E5D3
    );
    background-size: 300% 300%;
    animation: gradientFlow 16s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.visual-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 26px;
    text-align: left;
    box-shadow: 0 20px 60px rgba(37,40,43,0.09);
    backdrop-filter: blur(12px);
    animation: floatCard 7s ease-in-out infinite;
}

.workforce-card {
    width: 34%;
    left: 10%;
    top: 18%;
}

.intelligence-card {
    width: 36%;
    right: 9%;
    top: 11%;
    animation-delay: -3s;
}

.ecosystem-card {
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    background: var(--graphite);
    color: var(--white);
    padding: 17px 25px;
    border-radius: 14px;
    position: absolute;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(37,40,43,0.15);
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-card h3 {
    font-size: 18px;
    margin-bottom: 22px;
}

.data-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    font-size: 13px;
    color: var(--muted);
}

.data-dot {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    flex-shrink: 0;
}

.chart {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-top: 15px;
}

.chart-bar {
    flex: 1;
    background: #53606D;
    border-radius: 6px 6px 2px 2px;
}

.chart-bar:nth-child(even) {
    background: #DDA477;
}

/* =========================================
   CAPABILITIES / BENTO CARDS
   ========================================= */

.section {
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 45px;
}

.section-label {
    color: var(--copper);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.section-heading h2 {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.15;
    font-weight: 700;
    margin-top: 16px;
}

.section-heading p {
    color: var(--muted);
    font-size: 17px;
}

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

.capability-card {
    padding: 36px;
    min-height: 260px;
    background: var(--ivory);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37,40,43,0.06);
}

.capability-card:nth-child(2) {
    background: #F0F4FA;
}

.capability-card:nth-child(3) {
    background: #F9F0E8;
}

.capability-card:nth-child(4) {
    background: #F2F4F0;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: rgba(255,255,255,0.8);
    color: var(--copper);
    margin-bottom: 24px;
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.capability-card h3 {
    font-size: 25px;
    font-weight: 700;
}

.capability-card p {
    font-size: 15px;
    color: var(--muted);
}

.card-status {
    font-size: 12px;
    color: #686D73;
    font-weight: 500;
}

/* =========================================
   CALL TO ACTION
   ========================================= */

.cta-section {
    border-radius: 30px;
    background: linear-gradient(
        135deg,
        #F3EFE9,
        #FBF6EF,
        #EDF2FA
    );
    text-align: center;
    padding: 80px 30px;
    margin-bottom: 70px;
}

.cta-section h2 {
    max-width: 750px;
    margin: auto;
    font-size: clamp(32px, 5vw, 55px);
    line-height: 1.15;
}

.cta-section p {
    color: var(--muted);
    margin: 22px auto;
}

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

.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

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

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-text {
    font-size: 12px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--muted);
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 32px);
    }

    .navbar {
        width: calc(100% - 32px);
        padding: 12px 16px;
        margin-top: 16px;
        gap: 12px;
    }

    .logo img {
        height: 36px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn {
        font-size: 12px;
        padding: 10px 16px;
    }

    .hero {
        padding: 65px 0 30px;
    }

    .hero h1 {
        font-size: clamp(40px, 9vw, 64px);
    }

    .hero-visual {
        min-height: 340px;
        margin-top: 36px;
        border-radius: 20px;
    }

    .floating-card {
        padding: 16px;
        border-radius: 14px;
    }

    .floating-card h3 {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .workforce-card {
        width: 46%;
        left: 3%;
        top: 20%;
    }

    .intelligence-card {
        width: 45%;
        right: 3%;
        top: 12%;
    }

    .data-row {
        font-size: 10px;
        gap: 6px;
        margin: 12px 0;
    }

    .data-dot {
        width: 17px;
        height: 17px;
        border-radius: 6px;
    }

    .chart {
        height: 105px;
        gap: 5px;
    }

    .ecosystem-card {
        font-size: 12px;
        padding: 14px 20px;
    }

    .section {
        padding: 55px 0;
    }

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

    .capability-card {
        min-height: auto;
        padding: 28px;
    }

    .cta-section {
        padding: 50px 20px;
        margin-bottom: 45px;
    }

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

/* Respect accessibility preferences */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
