/* Monochromatic Black, White & Grey Variables */
:root {
    --bg-pure: #000000;
    --bg-dark: #0A0A0A;
    --bg-card: #121212;
    --accent-main: #FFFFFF;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --text-main: #FFFFFF;
    --text-muted: #9E9E9E;
    --border-subtle: rgba(255, 255, 255, 0.15);
    --border-lighter: rgba(255, 255, 255, 0.3);
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

/* Reset & Global */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-pure);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 0; }
.bg-black { background-color: var(--bg-pure); }
.bg-dark { background-color: var(--bg-dark); }
.border-top { border-top: 1px solid var(--border-subtle); }
.mt-2 { margin-top: 1.5rem; }

/* Typography */
h1, h2, h3, h4, h5 { font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: 4rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 3rem; }
.highlight-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #777777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
p { color: var(--text-muted); }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Logo Handling - The Magic Trick */
.brand-logo {
    height: 45px;
    object-fit: contain;
    /* Turns the black logo white so it looks perfect on the dark nav */
    filter: invert(1) brightness(2); 
}
.footer-logo { height: 60px; }

/* Navigation */
nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s ease;
}
nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}
.nav-container {
    max-width: 1300px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-links { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: #FFF; }
.nav-btn {
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    border: 1px solid var(--border-lighter);
    color: #FFF !important;
}
.nav-btn:hover { background: var(--text-main); color: var(--bg-pure) !important; }
.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block; padding: 1rem 2rem;
    font-weight: 600; font-size: 0.95rem;
    border-radius: 4px; transition: all 0.3s ease;
    cursor: pointer; text-align: center;
}
.btn-primary {
    background-color: var(--accent-main);
    color: var(--bg-pure);
    box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,0.3); }
.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-lighter);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Hero Section */
.hero {
    height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
}
#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-pure) 100%);
    z-index: 2;
}
.hero-content {
    position: relative; z-index: 3; max-width: 900px;
    margin: 0 auto; text-align: center; padding: 0 2rem;
}
.badge {
    display: inline-block; padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main); border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; letter-spacing: 0.5px;
}
.hero-content p { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; }

/* Grids */
.metrics-strip { background: var(--bg-card); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 3rem 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.align-center { align-items: center; }

/* Metrics */
.metric { text-align: center; border-right: 1px solid var(--border-subtle); }
.metric:last-child { border-right: none; }
.metric h3 { display: inline-block; font-size: 3rem; color: var(--text-main); }
.suffix { font-size: 2rem; color: var(--text-muted); font-weight: 600; }
.metric p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.5rem; }

/* Bento Grid */
.bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto); gap: 1.5rem;
}
.bento-item {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 12px; padding: 2.5rem;
    transition: transform 0.3s, border-color 0.3s;
}
.bento-item:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.4); }
.bento-item.wide { grid-column: span 2; }
.bento-item.dark-accent { background: linear-gradient(145deg, #222222, #000000); border: 1px solid var(--border-lighter); }
.accent-icon { font-size: 2rem; color: var(--accent-main); margin-bottom: 1.5rem; }
.arrow-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-weight: 600; color: #FFF; }

/* Portfolio Cards */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.portfolio-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    padding: 2.5rem; border-radius: 8px; display: flex; flex-direction: column;
}
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.sector-tag { font-size: 0.75rem; padding: 0.3rem 0.8rem; background: rgba(255,255,255,0.08); border-radius: 4px; border: 1px solid var(--border-subtle); color: var(--text-main); }
.portfolio-card p { flex-grow: 1; font-size: 0.95rem; }
.card-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); }
.status { font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; color: var(--text-main); }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.status.active::before { background: #FFFFFF; box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }

/* Links Setup */
.ir-links { list-style: none; margin-top: 2rem; }
.ir-links li { margin-bottom: 1rem; }
.ir-links a { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle); border-radius: 6px; }
.ir-links a:hover { background: rgba(255,255,255,0.1); border-color: var(--border-lighter); color: #FFF; }
.ir-links i { color: var(--text-main); font-size: 1.2rem; }

/* Group Structure Diagram (Monochromatic update) */
.dash-header { display: flex; justify-content: space-between; font-weight: 600; color: #FFF; }
.org-chart { display: flex; flex-direction: column; align-items: center; padding-top: 1rem; }
.org-parent { 
    background: var(--text-main); color: var(--bg-pure); padding: 1.2rem; 
    text-align: center; border-radius: 8px; font-weight: 700; 
    margin-bottom: 2.5rem; position: relative; width: 100%; max-width: 300px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}
.org-parent::after { 
    content: ''; position: absolute; bottom: -2.5rem; left: 50%; 
    width: 2px; height: 2.5rem; background: var(--border-lighter); transform: translateX(-50%); 
}
.org-branches { 
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; position: relative; width: 100%;
}
.org-branches::before { 
    content: ''; position: absolute; top: -2.5rem; left: 25%; right: 25%; 
    height: 2px; background: var(--border-lighter); 
}
.org-child { 
    background: rgba(255,255,255,0.05); padding: 1rem; text-align: center; 
    border: 1px solid var(--border-lighter); border-radius: 6px; font-weight: 600; 
    transition: 0.3s;
}
.org-child:hover { background: rgba(255,255,255,0.15); border-color: #FFF; }
.org-child.dark { border-style: dashed; border-color: var(--border-lighter); color: var(--text-muted); }
.org-child.dark:hover { border-color: #FFF; color: #FFF; }

/* Team Section */
.team-card { text-align: center; }
.team-img {
    width: 100%; aspect-ratio: 1; background: var(--bg-card);
    border: 1px solid var(--border-subtle); border-radius: 8px;
    margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: rgba(255,255,255,0.2);
}
.team-card h4 { margin-bottom: 0.2rem; }
.team-card p { font-size: 0.9rem; margin-bottom: 1rem; }
.team-card a { color: var(--text-muted); transition: color 0.3s; }
.team-card a:hover { color: #FFF; }

/* Forms & Footer */
.corporate-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.input-group { display: flex; gap: 1rem; }
input, select, textarea {
    width: 100%; padding: 1rem; background: var(--bg-pure);
    border: 1px solid var(--border-lighter); color: var(--text-main);
    border-radius: 4px; font-family: var(--font-main);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #FFF; }
select { appearance: none; cursor: pointer; }

.footer-top { padding-bottom: 4rem; }
.social-links a {
    display: inline-flex; width: 40px; height: 40px;
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 4px; align-items: center; justify-content: center;
    margin-right: 0.5rem; transition: 0.3s; color: var(--text-muted);
}
.social-links a:hover { background: #FFF; color: #000; border-color: #FFF; }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding: 2rem 0; background: var(--bg-pure); }
.footer-flex { display: flex; justify-content: space-between; align-items: center; }
.footer-links { list-style: none; display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: #FFF; }

/* Responsive */
@media(max-width: 1024px) {
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .bento-item.wide { grid-column: span 1; }
    .grid-3, .grid-4, .portfolio-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
    h1 { font-size: 2.8rem; }
    .grid-2, .grid-3, .grid-4, .bento-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .bento-item.wide { grid-column: span 1; }
    .input-group { flex-direction: column; }
    .metric { border-right: none; border-bottom: 1px solid var(--border-subtle); padding: 2rem 0; }
    .metric:last-child { border-bottom: none; }
    .org-branches::before { left: 10%; right: 10%; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--bg-dark); flex-direction: column; padding: 2rem; border-bottom: 1px solid var(--border-subtle);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .footer-flex { flex-direction: column; gap: 1rem; text-align: center; }
}