:root {
    --primary: #008060;
    --primary-dark: #006e52;
    --secondary: #202223;
    --text: #202223;
    --text-light: #6d7175;
    --bg: #f6f6f7;
    --white: #ffffff;
    --border: #e1e3e5;
    --success: #008060;
    --warning: #bf5c20;
    --danger: #d82c0d;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

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

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #f6f6f7 0%, #e8f5e9 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: #f0fdf4;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Features Grid */
.features-grid {
    padding: 80px 0;
    background: var(--white);
}

.features-grid h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-light);
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--bg);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--text-light);
}

/* Pricing Preview */
.pricing-preview {
    padding: 80px 0;
    background: var(--white);
}

.pricing-preview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

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

.pricing-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    position: relative;
    background: var(--white);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,128,96,0.15);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    margin-bottom: 24px;
}

.plan-features li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

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

/* Footer */
.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 32px 0;
    text-align: center;
}

.site-footer p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

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

/* Page Content */
.page-content {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.page-header {
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-light);
}

.content-section {
    margin-bottom: 48px;
}

.content-section h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.content-section h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    margin-top: 24px;
}

.content-section p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.content-section ul, .content-section ol {
    margin-left: 24px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.content-section li {
    margin-bottom: 8px;
}

.code-block {
    background: #1a1a1a;
    color: #f8f8f2;
    padding: 16px;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    overflow-x: auto;
    margin-bottom: 16px;
}

.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.alert-info {
    background: #e3f2fd;
    border-left: 4px solid #1976d2;
}

.alert-success {
    background: #e8f5e9;
    border-left: 4px solid #388e3c;
}

.alert-warning {
    background: #fff3e0;
    border-left: 4px solid #f57c00;
}

/* TOC */
.toc {
    background: var(--bg);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.toc h3 {
    margin-bottom: 16px;
    font-size: 1rem;
}

.toc ul {
    list-style: none;
    margin: 0;
}

.toc li {
    margin-bottom: 8px;
}

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

.toc a:hover {
    color: var(--primary);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--bg);
    font-weight: 600;
}

tr:hover td {
    background: var(--bg);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 16px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
    }
}