/* Hermes Manager Page Specific Styles */

.hermes-hero {
    padding-top: 100px;
}

.hermes-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1) 0%, rgba(123, 47, 255, 0.1) 100%);
    border: 1px solid rgba(0, 245, 255, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hermes-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.hermes-stat {
    text-align: center;
}

.hermes-stat .stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.hermes-stat .stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.hermes-visual {
    height: auto;
    min-height: 400px;
}

.hermes-app-preview {
    position: relative;
    z-index: 1;
}

.preview-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 245, 255, 0.1);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dot.red { background: #ff5f56; }
.preview-dot.yellow { background: #ffbd2e; }
.preview-dot.green { background: #27c93f; }

.preview-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 10px;
}

.preview-content {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 300px;
}

.preview-sidebar {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-right: 1px solid var(--border-color);
}

.sidebar-item {
    padding: 10px 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}

.sidebar-item.active {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.15) 0%, rgba(123, 47, 255, 0.15) 100%);
    color: var(--primary);
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.preview-main {
    padding: 20px;
}

.preview-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
}

.card-header {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.status-item {
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
}

.status-item.ok {
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

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

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1) 0%, rgba(123, 47, 255, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card .card-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card > p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

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

.feature-list li {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 6px 0;
    padding-left: 15px;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
}

/* Platforms Section */
.platforms {
    padding: 80px 0;
    background: var(--bg-darker);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.platform-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.platform-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.platform-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Download Section */
.download {
    padding: 100px 0;
}

.download-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.download-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.download-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.spec-value {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--primary);
}

.download-icon svg {
    width: 100%;
    height: 100%;
}

.download-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.download-size {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.download-note {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Guide Section */
.guide {
    padding: 100px 0;
    background: var(--bg-darker);
}

.guide-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.guide-nav {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.guide-tab {
    padding: 15px 30px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.guide-tab:hover {
    color: var(--text-secondary);
}

.guide-tab.active {
    color: var(--primary);
    background: rgba(0, 245, 255, 0.1);
    border-bottom: 2px solid var(--primary);
}

.guide-panels {
    padding: 30px;
}

.guide-panel {
    display: none;
}

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

.guide-section {
    margin-bottom: 40px;
}

.guide-section h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.guide-section > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.step-num {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2) 0%, rgba(123, 47, 255, 0.2) 100%);
    border: 1px solid var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--primary);
}

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

.guide-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 10px;
    margin-top: 20px;
}

.guide-tip.warning {
    background: rgba(255, 95, 86, 0.1);
    border-color: rgba(255, 95, 86, 0.3);
}

.tip-icon {
    font-size: 1.2rem;
}

.guide-tip p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.guide-tip code {
    background: rgba(0, 245, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--primary);
}

.code-block {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.code-header span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.code-block pre {
    padding: 15px;
    margin: 0;
}

.code-block code {
    color: var(--primary);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.command-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.command-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 15px;
    background: var(--bg-darker);
    border-radius: 8px;
}

.command-row code {
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--primary);
    font-size: 0.9rem;
    min-width: 200px;
}

.command-row span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 245, 255, 0.05);
}

.faq-question span {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
}

.faq-question svg {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid var(--border-color);
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-answer a {
    color: var(--primary);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Contact section links */
.contact-text a {
    color: var(--text-primary);
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--primary);
}

/* Footer links in brand section */
.footer-brand a {
    color: var(--text-primary);
    text-decoration: none;
}

.footer-brand a:hover {
    color: var(--primary);
}

.faq-answer code {
    background: rgba(0, 245, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--primary);
    font-family: 'Consolas', 'Monaco', monospace;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .download-wrapper {
        grid-template-columns: 1fr;
    }
    
    .download-action {
        order: -1;
    }
    
    .preview-content {
        grid-template-columns: 150px 1fr;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hermes-stats {
        justify-content: center;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
    }
    
    .preview-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .guide-nav {
        flex-wrap: wrap;
    }
    
    .guide-tab {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .download-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .hermes-stat .stat-num {
        font-size: 1.5rem;
    }
}