:root {
    /* Global Design System */
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --glass: rgba(255, 255, 255, 0.8);

    /* B2B Theme (Commercial) - Updated to match logo */
    --b2b-primary: #008fb1;
    --b2b-secondary: #00d2e5;
    --b2b-gradient: linear-gradient(135deg, #008fb1 0%, #00d2e5 100%);

    /* B2G Theme (Institutional) */
    --b2g-primary: #1e293b;
    --b2g-secondary: #64748b;
    --b2g-gradient: linear-gradient(135deg, #1e293b 0%, #64748b 100%);

    /* Neutrals */
    --white: #ffffff;
    --light: #f8fafc;
    --dark: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
}

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

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

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

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

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

strong {
    color: var(--b2b-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-b2b {
    background: var(--b2b-gradient);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 74, 153, 0.2);
}

.btn-b2b:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 74, 153, 0.3);
}

.btn-b2g {
    background: var(--b2g-gradient);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.2);
}

.btn-b2g:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 41, 59, 0.3);
}

/* Hero Home */
.hero-home {
    padding: 14rem 0 8rem;
    background: radial-gradient(circle at top right, rgba(0, 143, 177, 0.08), transparent 45%),
        radial-gradient(circle at bottom left, rgba(0, 210, 229, 0.05), transparent 40%);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--b2b-primary);
    color: var(--b2b-primary);
}

.btn-outline:hover {
    background: var(--b2b-primary);
    color: var(--white);
}

/* Home Silos */
.silo-card-home {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    background: var(--white);
    transition: var(--transition);
}

.silo-card-home h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.b2b-home:hover {
    border-color: var(--b2b-secondary);
    background: linear-gradient(to bottom right, var(--white), #f0f9ff);
}

.b2g-home:hover {
    border-color: var(--b2g-secondary);
    background: linear-gradient(to bottom right, var(--white), #f8fafc);
}

/* Bifurcation Layout - Deprecated but kept for compatibility if needed */
.bifurcation-screen {
    display: none;
}

.silo-card {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem;
    text-decoration: none;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.silo-card:hover {
    flex: 1.2;
}

.silo-card.b2b {
    background: var(--light);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.silo-card.b2g {
    background: #f1f5f9;
}

.silo-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
}

.silo-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--b2b-primary);
    margin-bottom: 1rem;
}

.b2g .silo-tag {
    color: var(--b2g-primary);
}

.silo-card h2 {
    margin-bottom: 1.5rem;
}

.silo-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
}

.silo-card:hover .silo-bg-pattern {
    transform: scale(1.1);
    opacity: 0.05;
}

/* Header & Nav for Silos */
.site-header {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.25rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    height: 90px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.site-header.scrolled .nav-logo {
    height: 75px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: var(--transition);
}

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

/* Sections */
.hero {
    padding: 12rem 0 8rem;
    background: radial-gradient(circle at top right, rgba(0, 168, 232, 0.05), transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--b2b-primary);
}

/* Cards & Silos */
.card {
    padding: 3rem;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Technical Details */
.tech-details {
    background: #f1f5f9;
    padding: 4rem 0;
    border-radius: 50px;
    margin: 4rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.footer-legal {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .bifurcation-screen {
        flex-direction: column;
        height: auto;
    }

    .silo-card {
        padding: 8rem 2rem;
        height: 50vh;
    }

    .hero-home {
        padding-top: 10rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .nav-links {
        display: none;
    }

    .grid-2-home {
        grid-template-columns: 1fr !important;
    }

    .silo-card-home {
        min-height: auto;
        padding: 3rem 2rem;
    }
}