/* 
  TEKNOMANDIRI DESIGN SYSTEM V2.0
  Aesthetic: Systems Engineering White & Slate
  Built for: Enterprise Systems Integrator
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --primary: #1e40af;
    --primary-light: #eff6ff;
    --accent: #22c55e;
    --text-high: #0f172a;
    --text-mid: #475569;
    --text-low: #94a3b8;
    --bg-main: #ffffff;
    --bg-card: #f8fafc;
    --border: #e2e8f0;
    --border-bright: #cbd5e1;
    --container-width: 1200px;
    
    /* Spacing & Metrics */
    --max-width: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-mid);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, .heading-font {
    font-family: 'Outfit', sans-serif;
    color: var(--text-high);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

h2 { font-size: clamp(2.5rem, 5vw, 4rem); }

.mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* --- Layout Components --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.asymmetric-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
    padding: 8rem 0;
}

@media (max-width: 968px) {
    .asymmetric-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 0;
    }
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-high);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple fix for overlap on small screens */
    }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}

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

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(30, 64, 175, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-bright);
    color: var(--text-high);
}

.btn-outline:hover {
    border-color: var(--text-high);
    background: #f8fafc;
}

/* --- Hero Section --- */
.hero {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(circle at 70% 30%, #f1f5f9 0%, transparent 50%);
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    margin-bottom: 2.5rem;
}

.hero p {
    font-size: 1.35rem;
    max-width: 650px;
    margin-bottom: 3.5rem;
    color: var(--text-mid);
}

/* --- Cards & Bento --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: 2rem;
    margin: 4rem 0;
}

.bento-item {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.bento-item:hover {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
}

.bento-item.large { grid-column: span 2; grid-row: span 2; }
.bento-item.wide { grid-column: span 2; }

@media (max-width: 968px) {
    .bento-grid { display: flex; flex-direction: column; }
    .bento-item { min-height: 280px; }
    
    #hero-canvas {
        right: 0 !important;
        width: 100% !important;
        top: 20% !important;
        height: 60% !important;
        opacity: 0.4 !important;
    }
    
    .hero {
        padding-top: 80px;
        text-align: center;
        justify-content: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-content div {
        justify-content: center;
    }
}

/* --- Stats Display --- */
.stat-card {
    padding: 2rem;
    border-left: 3px solid var(--primary);
    background: #f8fafc;
}

.stat-card h3 { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--primary); }
.stat-card p { font-size: 0.85rem; color: var(--text-mid); text-transform: uppercase; font-weight: 600; }

/* --- Form Styles --- */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 700; color: var(--text-high); margin-bottom: 0.5rem; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 1.1rem;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.form-group input:focus { border-color: var(--primary); outline: none; }

/* --- Text Shimmer --- */
.shimmer {
    background: linear-gradient(90deg, var(--text-high) 0%, var(--primary) 50%, var(--text-high) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
