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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
    background: #ffffff;
    color: #111827;
    line-height: 1.5;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 56px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo img {
    width: 38px;
    height: 38px;
}

.logo span {
    background: linear-gradient(135deg, #111, #555);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    display: flex;
    gap: 36px;
    font-weight: 500;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e4e;
    transition: 0.2s;
    cursor: pointer;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #000;
}

.nav-links a.active {
    font-weight: 600;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #111;
}

.page-header {
    margin-bottom: 56px;
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-header p {
    color: #4b5563;
    font-size: 1.1rem;
    max-width: 720px;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 56px 0;
}

.quick-link-card {
    background: #fafcff;
    border: 1px solid #eef2f8;
    border-radius: 24px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

.quick-link-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.quick-link-card i {
    font-size: 1.8rem;
    margin-bottom: 14px;
    color: #111;
}

.quick-link-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.quick-link-card p {
    color: #6b7280;
    font-size: 0.9rem;
}

.docs-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    margin: 48px 0 80px;
}

.docs-sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
}

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

.docs-sidebar a {
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #4b5563;
    font-size: 0.9rem;
    transition: 0.15s;
}

.docs-sidebar a:hover,
.docs-sidebar a.active {
    background: #f3f4f6;
    color: #111;
}

.docs-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    padding-top: 16px;
    border-top: 1px solid #eef2f8;
}

.docs-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.docs-content p,
.docs-content li {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 12px;
}

.docs-content ul,
.docs-content ol {
    margin: 12px 0 20px 24px;
}

.docs-content code {
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.88rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin: 48px 0 80px;
}

.blog-card {
    background: #fff;
    border: 1px solid #eef2f8;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.blog-card-image {
    background: linear-gradient(135deg, #0f172a, #334155);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    color: #6b7280;
    font-size: 0.9rem;
    flex: 1;
}

.blog-card .read-more {
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
}

.article-content {
    max-width: 760px;
    margin: 0 auto 80px;
}

.article-content h2 {
    font-size: 1.4rem;
    margin: 32px 0 12px;
}

.article-content p {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 16px;
}

.article-meta {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 32px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.specs-table th,
.specs-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eef2f8;
}

.specs-table th {
    font-weight: 600;
    width: 40%;
}

.install-steps {
    counter-reset: step;
    list-style: none;
    margin: 24px 0;
}

.install-steps li {
    counter-increment: step;
    padding: 16px 16px 16px 56px;
    position: relative;
    margin-bottom: 12px;
    background: #fafcff;
    border-radius: 16px;
    border: 1px solid #eef2f8;
}

.install-steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 28px;
    height: 28px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #6c7a91;
    text-decoration: none;
    font-size: 0.85rem;
}

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


.lang-switch {
    display: flex;
    gap: 4px;
    background: #f3f4f6;
    border-radius: 40px;
    padding: 4px;
}

.lang-switch a {
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: #6b7280;
    transition: 0.2s;
}

.lang-switch a.active,
.lang-switch a:hover {
    background: #fff;
    color: #111;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.burger-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #111827;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.mobile-nav a {
    font-size: 1.5rem;
    text-decoration: none;
    color: #111827;
    font-weight: 500;
}

.mobile-nav .close-menu {
    position: absolute;
    top: 28px;
    right: 28px;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.btn-primary {
    background: #000000;
    color: white;
    border: none;
    padding: 10px 26px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-primary:hover {
    background: #2c2c2c;
}

.btn-outline {
    background: transparent;
    border: 1px solid #d0d5dd;
    padding: 10px 26px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    color: inherit;
}

.btn-outline:hover {
    border-color: #000;
    background: #fafafa;
}

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

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 96px;
    align-items: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 32px;
    max-width: 90%;
}

.mockup {
    background: #f8fafc;
    border-radius: 28px;
    padding: 24px;
    border: 1px solid #edf2f7;
    text-align: center;
}

.mockup-screen {
    background: #eef2f8;
    border-radius: 20px;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.section {
    margin: 96px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 48px;
    text-align: center;
}

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

.card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 28px;
    padding: 32px;
    text-align: center;
}

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #000;
}

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

.card p {
    color: #4b5563;
}

.gallery-section {
    margin: 80px 0;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}

.gallery-header h2 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.gallery-controls {
    display: flex;
    gap: 12px;
}

.gallery-nav-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 60px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1.3rem;
    color: #1f2a3e;
}

.gallery-nav-btn:hover {
    border-color: #000;
    background: #f8fafc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gallery-card {
    background: #f8fafc;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 1px solid #eef2f8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.gallery-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.gallery-icon {
    font-size: 5rem;
    color: #1a1a1a;
}

.dual-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin: 72px 0;
}

.panel {
    background: #fafcff;
    border-radius: 32px;
    padding: 36px;
    border: 1px solid #eef2f8;
}

.panel h3 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    margin: 28px 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eff3f8;
    display: flex;
    gap: 12px;
    align-items: center;
}

.feature-list li i {
    width: 24px;
    color: #000;
}

.faq-section {
    margin: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.faq-item {
    background: #fafcff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid #eef2f8;
    transition: 0.2s;
}

.faq-item:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.faq-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4 i {
    color: #000;
    font-size: 1.2rem;
}

.faq-item p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
}

.download-area {
    background: #f5f8fe;
    border-radius: 36px;
    padding: 56px 48px;
    text-align: center;
    margin: 80px 0;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin: 48px 0 32px;
}

.download-card {
    background: white;
    border-radius: 24px;
    padding: 28px 32px;
    min-width: 220px;
    border: 1px solid #e2e8f0;
    transition: 0.2s;
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.download-card h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.download-card p {
    margin-bottom: 20px;
    color: #5a6e8a;
}

.footer {
    border-top: 1px solid #edf2f7;
    padding: 48px 0 56px;
    text-align: center;
    color: #6c7a91;
    font-size: 0.85rem;
}

.footer a {
    color: #6c7a91;
    text-decoration: none;
}

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

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-card {
    background: white;
    max-width: 520px;
    width: 90%;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
    border: 1px solid #eef2f8;
}

.modal-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-body {
    color: #2c3e50;
    line-height: 1.5;
    margin-bottom: 28px;
}

.modal-icon-preview {
    margin-top: 20px;
    background: #f8fafc;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    font-size: 4rem;
}

.os-demo-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 32px;
    padding: 48px;
    margin: 72px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    color: #fff;
}

.os-demo-banner h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.os-demo-banner p {
    color: #94a3b8;
    max-width: 520px;
}

.os-demo-banner .btn-primary {
    background: #fff;
    color: #0f172a;
    white-space: nowrap;
}

.os-demo-banner .btn-primary:hover {
    background: #e2e8f0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .dual-panel {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .burger-menu {
        display: block;
    }
    .os-demo-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .os-demo-banner p {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .download-buttons {
        gap: 20px;
    }
    .download-card {
        padding: 20px 24px;
        min-width: 180px;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .docs-layout {
        grid-template-columns: 1fr;
    }
    .docs-sidebar {
        position: static;
    }
}
