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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #64748b;
    --accent: #10b981;
    --bg: #ffffff;
    --bg-gray: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

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

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo:hover {
    color: var(--primary-dark);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
}

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

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

.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: var(--bg-gray);
    color: var(--text);
    transition: all 0.2s;
}

.lang-link:hover {
    background: var(--primary);
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
}

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

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background: url('/assets/images/banner.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.hero .overlay{
    top: 0;
    position: absolute;
    content: "";
    width: 100%;
    height:100%;
    background: #00000060;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-secondary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* Sections */
.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text);
}

.platforms-section,
.featured-product-section,
.why-section {
    padding: 80px 0;
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.platform-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.platform-active {
    border-color: var(--primary);
}

.platform-soon {
    opacity: 0.6;
}

.platform-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.platform-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.platform-count {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.platform-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    transition: transform 0.2s;
}

.platform-link:hover:not(.platform-disabled) {
    transform: translateX(4px);
}

.platform-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Product Showcase */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 60px;
    box-shadow: var(--shadow-lg);
}

.product-showcase-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.product-platform-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-gray);
    color: var(--text-light);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-showcase-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.product-showcase-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.7;
}

.product-features-list {
    list-style: none;
    margin-bottom: 32px;
}

.product-features-list li {
    padding: 8px 0;
    font-size: 16px;
    color: var(--text);
}

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

.product-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.product-buttons {
    display: flex;
    gap: 12px;
}

/* Why Section */
.why-section {
    background: var(--bg-gray);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.why-item {
    text-align: center;
}

.why-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.why-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text);
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-coming-soon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-soon {
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.footer-contact:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 98;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        background-size: unset;
    }
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 0;
        transition: left 0.3s ease;
        z-index: 99;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-link {
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
    
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .logo img{
        width:60px;
    }
    .logo .logo-text{
        display:none;
    }
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .platforms-section,
    .featured-product-section,
    .why-section {
        padding: 60px 0;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .product-showcase {
        padding: 30px;
    }
    
    .product-showcase-title {
        font-size: 24px;
    }
    
    .product-price {
        font-size: 28px;
    }
    
    .product-showcase-footer {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .product-buttons .btn {
        width: 100%;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-gray);
    padding: 16px 0;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--text-light);
}

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

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-light);
}

/* Product Hero */
.product-hero {
    padding: 60px 0;
    background: var(--bg-gray);
}

.product-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.product-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text);
}

.product-hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.product-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-light);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #fbbf24;
}

.rating-value {
    font-weight: 600;
    color: var(--text);
}

.product-version,
.product-updated {
    padding: 6px 12px;
    background: #fff;
    border-radius: 6px;
    font-weight: 500;
}

.product-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Screenshots Gallery */
.screenshots-section {
    padding: 80px 0;
}

.screenshots-gallery {
    max-width: 900px;
    margin: 0 auto;
}

.screenshot-main {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.screenshot-main img {
    width: 100%;
    height: auto;
}

.screenshot-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
}

.screenshot-thumb {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.2s;
    opacity: 0.6;
}

.screenshot-thumb:hover {
    opacity: 1;
}

.screenshot-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.screenshot-thumb img {
    width: 100%;
    height: auto;
}

/* Features Detailed */
.features-detailed-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

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

.feature-group {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.feature-group-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-group-list {
    list-style: none;
}

.feature-group-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text);
}

.feature-group-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Requirements */
.requirements-section {
    padding: 80px 0;
}

.requirements-box {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.requirements-list li:last-child {
    border-bottom: none;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

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

.faq-item {
    background: #fff;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--text);
    transition: background 0.2s;
}

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

.faq-icon {
    font-size: 14px;
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 28px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 28px 24px;
}

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

/* Reviews */
.reviews-section {
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.review-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.review-stars {
    font-size: 18px;
    margin-bottom: 16px;
    color: #fbbf24;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* Buy Section */
.buy-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.buy-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.buy-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.buy-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.buy-price {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 32px;
}

.buy-features {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.buy-feature {
    padding: 8px 0;
    font-size: 16px;
}

.btn-buy {
    margin-bottom: 40px;
}

.buy-support {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.buy-support h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.buy-support p {
    margin: 8px 0;
}

.buy-support a {
    color: #fff;
    text-decoration: underline;
}

.buy-support a:hover {
    opacity: 0.8;
}

/* Responsive - Product Page */
@media (max-width: 768px) {
    .product-hero-title {
        font-size: 32px;
    }
    
    .product-hero-description {
        font-size: 16px;
    }
    
    .product-hero-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .product-hero-buttons {
        flex-direction: column;
    }
    
    .screenshot-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .features-detailed-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-group {
        padding: 24px;
    }
    
    .requirements-box {
        padding: 24px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 20px;
    }
    
    .faq-answer.active {
        padding: 0 20px 20px;
    }
    
    .buy-title {
        font-size: 32px;
    }
    
    .buy-price {
        font-size: 40px;
    }
}

/* Support Page */
.support-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

.support-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.support-subtitle {
    font-size: 20px;
    opacity: 0.95;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

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

.contact-form-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-form-description {
    color: var(--text-light);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input:invalid {
    border-color: #ef4444;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.form-message-success {
    background: #d1fae5;
    color: #065f46;
}

.form-message-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Contact Info */
.contact-info-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-gray);
    border-radius: 12px;
    margin-bottom: 16px;
}

.contact-method-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-method-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-method-content a {
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.contact-method-content a:hover {
    text-decoration: underline;
}

.contact-method-note {
    font-size: 14px;
    color: var(--text-light);
}

.faq-link-box {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.faq-link-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.faq-link-box p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Responsive - Support Page */
@media (max-width: 768px) {
    .support-hero {
        padding: 60px 0;
    }
    
    .support-title {
        font-size: 36px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-title {
        font-size: 24px;
    }
}

/* Documentation Layout */
.documentation-layout {
    background: var(--bg-gray);
    min-height: 100vh;
}

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

.documentation-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding: 40px 0;
}

/* Documentation Sidebar */
.documentation-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    padding: 10px 16px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}

.sidebar-link:hover {
    background: var(--primary);
    color: #fff;
}

.sidebar-link-sub {
    padding-left: 32px;
    font-size: 14px;
    font-weight: 400;
}

/* Documentation Content */
.documentation-content {
    background: #fff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.doc-main-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text);
}

.doc-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.doc-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.doc-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text);
}

.doc-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text);
}

.doc-section p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text);
}

.doc-section ul,
.doc-section ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.doc-section li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--text);
}

.doc-highlight {
    background: #dbeafe;
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 6px;
}

.doc-highlight strong {
    display: block;
    margin-bottom: 12px;
    color: var(--primary);
}

.doc-note {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 6px;
}

.doc-note strong {
    color: #92400e;
}

.doc-code {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    overflow-x: auto;
}

.doc-code pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
}

code {
    background: #f1f5f9;
    color: #e11d48;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.faq-doc-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.faq-doc-item h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.doc-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border);
    text-align: center;
}

.doc-footer a {
    color: var(--primary);
    font-weight: 600;
}

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

/* Responsive - Documentation */
@media (max-width: 992px) {
    .documentation-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .documentation-sidebar {
        display: none;
    }
    
    .documentation-content {
        padding: 40px 30px;
    }
    
    .doc-main-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .documentation-content {
        padding: 30px 20px;
    }
    
    .doc-main-title {
        font-size: 28px;
    }
    
    .doc-section h2 {
        font-size: 24px;
    }
    
    .doc-section h3 {
        font-size: 20px;
    }
}

/* Changelog Page */
.changelog-section {
    padding: 80px 0;
}

.changelog-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.changelog-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
}

.version-block {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
}

.version-planned {
    border-left-color: var(--secondary);
    opacity: 0.9;
}

.version-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.version-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
}

.version-date {
    font-size: 16px;
    color: var(--text-light);
}

.version-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-left: auto;
}

.version-current {
    background: #d1fae5;
    color: #065f46;
}

.version-upcoming {
    background: #dbeafe;
    color: #1e40af;
}

.changelog-category {
    margin-bottom: 32px;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-group-changelog {
    margin-bottom: 24px;
}

.feature-group-changelog h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.changelog-category ul {
    list-style: none;
    padding-left: 0;
}

.changelog-category li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text);
    line-height: 1.6;
}

.changelog-category li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}

.planned-versions {
    margin-top: 60px;
}

.planned-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.changelog-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border);
    color: var(--text-light);
}

.changelog-footer p {
    margin: 8px 0;
}

.changelog-footer a {
    color: var(--primary);
    font-weight: 600;
}

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

/* Responsive - Changelog */
@media (max-width: 768px) {
    .changelog-title {
        font-size: 36px;
    }
    
    .version-block {
        padding: 24px;
    }
    
    .version-header {
        flex-wrap: wrap;
    }
    
    .version-number {
        font-size: 24px;
    }
    
    .version-badge {
        margin-left: 0;
    }
}

/* Additional Mobile Fixes for Documentation */
@media (max-width: 992px) {
    .documentation-layout .container-full {
        padding: 0 10px;
    }
    
    .documentation-grid {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .doc-section {
        margin-bottom: 40px;
    }
    
    .doc-code {
        padding: 15px;
        font-size: 12px;
    }
    
    .doc-highlight,
    .doc-note {
        padding: 15px;
        margin: 15px 0;
    }
}

/* Force text wrapping in documentation */
.documentation-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.doc-code {
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.doc-code pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Force tables and wide elements to scroll */
.doc-section table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

/* Fix long links and URLs */
.doc-section a {
    word-break: break-all;
}

code {
    word-break: break-all;
    white-space: pre-wrap;
}

/* Mobile specific fixes */
@media (max-width: 768px) {
    .documentation-content {
        padding: 20px 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .doc-main-title {
        font-size: 24px;
        word-wrap: break-word;
    }
    
    .doc-section h2 {
        font-size: 20px;
    }
    
    .doc-section h3 {
        font-size: 18px;
    }
    
    .doc-section h4 {
        font-size: 16px;
    }
    
    .doc-code {
        font-size: 11px;
        padding: 10px;
    }
    
    .doc-section ul,
    .doc-section ol {
        padding-left: 16px;
    }
}
