/*
Theme Name: HoverWP Engineering
Author: HoverWP
Description: A minimalist, high-performance engineering theme.
Version: 1.0
*/

/* --- 1. VARIABLES & RESET --- */
:root {
    --bg: #ffffff;
    --surface: #f9f9f9;
    --text: #111111;
    --text-light: #666666;
    --accent: #000000;
    --border: #eeeeee;
    --code-bg: #1e1e1e;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Courier New', monospace;
    --max-width: 1200px;
    --radius: 4px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body > section, body > main > section {
    padding: 6rem 5% 8rem;
}
a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- 2. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 { 
    font-weight: 800; 
    line-height: 1.1; 
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1.5rem;
}

p { margin-bottom: 1.5rem; }

.mono-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    display: block;
    margin-bottom: 1rem;
}

.text-link { 
    border-bottom: 2px solid var(--accent); 
    font-weight: 700; 
    padding-bottom: 2px;
    color: var(--accent);
}

/* --- 3. REUSABLE COMPONENTS --- */
.section-std { padding: 8rem 5%; }
.container-std { max-width: var(--max-width); margin: 0 auto; }

/* Standard Button Style */
.wizard-btn-visual {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s ease;
}
.wizard-btn-visual:hover { transform: translateY(-2px); }

/* --- 4. GLOBAL HEADER --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 5%;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--accent);
}

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

.main-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}
.main-nav a[aria-current] {
    text-decoration: underline;
}
.header-cta a {
    background: var(--accent);
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }



/* --- GLOBAL PAGE TITLE -- */
.page-hero {
    
}
.page-hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.1;
margin-bottom: 1.5rem;
}
.page-hero .page-sub {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
}
/* --- 5. GLOBAL FOOTER --- */
.site-footer {
    background: var(--accent);
    color: #fff;
    padding: 8rem 5% 3rem;
}
/* Footer Call to Action */
.footer-cta {
    text-align: center;
    margin-bottom: 8rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid #333;
}

.footer-cta h2 {
    color: #fff;
    font-size: 3rem;
}
.footer-brand p {
    color: #888;
    margin-top: 1.5rem;
    max-width: 320px;
    font-size: 1.1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 2rem;
}
.footer-col ul li {margin-bottom: 1rem;}
.footer-col a { color: #ccc; }
.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.85rem;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

/* --- 6. RESPONSIVE UTILS --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 2rem; border-bottom: 1px solid var(--border); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; align-items: flex-start; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}