/* ==================== PAGE HERO ==================== */
.page-hero {
    padding: 120px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: 2rem;
    color: var(--text-bright);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.page-hero h1::before {
    content: '~/';
    color: var(--green);
    font-weight: 400;
}

.page-hero h1 span {
    color: var(--green);
}

.page-hero p {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ==================== ABOUT ==================== */
.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 1.4rem;
    color: var(--text-bright);
    margin-bottom: 16px;
}

.about-text h2::before {
    content: '## ';
    color: var(--green);
    font-weight: 400;
}

.about-text p {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.7;
}

.about-image {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.about-image img {
    border-radius: var(--radius);
}

/* Values */
.values-section {
    margin-bottom: 60px;
}

.values-section h2 {
    font-size: 1.4rem;
    color: var(--text-bright);
    margin-bottom: 24px;
    text-align: center;
}

.values-section h2::before {
    content: '## ';
    color: var(--green);
    font-weight: 400;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.value-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 24px 18px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s;
}

.value-card:hover {
    border-color: var(--green-dark);
}

.value-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    color: var(--green);
}

.value-icon svg {
    width: 28px;
    height: 28px;
}

.value-card h3 {
    font-size: 0.9rem;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.75rem;
    color: var(--text);
    line-height: 1.6;
}

/* Stats */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.cta-section h2 {
    font-size: 1.4rem;
    color: var(--text-bright);
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 20px;
}

/* ==================== PRICING PAGE ==================== */
.pricing-page {
    padding: 60px 0;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pricing-card::before {
    content: '';
    display: block;
    height: 32px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.pricing-card::after {
    content: '● ○ ○';
    position: absolute;
    top: 8px;
    left: 14px;
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 4px;
}

.pricing-card:hover {
    border-color: var(--green-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.06);
}

/* Popular card */
.pricing-card.popular {
    border-color: var(--green-dark);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.08), inset 0 0 60px rgba(0, 255, 255, 0.02);
}

.pricing-card.popular::before {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.08), transparent);
    border-bottom-color: var(--green-dark);
}

.pricing-card.popular::after {
    content: '● ● ○  RECOMMENDED';
    color: var(--green);
    letter-spacing: 2px;
    font-size: 0.55rem;
}

.pricing-card.popular:hover {
    box-shadow: 0 12px 48px rgba(0, 255, 255, 0.12), inset 0 0 60px rgba(0, 255, 255, 0.02);
}

/* Card content */
.pricing-card h3 {
    font-size: 1rem;
    color: var(--text-bright);
    padding: 24px 24px 0;
    margin-bottom: 6px;
}

.pricing-card h3::before {
    content: '> ';
    color: var(--green);
    font-weight: 400;
}

.pricing-card > p {
    font-size: 0.75rem;
    color: var(--text-dim);
    padding: 0 24px;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Price */
.price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--green);
    padding: 16px 24px;
    margin: 0 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-dim);
    text-shadow: none;
}

.pricing-card.popular .price {
    border-color: var(--green-dark);
    background: linear-gradient(180deg, rgba(0, 255, 255, 0.06), var(--bg-card));
}

/* Features list */
.pricing-features {
    list-style: none;
    padding: 20px 24px;
    margin: 0;
}

.pricing-features li {
    font-size: 0.78rem;
    color: var(--text);
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    line-height: 1.5;
}

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

.pricing-features li::before {
    content: '[+] ';
    color: var(--green);
    font-weight: 600;
    font-size: 0.72rem;
}

/* Card button */
.pricing-card .btn {
    display: block;
    margin: 4px 24px 24px;
    text-align: center;
}

.pricing-card.popular .btn {
    background: var(--green);
    color: var(--bg);
    border-color: var(--green);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.pricing-card.popular .btn:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.35);
}

.pricing-comparison {
    margin-top: 60px;
}

.pricing-comparison h2 {
    font-size: 1.4rem;
    color: var(--text-bright);
    margin-bottom: 20px;
    text-align: center;
}

.pricing-comparison h2::before {
    content: '## ';
    color: var(--green);
    font-weight: 400;
}

.comparison-table {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

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

.comparison-table th {
    background: var(--bg-card);
    color: var(--text-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table td {
    color: var(--text);
}

.comparison-table .highlight {
    color: var(--green);
    font-weight: 600;
}

/* FAQ */
.faq-section {
    margin-top: 60px;
}

.faq-section h2 {
    font-size: 1.4rem;
    color: var(--text-bright);
    margin-bottom: 20px;
    text-align: center;
}

.faq-section h2::before {
    content: '## ';
    color: var(--green);
    font-weight: 400;
}

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

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--radius);
}

.faq-item h4 {
    font-size: 0.85rem;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.faq-item h4::before {
    content: '? ';
    color: var(--green);
}

.faq-item p {
    font-size: 0.78rem;
    color: var(--text);
    line-height: 1.6;
}

/* ==================== DOCS ==================== */
.docs-section {
    padding: 60px 0;
}

.docs-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--yellow);
    border-left: 3px solid var(--yellow);
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notice-content h3 {
    font-size: 0.9rem;
    color: var(--yellow);
    margin-bottom: 4px;
}

.notice-content p {
    font-size: 0.78rem;
    color: var(--text);
}

.docs-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
}

.docs-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    align-self: start;
}

.docs-sidebar h4 {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.docs-sidebar ul li {
    margin-bottom: 4px;
}

.docs-sidebar ul li a {
    font-size: 0.78rem;
    color: var(--text);
    display: block;
    padding: 4px 8px;
    border-radius: var(--radius);
}

.docs-sidebar ul li a:hover {
    color: var(--green);
    background: var(--green-glow);
    text-decoration: none;
}

.docs-main {
    min-width: 0;
}

.doc-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.doc-section:last-child {
    border-bottom: none;
}

.doc-section h2 {
    font-size: 1.2rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}

.doc-section h2::before {
    content: '## ';
    color: var(--green);
    font-weight: 400;
}

.doc-section h3 {
    font-size: 0.95rem;
    color: var(--text-bright);
    margin: 16px 0 8px;
}

.doc-section h3::before {
    content: '### ';
    color: var(--green);
    font-weight: 400;
}

.doc-section p {
    font-size: 0.82rem;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.7;
}

.code-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 12px 0;
    overflow-x: auto;
}

.code-block pre {
    padding: 14px;
    margin: 0;
}

.code-block code {
    font-family: var(--font);
    font-size: 0.78rem;
    color: var(--green);
    line-height: 1.6;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 12px 0;
}

.docs-table th,
.docs-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.docs-table th {
    background: var(--bg-card);
    color: var(--text-dim);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.docs-table td {
    color: var(--text);
}

.docs-table code {
    color: var(--green);
    font-size: 0.78rem;
}

.sdk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.sdk-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: var(--radius);
}

.sdk-card h4 {
    font-size: 0.85rem;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.sdk-card code {
    font-size: 0.72rem;
    color: var(--green);
    display: block;
    margin-bottom: 8px;
}

.sdk-card .badge {
    font-size: 0.6rem;
    padding: 2px 8px;
    margin-bottom: 0;
}

/* ==================== CONTACT ==================== */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2 {
    font-size: 1.2rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}

.contact-info h2::before {
    content: '## ';
    color: var(--green);
    font-weight: 400;
}

.contact-info > p {
    font-size: 0.82rem;
    color: var(--text);
    margin-bottom: 24px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text) !important;
    transition: all 0.2s;
    text-decoration: none !important;
}

.contact-method:hover {
    border-color: var(--green-dark);
    background: var(--green-glow);
}

.method-icon {
    color: var(--green);
    flex-shrink: 0;
}

.method-details h4 {
    font-size: 0.82rem;
    color: var(--text-bright);
    margin-bottom: 2px;
}

.method-details p {
    font-size: 0.72rem;
    color: var(--text-dim);
}

.office-hours h4 {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
}

.office-hours p {
    font-size: 0.78rem;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-form-wrapper h3 {
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.form-description {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-option {
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    color: var(--text) !important;
    text-decoration: none !important;
    transition: all 0.2s;
}

.contact-option:hover {
    border-color: var(--green-dark);
    background: var(--green-glow);
}

.option-icon {
    color: var(--green);
    margin-bottom: 10px;
}

.contact-option h4 {
    font-size: 0.82rem;
    color: var(--text-bright);
    margin-bottom: 4px;
}

.contact-option p {
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* ==================== LEGAL ==================== */
.legal-content {
    padding: 60px 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
}

.legal-document section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.legal-document section:last-child {
    border-bottom: none;
}

.legal-document h2 {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}

.legal-document h3 {
    font-size: 0.9rem;
    color: var(--text-bright);
    margin: 14px 0 8px;
}

.legal-document p {
    font-size: 0.82rem;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-document ul {
    margin: 8px 0 16px 0;
}

.legal-document ul li {
    font-size: 0.82rem;
    color: var(--text);
    padding: 4px 0 4px 0;
    line-height: 1.6;
}

.legal-document ul li::before {
    content: '- ';
    color: var(--green);
}

.legal-document ul li strong {
    color: var(--text-bright);
}

.highlight-box {
    padding: 18px;
    background: var(--green-glow);
    border: 1px solid var(--green-dark);
    border-radius: var(--radius);
    margin: 14px 0;
}

.highlight-box h4 {
    font-size: 0.9rem;
    color: var(--green);
    margin-bottom: 6px;
}

.highlight-box p {
    font-size: 0.8rem;
}

.highlight-box.warning {
    background: rgba(255, 204, 0, 0.08);
    border-color: rgba(255, 204, 0, 0.3);
}

.highlight-box.warning h4 {
    color: var(--yellow);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .docs-content {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .docs-sidebar h4 {
        width: 100%;
    }

    .docs-sidebar ul {
        display: flex;
        gap: 4px;
        flex-wrap: wrap;
    }

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

    .contact-options {
        grid-template-columns: 1fr;
    }

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

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

    .pricing-card.popular {
        order: -1;
    }

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

@media (max-width: 480px) {
    .values-grid,
    .stats-section {
        grid-template-columns: 1fr;
    }
}
