:root {
    --bg-dark: #0b0e14;
    --bg-panel: #151a23;
    --bg-panel-light: #1c222e;
    --primary: #00D4FF;
    --primary-glow: rgba(0, 212, 255, 0.15);
    --primary-hover: #00b8e6;
    --text-main: #f8f9fa;
    --text-muted: #8b95a5;
    --border-color: #2a313f;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-main: 'Inter', sans-serif;
    --sidebar-width: 260px;
}

[data-theme="light"] {
    --bg-dark: #f8f9fa;
    --bg-panel: #ffffff;
    --bg-panel-light: #f1f3f5;
    --primary: #0099cc;
    --primary-glow: rgba(0, 153, 204, 0.15);
    --primary-hover: #007da6;
    --text-main: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
}

/* App Layout */
.app-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-dark);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    padding: 0 8px;
}

.brand i {
    color: var(--primary);
    font-size: 28px;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.2s ease;
}

.menu-item i {
    font-size: 20px;
}

.menu-item:hover {
    color: var(--text-main);
    background-color: var(--bg-panel);
}

.menu-item.active {
    color: var(--primary);
    background-color: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.sidebar-promo {
    background: linear-gradient(180deg, var(--bg-panel) 0%, rgba(21, 26, 35, 0.5) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.promo-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
    font-size: 24px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.sidebar-promo h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sidebar-promo p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.badge {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-muted);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 40px 40px;
    overflow-y: auto;
    height: 100vh;
}

/* Topbar */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-panel);
    padding: 6px 12px 6px 6px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.user-profile:hover {
    background: var(--bg-panel-light);
}

.avatar {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.user-profile span {
    font-size: 13px;
    font-weight: 500;
}

.user-profile i {
    color: var(--text-muted);
    font-size: 14px;
}

/* Page Header */
.page-header {
    margin-bottom: 32px;
    margin-top: 20px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--primary);
}

.page-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

/* Cards */
.card {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

/* =========================================
   WIZARD UI (Duolingo/WhatsApp Style)
========================================= */
.wizard-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.wizard-header {
    margin-bottom: 32px;
}

.wizard-progress-bar {
    display: flex;
    gap: 6px;
    width: 100%;
}

.wizard-segment {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: background 0.4s ease;
}

.wizard-segment.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.wizard-step {
    display: none;
    opacity: 0;
}

.wizard-step.active {
    display: block;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wizard-step.slide-in-left {
    display: block;
    animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.wizard-fun-text {
    text-align: center;
    margin-bottom: 32px;
}

.wizard-fun-text h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.wizard-fun-text p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.wizard-footer .btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
}
.wizard-footer .btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

/* Upload Card */
.upload-card {
    padding: 2px; /* For gradient border effect */
    background: linear-gradient(135deg, var(--border-color), rgba(0, 212, 255, 0.2));
    margin-bottom: 24px;
}

.upload-zone {
    background-color: var(--bg-dark);
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px dashed transparent;
    transition: all 0.3s ease;
}

.upload-zone.dragover {
    border-color: var(--primary);
    background-color: rgba(0, 212, 255, 0.02);
}

.upload-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.upload-zone h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.upload-zone p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.drop-text {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Info Card (Tree View) */
.info-card {
    padding: 24px;
}

.info-card h3 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.tree-view {
    font-family: monospace;
    font-size: 13px;
    color: var(--text-main);
    background-color: var(--bg-dark);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.tree-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.tree-item i {
    color: var(--primary);
}

.tree-item.indent-1 { padding-left: 20px; }
.tree-item.indent-2 { padding-left: 40px; }

.framework-notice {
    margin-top: 24px;
    padding: 16px;
    background-color: rgba(255, 171, 0, 0.1);
    border: 1px solid rgba(255, 171, 0, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.framework-notice i {
    color: #ffab00;
    font-size: 20px;
    flex-shrink: 0;
}

.framework-notice p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.framework-notice strong {
    color: #ffab00;
}

.framework-notice code {
    background: var(--bg-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 11px;
}

/* Forms */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group.half {
    flex: 1;
}

label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
}

.optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 12px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    font-size: 16px;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.badge-icon {
    font-size: 11px;
    background: var(--bg-panel-light);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-main);
}

input[type="text"], input[type="number"] {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 12px 12px 40px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-main);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

input[type="text"]:focus, input[type="number"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* Flex Group for Color, Icon, Toggle */
.flex-group {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-dark);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.flex-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flex-icon {
    width: 32px;
    height: 32px;
    background-color: var(--bg-panel);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 18px;
}

.flex-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Color Picker Custom */
.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
    background: none;
}
input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}
input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

#color-hex {
    font-size: 13px;
    font-family: monospace;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: var(--font-main);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-secondary {
    background-color: var(--bg-panel-light);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: var(--font-main);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-outline:hover {
    background-color: rgba(0, 212, 255, 0.1);
}

.full-width {
    width: 100%;
}

.large {
    padding: 16px 24px;
    font-size: 15px;
}

/* Pulse Effect */
.pulse-effect {
    position: relative;
    overflow: hidden;
}
.pulse-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: pulse 2s infinite;
}

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

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-panel-light);
    transition: .4s;
    border: 1px solid var(--border-color);
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: .4s;
}

input:checked + .slider {
    background-color: rgba(0, 212, 255, 0.2);
    border-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(20px);
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Steps Section */
.steps-section {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.steps-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.step-text h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-main);
}

.step-text p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-arrow {
    color: var(--primary);
    font-size: 20px;
    padding: 0 24px;
    opacity: 0.5;
}

.step-graphic {
    margin-left: 24px;
}

/* My Apps List */
.app-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.app-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.app-item-info h4 {
    margin: 0 0 4px 0;
    color: var(--text-light);
    font-size: 16px;
}

.app-item-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.status-badge.criado, .status-badge.pendente {
    background: rgba(255, 171, 0, 0.2);
    color: #ffab00;
}
.status-badge.processando {
    background: rgba(0, 212, 255, 0.2);
    color: #00D4FF;
}
.status-badge.concluido {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}
.status-badge.erro, .status-badge.recusado {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.android-glow {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, rgba(0,212,255,0) 70%);
}

/* Responsive */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .app-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        padding: 10px;
        order: 2;
        position: fixed;
        bottom: 0;
        border-right: none;
        border-top: 1px solid var(--border-color);
        background: rgba(11, 14, 20, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1000;
        height: auto;
    }
    .brand, .sidebar-promo, .sidebar-user-footer {
        display: none !important;
    }
    .menu {
        flex-direction: row;
        justify-content: space-around;
        gap: 0;
    }
    .menu-item {
        flex-direction: column;
        padding: 8px 4px;
        gap: 4px;
        font-size: 11px;
        text-align: center;
        flex: 1;
    }
    .menu-item i {
        font-size: 22px;
        margin-bottom: 2px;
    }
    .menu-item.active {
        border-left: none;
        border-bottom: 3px solid var(--primary);
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
        background-color: transparent;
    }
    .main-content {
        padding: 0 20px 20px;
        height: calc(100vh - 70px);
        margin-bottom: 70px;
    }
    .steps-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .step-arrow {
        display: none;
    }
    .toast {
        left: 16px;
        right: 16px;
        bottom: 90px;
        width: auto;
        padding: 14px 16px;
    }
}

/* Modals */
.modal-auth-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 14, 20, 0.85); backdrop-filter: blur(5px);
    display: none; align-items: center; justify-content: center;
    z-index: 10000; opacity: 0; transition: opacity 0.3s;
}
.modal-auth-overlay.show {
    display: flex; opacity: 1;
}
.modal-auth-content {
    background: var(--bg-card, var(--bg-panel)); border: 1px solid var(--border-color);
    border-radius: 16px; width: 100%; max-width: 450px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transform: translateY(20px); transition: transform 0.3s;
}
.modal-auth-overlay.show .modal-auth-content { transform: translateY(0); }

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: toast-slide-up 0.3s ease-out forwards;
    z-index: 99999;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-success {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.3);
}

.toast-error {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
}

.toast i {
    font-size: 24px;
}

.toast-fadeout {
    animation: toast-fade-out 0.3s ease-in forwards;
}

@keyframes toast-slide-up {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes toast-fade-out {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(50px); opacity: 0; }
}

/* ============================================ */
/* DOCUMENTAÇÃO                                  */
/* ============================================ */
.docs-container {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.docs-search {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg-dark);
    padding: 8px 0;
}

.docs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.docs-nav-btn {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.docs-nav-btn:hover {
    color: var(--text-main);
    border-color: rgba(0, 212, 255, 0.3);
    background: var(--bg-panel-light);
}

.docs-nav-btn.active {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.1);
}

.docs-nav-btn .emoji {
    font-size: 16px;
}

.docs-category {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
}

.docs-category-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
}

.docs-category-header .cat-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.docs-category-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.docs-category-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.docs-fn-list {
    padding: 0;
}

.docs-fn {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}

.docs-fn:last-child {
    border-bottom: none;
}

.docs-fn-header {
    padding: 16px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
    transition: background 0.15s;
}

.docs-fn-header:hover {
    background: rgba(255,255,255,0.03);
}

.docs-fn-name {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.docs-fn-alias {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 8px;
}

.docs-fn-desc-short {
    font-size: 13px;
    color: var(--text-muted);
    flex: 1;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.docs-fn-toggle {
    color: var(--text-muted);
    font-size: 16px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.docs-fn.open .docs-fn-toggle {
    transform: rotate(180deg);
}

.docs-fn-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.docs-fn.open .docs-fn-body {
    max-height: 600px;
}

.docs-fn-body-inner {
    padding: 0 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.docs-fn-body-inner p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.docs-fn-body-inner .docs-params {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.docs-param-tag {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-family: monospace;
}

.docs-code-block {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre;
    position: relative;
}

.docs-code-block .code-comment {
    color: #6a737d;
}

.docs-code-block .code-string {
    color: #a5d6ff;
}

.docs-code-block .code-keyword {
    color: #ff7b72;
}

.docs-code-block .code-fn {
    color: #d2a8ff;
}

.docs-return-tag {
    display: inline-block;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-family: monospace;
}

.docs-empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
}

.docs-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Premium Pricing Cards */
.pricing-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card-free {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card-pro {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.05) 0%, rgba(11, 14, 20, 1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.pricing-card-pro:hover {
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.2), inset 0 0 30px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.8);
}

.pricing-recommended-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(90deg, #00d4ff, #007bff);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0,212,255,0.4);
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.pricing-features i {
    font-size: 18px;
    margin-right: 12px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    color: #fff;
}
@media (max-width: 900px) {
    .whatsapp-float {
        bottom: 90px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
}
