/* Help Page Styles - Professional Design */

/* Main container */
.help-content {
    padding: 0;
    background: var(--bg-primary, #ffffff);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Hero Section */
.help-hero {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.95) 0%, 
        rgba(59, 130, 246, 0.95) 50%, 
        rgba(168, 85, 247, 0.95) 100%);
    padding: 8rem 0 6rem;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 60px 60px;
    animation: float-pattern 20s ease-in-out infinite;
}

@keyframes float-pattern {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(1deg); }
    66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-main {
    display: block;
}

.title-sub {
    display: block;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    color: white !important;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-btn.primary {
    background: white;
    color: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-btn.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Quick Start Section */
.quick-start {
    padding: 6rem 0;
    background: #f8fafc;
}

.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.quick-step {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.quick-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 3rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.step-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.step-action {
    margin-top: 2rem;
}

.step-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.step-visual {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.visual-icon {
    font-size: 4rem;
    opacity: 0.7;
}

/* Tutorial Section */
.tutorial-section {
    padding: 6rem 0;
    background: white;
}

.tutorial-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.tutorial-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.tutorial-nav {
    background: #f8fafc;
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.help-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.help-nav-item:hover {
    background: #e2e8f0;
}

.help-nav-item.active {
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    color: white;
}

.help-nav-icon {
    font-size: 1.2rem;
}

.help-nav-text {
    font-weight: 600;
}

.tutorial-main {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tutorial-section-content {
    display: none;
}

.tutorial-section-content.active {
    display: block;
}

.tutorial-section-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2rem;
    border-bottom: 3px solid #22c55e;
    padding-bottom: 1rem;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tutorial-step {
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tutorial-step:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.step-num {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.step-body {
    padding: 1.5rem;
}

.step-body p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-image {
    background: #f8fafc;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin: 1rem 0;
}

.placeholder-image {
    color: #94a3b8;
    font-size: 1rem;
}

.step-tips {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    color: #92400e;
}

.platform-list {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.platform-list li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.platform-list li:last-child {
    border-bottom: none;
}

.step-features {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-features .feature-item {
    color: #22c55e;
    font-weight: 500;
}

/* Interface Overview */
.interface-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.interface-image {
    background: #f8fafc;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.interface-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #64748b;
    line-height: 1.5;
}

/* AI Analysis */
.ai-explanation {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.ai-overview {
    text-align: center;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.ai-overview h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.ai-overview p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1.1rem;
}

.ai-process {
    text-align: center;
}

.ai-process h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.process-text h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.process-text p {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.9rem;
}

.process-arrow {
    font-size: 1.5rem;
    color: #22c55e;
    font-weight: bold;
    align-self: center;
    margin-top: 2rem;
}

.ai-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 120px;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #22c55e;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.ai-feature {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.ai-feature:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ai-feature h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.ai-feature p {
    color: #64748b;
    line-height: 1.5;
}

/* Strategies */
.strategies-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.strategy-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.strategy-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.strategy-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.strategy-icon {
    font-size: 2rem;
}

.strategy-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.strategy-body ul {
    list-style: none;
    padding: 0;
}

.strategy-body li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.strategy-body li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

/* Advanced Features */
.advanced-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.advanced-feature {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.advanced-feature:hover {
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-header .feature-icon {
    font-size: 2rem;
}

.feature-header h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.feature-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-steps .step {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #64748b;
}

.sync-devices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.device {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.sync-arrow {
    font-size: 1.2rem;
    color: #22c55e;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tutorial-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tutorial-sidebar {
        position: static;
    }
    
    .tutorial-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .help-nav-item {
        margin-bottom: 0;
        flex: 1;
        min-width: 150px;
        justify-content: center;
    }
    
    .interface-overview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .quick-start-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quick-step {
        padding: 2rem;
    }
    
    .tutorial-main {
        padding: 2rem;
    }
    
    .strategies-content {
        grid-template-columns: 1fr;
    }
    
    .advanced-features {
        grid-template-columns: 1fr;
    }
    
    .sync-devices {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sync-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .quick-step {
        padding: 1.5rem;
    }
    
    .tutorial-main {
        padding: 1.5rem;
    }
    
    .step-header {
        padding: 1rem;
    }
    
    .step-body {
        padding: 1rem;
    }
}
