/* ===== Documentation Styles ===== */

/* Professional status badges */
.status-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: var(--space-1);
    margin-bottom: var(--space-1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-badge.development {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.beta {
    background: rgba(156, 163, 175, 0.15);
    color: var(--text-secondary);
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Tech stack styling */
.tech-stack {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.tech-item {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.tech-categories {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.tech-category h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--doc-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.service-item {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.service-item h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-item ul {
    list-style: none;
    padding: 0;
}

.service-item li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

.service-item li::before {
    content: "•";
    color: var(--doc-primary);
    margin-right: 0.5rem;
}

/* Process steps */
.process-steps {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.step-number {
    background: var(--doc-primary);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--doc-primary), var(--doc-secondary));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.contact-cta h3 {
    margin-bottom: 0.5rem;
}

.contact-cta p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.btn-primary {
    background: var(--bg-tertiary);
    color: var(--doc-primary);
    padding: var(--space-2) var(--space-4);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: var(--border-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* ===== Professional Documentation Styles ===== */
:root {
	/* Primary colors from main site */
	--doc-primary: #e5e7eb;
	--doc-primary-dark: #d1d5db;
	--doc-primary-light: #f3f4f6;
	--doc-secondary: #9ca3af;
	--doc-accent: #ffffff;
	--doc-success: #10b981;
	--doc-warning: #f59e0b;
	--doc-error: #ef4444;

	/* Dark theme as default (matching main site) */
	--bg-primary: #000000;
	--bg-secondary: #111111;
	--bg-tertiary: #1f1f1f;
	--text-primary: #e5e7eb;
	--text-secondary: #9ca3af;
	--text-tertiary: #64748b;
	--border-color: #333333;

	/* Layout */
	--sidebar-width: 280px;
	--header-height: 60px;

	/* Fibonacci spacing system (from main site) */
	--space-1: 8px;    /* fibonacci */
	--space-2: 13px;   /* fibonacci */
	--space-3: 21px;   /* fibonacci */
	--space-4: 34px;   /* fibonacci */
	--space-5: 55px;   /* fibonacci */
	--space-6: 89px;   /* fibonacci */
	--space-7: 144px;  /* fibonacci */

	/* Professional shadows */
	--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
	--shadow-md: 0 5px 8px -1px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 13px 21px -3px rgba(0, 0, 0, 0.4);
	--shadow-xl: 0 34px 55px -5px rgba(0, 0, 0, 0.4);

	/* Typography */
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	--font-mono: "JetBrains Mono", "Consolas", monospace;
	
	/* Professional transitions */
	--transition: all 0.34s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.6;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== Sidebar ===== */
.sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: var(--sidebar-width);
	height: 100vh;
	background: var(--bg-secondary);
	border-right: 1px solid var(--border-color);
	overflow-y: auto;
	z-index: 100;
}

.sidebar-header {
	padding: var(--space-4);
	border-bottom: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: 800;
}

.logo-text {
	color: var(--doc-primary);
	font-weight: 700;
}

.logo-accent {
	color: var(--text-secondary);
	font-weight: 400;
}

.version {
	font-size: 0.75rem;
	padding: 0.25rem 0.5rem;
	background: var(--bg-tertiary);
	border-radius: 4px;
	color: var(--text-secondary);
}

/* Professional Sidebar Navigation */
.sidebar-nav {
	padding: var(--space-3) 0;
}

.nav-section {
	margin-bottom: var(--space-5);
}

.nav-section h3 {
	padding: 0 var(--space-4);
	margin-bottom: var(--space-2);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-tertiary);
}

.nav-section ul {
	list-style: none;
}

.nav-item {
	display: block;
	padding: var(--space-2) var(--space-4);
	color: var(--text-secondary);
	text-decoration: none;
	transition: var(--transition);
	position: relative;
	font-size: 0.9rem;
}

.nav-item:hover {
	color: var(--text-primary);
	background: var(--bg-tertiary);
}

.nav-item.active {
	color: var(--doc-primary);
	background: rgba(229, 231, 235, 0.1);
}

.nav-item.active::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--doc-primary);
}

/* Sidebar Footer */
.sidebar-footer {
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--border-color);
	margin-top: auto;
}

.theme-toggle {
	display: flex;
	justify-content: center;
}

#theme-btn {
	background: var(--bg-tertiary);
	border: none;
	padding: 0.75rem;
	border-radius: 8px;
	font-size: 1.25rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

#theme-btn:hover {
	background: var(--border-color);
	transform: scale(1.1);
}

/* ===== Main Content ===== */
.main-content {
	margin-left: var(--sidebar-width);
	min-height: 100vh;
}

.content-wrapper {
	max-width: 900px;
	margin: 0 auto;
	padding: var(--space-6) var(--space-5);
}

/* Professional Section Styles */
.doc-section {
	margin-bottom: var(--space-7);
}

.section-title {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: var(--space-3);
	color: var(--text-primary);
	line-height: 1.2;
}

.section-meta {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin-bottom: var(--space-5);
}

.badge {
	padding: var(--space-1) var(--space-2);
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.badge-primary {
	background: rgba(229, 231, 235, 0.15);
	color: var(--doc-primary);
	border: 1px solid rgba(229, 231, 235, 0.3);
}

.last-updated {
	color: var(--text-tertiary);
	font-size: 0.875rem;
}

/* Professional Typography */
h1 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: var(--space-3);
	color: var(--text-primary);
	line-height: 1.2;
}

h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-top: var(--space-6);
	margin-bottom: var(--space-3);
	color: var(--text-primary);
	line-height: 1.3;
}

h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-top: var(--space-5);
	margin-bottom: var(--space-2);
	color: var(--text-primary);
	line-height: 1.4;
}

h4 {
	font-size: 1.125rem;
	font-weight: 600;
	margin-top: var(--space-4);
	margin-bottom: var(--space-2);
	color: var(--text-primary);
	line-height: 1.4;
}

p {
	margin-bottom: var(--space-3);
	color: var(--text-secondary);
	line-height: 1.7;
}

.lead {
	font-size: 1.25rem;
	line-height: 1.8;
	color: var(--text-primary);
	margin-bottom: var(--space-5);
}

/* Professional Info Box */
.info-box {
	display: flex;
	gap: var(--space-3);
	padding: var(--space-4);
	background: rgba(229, 231, 235, 0.1);
	border: 1px solid rgba(229, 231, 235, 0.2);
	border-radius: 8px;
	margin-bottom: var(--space-5);
	box-shadow: var(--shadow-sm);
}

.info-icon {
	color: var(--doc-primary);
	font-weight: 600;
	font-size: 0.875rem;
	padding: var(--space-1) var(--space-2);
	background: rgba(229, 231, 235, 0.15);
	border-radius: 4px;
	height: fit-content;
}

.info-content h4 {
	margin-top: 0;
	color: var(--text-primary);
}

/* Professional Warning Box */
.warning-box {
	display: flex;
	gap: var(--space-3);
	padding: var(--space-4);
	background: rgba(245, 158, 11, 0.1);
	border: 1px solid rgba(245, 158, 11, 0.3);
	border-radius: 8px;
	margin-bottom: var(--space-5);
	box-shadow: var(--shadow-sm);
}

.warning-icon {
	color: var(--doc-warning);
	font-weight: 600;
	font-size: 0.875rem;
	padding: var(--space-1) var(--space-2);
	background: rgba(245, 158, 11, 0.15);
	border-radius: 4px;
	height: fit-content;
}

.warning-content h4 {
	margin-top: 0;
	color: var(--text-primary);
}

/* Product Grid */
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.product-card {
	padding: 1.5rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	transition: all 0.2s ease;
}

.product-card:hover {
	border-color: var(--doc-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.product-card h3 {
	margin-top: 0;
	color: var(--doc-primary);
}

.link-arrow {
	color: var(--doc-primary);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.2s ease;
}

.link-arrow:hover {
	transform: translateX(5px);
}

/* Code Blocks */
.code-block {
	margin-bottom: 1.5rem;
	border-radius: 8px;
	overflow: hidden;
	background: #2d3748;
	border: 1px solid #4a5568;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.code-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1rem;
	background: #4a5568;
	border-bottom: 1px solid #6b7280;
}

.code-lang {
	font-size: 0.875rem;
	color: #a0aec0;
	font-weight: 500;
}

.copy-btn {
	background: none;
	border: none;
	color: #a0aec0;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	transition: all 0.2s ease;
	font-size: 0.875rem;
}

.copy-btn:hover {
	background: #4a5568;
	color: #e2e8f0;
}

pre {
	margin: 0;
	padding: 1rem !important;
	overflow-x: auto;
	background: #2d3748 !important;
	font-size: 0.875rem;
	line-height: 1.5;
}

/* Custom scrollbar for code blocks */
pre::-webkit-scrollbar {
	height: 8px;
}

pre::-webkit-scrollbar-track {
	background: #4a5568;
}

pre::-webkit-scrollbar-thumb {
	background: #6b7280;
	border-radius: 4px;
}

pre::-webkit-scrollbar-thumb:hover {
	background: #9ca3af;
}

code {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	color: #cbd5e1 !important;
}

/* Force dark theme for all code blocks - HIGH SPECIFICITY */
.code-block pre[class*="language-"],
.code-block pre,
.code-block code,
pre[class*="language-"],
pre.language-javascript,
pre.language-bash,
pre.language-json,
pre.language-php,
pre.language-python,
code[class*="language-"],
.token {
	background: #2d3748 !important;
	color: #cbd5e1 !important;
}

/* Override Prism.js default styles */
pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection {
	background: #4a5568 !important;
}

pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
	background: #4a5568 !important;
}

/* VS Code inspired syntax highlighting colors - FORCED */
.code-block .token.comment,
.code-block .token.prolog,
.code-block .token.doctype,
.code-block .token.cdata,
pre[class*="language-"] .token.comment,
pre[class*="language-"] .token.prolog,
pre[class*="language-"] .token.doctype,
pre[class*="language-"] .token.cdata {
	color: #6a9955 !important;
	font-style: italic !important;
	background: transparent !important;
}

.code-block .token.punctuation,
pre[class*="language-"] .token.punctuation {
	color: #d4d4d4 !important;
	background: transparent !important;
}

.code-block .token.property,
.code-block .token.tag,
pre[class*="language-"] .token.property,
pre[class*="language-"] .token.tag {
	color: #92c5f7 !important;
	background: transparent !important;
}

.code-block .token.boolean,
.code-block .token.number,
.code-block .token.constant,
.code-block .token.symbol,
.code-block .token.deleted,
pre[class*="language-"] .token.boolean,
pre[class*="language-"] .token.number,
pre[class*="language-"] .token.constant,
pre[class*="language-"] .token.symbol,
pre[class*="language-"] .token.deleted {
	color: #b5cea8 !important;
	background: transparent !important;
}

.code-block .token.selector,
.code-block .token.attr-name,
.code-block .token.string,
.code-block .token.char,
.code-block .token.builtin,
.code-block .token.inserted,
pre[class*="language-"] .token.selector,
pre[class*="language-"] .token.attr-name,
pre[class*="language-"] .token.string,
pre[class*="language-"] .token.char,
pre[class*="language-"] .token.builtin,
pre[class*="language-"] .token.inserted {
	color: #ce9178 !important;
	background: transparent !important;
}

.code-block .token.operator,
.code-block .token.entity,
.code-block .token.url,
.code-block .language-css .token.string,
.code-block .style .token.string,
pre[class*="language-"] .token.operator,
pre[class*="language-"] .token.entity,
pre[class*="language-"] .token.url,
pre[class*="language-"].language-css .token.string,
pre[class*="language-"].style .token.string {
	color: #d4d4d4 !important;
	background: transparent !important;
}

.code-block .token.atrule,
.code-block .token.attr-value,
.code-block .token.keyword,
pre[class*="language-"] .token.atrule,
pre[class*="language-"] .token.attr-value,
pre[class*="language-"] .token.keyword {
	color: #569cd6 !important;
	font-weight: 500 !important;
	background: transparent !important;
}

.code-block .token.function,
.code-block .token.class-name,
pre[class*="language-"] .token.function,
pre[class*="language-"] .token.class-name {
	color: #dcdcaa !important;
	font-weight: 500 !important;
	background: transparent !important;
}

.code-block .token.regex,
.code-block .token.important,
.code-block .token.variable,
pre[class*="language-"] .token.regex,
pre[class*="language-"] .token.important,
pre[class*="language-"] .token.variable {
	color: #9cdcfe !important;
	background: transparent !important;
}

.code-block .token.important,
.code-block .token.bold,
pre[class*="language-"] .token.important,
pre[class*="language-"] .token.bold {
	font-weight: bold !important;
}

.code-block .token.italic,
pre[class*="language-"] .token.italic {
	font-style: italic !important;
}

.code-block .token.entity,
pre[class*="language-"] .token.entity {
	cursor: help !important;
}

/* Language-specific enhancements */
.language-bash .token.function {
	color: #81e6d9 !important;
}

.language-json .token.property {
	color: #90cdf4 !important;
}

.language-javascript .token.keyword {
	color: #c084fc !important;
}

.language-php .token.variable {
	color: #fbb6ce !important;
}

/* Terminal-style for bash */
.language-bash {
	background: #2d3748 !important;
}

/* Inline code */
p code,
li code,
td code {
	padding: 0.125rem 0.375rem;
	background: rgba(45, 55, 72, 0.8);
	border: 1px solid rgba(74, 85, 104, 0.6);
	border-radius: 4px;
	font-size: 0.875em;
	color: #ce9178 !important;
	font-weight: 500;
}

/* Tabs */
.tabs {
	margin-bottom: 2rem;
}

.tab-buttons {
	display: flex;
	gap: 0.5rem;
	border-bottom: 2px solid var(--border-color);
}

.tab-btn {
	background: none;
	border: none;
	padding: 0.75rem 1.5rem;
	color: var(--text-secondary);
	font-weight: 500;
	cursor: pointer;
	position: relative;
	transition: all 0.2s ease;
}

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

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

.tab-btn.active::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--doc-primary);
}

.tab-panel {
	display: none;
	padding-top: 1.5rem;
}

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

/* Tables */
table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

th {
	background: var(--bg-secondary);
	padding: 0.75rem 1rem;
	text-align: left;
	font-weight: 600;
	border-bottom: 2px solid var(--border-color);
}

td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--border-color);
}

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

/* Models Table */
.models-table {
	overflow-x: auto;
	margin-bottom: 2rem;
}

/* Endpoints */
.endpoint {
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	margin-bottom: 2rem;
	overflow: hidden;
}

.endpoint-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
	background: var(--bg-tertiary);
	border-bottom: 1px solid var(--border-color);
}

.method {
	padding: 0.25rem 0.75rem;
	border-radius: 4px;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
}

.method.get {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
}

.method.post {
	background: rgba(99, 102, 241, 0.1);
	color: var(--doc-primary);
}

.method.put {
	background: rgba(245, 158, 11, 0.1);
	color: var(--doc-warning);
}

.method.delete {
	background: rgba(239, 68, 68, 0.1);
	color: var(--doc-error);
}

.endpoint-path {
	font-family: var(--font-mono);
	color: var(--text-primary);
}

.endpoint-content {
	padding: 1.5rem;
}

/* Parameters Table */
.params-table {
	font-size: 0.875rem;
}

/* Status Page */
.status-overview {
	margin-bottom: 3rem;
}

.status-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--bg-secondary);
	border: 2px solid;
	border-radius: 8px;
}

.status-card.operational {
	border-color: var(--doc-success);
}

.status-indicator {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--doc-success);
	position: relative;
}

.status-indicator::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--doc-success);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	100% {
		transform: scale(2);
		opacity: 0;
	}
}

.status-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 3rem;
}

.status-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: var(--bg-secondary);
	border-radius: 8px;
}

.status-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.status-dot.operational {
	background: var(--doc-success);
}

.status-dot.maintenance {
	background: var(--doc-warning);
}

.status-name {
	flex: 1;
	font-weight: 500;
}

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

/* Metrics */
.metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1.5rem;
}

.metric {
	text-align: center;
	padding: 1.5rem;
	background: var(--bg-secondary);
	border-radius: 8px;
}

.metric h4 {
	margin: 0 0 0.5rem 0;
	color: var(--text-secondary);
	font-weight: 500;
}

.metric-value {
	font-size: 2rem;
	font-weight: 700;
	color: var(--doc-primary);
}

/* Components List */
.component-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 3rem;
}

.component {
	padding: 1.5rem;
	background: var(--bg-secondary);
	border-radius: 8px;
}

.component h3 {
	margin-top: 0;
	color: var(--doc-primary);
}

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

.component li {
	padding: 0.5rem 0;
	padding-left: 1.5rem;
	position: relative;
}

.component li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--doc-primary);
}

/* Feature Grid */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.feature {
	padding: 1.5rem;
	background: var(--bg-secondary);
	border-radius: 8px;
	text-align: center;
}

.feature h4 {
	margin: 0 0 0.5rem 0;
}

/* Support Options */
.support-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.support-card {
	padding: 2rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	text-align: center;
	transition: all 0.2s ease;
}

.support-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.support-card.priority {
	border-color: var(--doc-primary);
	background: rgba(99, 102, 241, 0.05);
}

.response-time {
	font-size: 0.875rem;
	color: var(--text-tertiary);
}

/* FAQ */
.faq {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.faq-item {
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	overflow: hidden;
}

.faq-item summary {
	padding: 1rem 1.5rem;
	cursor: pointer;
	font-weight: 500;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: "+";
	font-size: 1.25rem;
	color: var(--text-tertiary);
}

.faq-item[open] summary::after {
	content: "−";
}

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

.faq-item p {
	padding: 0 var(--space-4) var(--space-4) var(--space-4);
	margin: 0;
}

/* Duplicate btn-primary removed - using the one above */

/* Security Info */
.security-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--space-5);
}

/* Responsive */
@media (max-width: 768px) {
	.sidebar {
		transform: translateX(-100%);
		transition: transform 0.3s ease;
	}

	.sidebar.active {
		transform: translateX(0);
	}

	.main-content {
		margin-left: 0;
	}

	.content-wrapper {
		padding: var(--space-5) var(--space-3);
	}

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

	h1 {
		font-size: 1.5rem;
	}

	h2 {
		font-size: 1.25rem;
	}

	.product-grid,
	.feature-grid,
	.support-options {
		grid-template-columns: 1fr;
	}

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

/* Scrollbar */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
	background: var(--border-color);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--text-tertiary);
}

/* ===== NAUKADO DOCUMENTATION ENHANCEMENTS ===== */

/* App download links */
.app-links {
	display: flex;
	gap: var(--space-3);
	margin: var(--space-5) 0;
	flex-wrap: wrap;
}

.app-link {
	display: inline-flex;
	align-items: center;
	padding: var(--space-3) var(--space-4);
	background: linear-gradient(135deg, var(--doc-primary), #6366f1);
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.app-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
	color: white;
}

.app-link.ios {
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.app-link.android {
	background: linear-gradient(135deg, #059669, #10b981);
}

.app-link.web {
	background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

/* Enhanced info boxes */
.info-box.success {
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-left: 4px solid #10b981;
}

.info-box.success .info-icon {
	color: #10b981;
	font-size: 1.5rem;
}

/* Badge enhancements */
.badge.badge-success {
	background: linear-gradient(135deg, #10b981, #059669);
	color: white;
	font-weight: 600;
	padding: var(--space-1) var(--space-2);
	border-radius: 6px;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Tech stack styling */
.tech-section {
	margin-bottom: var(--space-4);
}

.tech-section h4 {
	color: var(--text-primary);
	margin-bottom: var(--space-2);
	font-size: 1rem;
	font-weight: 600;
}

.tech-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.tech-badge {
	padding: var(--space-1) var(--space-2);
	background: rgba(99, 102, 241, 0.1);
	border: 1px solid rgba(99, 102, 241, 0.2);
	border-radius: 4px;
	font-size: 0.8rem;
	color: var(--text-primary);
	font-weight: 500;
}

.tech-badge.ai {
	background: rgba(147, 51, 234, 0.1);
	border-color: rgba(147, 51, 234, 0.2);
	color: #9333ea;
}

/* Product card enhancements */
.product-links {
	margin-top: var(--space-2);
	display: flex;
	gap: var(--space-2);
	flex-wrap: wrap;
}

.mini-link {
	font-size: 0.75rem;
	padding: var(--space-1) var(--space-2);
	background: rgba(99, 102, 241, 0.1);
	color: var(--doc-primary);
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.mini-link:hover {
	background: rgba(99, 102, 241, 0.2);
	color: var(--doc-primary);
}

/* Download buttons */
.download-buttons {
	display: flex;
	gap: var(--space-2);
	margin-top: var(--space-3);
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	padding: var(--space-2) var(--space-3);
	border-radius: 6px;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.875rem;
	transition: all 0.2s ease;
}

.btn-primary {
	background: linear-gradient(135deg, var(--doc-primary), #6366f1);
	color: white;
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
	color: white;
}

.btn-secondary {
	background: rgba(99, 102, 241, 0.1);
	color: var(--doc-primary);
	border: 1px solid rgba(99, 102, 241, 0.2);
}

.btn-secondary:hover {
	background: rgba(99, 102, 241, 0.2);
	color: var(--doc-primary);
}

/* Pricing info */
.pricing-info {
	margin: var(--space-5) 0;
	padding: var(--space-4);
	background: rgba(249, 250, 251, 0.8);
	border: 1px solid rgba(229, 231, 235, 0.3);
	border-radius: 12px;
}

.pricing-model, .premium-pricing, .payment-info {
	margin-bottom: var(--space-5);
}

.pricing-model h3, .premium-pricing h3, .payment-info h4 {
	color: var(--text-primary);
	margin-bottom: var(--space-3);
	font-weight: 600;
}

/* Limits grid */
.limits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--space-2);
	margin-bottom: var(--space-4);
}

.limit-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--space-2) var(--space-3);
	background: white;
	border: 1px solid rgba(229, 231, 235, 0.5);
	border-radius: 8px;
}

.limit-item .feature {
	font-weight: 500;
	color: var(--text-primary);
}

.limit-item .limit {
	font-size: 0.875rem;
	color: var(--text-secondary);
	font-weight: 600;
}

/* Plans grid */
.plans-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--space-4);
	margin-bottom: var(--space-4);
}

.plan-card {
	position: relative;
	padding: var(--space-4);
	background: white;
	border: 2px solid rgba(229, 231, 235, 0.5);
	border-radius: 12px;
	text-align: center;
	transition: all 0.3s ease;
}

.plan-card:hover {
	border-color: var(--doc-primary);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.plan-card.popular {
	border-color: var(--doc-primary);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.plan-card .badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, var(--doc-primary), #6366f1);
	color: white;
	padding: var(--space-1) var(--space-2);
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.plan-card h4 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: var(--space-2);
}

.plan-card .price {
	font-size: 2rem;
	font-weight: 800;
	color: var(--text-primary);
	margin-bottom: var(--space-1);
}

.plan-card .price span {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-secondary);
}

.plan-card .savings {
	color: #059669;
	font-weight: 600;
	font-size: 0.875rem;
	margin-bottom: var(--space-3);
}

.plan-card ul {
	list-style: none;
	padding: 0;
	text-align: left;
}

.plan-card li {
	padding: var(--space-1) 0;
	color: var(--text-secondary);
	font-size: 0.875rem;
	border-bottom: 1px solid rgba(229, 231, 235, 0.3);
}

.plan-card li:last-child {
	border-bottom: none;
}

/* Payment info */
.payment-info ul {
	margin-left: 0;
	list-style: none;
	padding: 0;
}

.payment-info li {
	padding: var(--space-1) 0;
	color: var(--text-secondary);
	font-size: 0.875rem;
}

.pricing-info ul {
	margin-left: var(--space-4);
	color: var(--text-secondary);
}

.pricing-info li {
	margin-bottom: var(--space-1);
}

/* Status badges */
.status-badge.active {
	background: linear-gradient(135deg, #10b981, #059669);
	color: white;
}

/* Mobile responsiveness for new elements */
@media (max-width: 768px) {
	.app-links {
		flex-direction: column;
	}

	.download-buttons {
		flex-direction: column;
	}

	.tech-list {
		justify-content: flex-start;
	}

	.product-links {
		justify-content: flex-start;
	}
}

/* Print Styles */
@media print {
	.sidebar,
	.theme-toggle,
	.copy-btn {
		display: none !important;
	}

	.main-content {
		margin-left: 0;
	}
}
