/* Hitai.ai - Institutional Trading Platform Styles */
:root {
    --primary: #f0b90b;
    --header-bg: #f0f7ff;
    --header-border: #dbeafe;
    --light-bg: #ffffff;
    --border: #e6e8ea;
    --text-main: #1e2329;
    --text-muted: #707a8a;
    --nav-text: #1e40af;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    background-color: var(--light-bg); 
    color: var(--text-main); 
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* --- Navigation --- */
header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    padding: 0 5%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { font-size: 24px; font-weight: 800; color: #1e3a8a; text-decoration: none; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--nav-text); font-weight: 600; font-size: 14px; }

/* --- Hero Section (Centered & Tighter) --- */
.hero { 
    text-align: center; 
    padding: 30px 20px 0px 20px; 
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero h1 { 
    font-size: 2.8rem; 
    color: #0f172a; 
    margin-bottom: 12px; 
    line-height: 1.1; 
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 20px auto;
}

/* IMAGE FIX: Smaller and Centered */
.hero-image-container {
    width: 100%;
    max-width: 800px; /* Reduced from 1100px for a smaller look */
    margin: 25px auto 0 auto; 
    display: flex;
    justify-content: center;
}

.hero-image-container img {
    width: 100%;
    height: auto;
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(30,58,138,0.1);
    border: 1px solid var(--border);
}

/* --- Features Section (Narrower Grid) --- */
.features-container {
    max-width: 900px; /* Constrained to make squares narrower */
    margin: 20px auto 60px auto; 
    padding: 0 20px; 
}

.card {
    padding: 25px; 
    border-radius: 10px;
    border: 1px solid var(--border);
    text-align: center;
}

.card h3 { font-size: 1.1rem; color: #1e3a8a; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

.card-latency { background-color: #f0f7ff; border-color: #dbeafe; }
.card-supply { background-color: #fffbeb; border-color: #fef3c7; }
.card-quant { background-color: #f0fdf4; border-color: #dcfce7; }

.btn {
    background: var(--primary); 
    color: #1e2329; 
    padding: 14px 30px; 
    border-radius: 6px; 
    font-weight: 700; 
    text-decoration: none; 
    display: inline-block;
    font-size: 0.95rem;
}

footer {
    border-top: 1px solid var(--border); 
    padding: 30px 0; 
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}