/*
Theme Name: Human Middleware Theme
Theme URI: https://example.com
Author: You
Description: Clean, conversion-focused theme for Human Middleware service businesses.
Version: 1.0.0
License: GPL v2+
Text Domain: hm-theme
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; line-height: 1.2; color: #1a1a2e; }
p { margin: 0 0 1rem; }
a { color: #4a6cf7; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ===== LAYOUT ===== */
.hm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hm-section {
    padding: 5rem 0;
}

.hm-section-alt {
    background: #fff;
}

/* ===== HEADER ===== */
.hm-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.hm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hm-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hm-logo:hover { text-decoration: none; }

.hm-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hm-nav a {
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.hm-nav a:hover {
    color: #4a6cf7;
    text-decoration: none;
}

.hm-nav-cta {
    background: #4a6cf7;
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

.hm-nav-cta:hover {
    background: #3a5ce7;
}

.hm-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a1a2e;
}

/* ===== HERO ===== */
.hm-hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hm-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hm-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hm-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.1;
}

.hm-hero h1 span {
    color: #4a6cf7;
}

.hm-hero p {
    font-size: 1.25rem;
    color: #aaa;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hm-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hm-hero .hm-btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}

.hm-hero .hm-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* ===== SECTION HEADERS ===== */
.hm-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hm-section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hm-section-header p {
    color: #888;
    font-size: 1.1rem;
}

/* ===== HOW IT WORKS ===== */
.hm-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.hm-step {
    text-align: center;
    position: relative;
}

.hm-step-number {
    width: 60px;
    height: 60px;
    background: #4a6cf7;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.hm-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.hm-step p {
    color: #888;
    font-size: 0.95rem;
}

/* ===== TRUST BADGES ===== */
.hm-trust {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hm-trust-item {
    text-align: center;
}

.hm-trust-item h4 {
    font-size: 2rem;
    color: #4a6cf7;
    margin-bottom: 0.25rem;
}

.hm-trust-item p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

/* ===== FOOTER ===== */
.hm-footer {
    background: #1a1a2e;
    color: #aaa;
    padding: 3rem 0 2rem;
    text-align: center;
}

.hm-footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* ===== CONTENT ===== */
.hm-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hm-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hm-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
}

.hm-content p {
    color: #555;
    line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hm-hero h1 { font-size: 2.25rem; }
    .hm-hero p { font-size: 1rem; }
    .hm-steps { grid-template-columns: 1fr; gap: 2rem; }
    .hm-section { padding: 3rem 0; }
    .hm-section-header h2 { font-size: 1.75rem; }
    .hm-nav { display: none; }
    .hm-mobile-toggle { display: block; }
    .hm-header-inner { padding: 1rem; }
    .hm-admin-stats { grid-template-columns: repeat(2, 1fr); }
}
