/* Calomtech Brand Variables */
:root {
    --bg-dark: #1A1A1A; /* Graphite Black */
    --bg-gray: #F3F4F6; /* Cool White */
    --text-main: #1A1A1A;
    --text-light: #4A5568; /* Slate Grey */
    --accent: #0066FF; /* Electric Azure */
    --accent-hover: #004CDE;
    --neon: #E2F700; /* Neon Citron */
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --transition: all 0.25s ease-in-out;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 3.5rem; letter-spacing: -0.03em; }
h2 { font-size: 2.5rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1.5rem; color: var(--text-light); }

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
.container-sm { max-width: 800px; }

.bg-dark {
    background-color: var(--bg-dark);
    color: #ffffff;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #ffffff; }
.bg-dark p { color: rgba(255, 255, 255, 0.7); }

.bg-gray {
    background-color: var(--bg-gray);
}

.text-center { text-align: center; }

/* Buttons & Links */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    border-radius: 2px; /* Sharp corners */
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-block {
    display: block;
    width: 100%;
}

.link-action {
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
}
.link-action:hover {
    color: var(--neon);
}

/* Navigation */
.navbar {
    background: var(--bg-dark);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
}
.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255,255,255,0.7);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pill-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.grid-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.stat-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 4px solid var(--accent);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 500;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

/* Solutions Section */
.solutions {
    padding: 8rem 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 4rem;
}
.subtitle {
    font-size: 1.125rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.solution-card {
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-top: 4px solid var(--bg-dark);
    transition: var(--transition);
}

.solution-card:hover {
    border-top-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-box {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    border-top: 1px solid #E2E8F0;
    padding-top: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-main);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-family: var(--font-heading);
}

/* Performance / About */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 2rem;
}

.metrics {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.metric h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}
.metric p {
    font-size: 0.875rem;
    margin: 0;
}

.image-side {
    position: relative;
}

.image-side img {
    border-radius: 4px;
}

.overlay-box {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: var(--bg-dark);
    color: #ffffff;
    padding: 2rem;
    font-family: var(--font-heading);
    border-left: 4px solid var(--accent);
}

/* Form Styles */
.cta-section {
    padding: 8rem 0;
}

.enterprise-form {
    margin-top: 3rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

input, select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
}
input::placeholder { color: rgba(255,255,255,0.4); }

input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.1);
}

select {
    margin-bottom: 1.5rem;
    appearance: none;
    color: rgba(255,255,255,0.7);
}
select option { color: var(--text-main); }

/* Footer */
.site-footer {
    background: #0f0f0f; /* Even darker than bg-dark */
    color: #ffffff;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.brand-col p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    max-width: 280px;
}

.link-col h4 {
    color: #ffffff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.link-col a {
    display: block;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}
.link-col a:hover { color: var(--accent); }

.contact-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-family: var(--font-heading);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container, .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .solutions-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .d-none-mobile { display: none; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        display: none;
    }
    .nav-links.active { display: flex; }
    
    .solutions-grid, .form-row, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2.5rem; }
    .hero { padding: 8rem 0 4rem; }
    
    .overlay-box {
        position: static;
        margin-top: -2rem;
        width: 100%;
        z-index: 2;
    }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}