:root {
    /* Brand Colors */
    --burnt-orange: #C85711;
    --soft-peach: #FCDDCA;
    --cream: #FFF7F1;
    --dark-text: #24140E;
    --muted-brown: #7A3B16;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --card-shadow: 0 20px 40px rgba(36, 20, 14, 0.05);
    --premium-gradient: linear-gradient(135deg, var(--soft-peach) 0%, var(--cream) 100%);
    --glow-orange: 0 0 20px rgba(200, 87, 17, 0.2);
}

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

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--cream);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
    position: relative;
    border-radius: 40px;
    /* Grounded design */
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.1rem;
    color: var(--muted-brown);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--burnt-orange);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(200, 87, 17, 0.2);
}

.btn-primary:hover {
    background: var(--burnt-orange-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(200, 87, 17, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--burnt-orange);
    color: var(--burnt-orange);
}

.btn-secondary:hover {
    background: var(--burnt-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 88px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    border-radius: 100px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--burnt-orange);
    text-decoration: none;
}

.logo img {
    height: 68px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}

.bento-item {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(200, 87, 17, 0.05);
    display: flex;
    flex-direction: column;
}

.bento-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.bento-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(200, 87, 17, 0.1);
    border-color: var(--soft-peach);
}

.bento-item .icon-box {
    transition: all 0.4s ease;
}

.bento-item:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    color: var(--burnt-orange-light);
}

/* Command Center Visuals */
.command-center {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 10px;
    perspective: 1000px;
}

.status-card {
    background: var(--white);
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    border: 1px solid rgba(0, 0, 0, 0.02);
    animation: float-slow 4s infinite ease-in-out;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-card.active .status-indicator {
    background: #27c93f;
    box-shadow: 0 0 10px #27c93f;
}

.status-card.running .status-indicator {
    background: var(--burnt-orange);
    box-shadow: 0 0 10px var(--burnt-orange);
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0) rotateX(0);
    }

    50% {
        transform: translateY(-8px) rotateX(2deg);
    }
}

/* Talent Network Animation */
.talent-network-container {
    position: relative;
    width: 100%;
    height: 200px;
    background: rgba(200, 87, 17, 0.015);
    border-radius: 20px;
    border: 1px solid rgba(200, 87, 17, 0.08);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: inset 0 0 24px rgba(200, 87, 17, 0.01);
}

.talent-network-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.talent-network-svg line {
    stroke: var(--burnt-orange);
    stroke-width: 1.5;
    stroke-opacity: 0.12;
    stroke-dasharray: 4 4;
    animation: dash-flow 20s linear infinite;
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -40;
    }
}

.talent-network-svg .pulse-line {
    stroke: var(--burnt-orange);
    stroke-width: 1.5;
    stroke-opacity: 0.4;
    stroke-dasharray: 10 90;
    stroke-dashoffset: 100;
    animation: pulse-flow 4s infinite linear;
}

@keyframes pulse-flow {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.talent-profile-node {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.talent-profile-node:hover {
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 10;
}

.talent-node-avatar {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 2px solid var(--burnt-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(200, 87, 17, 0.12);
    transition: all 0.3s ease;
    position: relative;
}

.talent-profile-node:hover .talent-node-avatar {
    background: var(--soft-peach);
    box-shadow: 0 6px 15px rgba(200, 87, 17, 0.22), 0 0 0 6px rgba(200, 87, 17, 0.08);
}

.talent-node-avatar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid var(--burnt-orange);
    opacity: 0.3;
    animation: avatar-pulse 2.5s infinite ease-out;
}

@keyframes avatar-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.talent-node-label {
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--dark-text);
    background: var(--white);
    padding: 3px 8px;
    border-radius: 100px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(200, 87, 17, 0.08);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.talent-profile-node:hover .talent-node-label {
    background: var(--burnt-orange);
    color: var(--white);
    border-color: var(--burnt-orange);
}

/* Moving Glowing Line */
.glow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--burnt-orange), transparent);
    animation: move-glow 4s infinite linear;
    opacity: 0.3;
}

@keyframes move-glow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Animations */
@keyframes float {

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

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

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(200, 87, 17, 0.1);
    }

    50% {
        box-shadow: 0 0 40px rgba(200, 87, 17, 0.3);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

@keyframes scroll-tick {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

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

    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* Footer */
footer {
    background: var(--cream);
    color: var(--dark-text);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer a {
    color: var(--dark-text);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 1;
    color: var(--burnt-orange);
}

.footer-bottom {
    text-align: center;
    opacity: 0.5;
    font-size: 0.8rem;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* How We Work Timeline */
.how-we-work {
    padding: 100px 0;
    position: relative;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 40px;
    border-left: 2px solid var(--soft-peach);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 120px;
    background: var(--cream);
}

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

/* CTA Card */
.cta-card {
    background: var(--dark-text);
    color: var(--white);
    padding: 60px;
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

.cta-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(200, 87, 17, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    color: var(--white);
}

.cta-card p {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    nav {
        height: 72px;
        padding: 0 20px;
    }

    .logo img {
        height: 52px;
    }

    .nav-links {
        display: none;
    }

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