/* OpenClaw Consulting - Terminal Theme CSS */
:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --accent-green: #3fb950;
    --accent-blue: #58a6ff;
    --accent-purple: #a371f7;
    --accent-orange: #d29922;
    --accent-red: #f85149;
    --accent-cyan: #39c5cf;
    --border-color: #30363d;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Cursor Blink Animation */
.cursor-blink {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-green);
    animation: cursor-blink 1s infinite;
    z-index: 9999;
    pointer-events: none;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Base */
.section {
    padding: 100px 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-green);
    background: rgba(63, 185, 80, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(63, 185, 80, 0.3);
}

.section-header h2 {
    font-size: 36px;
    font-weight: 600;
}

/* Terminal Window */
.terminal-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    font-family: var(--font-mono);
}

.terminal-window.small {
    font-size: 13px;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: # }

.terminal-title27ca40; {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
}

.terminal-content, .terminal-body {
    padding: 20px;
}

.terminal-line {
    margin-bottom: 8px;
    font-size: 14px;
}

.terminal-line .prompt {
    color: var(--accent-green);
}

.terminal-line .path {
    color: var(--accent-blue);
}

.terminal-line .command {
    color: var(--text-primary);
}

.terminal-line .cursor {
    animation: blink 1s infinite;
}

.terminal-line .output {
    color: var(--text-secondary);
    padding-left: 20px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Navigation */
.terminal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
}

.nav-brand .prompt {
    color: var(--accent-green);
}

.brand-name {
    font-weight: 600;
}

.cursor-small {
    animation: blink 1s infinite;
    color: var(--accent-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--accent-green);
}

.nav-cta {
    padding: 10px 20px;
    background: var(--accent-green);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
}

.nav-cta:hover {
    background: #2ea043;
    color: var(--bg-primary);
}

/* Hero Section */
.hero-terminal {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-terminal .terminal-window {
    max-width: 700px;
    width: 100%;
    margin-bottom: 40px;
}

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

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #2ea043;
    color: var(--bg-primary);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

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

.btn-outline:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
}

/* Problem Section */
.problem-section {
    background: var(--bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.problem-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    transition: var(--transition);
}

.problem-box:hover {
    border-color: var(--accent-red);
    transform: translateY(-4px);
}

.problem-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.problem-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.problem-box p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.code-snippet {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-orange);
}

/* Solution Section */
.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.solution-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.solution-list {
    list-style: none;
}

.solution-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.solution-list .check {
    color: var(--accent-green);
    font-size: 20px;
}

.solution-terminal {
    max-width: 450px;
}

/* Features Section */
.features-section {
    background: var(--bg-secondary);
}

.features-table-wrapper {
    overflow-x: auto;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
}

.features-table th,
.features-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.features-table th {
    background: var(--bg-tertiary);
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.features-table td {
    font-size: 14px;
}

.features-table tr:hover td {
    background: rgba(88, 166, 255, 0.05);
}

.feature-name {
    color: var(--accent-blue);
    font-weight: 600;
}

.features-table code {
    background: var(--bg-tertiary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--accent-cyan);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
}

.pricing-card.featured {
    border-color: var(--accent-green);
    background: linear-gradient(180deg, rgba(63, 185, 80, 0.05) 0%, var(--bg-secondary) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: var(--bg-primary);
    padding: 6px 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '>';
    color: var(--accent-green);
    font-family: var(--font-mono);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.testimonial-code {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.testimonial-code pre {
    margin: 0;
}

.testimonial-code code {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--accent-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--bg-primary);
}

.author-info strong {
    display: block;
    font-size: 14px;
}

.author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-toggle {
    font-size: 24px;
    color: var(--accent-green);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-terminal {
    max-width: 600px;
    margin: 0 auto;
}

.terminal-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.terminal-form .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
}

/* Footer */
.terminal-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-term .heart {
    color: var(--accent-red);
}

/* Blog Section */
.blog-section {
    background: var(--bg-primary);
}

.blog-section .section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 16px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.blog-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-4px);
}

.blog-card.terminal-style .blog-terminal-header {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.blog-card .blog-content {
    padding: 24px;
}

.blog-card .blog-category {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    color: var(--accent-green);
    background: rgba(74, 246, 138, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.blog-card h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card .blog-link {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-green);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .solution-content {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .terminal-nav {
        flex-wrap: wrap;
        padding: 12px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

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

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

/* What's Inside Section */
.whats-inside-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

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

.tutorial-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tutorial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tutorial-item:hover::before {
    transform: scaleX(1);
}

.tutorial-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(57, 197, 207, 0.2);
}

.tutorial-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.tutorial-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tutorial-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.guide-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-tertiary);
    border-radius: 16px;
    border: 2px solid var(--accent-cyan);
}

.btn-large {
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
}

.money-back {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tutorial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .guide-cta {
        padding: 2rem 1rem;
    }

    .btn-large {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
}
