/*
Copyright (c) 2025 LG Electronics, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

SPDX-License-Identifier: Apache-2.0
*/

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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

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-light);
}

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

/* Header */
.header {
    background: white;
    color: var(--text-color);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.header-logo {
    max-width: 180px;
    height: auto;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.header-logo:hover {
    opacity: 0.8;
}

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

/* Header Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.header-menu {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.menu-item {
    transition: all 0.3s ease;
    user-select: none;
}

.menu-item a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu-item:hover a {
    color: #66b3ff;
}

.menu-item.active a {
    color: var(--primary-color);
}

/* Documentation Submenu */
.docs-submenu {
    background-color: var(--bg-light);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 60px;
    z-index: 90;
    box-shadow: var(--shadow);
}

.submenu-tabs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
}

.submenu-tab {
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    user-select: none;
}

.submenu-tab a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.submenu-tab:hover {
    background-color: var(--bg-color);
}

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

.submenu-tab.active {
    border-bottom-color: var(--primary-color);
    background-color: var(--bg-color);
}

.submenu-tab.active a {
    color: var(--primary-color);
}

/* Documentation Layout with Sidebar */
.docs-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Documentation Sidebar */
.docs-sidebar {
    position: sticky;
    top: 130px;
    height: fit-content;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow);
    font-size: 0.875rem;
}

.docs-sidebar::-webkit-scrollbar {
    width: 4px;
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

.sidebar-section {
    margin-bottom: 1rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: transparent;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.sidebar-section-title:hover {
    background-color: var(--bg-light);
}

.sidebar-section-title::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    transform: rotate(-90deg);
}

.sidebar-section:not(.collapsed) .sidebar-section-title::after {
    transform: rotate(0deg);
}

.sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.sidebar-section:not(.collapsed) .sidebar-nav {
    max-height: 1000px;
    opacity: 1;
}

.sidebar-section.collapsed .sidebar-section-title::after {
    transform: rotate(-90deg);
}

.sidebar-section.collapsed .sidebar-nav {
    max-height: 0;
    opacity: 0;
}

.sidebar-nav-item {
    margin: 0;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.4;
}

.sidebar-nav-link:hover {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding-left: 1rem;
}

.sidebar-nav-link.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.sidebar-nav-link.active:hover {
    background-color: var(--primary-dark);
}

/* Documentation Content Area */
.docs-content {
    min-width: 0;
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    line-height: 1.7;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--border-color);
    font-weight: 400;
    user-select: none;
}

.docs-content h2 {
    margin-top: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.docs-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    scroll-margin-top: 150px;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.docs-content h3::before {
    content: "▸";
    color: var(--primary-color);
    font-size: 1.2rem;
}

.docs-content h3:first-of-type {
    margin-top: 1rem;
}

.docs-content h4 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.docs-content h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.docs-content p {
    margin-bottom: 1.2rem;
    color: var(--text-color);
    text-align: justify;
}

.docs-content ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.docs-content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.docs-content ul li::before {
    content: "●";
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
    font-size: 0.8rem;
    top: 0.3rem;
}

.docs-content ul ul {
    margin: 0.8rem 0;
}

.docs-content ul ul li::before {
    content: "◦";
    font-size: 1rem;
}

.docs-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    counter-reset: item;
    list-style: none;
}

.docs-content ol li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    counter-increment: item;
}

.docs-content ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: -1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.docs-content code {
    background-color: #f5f7fa;
    color: #0066cc;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.9em;
    border: 1px solid #e1e8ed;
    font-weight: 500;
}

.docs-content pre {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #4a5568;
    position: relative;
}

.docs-content pre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #00d4ff);
}

.docs-content pre code {
    background-color: transparent;
    color: #e2e8f0;
    padding: 0;
    border: none;
    font-size: 0.9rem;
    line-height: 1.6;
    display: block;
}

.docs-content strong {
    color: var(--text-color);
    font-weight: 700;
}

.docs-content em {
    color: var(--primary-color);
    font-style: italic;
}

.docs-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.docs-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary-color);
    background-color: #f5f7fa;
    border-radius: 0 8px 8px 0;
    color: var(--text-light);
    font-style: italic;
}

.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.docs-content table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.docs-content table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.docs-content table tr:last-child td {
    border-bottom: none;
}

.docs-content table tr:hover {
    background-color: #f5f7fa;
}

.docs-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 3rem 0;
}

.docs-content p code,
.docs-content li code {
    white-space: nowrap;
}

.docs-content pre::-webkit-scrollbar {
    height: 8px;
}

.docs-content pre::-webkit-scrollbar-track {
    background: #1a202c;
    border-radius: 0 0 8px 0;
}

.docs-content pre::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.docs-content pre::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Main Content */
.main-content {
    padding: 3rem 0;
    min-height: 70vh;
}

.content-section {
    animation: fadeIn 0.4s ease-in;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.content-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Architecture Info */
.architecture-info {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.architecture-info ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.architecture-info li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.architecture-info strong {
    color: var(--text-color);
    font-weight: 600;
}

.architecture-info code {
    background-color: #f5f7fa;
    color: #0066cc;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.9em;
    border: 1px solid #e1e8ed;
    font-weight: 500;
}

.architecture-info pre {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #4a5568;
    position: relative;
}

.architecture-info pre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #00d4ff);
}

.architecture-info pre code {
    background-color: transparent;
    color: #e2e8f0;
    padding: 0;
    border: none;
    font-size: 0.9rem;
    line-height: 1.6;
}

.architecture-info h4 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: var(--shadow);
}

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

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

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

/* Documentation Grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.docs-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.docs-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .docs-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {

    .docs-grid-4,
    .docs-grid-3 {
        grid-template-columns: 1fr;
    }
}

.doc-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 260px;
    overflow: visible;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.doc-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
}

.doc-card h4 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    border: none;
    padding: 0;
    font-weight: 700;
}

.doc-card p {
    margin-bottom: auto;
    line-height: 1.6;
    color: var(--text-light);
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.doc-card .btn-secondary {
    margin-top: 1.5rem;
    margin-bottom: 0;
    width: 100%;
    max-width: 200px;
    text-align: center;
    box-shadow: none;
}

.doc-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
    width: 100%;
    text-align: left;
    flex-grow: 1;
}

.doc-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.doc-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.doc-card a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.doc-card a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Homepage Styles */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #93c5fd;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 850px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #e2e8f0;
    font-weight: 500;
}

.two-column-section {
    padding: 3rem 0 2.5rem;
    background: white;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.column h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.column-intro {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.capability-item {
    padding-left: 1rem;
}

.capability-item h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.capability-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-left: 1.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.highlight-box h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.highlight-list li {
    padding: 0.5rem 0;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.highlight-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.75rem;
    top: 0.75rem;
}

.highlight-note {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.architecture-section {
    padding: 2rem 0 2.5rem;
    background: var(--bg-light);
}

.architecture-section h2 {
    font-size: 2rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.architecture-diagram {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.brochure-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.features-grid-section {
    padding: 2.5rem 0 3rem;
    background: white;
}

.features-grid-section h2 {
    font-size: 2rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.feature-box h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.feature-box li {
    padding: 0.4rem 0;
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.feature-box li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-note {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 0.8rem 2rem;
    margin-top: 0;
    font-size: 1rem;
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background-color: white;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .header-menu {
        flex-direction: column;
        width: 100%;
    }

    .menu-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .menu-item a {
        padding: 1rem 1.25rem;
        font-weight: 700;
    }

    .logo {
        font-size: 2rem;
    }

    .header-logo {
        max-width: 150px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .submenu-tabs {
        flex-direction: column;
    }

    .submenu-tab {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        border-left: 3px solid transparent;
    }

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

    .docs-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .docs-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }

    .content-section h2 {
        font-size: 2rem;
    }

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

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

    .two-columns {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 3rem 0 4rem;
    }

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

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

    .hero-tags {
        flex-direction: column;
    }

    .tag {
        text-align: center;
    }
}

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