﻿/* User Guide Styles */
.user-guide-container {
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode Styles */
.user-guide-container.dark-mode {
    color: #e0e0e0;
}

.guide-hero {
    background: linear-gradient(135deg, 
        rgba(245, 247, 250, 0.9) 0%, 
        rgba(240, 242, 247, 0.95) 25%, 
        rgba(235, 238, 243, 0.9) 75%, 
        rgba(230, 235, 240, 0.95) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05), 
                0 4px 25px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Dark mode hero */
.user-guide-container.dark-mode .guide-hero {
    background: linear-gradient(135deg, 
        rgba(30, 32, 35, 0.95) 0%, 
        rgba(35, 37, 40, 0.9) 25%, 
        rgba(25, 27, 30, 0.95) 75%, 
        rgba(30, 32, 35, 0.9) 100%);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 
                0 4px 25px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.guide-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 200, 255, 0.08) 0%, transparent 50%);
    opacity: 0.6;
}

/* Dark mode hero overlay */
.user-guide-container.dark-mode .guide-hero::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(100, 120, 200, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(180, 100, 200, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(100, 180, 255, 0.05) 0%, transparent 50%);
    opacity: 0.4;
}

.guide-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Dark mode hero title */
.user-guide-container.dark-mode .guide-hero h1 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.guide-hero p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Logo Styles for UserGuide */
.user-guide-container .logo-container {
    position: relative;
    z-index: 1;
}

.user-guide-container .logo-main {
    animation: logoFloat 6s ease-in-out infinite, logoGlow 4s ease-in-out infinite alternate;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9), 
        rgba(248, 250, 252, 0.95));
    border: 2px solid rgba(100, 120, 200, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                0 4px 16px rgba(100, 120, 200, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Dark mode logo */
.user-guide-container.dark-mode .logo-main {
    background: linear-gradient(135deg, 
        rgba(45, 47, 50, 0.9), 
        rgba(40, 42, 45, 0.95));
    border: 2px solid rgba(120, 140, 200, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 4px 16px rgba(120, 140, 200, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.user-guide-container .orbital-ring {
    animation: orbitRotate 15s linear infinite;
    border-color: rgba(100, 120, 200, 0.3);
}

/* Dark mode orbital rings */
.user-guide-container.dark-mode .orbital-ring {
    border-color: rgba(120, 140, 200, 0.4);
}

.user-guide-container .orbital-dot {
    background: linear-gradient(45deg, #667eea, #764ba2);
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.6);
}

/* Dark mode orbital dots */
.user-guide-container.dark-mode .orbital-dot {
    background: linear-gradient(45deg, #7c8df0, #8a5fc7);
    box-shadow: 0 0 12px rgba(124, 141, 240, 0.8);
}

.user-guide-container .energy-wave {
    animation: waveExpand 4s ease-out infinite;
    border-color: rgba(100, 120, 200, 0.25);
}

/* Dark mode energy waves */
.user-guide-container.dark-mode .energy-wave {
    border-color: rgba(120, 140, 200, 0.3);
}

/* Ensure guide hero content is above the logo */
.guide-hero h1,
.guide-hero p {
    position: relative;
    z-index: 2;
}

.guide-section {
    margin-bottom: 4rem;
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Dark mode guide sections */
.dark-mode .guide-section {
    background: #2a2a2a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid #3a3a3a;
}

.guide-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.dark-mode .guide-section:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Demo Rectangle - Styled like Feature Card */
.demo-rectangle {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #3eaf7c;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 1rem 0;
}

.demo-rectangle::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(62,175,124,0.1), transparent);
    border-radius: 0 12px;
}

.demo-rectangle:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(62,175,124,0.15);
}

/* Dark mode demo rectangle */
.demo-rectangle.dark-mode {
    background: #3a3a3a;
    border-left-color: #4caf50;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid #4a4a4a;
}

.demo-rectangle.dark-mode::before {
    background: linear-gradient(45deg, rgba(76,175,80,0.2), transparent);
}

.demo-rectangle.dark-mode:hover {
    box-shadow: 0 15px 35px rgba(76,175,80,0.25);
}

/* Demo Layout */
.demo-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
}

.demo-info-section {
    flex: 1;
}

.demo-info-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.demo-info-title.dark-mode {
    color: #e0e0e0;
}

.demo-info-text {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.demo-info-text.dark-mode {
    color: #b0b0b0;
}

.demo-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.demo-features li {
    color: #5a6c7d;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.demo-features.dark-mode li {
    color: #b0b0b0;
}

.demo-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3eaf7c;
    font-weight: bold;
}

.demo-features.dark-mode li::before {
    color: #4caf50;
}

.demo-comment {
    text-align: center;
    font-style: italic;
    color: #7f8c8d;
    margin-top: 1rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.demo-comment.dark-mode {
    color: #95a5a6;
}

.vertical-divider {
    width: 2px;
    background: linear-gradient(to bottom, transparent, #e9ecef, transparent);
    margin: 0 1rem;
    transition: background 0.3s ease;
}

.vertical-divider.dark-mode {
    background: linear-gradient(to bottom, transparent, #4a4a4a, transparent);
}

.share-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.share-section.dark-mode {
    border-top-color: #4a4a4a;
}

.linkedin-share-btn {
    background: #0077b5;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.linkedin-share-btn:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.linkedin-share-btn.dark-mode {
    background: #0088cc;
}

.linkedin-share-btn.dark-mode:hover {
    background: #0066aa;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #f0f0f0;
}

.dark-mode .section-header {
    border-bottom-color: #4a4a4a;
}

.section-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.section-icon.ai { background: linear-gradient(135deg, #3eaf7c, #00d4ff); }
.section-icon.hiring { background: linear-gradient(135deg, #ff6b35, #ffa726); }
.section-icon.team { background: linear-gradient(135deg, #673ab7, #9c27b0); }
.section-icon.reports { background: linear-gradient(135deg, #2196f3, #03a9f4); }
.section-icon.admin { background: linear-gradient(135deg, #607d8b, #455a64); }

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    transition: color 0.3s ease;
}

.dark-mode .section-title {
    color: #e0e0e0;
}

.section-subtitle {
    color: #7f8c8d;
    margin: 0.5rem 0 0 0;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.dark-mode .section-subtitle {
    color: #b0b0b0;
}

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

.feature-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #3eaf7c;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark-mode .feature-card {
    background: #3a3a3a;
    border-left-color: #4caf50;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(62,175,124,0.1), transparent);
    border-radius: 0 12px;
}

.dark-mode .feature-card::before {
    background: linear-gradient(45deg, rgba(76,175,80,0.2), transparent);
}

.feature-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(62,175,124,0.2);
}

.dark-mode .feature-card:hover {
    box-shadow: 0 5px 20px rgba(76,175,80,0.3);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.dark-mode .feature-title {
    color: #e0e0e0;
}

.feature-title i {
    margin-right: 0.5rem;
    color: #3eaf7c;
}

.dark-mode .feature-title i {
    color: #4caf50;
}

.feature-description {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.dark-mode .feature-description {
    color: #b0b0b0;
}

.workflow-diagram {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    transition: background 0.3s ease;
}

.dark-mode .workflow-diagram {
    background: linear-gradient(45deg, #3a3a3a, #2a2a2a);
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.workflow-step {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .workflow-step {
    background: #4a4a4a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.workflow-step::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #3eaf7c;
    font-weight: bold;
}

.dark-mode .workflow-step::after {
    color: #4caf50;
}

.workflow-step:last-child::after {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3eaf7c, #00d4ff);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.dark-mode .step-title {
    color: #e0e0e0;
}

.step-description {
    color: #5a6c7d;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.dark-mode .step-description {
    color: #b0b0b0;
}

.quick-start-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.quick-start-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.quick-start-panel p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* CTA Button Styles */
.cta-button {
    background: white;
    color: #667eea;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: #667eea;
    text-decoration: none;
}

/* Dark mode CTA button */
.dark-mode .cta-button {
    background: #4a4a4a;
    color: #7c8df0;
    border: 1px solid #5a5a5a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.dark-mode .cta-button:hover {
    background: #5a5a5a;
    color: #8a9df7;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    text-decoration: none;
}

/* Disabled CTA button states */
.cta-button:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.dark-mode .cta-button:disabled {
    background: #2a2a2a;
    color: #666;
    border-color: #3a3a3a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

.tip-box {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 5px solid #e17055;
    transition: background 0.3s ease;
}

.dark-mode .tip-box {
    background: linear-gradient(135deg, #4a4a4a, #3a3a3a);
    border-left-color: #ff7043;
}

.tip-box h4 {
    color: #2d3436;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.dark-mode .tip-box h4 {
    color: #e0e0e0;
}

.tip-box h4 i {
    margin-right: 0.5rem;
    color: #e17055;
}

.dark-mode .tip-box h4 i {
    color: #ff7043;
}

.tip-box p {
    color: #2d3436;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.dark-mode .tip-box p {
    color: #e0e0e0;
}

.video-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dark-mode .video-placeholder {
    background: #3a3a3a;
    border-color: #5a5a5a;
}

.video-placeholder i {
    font-size: 4rem;
    color: #3eaf7c;
    margin-bottom: 1rem;
}

.dark-mode .video-placeholder i {
    color: #4caf50;
}

.glossary-term {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
    border-left: 3px solid #3eaf7c;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dark-mode .glossary-term {
    background: #3a3a3a;
    border-left-color: #4caf50;
}

.glossary-term strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.dark-mode .glossary-term strong {
    color: #e0e0e0;
}

.dark-mode .glossary-term {
    color: #b0b0b0;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.dark-mode .navigation-buttons {
    border-top-color: #4a4a4a;
}

.nav-button {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-button.prev {
    background: #6c757d;
    color: white;
}

.nav-button.next {
    background: #3eaf7c;
    color: white;
}

.dark-mode .nav-button.next {
    background: #4caf50;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

/* Dark mode adjustments for lists */
.dark-mode ul {
    color: #b0b0b0;
}

.dark-mode ul li {
    color: #b0b0b0;
}

/* Progress bar dark mode */
.dark-mode .progress-container {
    background: rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .user-guide-container {
        padding: 1rem;
    }
    
    .guide-hero h1 {
        font-size: 2rem;
    }
    
    .guide-section {
        padding: 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .workflow-step::after {
        content: '↓';
        right: 50%;
        top: auto;
        bottom: -1.5rem;
        transform: translateX(50%);
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    /* Mobile logo adjustments */
    .user-guide-container .logo-container {
        width: 140px !important;
        height: 140px !important;
    }
    
    .user-guide-container .logo-img {
        width: 100px !important;
        height: 100px !important;
    }

    .demo-rectangle {
        padding: 1rem;
    }

    .demo-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .vertical-divider {
        display: none;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

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

/* Logo Animation Keyframes */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}

@keyframes logoGlow {
    from {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                    0 4px 16px rgba(100, 120, 200, 0.1),
                    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    to {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12),
                    0 6px 20px rgba(100, 120, 200, 0.2),
                    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes waveExpand {
    0% {
        width: 30px;
        height: 30px;
        opacity: 0.8;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

@keyframes dotOrbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}