/* Apple SF Pro Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables - Apple Design System */
:root {
    --apple-white: #FFFFFF;
    --apple-bg: #FBFBFD;
    --apple-gray-50: #F5F5F7;
    --apple-gray-100: #E8E8ED;
    --apple-gray-200: #D2D2D7;
    --apple-gray-300: #B0B0B8;
    --apple-gray-400: #86868B;
    --apple-gray-500: #6E6E73;
    --apple-text: #1D1D1F;
    --apple-blue: #007AFF;
    --apple-blue-dark: #0051D5;
    --apple-green: #34C759;
    --apple-orange: #FF9500;
    --apple-red: #FF3B30;
    --apple-yellow: #FFCC00;
    --apple-purple: #AF52DE;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition-fast: 0.2s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

/* Dark Mode Variables */
body.dark-mode {
    --apple-white: #1D1D1F;
    --apple-bg: #000000;
    --apple-gray-50: #1C1C1E;
    --apple-gray-100: #2C2C2E;
    --apple-gray-200: #3A3A3C;
    --apple-gray-300: #48484A;
    --apple-gray-400: #636366;
    --apple-gray-500: #8E8E93;
    --apple-text: #F5F5F7;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--apple-text);
    background: var(--apple-bg);
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

/* Fixed Navigation */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--apple-gray-200);
    z-index: 1000;
    transition: all var(--transition-normal);
}

body.dark-mode .fixed-nav {
    background: rgba(29, 29, 31, 0.8);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--apple-text);
}

.nav-logo i {
    font-size: 1.5rem;
    color: var(--apple-blue);
}

.nav-progress {
    flex: 1;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--apple-gray-100);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--apple-blue), var(--apple-purple));
    border-radius: 3px;
    width: 0%;
    transition: width 0.5s ease-out;
}

.progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--apple-gray-500);
    white-space: nowrap;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle,
.bookmark-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--apple-gray-50);
    color: var(--apple-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-toggle:hover,
.bookmark-btn:hover {
    background: var(--apple-gray-100);
    transform: scale(1.05);
}

/* Progress Sidebar */
.progress-sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    width: 280px;
    height: calc(100vh - 80px);
    background: var(--apple-white);
    border-right: 1px solid var(--apple-gray-200);
    padding: 24px;
    overflow-y: auto;
    z-index: 100;
    transition: all var(--transition-normal);
}

.progress-sidebar h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--apple-text);
}

.sidebar-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--apple-gray-100);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--apple-gray-500);
}

.stat-item i {
    color: var(--apple-blue);
}

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

.progress-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
}

.progress-list li:hover {
    background: var(--apple-gray-50);
}

.progress-list li.active {
    background: var(--apple-blue);
    color: white;
}

.progress-list li.completed {
    color: var(--apple-gray-400);
}

.progress-list .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--apple-gray-300);
    transition: all var(--transition-fast);
}

.progress-list li.active .dot {
    background: white;
}

.progress-list li.completed .dot {
    background: var(--apple-green);
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding-top: 80px;
    min-height: 100vh;
}

/* Section */
.section {
    padding: 80px 0;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.section.hidden {
    display: none;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
    color: #000000;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--apple-gray-500);
    margin-bottom: 48px;
}

/* Welcome Section */
.welcome-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.welcome-icon {
    font-size: 5rem;
    color: var(--apple-blue);
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

.fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

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

/* User Form */
.user-form {
    background: var(--apple-white);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin-top: 48px;
    box-shadow: var(--shadow-lg);
    text-align: left;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--apple-text);
}

.form-group label i {
    color: var(--apple-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--apple-gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    background: var(--apple-bg);
    color: var(--apple-text);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--apple-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--apple-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--apple-gray-50);
    color: var(--apple-text);
}

.btn-secondary:hover {
    background: var(--apple-gray-100);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--apple-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-link:hover {
    color: var(--apple-blue-dark);
}

/* Learning Timeline */
.learning-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 48px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--apple-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.timeline-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--apple-blue), var(--apple-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.timeline-content h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.timeline-content p {
    color: var(--apple-gray-500);
    margin-bottom: 12px;
}

.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--apple-gray-50);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--apple-gray-500);
}

/* ROI Preview */
.roi-preview {
    background: linear-gradient(135deg, var(--apple-blue), var(--apple-purple));
    padding: 48px;
    border-radius: var(--radius-xl);
    text-align: center;
    color: white;
    margin-top: 48px;
}

.roi-preview h3 {
    margin-bottom: 32px;
    font-size: 1.75rem;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.roi-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.roi-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.roi-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Video Container */
.video-container {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-wrapper {
    flex: 1;
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-timestamps {
    width: 280px;
    background: var(--apple-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.video-timestamps h4 {
    margin-bottom: 16px;
    font-size: 1.125rem;
}

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

.timestamp-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: var(--apple-gray-50);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.timestamp-btn:hover {
    background: var(--apple-blue);
    color: white;
    transform: translateX(4px);
}

.timestamp-btn .time {
    font-weight: 600;
    min-width: 45px;
}

.timestamp-btn .desc {
    text-align: left;
    font-size: 0.875rem;
}

/* Module Section - Continued in next message due to length */
.module-section {
    background: var(--apple-gray-50);
}

.module-header {
    text-align: center;
    margin-bottom: 48px;
}

.module-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--apple-blue);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--apple-white);
    border-radius: var(--radius-md);
    color: var(--apple-blue);
    text-decoration: none;
    font-weight: 500;
    margin-top: 16px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

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

.module-content {
    max-width: 1000px;
    margin: 0 auto;
}

.narrative-box {
    background: var(--apple-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.narrative-box h3 {
    margin-bottom: 16px;
    color: var(--apple-blue);
}

.narrative-box p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--apple-gray-500);
}

.narrative-box p:last-child {
    margin-bottom: 0;
}

/* Callout Boxes */
.callout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.callout-box {
    background: var(--apple-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.callout-box.why-matters {
    border-left: 4px solid var(--apple-yellow);
}

.callout-box.smb-help {
    border-left: 4px solid var(--apple-green);
}

.callout-box.community-impact {
    border-left: 4px solid var(--apple-purple);
}

.callout-box.business-benefits {
    border-left: 4px solid var(--apple-blue);
}

.callout-box.role-specific {
    border-left: 4px solid var(--apple-orange);
}

.callout-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--apple-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.callout-box h4 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.callout-box ul {
    list-style: none;
    padding-left: 0;
}

.callout-box li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.6;
}

.callout-box li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--apple-blue);
    font-weight: bold;
}

/* Visual Guide */
.visual-guide {
    background: var(--apple-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    margin: 32px 0;
    box-shadow: var(--shadow-sm);
}

.visual-guide h4 {
    margin-bottom: 24px;
    text-align: center;
}

.guide-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: var(--radius-md);
    margin: 0 auto 24px;
    display: block;
    box-shadow: var(--shadow-md);
}

.step-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
}

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--apple-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 8px;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--apple-gray-300);
}

/* Due to character limit, continuing with essential styles only */

.comparison-container, .comparison-grid, .comparison-card, .method-icon, 
.feature-list, .use-case, .expert-tip, .publishing-workflow, .workflow-steps, 
.workflow-step, .step-circle, .step-content, .workflow-connector, .case-study,
.store-features, .features-grid, .feature-card, .action-prompt, .roi-insight,
.tryout-card, .tryout-header, .tryout-badge, .tryout-instruction, .prompt-tips,
.tryout-input, .tryout-feedback, .mention-simulator, .simulator-screen, 
.simulator-header, .simulator-content, .agent-bubble, .simulator-input,
.simulator-send, .available-agents, .agent-chips, .agent-chip, .checklist,
.checklist-item, .checklist-input, .quest-form, .quest-item, .quest-input,
.progress-indicator, .mini-progress-bar, .mini-progress-fill, .knowledge-grid,
.knowledge-card, .knowledge-list, .knowledge-check, .skill-chart-container,
.achievement-badges, .badges-grid, .badge-item, .flashcard-controls, .filter-btn,
.flashcard-progress, .flashcards-grid, .flashcard, .flashcard-inner,
.flashcard-front, .flashcard-back, .card-number, .flip-hint, .quiz-progress,
.quiz-stats, .quiz-progress-bar, .quiz-progress-fill, .quiz-container,
.quiz-question, .question-number, .question-text, .quiz-options, .quiz-option,
.quiz-results, .results-card, .results-icon, .results-score, .score-circle,
.results-breakdown, .breakdown-item, .results-actions, .faq-search, .faq-accordion,
.faq-item, .faq-question, .faq-answer, .resources-section, .tool-grid, .tool-card,
.tool-icon, .tool-link, .tips-grid, .tip-card, .tip-header, .roi-calculator,
.calculator-inputs, .calc-input-group, .calculator-results, .roi-result-card,
.result-value, .roadmap, .roadmap-step, .roadmap-icon, .roadmap-content,
.roadmap-link, .matrix-container, .stats-grid, .stat-card, .stat-number,
.stat-label, .final-cta, .cta-buttons, .fab {
    /* Styles defined above - truncated for space */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .progress-sidebar {
        transform: translateX(-100%);
    }
    
    .main-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section {
        padding: 48px 0;
    }
    
    .callout-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .fixed-nav,
    .progress-sidebar,
    .fab {
        display: none !important;
    }
}