:root {
    --primary: #1E3F7D; /* Darker Navy */
    --accent: #2B8BC6; /* Lighter Blue */
    --secondary: #BF0D3E; /* Texas Red */
    --dark: #111827;
    --light: #F9FAFB;
    --text: #374151;
    --white: #FFFFFF;
    --font: 'Inter', sans-serif;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative; /* Ensure z-index works for content over background */
    z-index: 10;
}

/* Header */
header {
    background: var(--white);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
}

/* Hero - MindPlay dark blue gradient */
.personal-hero {
    padding: 80px 0 120px;
    background: linear-gradient(135deg, #1E3F7D 0%, #0F2045 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

/* The geometric "beam" effect */
.personal-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(to bottom left, rgba(43, 139, 198, 0.3), rgba(43, 139, 198, 0.05));
    transform: rotate(-20deg);
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    transform: rotate(-2deg);
    transition: transform 0.3s;
    border: 4px solid rgba(255,255,255,0.2); /* Subtle glass border */
}

.hero-image:hover {
    transform: rotate(0deg);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    color: #FFFFFF; /* White for max contrast on dark blue bg */
    font-weight: 600;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: #E5E7EB; /* Light gray text */
}

.cta-group {
    margin-top: 40px;
}

.contact-sub {
    margin-top: 16px;
    font-size: 0.95rem;
    color: #9CA3AF;
}

/* Buttons */
.btn-primary, .btn-primary-large {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
    z-index: 20;
}

.btn-primary {
    padding: 10px 24px;
}

.btn-primary-large {
    padding: 16px 40px;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover, .btn-primary-large:hover {
    background: #3BA3DB; /* Slightly lighter accent */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Stats Section */
.section-dark {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0;
    margin-top: 0; /* Connected directly to hero now */
    border-top: 1px solid rgba(255,255,255,0.1);
}

.section-dark h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.stat-box {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat .desc {
    font-size: 1.25rem;
    font-weight: 700;
}

.stat-source {
    text-align: center;
    margin-top: 40px;
    opacity: 0.6;
    font-size: 0.9rem;
}

footer {
    background: #000;
    color: #666;
    text-align: center;
    padding: 30px 0;
}

/* Mobile */
@media (max-width: 800px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
        transform: rotate(0);
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .stat-box {
        gap: 40px;
    }
}
