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

:root {
    /* Light theme (default) */
    --bg-primary: #f8f8f8;
    --bg-secondary: #efefef;
    --bg-tertiary: #f0f0f0;
    --surface: #fafafa;
    --surface-elevated: #ffffff;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-muted: #9e9e9e;
    --border-color: #e0e0e0;
    --divider: #e0e0e0;
    --primary: #1976d2;
    --primary-hover: #1565c0;
    --primary-light: #e3f2fd;
    --secondary: #424242;
    --accent-blue: #2196f3;
    --accent-purple: #9c27b0;
    --accent-green: #4caf50;
    --error: #d32f2f;
    --error-light: #ffebee;
    --success: #388e3c;
    --success-light: #e8f5e9;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    --line-number: #9e9e9e;
    --code-bg: #fafafa;
    --code-box-header: #474b4f;
    --code-box-header-top: #efefef;
}

.dark-theme {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #252525;
    --surface: #1e1e1e;
    --surface-elevated: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: #333333;
    --divider: #333333;
    --primary: #90caf9;
    --primary-hover: #64b5f6;
    --primary-light: #1e3a5f;
    --secondary: #b0b0b0;
    --error: #ef5350;
    --error-light: #3d1f1f;
    --success: #66bb6a;
    --success-light: #1f3d21;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 3px 6px rgba(0, 0, 0, 0.6), 0 3px 6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.7), 0 6px 6px rgba(0, 0, 0, 0.6);
    --line-number: #666666;
    --code-bg: #1e1e1e;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 0;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    gap: 2rem;
}

.header-branding {
    display: flex;
    align-items: center;
}

.header-branding a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.header-branding a:hover {
    opacity: 0.8;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    cursor: pointer;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    position: relative;
    display: inline-block;
}

.brand-name::before {
    content: '{';
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    margin-right: 0.2em;
}

.brand-name::after {
    content: '}';
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    margin-left: 0.2em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.theme-toggle {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.theme-icon {
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(15deg);
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}


.editor-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.editor-wrapper {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0.75rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--divider);
    min-height: 3rem;
    box-sizing: border-box;
    position: relative;
}

.editor-header .status {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.editor-title {
    font-weight: 600;
    color: var(--code-box-header);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-weight: 500;
    height: 1.5rem;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    visibility: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status.success,
.status.error {
    opacity: 1;
    visibility: visible;
}

.status.success {
    background: var(--success-light);
    color: var(--success);
}

.status.error {
    background: var(--error-light);
    color: var(--error);
}

.editor-box {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    height: 70vh;
    background: var(--code-bg);
    overflow: hidden;
}

.editor-box > div {
    flex: 1;
    flex-grow: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.editor-info {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border-top: 1px solid var(--divider);
    font-family: 'Roboto Mono', monospace;
}


.controls-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    align-self: center;
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    height: fit-content;
}

.controls-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    min-width: 200px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.control-group label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.material-select {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.625rem 2.5rem 0.625rem 0.875rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    font-family: 'Roboto', sans-serif;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
    appearance: none;
}

.material-select:hover {
    border-color: var(--primary);
    background: var(--bg-tertiary);
}

.dark-theme .material-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23808080' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.material-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.material-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Roboto', sans-serif;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.material-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.material-btn:active::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--text-secondary);
    box-shadow: var(--shadow-md);
}

.btn-tertiary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.btn-tertiary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-secondary);
}

/* CodeMirror custom styling is handled in JavaScript */

.error-message {
    background: var(--error-light);
    border: 1px solid var(--error);
    color: var(--error);
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin-top: 1rem;
    display: none;
    font-size: 0.875rem;
    line-height: 1.6;
}

.error-message.show {
    display: block;
}

/* Scrollbar styling */
/* CodeMirror scrollbars are styled by the library */

/* ==========================================================================
   Features Showcase Section
   ========================================================================== */

.features-showcase {
    margin-top: 4rem;
    margin-bottom: 3rem;
    padding: 3rem 0;
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.features-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    position: relative;
    display: inline-block;
}

.footer-brand::before {
    content: '{';
    color: var(--primary);
    margin-right: 0.2em;
}

.footer-brand::after {
    content: '}';
    color: var(--primary);
    margin-left: 0.2em;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--divider);
    text-align: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.faq-header:hover {
    background: var(--bg-tertiary);
}

.faq-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-header.expanded .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--surface);
}

.faq-content.expanded {
    max-height: 5000px;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-item {
    border-bottom: 1px solid var(--divider);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
    background: var(--surface);
}

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

.faq-question-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    margin-right: 1rem;
}

.faq-question-icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.expanded .faq-question-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--divider);
}

.faq-item.expanded .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer-content {
    padding-top: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */

.blogs-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.blogs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blogs-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.blogs-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--divider);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-read-more {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-read-more {
    color: var(--primary-hover);
}

/* Individual Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--divider);
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blog-post-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-post-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.blog-post-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-post-content p {
    margin-bottom: 1.25rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content code {
    background: var(--bg-secondary);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9em;
    color: var(--primary);
}

.blog-post-content pre {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

.blog-post-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

.blog-post-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.blog-post-content a:hover {
    border-bottom-color: var(--primary);
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--divider);
    text-align: center;
}

.back-to-blogs {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-to-blogs:hover {
    color: var(--primary-hover);
}

/* FAQ Page Styles */
.faq-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.faq-page-title {
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

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

.faq-page .faq-section {
    margin-top: 0;
}

.faq-page .faq-header {
    display: none;
}

.faq-page .faq-content {
    max-height: none;
    border: none;
    background: transparent;
}

.faq-page .faq-item {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.faq-page .faq-item.expanded .faq-answer {
    max-height: 1000px;
}

/* Responsive design */
@media (max-width: 1200px) {
    .editor-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .controls-panel {
        padding: 0;
    }
    
    .controls-content {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
    
    .control-group {
        flex: 1;
    }
    
    .button-group {
        flex-direction: row;
        flex: 2;
    }
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 1.75rem;
    }
    
    .theme-toggle {
        position: static;
        margin: 1rem auto 0;
        display: block;
    }
    
    .controls-content {
        flex-direction: column;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .editor-box {
        min-height: 400px;
        max-height: 50vh;
    }
    
    .faq-section {
        margin-top: 2rem;
    }
    
    .faq-header {
        padding: 0.875rem 1rem;
    }
    
    .faq-header h2 {
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 0.875rem 1rem;
    }
    
    .faq-question-text {
        font-size: 0.95rem;
    }
    
    .faq-answer-content {
        font-size: 0.9rem;
    }
    
    .faq-page {
        padding: 1rem;
    }
    
    .faq-page-title {
        font-size: 1.75rem;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .blogs-title {
        font-size: 2rem;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.25rem;
    }
    
    .features-showcase {
        margin-top: 3rem;
        padding: 2rem 0;
    }
    
    .features-title {
        font-size: 1.75rem;
    }
    
    .features-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-name {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .main-footer {
        margin-top: 3rem;
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        font-size: 1.25rem;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}
