/*
Theme Name: GozerAI
Theme URI: https://gozerai.com
Description: Dark slate theme for the GozerAI modular AI ecosystem. Matches the existing product design language across Trendscope, Shopforge, Brandguard, Taskpilot, and Arclane.
Author: GozerAI
Author URI: https://gozerai.com
Version: 1.0.0
License: Proprietary
Text Domain: gozerai
*/

:root {
    --bg: #0f172a;
    --bg-surface: #1e293b;
    --bg-card: #1e293b;
    --bg-card-hover: #253349;
    --border: #334155;
    --border-light: #475569;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --radius: 12px;
    --radius-sm: 8px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body,
body.custom-background,
.wp-site-blocks {
    font-family: var(--font) !important;
    background: var(--bg) !important;
    background-color: var(--bg) !important;
    color: var(--text) !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding: 0 !important;
    margin: 0 !important;
}

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

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

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

/* Layout */
.gz-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.gz-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

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

.gz-nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.gz-nav-brand span {
    color: var(--accent);
}

.gz-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.gz-nav-links a {
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.gz-nav-links a:hover,
.gz-nav-links a.active {
    color: var(--text);
    background: var(--bg-surface);
}

.gz-nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 600;
}

.gz-nav-cta:hover {
    background: var(--accent-hover) !important;
}

/* Hero */
.gz-hero {
    text-align: center;
    padding: 6rem 0 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.gz-hero-badge {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.gz-hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.gz-hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gz-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

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

/* Buttons */
.gz-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

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

.gz-btn-secondary {
    background: var(--bg-surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.gz-btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    color: var(--text);
}

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

.gz-btn-outline:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

.gz-btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

/* Sections */
.gz-section {
    padding: 5rem 0;
}

.gz-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gz-section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.gz-section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Product / Feature Cards */
.gz-grid {
    display: grid;
    gap: 1.5rem;
}

.gz-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.gz-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gz-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.gz-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s;
}

.gz-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.gz-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gz-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gz-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.gz-card-featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
}

.gz-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Product Hero (subsite) */
.gz-product-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 5rem 0;
}

.gz-product-hero-content {
    flex: 1;
    max-width: 560px;
}

.gz-product-hero-content h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.gz-product-hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.gz-product-hero-visual {
    flex: 1;
    max-width: 500px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Feature List */
.gz-features-list {
    list-style: none;
    padding: 0;
}

.gz-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.gz-features-list li::before {
    content: "\2713";
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Pricing */
.gz-pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
}

.gz-pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
    position: relative;
}

.gz-pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gz-pricing-tier {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.gz-pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.gz-pricing-amount span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.gz-pricing-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.gz-pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.gz-pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gz-pricing-features li::before {
    content: "\2713";
    color: var(--accent);
    font-weight: 700;
}

/* Footer */
.gz-footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    margin-top: 2rem;
}

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

.gz-footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    max-width: 300px;
}

.gz-footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.gz-footer-col ul {
    list-style: none;
    padding: 0;
}

.gz-footer-col li {
    margin-bottom: 0.5rem;
}

.gz-footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gz-footer-col a:hover {
    color: var(--text);
}

.gz-footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Divider */
.gz-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* Badge */
.gz-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.gz-badge-blue {
    background: var(--accent-glow);
    color: var(--accent);
}

.gz-badge-green {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

/* Stats bar */
.gz-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.gz-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.gz-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* WordPress overrides */
.wp-block-post-content {
    max-width: none;
}

.entry-content > * {
    max-width: none;
}

/* Mobile hamburger toggle */
.gz-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.gz-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
    border-radius: 2px;
}

.gz-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.gz-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.gz-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Newsletter */
.gz-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.gz-newsletter h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.gz-newsletter p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gz-newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.gz-newsletter-form input[type="email"] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    color: var(--text);
    font-size: 0.9rem;
    min-width: 240px;
    outline: none;
    font-family: var(--font);
}

.gz-newsletter-form input[type="email"]:focus {
    border-color: var(--accent);
}

.gz-newsletter-form input[type="email"]::placeholder {
    color: var(--text-dim);
}

/* Contact form */
.gz-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.gz-form-group {
    margin-bottom: 1.5rem;
}

.gz-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.gz-form-group input,
.gz-form-group textarea,
.gz-form-group select {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
}

.gz-form-group input:focus,
.gz-form-group textarea:focus {
    border-color: var(--accent);
}

.gz-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.gz-form-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--success);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

/* Article / Blog */
.gz-article {
    max-width: 800px;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.gz-article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gz-article-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: 1rem;
}

.gz-article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.gz-article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.gz-article-content h2,
.gz-article-content h3 {
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.gz-article-content p {
    margin-bottom: 1.25rem;
}

.gz-article-content a {
    color: var(--accent);
}

.gz-article-content ul,
.gz-article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.gz-article-content li {
    margin-bottom: 0.5rem;
}

.gz-blog-card {
    text-decoration: none;
    color: inherit;
}

.gz-blog-card:hover {
    color: inherit;
}

/* Status indicators */
.gz-status-up { color: var(--success); }
.gz-status-down { color: var(--error); }
.gz-status-unknown { color: var(--warning); }

/* Responsive */
@media (max-width: 768px) {
    .gz-hero h1 { font-size: 2.25rem; }
    .gz-hero p { font-size: 1rem; }
    .gz-product-hero { flex-direction: column; padding: 3rem 0; gap: 2rem; }
    .gz-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .gz-stats { flex-wrap: wrap; gap: 2rem; }
    .gz-pricing-amount { font-size: 2.25rem; }
    .gz-article-header h1 { font-size: 1.75rem; }

    .gz-nav-toggle { display: flex; }

    .gz-nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        z-index: 100;
    }

    .gz-nav-links.open {
        display: flex;
    }

    .gz-nav-links a {
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
    }

    .gz-newsletter {
        flex-direction: column;
        text-align: center;
    }

    .gz-newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .gz-newsletter-form input[type="email"] {
        min-width: auto;
        width: 100%;
    }

    .gz-footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
