:root {
    --primary-color: #00d4ff;
    --secondary-color: #6c63ff;
    --dark-bg: #0a0e27;
    --card-bg: #151932;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #f56565;
    --info-color: #4299e1;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    background-color: rgba(21, 25, 50, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    color: white;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(108, 99, 255, 0.1));
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Features Section */
.features {
    padding: 4rem 0;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Hardware Section */
.hardware {
    padding: 4rem 0;
    background: rgba(21, 25, 50, 0.5);
}

.hardware h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.hardware-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    text-align: center;
}

.hardware-card h3 {
    margin-bottom: 0.5rem;
}

.hardware-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.badge {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

.hardware-note {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 2rem;
}

/* Bands Section */
.bands {
    padding: 4rem 0;
}

.bands h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.bands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.band-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.band-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.band-section li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.band-section li:last-child {
    border-bottom: none;
}

/* Getting Started Section */
.getting-started {
    padding: 4rem 0;
    background: rgba(21, 25, 50, 0.5);
}

.getting-started h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.step p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Flasher Section */
.flasher-section {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

.flasher-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.flasher-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.flasher-main {
    min-width: 0;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
}

.step span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.step.active span {
    color: var(--primary-color);
    font-weight: 600;
}

.flasher-config {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

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

.info-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-card ul,
.info-card ol {
    margin-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.info-card li {
    margin-bottom: 0.5rem;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.info-card strong {
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-bg);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.form-group small a {
    color: var(--primary-color);
}

.flash-ready-card {
    background: rgba(0, 212, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    margin-top: 2rem;
    text-align: center;
}

.flash-ready-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.flash-summary {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.btn-flash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.version-info {
    color: var(--text-secondary);
    font-style: italic;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.alert-info {
    background: rgba(66, 153, 225, 0.1);
    border: 1px solid var(--info-color);
    color: var(--info-color);
}

.alert-warning {
    background: rgba(237, 137, 54, 0.1);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
}

.alert-error {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

/* Loading Spinner */
.loading-spinner {
    border: 4px solid rgba(0, 212, 255, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Instructions */
.flasher-instructions h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.flasher-instructions h3:first-child {
    margin-top: 0;
}

.flasher-instructions ol {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.flasher-instructions ol li {
    margin-bottom: 0.5rem;
}

.flasher-instructions ul {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.flasher-instructions ul li {
    margin-bottom: 0.5rem;
}

.flasher-instructions a {
    color: var(--primary-color);
}

.help-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Beta Mode Toggle */
.beta-mode-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(237, 137, 54, 0.1);
    border-radius: 5px;
    border: 1px solid var(--warning-color);
}

.toggle-label {
    font-weight: 600;
    color: var(--warning-color);
}

/* Flash Options */
.flash-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 5px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s;
}

.flash-option-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.option-info {
    flex: 1;
    margin-right: 1rem;
}

.option-title {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.option-info small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    transition: 0.4s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--warning-color);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* File Upload Group */
.file-upload-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.uploaded-files-list {
    margin-top: 1rem;
}

.uploaded-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.uploaded-file-item span {
    color: var(--text-secondary);
}

.uploaded-file-item strong {
    color: var(--primary-color);
    text-transform: capitalize;
}

.btn-remove {
    background: var(--error-color);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.3s;
}

.btn-remove:hover {
    background: #d53f3f;
    transform: scale(1.1);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    user-select: none;
}

/* Post-Flash Actions */
.post-flash-actions {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(72, 187, 120, 0.1);
    border: 2px solid var(--success-color);
    border-radius: 5px;
    text-align: center;
}

.post-flash-actions h4 {
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

.post-flash-actions p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.post-flash-actions button {
    margin: 0.5rem 0;
}

.post-flash-actions small {
    display: block;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Flash Progress */
.flash-progress {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.flash-progress h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.progress-bar-container {
    width: 100%;
    height: 30px;
    background: var(--dark-bg);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.progress-status {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.progress-log {
    background: var(--dark-bg);
    border-radius: 5px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-height: 300px;
    overflow-y: auto;
    line-height: 1.5;
    margin-top: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.progress-log::-webkit-scrollbar {
    width: 8px;
}

.progress-log::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

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

.progress-log::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.progress-log div {
    margin-bottom: 0.3rem;
}

/* Footer */
footer {
    background: var(--card-bg);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

[data-animation] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animation].animate {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Enhancements */
.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.hero-content h1 {
    text-align: left;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    justify-content: flex-start;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Signal Animation */
.signal-animation {
    position: relative;
    width: 200px;
    height: 200px;
}

.signal-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

.signal-wave:nth-child(2) {
    animation-delay: 0.5s;
}

.signal-wave:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        width: 60px;
        height: 60px;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Feature Icons */
.feature-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Documentation Styles */
.docs-hero {
    padding: 4rem 0 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(108, 99, 255, 0.1));
}

.docs-content {
    padding: 3rem 0;
}

.docs-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

.docs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.docs-nav {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.docs-nav h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.docs-nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    margin-bottom: 0.25rem;
}

.docs-nav a:hover,
.docs-nav a.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
}

.docs-main {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.doc-section {
    margin-bottom: 4rem;
}

.doc-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.doc-section h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.doc-section h4 {
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.doc-section p,
.doc-section li {
    color: var(--text-secondary);
    line-height: 1.8;
}

.doc-section ul,
.doc-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.doc-section code {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

.doc-section pre {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1rem 0;
}

.doc-section pre code {
    background: none;
    padding: 0;
}

/* Info Boxes */
.info-box,
.warning-box {
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.info-box {
    background: rgba(66, 153, 225, 0.1);
    border-left: 4px solid var(--info-color);
}

.warning-box {
    background: rgba(237, 137, 54, 0.1);
    border-left: 4px solid var(--warning-color);
}

.info-box h4,
.warning-box h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Steps List */
.steps-list {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
}

/* Screenshot Gallery */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.screenshot-item h4 {
    margin-bottom: 0.5rem;
}

.screenshot-placeholder {
    background: var(--dark-bg);
    border: 2px dashed rgba(0, 212, 255, 0.3);
    border-radius: 5px;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.screenshot-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-top: 1rem;
    transition: transform 0.3s;
    display: block;
}

.screenshot-img:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

/* Troubleshooting */
.trouble-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trouble-item:last-child {
    border-bottom: none;
}

/* Board Selector for Wiring Diagrams */
.board-selector {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.board-selector label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.board-dropdown {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--dark-bg);
    color: var(--text-primary);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.board-dropdown:hover {
    border-color: var(--primary-color);
}

.board-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.wiring-content {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.wiring-content h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.wiring-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.wiring-content h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

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

.wiring-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.wiring-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.wiring-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.wiring-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.wiring-content table th,
.wiring-content table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.wiring-content table th {
    background: var(--dark-bg);
    color: var(--primary-color);
    font-weight: 600;
}

.wiring-content table td {
    color: var(--text-secondary);
}

.wiring-content pre {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1rem 0;
}

.wiring-content pre code {
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.wiring-content code {
    background: var(--dark-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

.wiring-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.wiring-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Docs Footer */
.docs-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.docs-footer h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.docs-footer-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .flasher-container {
        grid-template-columns: 1fr;
    }

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

    .docs-sidebar {
        position: static;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .feature-grid,
    .hardware-grid,
    .bands-grid,
    .steps {
        grid-template-columns: 1fr;
    }
}
