/*
Theme Name: Autbot AI Services
Author: Ben Weissig
Description: A modern, dark-themed WordPress theme for Autbot — AI Implementation for Business.
Version: 1.0.0
Text Domain: autbot-ai-services
*/

:root {
    --bg-color: #0a0a0a;
    --bg-elevated: #111111;
    --card-bg: #161616;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --accent-color: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.25);
    --accent-glow-strong: rgba(59, 130, 246, 0.4);
    --border-color: #2a2a2a;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-color); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

ul { list-style: none; }

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

/* ─── Layout ─── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

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

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); text-align: center; margin-bottom: 1.5rem; }
h3 { font-size: 1.35rem; }

p { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.7; }

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow-strong);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    color: var(--text-primary);
}

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo .accent {
    color: var(--accent-color);
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-navigation a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.main-navigation a:hover {
    color: var(--text-primary);
}

.header-cta .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, #111 0%, #0a0a0a 100%);
}

.hero .container {
    max-width: 800px;
}

.hero h1 {
    background: linear-gradient(135deg, #fff 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

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

/* ─── Services Grid ─── */
.services {
    background: var(--bg-elevated);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}

.service-tier {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: block;
    font-weight: 600;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card ul {
    margin: 1.25rem 0;
    padding: 0;
}

.service-card li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.service-benefit {
    font-style: italic;
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* ─── About / Credibility ─── */
.about {
    background: var(--bg-color);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.credibility-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.point {
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    color: var(--text-primary);
    font-weight: 500;
    text-align: left;
}

/* ─── Process ─── */
.process {
    background: var(--bg-elevated);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
}

.process-step h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

/* ─── FAQ ─── */
.faq {
    background: var(--bg-color);
}

.faq-list {
    max-width: 700px;
    margin: 2rem auto 0;
}

.faq-item {
    margin-bottom: 1rem;
    padding: 1.75rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--accent-color);
}

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin-bottom: 0;
}

/* ─── Contact CTA ─── */
.contact {
    background: var(--bg-elevated);
    padding: 5rem 0;
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.contact .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* ─── Footer ─── */
.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background: var(--bg-color);
}

.site-footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.site-footer a {
    color: var(--text-secondary);
}

.site-footer a:hover {
    color: var(--accent-color);
}

/* ─── Animations ─── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    section { padding: 4rem 0; }

    .header-inner {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .main-navigation ul {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero { min-height: 80vh; padding-top: 100px; }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .services-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .header-cta { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .service-card { padding: 1.75rem; }
}

/* ─── Page Templates ─── */
.page-template {
    padding-top: 100px;
    min-height: 80vh;
}

.page-template .container {
    max-width: 800px;
}

.page-template h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.page-template h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-top: 2rem;
}

.page-template p,
.page-template li {
    color: var(--text-secondary);
    line-height: 1.8;
}
