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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f8fafa;
    color: #1e293b;
    line-height: 1.6;
}

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

.highlight {
    color: #3b82f6;
}

/* Header for subpages */
.subpage-header {
    padding: 24px 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

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

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
    text-decoration: none;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 24px 60px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero .tagline {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-button {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s, transform 0.2s;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 40px 0 60px;
}

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

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: #3b82f6;
}

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

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* How to Use Section */
.how-to-use {
    padding: 60px 0;
    background: white;
}

.how-to-use .container {
    text-align: center;
}

.how-to-use h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.how-to-use .subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.code-block {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 24px;
    overflow-x: auto;
}

.code-block pre {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block .string {
    color: #a5d6ff;
}

.code-block .key {
    color: #7dd3fc;
}

.instruction {
    color: #64748b;
    font-size: 0.95rem;
}

/* Legal Sections */
.legal-section {
    padding: 60px 0 100px;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1e293b;
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #334155;
}

.legal-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #475569;
}

.legal-section p,
.legal-section li {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.legal-section ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-section a {
    color: #3b82f6;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-content {
    max-width: 800px;
}

.legal-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
}

/* Footer */
.footer {
    padding: 40px 24px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

.footer a {
    color: #3b82f6;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-bottom: 16px;
}

.footer-links a {
    margin: 0 12px;
}

/* Responsive */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .how-to-use h2 {
        font-size: 1.5rem;
    }

    .code-block {
        padding: 16px;
    }

    .code-block pre {
        font-size: 0.8rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }
}
