/* Pied Piper Autonomous — Styles */

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

:root {
    --color-bg: #0d1117;
    --color-card: #161b22;
    --color-text: #c9d1d9;
    --color-muted: #8b949e;
    --color-primary: #58a6ff;
    --color-accent: #7ee787;
    --color-warn: #f0883e;
    --font-mono: 'SF Mono', 'Fira Code', Monaco, monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #fff;
    font-weight: 600;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; text-align: center; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

/* Hero */
.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #161b22 0%, #0d1117 50%, #1a1f29 100%);
    border-bottom: 1px solid #30363d;
}

/* Status Badge - Green indicator like Felix */
.status-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-accent);
    background: rgba(126, 231, 135, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    margin-right: 10px;
}

.pdf-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-primary);
    background: rgba(88, 166, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

.freshness-hero {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.3rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: #0d1117;
}

.btn-primary:hover {
    background: #56d364;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: rgba(88, 166, 255, 0.1);
}

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

/* Intro */
.intro {
    padding: 60px 0;
    text-align: center;
}

.intro .lead {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--color-muted);
}

.support-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--color-primary);
}

/* Retrospective Section */
.retrospective {
    padding: 60px 0;
    background: #13181f;
}

.retrospective h2 {
    color: var(--color-warn);
}

.retrospective-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.retro-item {
    background: var(--color-card);
    padding: 24px;
    border-radius: 8px;
    border-left: 3px solid var(--color-warn);
}

.retro-item h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.retro-item p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* Problem/Solution */
.problem-solution {
    padding: 60px 0;
}

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

.card {
    background: var(--color-card);
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 2rem;
}

.card.problem { border-color: #f85149; }
.card.solution { border-color: var(--color-accent); }

.card ul {
    list-style: none;
    margin-top: 1rem;
}

.card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #21262d;
}

.card li:last-child { border-bottom: none; }

/* Features */
.whats-inside {
    padding: 60px 0;
    background: var(--color-card);
}

.whats-inside .lead {
    text-align: center;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

/* Chapter Structure */
.chapters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.chapter {
    padding: 1.5rem;
    background: var(--color-bg);
    border-radius: 8px;
    border-left: 3px solid var(--color-accent);
}

.chapter .chap-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.chapter h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.chapter p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature {
    padding: 1.5rem;
    background: var(--color-bg);
    border-radius: 8px;
    border: 1px solid #30363d;
}

.feature .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

/* Metrics */
.metrics {
    padding: 60px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.metric .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
}

.metric .label {
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* Product */
.product {
    padding: 60px 0;
    background: var(--color-card);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    text-align: center;
    margin-bottom: 0.5rem;
}

.price .payment-methods {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-muted);
    margin-top: 0.5rem;
}

.freshness {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.includes {
    max-width: 400px;
    margin: 0 auto 2rem;
}

.includes ul {
    list-style: none;
}

.includes li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #30363d;
}

.guarantee {
    text-align: center;
    color: var(--color-muted);
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    padding: 60px 0;
}

details {
    background: var(--color-card);
    border: 1px solid #30363d;
    border-radius: 6px;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: #fff;
}

details p {
    margin-top: 1rem;
    color: var(--color-muted);
}

/* Templates */
.templates {
    padding: 60px 0;
    background: var(--color-card);
}

.templates h3 {
    text-align: center;
    color: var(--color-muted);
    font-weight: 400;
    margin-bottom: 1rem;
}

.templates p {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

/* Author */
.author {
    padding: 60px 0;
}

.author p {
    max-width: 700px;
    margin: 0 auto 1rem;
}

/* Transparency */
.transparency {
    padding: 60px 0;
    background: var(--color-card);
}

.transparency p {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Marketplace */
.marketplace {
    padding: 60px 0;
}

.marketplace p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

/* Social Follow */
.social-follow {
    padding: 40px 0;
    text-align: center;
    background: var(--color-card);
}

.social-follow a {
    color: var(--color-primary);
    text-decoration: none;
}

.social-follow a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #30363d;
}

.disclaimer {
    margin-top: 1rem;
    color: var(--color-muted);
}

/* Mobile */
@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    
    .hero { padding: 50px 0; }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}