/* Variables & Theme */
:root {
    --bg-body: #0a0a0a;
    --bg-surface: #121212;
    --bg-card: #1c1c1c;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-primary: #3b82f6;
    /* Tech Blue */
    --accent-glow: rgba(59, 130, 246, 0.15);
    --border-subtle: #27272a;

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    --container-width: 1100px;
    --spacing-section: 120px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--spacing-section) 0;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-body);
}

.btn-primary:hover {
    background-color: #d1d5db;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--border-subtle);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.bg-surface {
    background-color: var(--bg-surface);
}

.large-text {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: #e5e7eb;
}

.small-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 32px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-main);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
}

/* Hero Section */
.hero-section {
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-section h1 {
    font-size: 4rem;
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subhead {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Pillars */
.section-header {
    margin-bottom: 80px;
    max-width: 600px;
}

.section-header h2 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

.section-intro {
    font-size: 1.125rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 24px;
}

.pillar-subtitle {
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.card-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Who We Serve */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list li {
    margin-bottom: 24px;
    padding-left: 32px;
    position: relative;
}

.check-list li::before {
    content: "";
    /* Checkmark or dot */
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 10px;
}

.decorative-grid {
    height: 400px;
    background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    columns: 2;
    gap: 60px;
}

.service-item h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
    display: inline-block;
}

/* How We Work */
.highlight-box {
    border: 1px solid var(--border-subtle);
    padding: 60px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--bg-card), var(--bg-surface));
    max-width: 800px;
    margin: 0 auto;
}

/* Ventures */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.venture-card {
    background-color: transparent;
    border: 1px solid var(--border-subtle);
}

.venture-card:hover {
    background-color: var(--bg-card);
}

/* Credibility / Logos */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 60px;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.logo-item {
    opacity: 0.6;
    transition: var(--transition);
    max-width: 150px;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.logo-item:hover img {
    filter: grayscale(0%);
}

.span-full {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* Contact */
.contact-container {
    text-align: center;
    max-width: 700px;
}

.contact-box {
    margin-top: 40px;
    padding: 40px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background-color: var(--bg-card);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.submit-btn {
    width: 100%;
    margin-top: 8px;
    border: none;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    margin-top: 16px;
    font-size: 0.95rem;
    min-height: 1.5em;
}

.form-status.success {
    color: #10b981;
    /* Green */
}

.form-status.error {
    color: #ef4444;
    /* Red */
}

/* Footer */
.site-footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 40px;
    width: auto;
    opacity: 0.8;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 16px 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        /* Simple hide for now, JS toggles */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-body);
        border-bottom: 1px solid var(--border-subtle);
        padding: 20px;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .decorative-grid {
        height: 200px;
    }
}