/* Modern Documentation Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #06b6d4;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-code: #1e293b;
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-code: #e2e8f0;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    
    --sidebar-width: 280px;
    --sidebar-collapsed: 60px;
    --header-height: 80px;
}

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

.container {
    display: flex;
    min-height: 100vh;
}

/* Improved Sidebar - Less Distracting */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    overflow-y: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed);
}

.sidebar.collapsed .sidebar-content {
    opacity: 0;
    pointer-events: none;
}

.sidebar.collapsed .logo,
.sidebar.collapsed .nav-section {
    display: none;
}

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

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

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

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

/* Sidebar Toggle */
.sidebar-toggle {
    position: absolute;
    top: 20px;
    right: -12px;
    width: 28px;
    height: 28px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.sidebar-toggle span {
    width: 10px;
    height: 1.5px;
    background: var(--text-secondary);
    margin: 1.5px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.sidebar-toggle:hover span {
    background: white;
}

.sidebar.collapsed .sidebar-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.sidebar.collapsed .sidebar-toggle span:nth-child(2) {
    opacity: 0;
}

.sidebar.collapsed .sidebar-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

.sidebar-content {
    padding: 20px 16px;
}

.logo {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.logo h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

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

.nav-section {
    margin-bottom: 24px;
}

.section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-left: 8px;
}

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

.nav-list li {
    margin-bottom: 2px;
}

.nav-link {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

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

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

.nav-link.active::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    background: var(--bg-primary);
    transition: all 0.3s ease;
}

.sidebar.collapsed + .main-content {
    margin-left: var(--sidebar-collapsed);
}

/* Progress Bar */
.progress-bar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-tertiary);
    z-index: 50;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s ease;
}

/* Content Sections */
.content-section {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 32px 80px;
    animation: fadeIn 0.4s ease-out;
}

.content-section.active {
    display: block;
}

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

/* Step Header */
.step-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.step-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

/* Content Body */
.content-body {
    font-size: 16px;
    line-height: 1.7;
}

.content-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 32px 0 16px 0;
}

.content-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px 0;
}

.content-body h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 10px 0;
}

.content-body p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.content-body ul, .content-body ol {
    margin: 16px 0 16px 20px;
    color: var(--text-secondary);
}

.content-body li {
    margin-bottom: 8px;
}

/* Cards and Sections */
.section-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: var(--shadow-sm);
}

.intro-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    margin: 24px 0;
    text-align: center;
}

.intro-card h2 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

/* Alert Boxes */
.highlight-box, .info-box, .warning-box, .success-box, .error-box {
    padding: 16px 20px;
    border-radius: 8px;
    margin: 16px 0;
    border-left: 4px solid;
}

.highlight-box.success {
    background: #f0fdf4;
    border-color: var(--success-color);
    color: #166534;
}

.info-box {
    background: #f0f9ff;
    border-color: var(--info-color);
    color: #0c4a6e;
}

.info-box.small {
    padding: 12px 16px;
    font-size: 14px;
    margin: 12px 0;
}

.warning-box {
    background: #fffbeb;
    border-color: var(--warning-color);
    color: #92400e;
}

.warning-box.small {
    padding: 12px 16px;
    font-size: 14px;
    margin: 12px 0;
}

.success-box {
    background: #f0fdf4;
    border-color: var(--success-color);
    color: #166534;
}

.success-box.small {
    padding: 12px 16px;
    font-size: 14px;
    margin: 12px 0;
}

.error-box {
    background: #fef2f2;
    border-color: var(--error-color);
    color: #991b1b;
}

/* Code Blocks */
.code-block {
    background: var(--bg-code);
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid #374151;
    overflow: hidden;
}

.code-block pre {
    padding: 20px;
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    color: var(--text-code);
    font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.code-block.small {
    margin: 8px 0;
}

.code-block.small code {
    font-size: 13px;
}

/* Inline code */
code:not(.code-block code) {
    background: var(--bg-tertiary);
    color: var(--primary-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    font-weight: 500;
}

/* File paths */
.file-path {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    margin: 12px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 500;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

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

.req-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.req-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.req-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.req-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.small-text {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

.check-command {
    margin-top: 12px;
}

/* Features List */
.features-list {
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.feature-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-item p {
    margin: 0;
    font-size: 14px;
}

/* Installation Steps */
.installation-steps {
    margin: 32px 0;
}

.install-step {
    display: flex;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.install-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.step-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

/* Code Comparison */
.code-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.code-before, .code-after {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 16px;
}

.code-before h4 {
    color: var(--error-color);
    margin-bottom: 12px;
    font-size: 14px;
}

.code-after h4 {
    color: var(--success-color);
    margin-bottom: 12px;
    font-size: 14px;
}

/* Test Steps */
.test-steps {
    margin: 20px 0;
}

.test-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.test-number {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Name Change Process */
.name-change-process {
    margin: 32px 0;
}

.change-step {
    display: flex;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.step-icon {
    font-size: 24px;
    margin-right: 16px;
    flex-shrink: 0;
}

.step-details {
    flex: 1;
}

.step-details h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* Branding Options */
.branding-options {
    margin: 20px 0;
}

.option-item {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 6px;
    margin-bottom: 12px;
    border-left: 3px solid var(--primary-color);
}

.option-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

/* Color Customization */
.color-customization {
    margin: 24px 0;
}

.color-section {
    margin-bottom: 32px;
}

.color-presets {
    margin-top: 32px;
}

.preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.preset-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.preset-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.preset-card h5 {
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-primary);
}

.color-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

.preset-code {
    background: var(--bg-tertiary);
    border-radius: 6px;
    padding: 12px;
}

.preset-code pre {
    margin: 0;
}

.preset-code code {
    font-size: 12px;
    color: var(--text-secondary);
    background: none;
    padding: 0;
}

/* Icon Steps */
.icon-steps {
    margin: 32px 0;
}

.icon-step {
    display: flex;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
}

.icon-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.icon-number {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 16px;
    flex-shrink: 0;
}

.icon-content {
    flex: 1;
}

.icon-content h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.icon-requirements ul {
    margin: 12px 0;
    padding-left: 20px;
}

.icon-requirements li {
    margin-bottom: 6px;
}

/* Optional Notice */
.optional-notice {
    display: flex;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.optional-icon {
    font-size: 28px;
    margin-right: 16px;
    flex-shrink: 0;
}

.optional-content h3 {
    color: #0c4a6e;
    margin-bottom: 8px;
}

.optional-content p {
    color: #075985;
    margin-bottom: 16px;
}

.skip-option {
    margin-top: 12px;
}

.btn-skip {
    background: var(--info-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-skip:hover {
    background: #0891b2;
    transform: translateY(-1px);
}

/* Firebase Features */
.firebase-features {
    margin: 20px 0;
}

.firebase-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

/* Firebase Setup */
.firebase-setup {
    margin: 32px 0;
}

.firebase-step {
    display: flex;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.firebase-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.step-marker {
    font-size: 24px;
    margin-right: 16px;
    flex-shrink: 0;
}

.step-detail {
    flex: 1;
}

.step-detail h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.setup-list {
    margin: 12px 0 16px 20px;
    color: var(--text-secondary);
}

.setup-list li {
    margin-bottom: 8px;
}

.file-location {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    margin: 12px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--primary-dark);
}

.external-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.external-link:hover {
    text-decoration: underline;
}

/* Backend Notice */
.backend-notice {
    margin: 32px 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.backend-details {
    margin-top: 16px;
}

.backend-details summary {
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 500;
}

.backend-details summary:hover {
    color: var(--primary-dark);
}

.backend-content {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* Build Types */
.build-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.build-type-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.build-type-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.build-type-card:hover:not(.featured) {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.build-icon {
    font-size: 32px;
    margin-bottom: 16px;
    text-align: center;
}

.build-content h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.build-content > p {
    text-align: center;
    font-size: 14px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.build-pros {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.pro-item {
    font-size: 13px;
    color: var(--success-color);
    font-weight: 500;
}

.build-command {
    margin-bottom: 12px;
}

.build-location {
    background: var(--bg-tertiary);
    border-radius: 6px;
    padding: 12px;
    font-size: 13px;
}

.build-location strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

/* Build Process */
.build-process {
    margin: 32px 0;
}

.process-step {
    display: flex;
    margin-bottom: 28px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.process-number {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 16px;
    flex-shrink: 0;
}

.process-content {
    flex: 1;
}

.process-content h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* File Locations */
.file-locations {
    margin: 16px 0;
}

.location-item {
    background: var(--bg-tertiary);
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.location-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

/* Testing Builds */
.testing-builds {
    margin: 32px 0;
}

.test-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.test-option {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.test-option h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* Troubleshooting */
.troubleshooting-builds, .troubleshooting-quick {
    margin: 32px 0;
}

.issue-solutions, .trouble-item {
    margin: 16px 0;
}

.issue-item {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 3px solid var(--warning-color);
}

.issue-item strong {
    color: var(--error-color);
    display: block;
    margin-bottom: 8px;
}

/* Play Store Preparation */
.completion-notice {
    display: flex;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid var(--success-color);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.completion-icon {
    font-size: 28px;
    margin-right: 16px;
    flex-shrink: 0;
}

.completion-content h3 {
    color: #166534;
    margin-bottom: 8px;
}

.completion-content p {
    color: #22543d;
    margin-bottom: 0;
}

/* Checklist */
.playstore-checklist {
    margin: 32px 0;
}

.checklist {
    margin: 20px 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.checklist-item.done {
    border-left: 4px solid var(--success-color);
}

.checklist-item.todo {
    border-left: 4px solid var(--warning-color);
}

.check {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.checklist-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

/* Signing Section */
.signing-section {
    margin: 32px 0;
}

.signing-notice {
    background: #fffbeb;
    border: 1px solid var(--warning-color);
    border-left: 4px solid var(--warning-color);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
    color: #92400e;
    font-weight: 500;
}

.signing-steps {
    margin: 24px 0;
}

.signing-step {
    display: flex;
    margin-bottom: 28px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.sign-number {
    width: 32px;
    height: 32px;
    background: var(--warning-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 16px;
    flex-shrink: 0;
}

.sign-content {
    flex: 1;
}

.sign-content h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--warning-color);
}

/* Play Store Assets */
.playstore-assets {
    margin: 32px 0;
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

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

.asset-item h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.asset-item ul {
    margin: 0;
    padding-left: 16px;
}

.asset-item li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* Submission Tips */
.submission-tips {
    margin: 32px 0;
}

.tips-list {
    margin: 20px 0;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.tip-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.tip-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

/* Completion Celebration */
.completion-celebration {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid var(--success-color);
    border-radius: 12px;
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}

.celebration-content h2 {
    color: var(--success-color);
    margin-bottom: 16px;
}

.celebration-content > p {
    color: #22543d;
    font-size: 18px;
    margin-bottom: 24px;
}

.achievement-summary, .next-steps {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
    text-align: left;
}

.achievement-summary h4, .next-steps h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.achievement-summary ul, .next-steps ol {
    margin: 0;
    padding-left: 20px;
}

/* Troubleshooting Section */
.trouble-categories {
    margin: 32px 0;
}

.trouble-category {
    margin-bottom: 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.trouble-category h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.trouble-items {
    margin: 16px 0;
}

.trouble-item {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--error-color);
}

.trouble-item strong {
    color: var(--error-color);
    display: block;
    margin-bottom: 8px;
}

.trouble-solution {
    margin-top: 12px;
}

.trouble-solution p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.trouble-solution ol {
    margin: 12px 0 12px 20px;
    color: var(--text-secondary);
}

.trouble-solution li {
    margin-bottom: 6px;
}

/* Diagnostic Tools */
.diagnostic-tools {
    margin: 32px 0;
}

.diagnostic-list {
    margin: 20px 0;
}

.diagnostic-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.diagnostic-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.diagnostic-item p {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* Support Section */
.support-intro {
    text-align: center;
    margin-bottom: 32px;
}

.support-intro h2 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

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

.support-card.primary {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.support-card:hover:not(.primary) {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.support-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.support-content h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.support-content ul {
    text-align: left;
    margin: 12px 0;
}

.response-time {
    background: var(--bg-tertiary);
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-support {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s ease;
}

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

/* External Resources */
.external-resources {
    margin: 32px 0;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

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

.resource-item h4 {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.resource-item p {
    font-size: 14px;
    margin-bottom: 12px;
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.resource-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    margin: 32px 0;
}

.faq-list {
    margin: 20px 0;
}

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

.faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--bg-secondary);
    border: none;
    outline: none;
}

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

.faq-answer {
    padding: 16px 20px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
}

/* Success Stories */
.success-stories {
    margin: 32px 0;
}

.story-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.story-content h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.success-tips {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.success-tips h5 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.success-tips ul {
    margin: 0;
    padding-left: 20px;
}

.success-tips li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* Final Message */
.final-message {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid var(--success-color);
    border-radius: 12px;
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}

.message-content h2 {
    color: var(--success-color);
    margin-bottom: 16px;
}

.message-content > p {
    color: #22543d;
    font-size: 18px;
    margin-bottom: 24px;
}

.final-checklist {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
    text-align: left;
}

.final-checklist p {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.final-checklist ul {
    margin: 0;
    padding-left: 20px;
}

.good-luck {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dcfce7;
}

.good-luck p {
    color: #22543d;
    margin: 8px 0;
}

.good-luck em {
    color: var(--text-muted);
}

/* Step Navigation */
.step-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.btn-prev, .btn-next {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.btn-prev:hover, .btn-next:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-prev {
    background: var(--text-secondary);
}

.btn-prev:hover {
    background: var(--text-primary);
}

.nav-info {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* Image Placeholders */
.image-placeholder {
    background: var(--bg-tertiary);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 32px 20px;
    text-align: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-style: italic;
}

.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.image-caption {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 40px 32px;
    margin-top: 80px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

.footer-brand h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 4px 0;
}

.footer-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar.collapsed + .main-content {
        margin-left: 0;
    }
    
    .code-comparison {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 32px 20px 60px;
    }
    
    .step-header h1 {
        font-size: 28px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .install-step, .process-step, .signing-step {
        flex-direction: column;
    }
    
    .step-circle, .process-number, .sign-number {
        margin-right: 0;
        margin-bottom: 12px;
        align-self: flex-start;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .preset-grid, .build-types, .support-options, .test-options {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 24px 16px 48px;
    }
    
    .step-header h1 {
        font-size: 24px;
    }
    
    .section-card, .intro-card {
        padding: 20px;
    }
    
    .completion-celebration, .final-message {
        padding: 24px;
    }
}

/* Print Styles */
@media print {
    .sidebar,
    .sidebar-toggle,
    .progress-bar,
    .step-navigation,
    .footer {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        padding: 0;
    }
    
    .content-section {
        display: block !important;
        page-break-after: always;
    }
    
    .content-section:last-child {
        page-break-after: auto;
    }
}