/* RingerIQ Marketing — Design System */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0f172a;
    background: #f8fafc;
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ========== Layout ========== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-alt {
    background: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    color: #475569;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* ========== Typography ========== */
h1, h2, h3, h4 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-muted {
    color: #94a3b8;
}

.text-secondary {
    color: #475569;
}

/* ========== Navigation ========== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
}

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

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.nav-logo span {
    color: #6366f1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9375rem;
    color: #475569;
    transition: color 0.15s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #0f172a;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #0f172a;
}

.nav-mobile-toggle svg {
    width: 24px;
    height: 24px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: #6366f1;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    background: #4f46e5;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.btn-ghost {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.btn-ghost:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* ========== Hero ========== */
.hero {
    padding: 120px 0 96px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.hero-visual {
    margin-top: 72px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.hero-img {
    width: 100%;
    border-radius: 10px;
}

.hero-visual-placeholder {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 10px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1rem;
    font-weight: 500;
}

/* ========== Feature Cards (Home) ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: #eef2ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #6366f1;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

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

.card p {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ========== How It Works ========== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #6366f1;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ========== CTA Section ========== */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #312e81 0%, #4338ca 50%, #6366f1 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 80px 40px;
    margin: 0 24px;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: #ffffff;
    color: #4338ca;
}

.cta-section .btn-primary:hover {
    background: #eef2ff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ========== Pricing ========== */
.pricing-header {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.pricing-header p {
    color: #475569;
    font-size: 1.125rem;
}

/* Billing Toggle */
.toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 56px;
}

.toggle-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #475569;
}

.toggle-label.active {
    color: #0f172a;
}

.toggle {
    position: relative;
    width: 48px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle input:checked + .toggle-slider {
    background: #6366f1;
}

.toggle input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.savings-badge {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Plan Cards */
.plans-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.plan-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 36px;
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.plan-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.plan-card.featured {
    border-color: #6366f1;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.12);
    transform: scale(1.02);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #6366f1;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

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

.plan-description {
    font-size: 0.9375rem;
    color: #475569;
    margin-bottom: 24px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.plan-interval {
    font-size: 1rem;
    font-weight: 400;
    color: #94a3b8;
}

.plan-period-note {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

.plan-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 24px 0;
}

.plan-features {
    margin-bottom: 32px;
}

.plan-features li {
    font-size: 0.9375rem;
    color: #334155;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2322c55e'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}

.plan-features li.disabled {
    color: #94a3b8;
}

.plan-features li.disabled::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23cbd5e1'%3E%3Cpath fill-rule='evenodd' d='M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.plan-card .btn {
    width: 100%;
}

/* Plans loading/error */
.plans-loading {
    text-align: center;
    padding: 64px 0;
    color: #475569;
}

.plans-loading .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== Features Page ========== */
.features-hero {
    padding: 120px 0 64px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

.features-hero p {
    font-size: 1.25rem;
    color: #475569;
    max-width: 560px;
    margin: 0 auto;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid #f1f5f9;
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row.reverse .feature-content {
    order: 2;
}

.feature-row.reverse .feature-visual {
    order: 1;
}

.feature-tag {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.feature-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-content p {
    color: #475569;
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    font-size: 0.9375rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236366f1'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}

.feature-visual {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-weight: 500;
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.feature-visual img:hover {
    transform: scale(1.02);
}

/* Image lightbox overlay */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 40px;
}

.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.lightbox-overlay.open img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.15s;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}

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

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
}

.faq-item:first-child {
    border-top: 1px solid #e2e8f0;
}

.faq-question {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.faq-answer {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ========== Footer ========== */
.footer {
    border-top: 1px solid #e2e8f0;
    padding: 48px 0;
    background: #ffffff;
}

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

.footer-logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.footer-logo span {
    color: #6366f1;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: #475569;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: #0f172a;
}

.footer-copy {
    font-size: 0.875rem;
    color: #94a3b8;
}

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

    .features-hero h1 {
        font-size: 2.5rem;
    }

    .plans-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .plan-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 80px 0 64px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.0625rem;
    }

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

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

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

    .feature-row {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 0;
    }

    .feature-row.reverse .feature-content,
    .feature-row.reverse .feature-visual {
        order: unset;
    }

    .feature-visual {
        min-height: 180px;
    }

    .nav-links {
        display: none;
    }

    .nav-mobile-toggle {
        display: block;
    }

    .nav-actions .btn-ghost {
        display: none;
    }

    .footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-section {
        padding: 56px 24px;
        margin: 0 16px;
        border-radius: 14px;
    }

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

    .section-header h2 {
        font-size: 1.75rem;
    }

    .pricing-header h1 {
        font-size: 2rem;
    }

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

    .features-hero {
        padding: 80px 0 48px;
    }

    .feature-content h2 {
        font-size: 1.5rem;
    }
}

/* ========== Mobile Nav ========== */
.nav-mobile {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99;
    padding: 24px;
}

.nav-mobile.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-mobile a {
    display: block;
    padding: 12px 16px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: #0f172a;
    border-radius: 8px;
    transition: background 0.15s;
}

.nav-mobile a:hover {
    background: #e2e8f0;
}

/* ========== Docs Page ========== */
.docs-layout {
    display: flex;
    max-width: 1120px;
    margin: 0 auto;
    padding: 80px 24px 0;
    min-height: calc(100vh - 64px);
}

.docs-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    height: fit-content;
    padding-right: 32px;
}

.docs-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-right: 1px solid #e2e8f0;
    padding-right: 24px;
}

.docs-nav-link {
    font-size: 0.875rem;
    color: #475569;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.15s;
    font-weight: 500;
}

.docs-nav-link:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.docs-nav-link.active {
    color: #6366f1;
    background: #eef2ff;
    font-weight: 600;
}

.docs-sidebar-toggle {
    display: none;
}

.docs-content {
    flex: 1;
    min-width: 0;
    padding-bottom: 96px;
}

.docs-section {
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid #e2e8f0;
}

.docs-section:last-of-type {
    border-bottom: none;
}

.docs-section h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    scroll-margin-top: 96px;
}

.docs-lead {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 32px;
}

.docs-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 12px;
    letter-spacing: -0.01em;
}

.docs-section p {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.docs-section ul, .docs-section ol {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.8;
    padding-left: 24px;
    margin-bottom: 16px;
}

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

.docs-section a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

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

.docs-code {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0 16px;
    overflow-x: auto;
}

.docs-code code, .docs-code pre {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.8125rem;
    color: #334155;
    margin: 0;
    white-space: pre;
}

.docs-download-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0 24px;
}

.docs-troubleshoot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.docs-troubleshoot-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.docs-troubleshoot-item strong {
    color: #0f172a;
    font-size: 0.9375rem;
    display: block;
    margin-bottom: 4px;
}

.docs-troubleshoot-item p {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.docs-section kbd {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 2px 6px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.8125rem;
    color: #334155;
}

/* Docs FAQ */
.docs-faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.docs-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.docs-faq-item summary {
    padding: 16px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.docs-faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: #94a3b8;
    font-weight: 400;
    transition: transform 0.15s;
}

.docs-faq-item[open] summary::after {
    content: '−';
}

.docs-faq-item summary::-webkit-details-marker {
    display: none;
}

.docs-faq-item p {
    padding: 0 20px 16px;
    margin: 0;
}

/* Docs CTA */
.docs-cta {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 14px;
    margin-top: 24px;
}

.docs-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.docs-cta p {
    color: #475569;
    margin-bottom: 20px;
}

/* Docs responsive */
@media (max-width: 768px) {
    .docs-layout {
        flex-direction: column;
        padding-top: 16px;
    }

    .docs-sidebar {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(248, 250, 252, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 50;
        padding: 16px 24px;
        display: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .docs-sidebar.open {
        display: block;
    }

    .docs-nav {
        border-right: none;
        padding-right: 0;
    }

    .docs-sidebar-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 10px 16px;
        margin-bottom: 24px;
        cursor: pointer;
        font-size: 0.875rem;
        font-weight: 500;
        color: #475569;
        width: 100%;
    }

    .docs-section h1 {
        font-size: 1.5rem;
    }

    .docs-section h2 {
        font-size: 1.125rem;
    }
}
