/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    --text-color: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --code-bg: #1e293b;
    --code-text: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

/* Navigation */
.navbar {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

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

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-demo {
    max-width: 900px;
    margin: 3rem auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-status-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    letter-spacing: 0.05em;
}

.status-success {
    background: rgba(255, 255, 255, 0.9);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.25);
    box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.1);
}

.status-info {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 0 1px rgba(30, 64, 175, 0.15);
}

.status-action {
    background: rgba(255, 255, 255, 0.95);
    color: #a855f7;
    border: 1px solid rgba(147, 51, 234, 0.35);
    box-shadow: 0 0 0 1px rgba(88, 28, 135, 0.2);
}

.status-format {
    background: rgba(255, 255, 255, 0.9);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 0 0 1px rgba(180, 83, 9, 0.15);
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.status-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.demo-status.completed .status-indicator {
    background: #22c55e;
    animation: none;
}

.demo-status.completed .status-text {
    color: #22c55e;
}

.demo-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.demo-tab {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.demo-tab:hover {
    background: rgba(255, 255, 255, 0.2);
}

.demo-tab.active {
    background: white;
    color: var(--primary-color);
}

.demo-content {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.demo-input {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.demo-url {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.demo-output {
    color: white;
    text-align: left;
    overflow-x: auto;
}

.demo-output pre {
    background: transparent;
    color: rgba(255, 255, 255, 0.95);
    padding: 0;
    margin: 0;
    text-align: left;
    line-height: 1.8;
    font-size: 0.9rem;
    white-space: pre;
    overflow-x: auto;
}

.demo-output code {
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Courier New', monospace;
    display: block;
    text-align: left;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Trust Badge */
.trust-badge {
    padding: 3rem 0;
    background: var(--bg-secondary);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.trust-content {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.trust-stat:hover {
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 2rem;
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.trust-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trust-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
    background: var(--bg-secondary);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.features-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-nav-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.feature-nav-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.feature-nav-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.feature-detail {
    display: none;
    max-width: 900px;
    margin: 0 auto;
}

.feature-detail.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-content {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.feature-code-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.code-tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.code-tab-btn:hover {
    color: var(--primary-color);
}

.code-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.feature-code-content {
    position: relative;
}

.code-block {
    display: none;
}

.code-block.active {
    display: block;
}

/* Docs Section */
.docs {
    padding: 5rem 0;
}

.code-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.tab-content h3:first-child {
    margin-top: 0;
}

pre {
    background: var(--code-bg);
    color: var(--code-text);
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    position: relative;
}

code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.copy-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.9);
    border: 1px solid rgba(37, 99, 235, 1);
    border-radius: 0.375rem;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

pre:hover .copy-btn {
    opacity: 1;
    pointer-events: auto;
}

.copy-btn:hover {
    background: rgba(37, 99, 235, 1);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.copy-btn.copied {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
    opacity: 1;
}

code.loading {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Response format tabs */
.response-format-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.format-tab-btn {
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
    margin-bottom: -1px;
}

.format-tab-btn:hover {
    color: var(--primary-color);
}

.format-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.response-format-content {
    position: relative;
}

.response-format-content pre {
    margin-bottom: 0.5rem;
}

.response-format-content pre code {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.response-format-content pre code.markdown-content,
.response-format-content pre code.html-content {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Download button */
.download-btn {
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}

.download-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.response-status {
    font-weight: 600;
    margin-bottom: 1rem;
}

.response-help {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Playground Section */
.playground {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.playground-note {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 0.5rem;
}

.playground-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.playground-controls,
.playground-response {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.playground-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.playground-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.25rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.playground-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.playground-actions .btn {
    flex: 1;
}

#copy-curl-btn.copied {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.playground-error-guide {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #fde68a;
    background: #fffbeb;
    border-radius: 0.5rem;
    display: grid;
    gap: 0.35rem;
    color: #92400e;
    font-size: 0.9rem;
}

.playground-error-guide strong {
    color: #78350f;
}

.playground-error-guide code {
    background: #fef3c7;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    color: #92400e;
}

.required {
    color: var(--error-color);
    font-weight: 600;
}

.control-group {
    margin-bottom: 1.5rem;
}

.control-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.control-group input,
.control-group select,
.control-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

.control-group textarea {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    resize: vertical;
}

.control-group small.hint {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.control-group input:focus,
.control-group select:focus,
.control-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.control-group input:disabled,
.control-group select:disabled,
.control-group textarea:disabled,
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.response-header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.response-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

#response-output {
    min-height: 200px;
    max-height: 600px;
    overflow-y: auto;
    text-align: left;
}

#response-output code {
    color: var(--code-text);
    text-align: left;
    display: block;
}

#response-output code.response-placeholder {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
}

/* Core Principles Section */
.core-principles {
    padding: 5rem 0;
    background: var(--bg-color);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.principle-card {
    text-align: center;
    padding: 2rem;
}

.principle-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.principle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.principle-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Use Cases Section */
.use-cases {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.use-case-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 240px;
    padding-bottom: 1rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Integrations Section */
.integrations {
    padding: 5rem 0;
    background: var(--bg-color);
}

.integrations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.integration-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    transition: transform 0.2s;
}

.integration-item:hover {
    transform: translateY(-4px);
}

.integration-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.integration-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.integration-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.integrations-cta {
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-demo {
        padding: 1rem;
        margin: 2rem auto;
    }

    .demo-tabs {
        flex-wrap: wrap;
    }

    .playground-container {
        grid-template-columns: 1fr;
    }

    .playground-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .playground-actions {
        flex-direction: column;
    }

    .playground-actions .btn {
        width: 100%;
    }

    .features-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .feature-nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .feature-content {
        padding: 1.5rem;
    }

    .principles-grid,
    .use-cases-grid,
    .integrations-list,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .nav-brand {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}
