/* =============================================
   Global Styles — shared across all pages
   ============================================= */

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

html {
    font-size: 62.5%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* --- Layout --- */
.container {
    max-width: 120rem;
    margin: 0 auto;
}

/* --- Typography --- */
h1 {
    font-size: 4.8rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.6rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.6rem;
}

p {
    margin-bottom: 1.6rem;
    color: #333333;
    line-height: 1.7;
}

ul {
    margin-bottom: 1.6rem;
    padding-left: 2.4rem;
}

li {
    margin-bottom: 0.8rem;
    color: #333333;
    line-height: 1.6;
}

/* --- Links --- */
a {
    color: #ea580c;
    text-decoration: none;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #c2410c;
    text-decoration: underline;
}

/* --- Hero (shared by ai-acceleration, fractional-cto, wbr) --- */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 8rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
}

.logo {
    font-size: 4.8rem;
    font-weight: bold;
    color: #ea580c;
    letter-spacing: -2px;
    margin-bottom: 0.8rem;
}

.logo-brackets {
    font-size: 1.4rem;
    color: #9a3412;
    margin-top: -0.8rem;
}

.hero-subtitle {
    font-size: 2.4rem;
    color: #666666;
    font-weight: 600;
    margin-bottom: 3.2rem;
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    max-width: 90rem;
    margin: 4rem auto 0;
}

@media (min-width: 768px) {
    .hero-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

.metric-card {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    padding: 2.4rem;
    border-radius: 1.2rem;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.1);
}

.metric-value {
    font-size: 5.6rem;
    font-weight: bold;
    color: #ea580c;
    margin-bottom: 0.8rem;
    line-height: 1;
}

.metric-label {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.4rem;
}

.metric-detail {
    font-size: 1.3rem;
    color: #6b7280;
}

/* --- Section Layout (shared by ai-acceleration, fractional-cto, wbr) --- */
section {
    padding: 8rem 2rem;
}

section:nth-child(even) {
    background-color: #fafafa;
}

.section-intro {
    font-size: 1.8rem;
    color: #666666;
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* --- Two Column Layout --- */
.two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.2rem;
    max-width: 110rem;
    margin: 0 auto;
}

@media (min-width: 991px) {
    .two-column {
        grid-template-columns: 1fr 1fr;
    }
}

.content-card {
    background: white;
    padding: 3.2rem;
    border-radius: 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.content-card h3 {
    font-size: 2.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.6rem;
}

.content-card p {
    color: #333333;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.content-card ul {
    margin: 1.6rem 0;
    padding-left: 2.4rem;
}

.content-card li {
    margin-bottom: 0.8rem;
    color: #333333;
    line-height: 1.6;
}

/* --- Highlight Boxes --- */
.highlight-box {
    background: linear-gradient(to right, #fff7ed, #ffffff);
    border-left: 4px solid #ea580c;
    padding: 2.4rem;
    margin: 3.2rem auto;
    border-radius: 0.4rem;
    max-width: 110rem;
}

.highlight-box strong {
    color: #ea580c;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, #ea580c 0%, #9a3412 100%);
    color: white;
    text-align: center;
    padding: 8rem 2rem;
}

.cta-section h2 {
    color: white;
    margin-bottom: 2.4rem;
}

.cta-section p {
    font-size: 1.8rem;
    margin-bottom: 3.2rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

/* --- Contact Form --- */
.contact-form {
    margin-top: 1.6rem;
}

.form-group {
    margin-bottom: 1.6rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 0.4rem;
    color: #1a1a1a;
    font-family: inherit;
    font-size: 1.6rem;
    transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #ea580c;
    outline-offset: 2px;
    border-color: #ea580c;
}

.form-group textarea {
    resize: vertical;
    min-height: 12rem;
}

.submit-btn {
    width: 100%;
    padding: 1.4rem;
    background-color: #ea580c;
    color: #ffffff;
    border: none;
    border-radius: 0.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-btn:hover:not(:disabled) {
    background-color: #c2410c;
    transform: translateY(-0.1rem);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    margin-top: 1.6rem;
    padding: 1.2rem;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.form-status.error {
    display: block;
    background-color: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

/* Honeypot field - hidden from humans, visible to bots */
.hp-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
}

/* --- Footer (dark variant for subpages) --- */
footer {
    background-color: #1a1a1a;
    color: #999999;
    padding: 4rem 2rem;
    text-align: center;
}

footer p {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

footer a {
    color: #ea580c;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #c2410c;
}

/* --- CTA Form Wrapper (shared by ai-acceleration, fractional-cto, wbr) --- */
.cta-form-wrapper {
    max-width: 60rem;
    margin: 3.2rem auto;
    background: white;
    padding: 3.2rem;
    border-radius: 0.8rem;
}

/* --- Bio / About the Founder Section (shared by ai-acceleration, fractional-cto, wbr) --- */
.bio-wrapper {
    max-width: 90rem;
    margin: 0 auto;
}

.bio-text {
    font-size: 1.8rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 2.4rem;
}

.bio-heading {
    font-size: 2.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 3.2rem 0 1.6rem;
}

.career-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-highlight {
    background: #fafafa;
    border-left: 3px solid #ea580c;
    padding: 1.6rem 2.4rem;
    margin-bottom: 1.6rem;
    border-radius: 0.4rem;
}

.career-highlight strong {
    color: #ea580c;
}

.career-highlight a {
    color: #ea580c;
}

/* --- Utility: text --- */
.text-accent {
    color: #ea580c;
}

.text-accent-bold {
    color: #ea580c;
    font-weight: 600;
}

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

/* --- Utility: spacing --- */
.mt-3 {
    margin-top: 3.2rem;
}

.mt-4 {
    margin-top: 4rem;
}

/* --- Utility: pricing list (fractional-cto) --- */
.pricing-list {
    margin: 1.6rem 0;
    padding-left: 2.4rem;
}

.pricing-list li {
    margin-bottom: 0.8rem;
    color: #333333;
    line-height: 1.6;
}

/* --- Responsive Typography --- */
@media (max-width: 768px) {
    h1 {
        font-size: 3.6rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .metric-value {
        font-size: 4rem;
    }
}
