/* Getting Started Resources Page Styles */

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

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

.animate-slide-in-top {
    animation: slideInFromTop 0.5s ease-out forwards;
}

.animate-bounce {
    animation: bounce 1s ease-in-out;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Staggered Animation Delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Initial hidden state for animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
    background: #ffffff;
    background-image: url('../images/wireframe-runner.jpg');
    background-position: left center;
    background-size: 60%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Header Styles */
.header {
    background: linear-gradient(315deg, rgba(59, 130, 246, 0.95) 0%, rgba(99, 102, 241, 0.9) 50%, rgba(139, 92, 246, 0.8) 100%);
    color: white;
    text-align: right;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

/* Monkey mascot placeholder styling */
.monkey-mascot-placeholder {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    margin-left: 2rem;
    /* Empty placeholder - no monkey icon as requested */
}


.header-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0;
    margin-right: calc(50% - 700px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: right;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    white-space: nowrap;
}

.header .subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.header .description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Navigation Styles */
.nav {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

.nav-links a.active {
    color: #667eea;
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
}

/* Main Content Styles */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f1f5f9' fill-opacity='0.3'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.main-content::before {
    content: '';
    position: absolute;
    top: -6rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/wireframe-runner.jpg') center/cover;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

/* Contextual Content Styles */
.contextual-banner {
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.8) 0%, rgba(224, 242, 254, 0.8) 100%);
    border: 1px solid rgba(14, 165, 233, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.contextual-banner h2 {
    color: #0369a1;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contextual-banner p {
    color: #0c4a6e;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* What You'll Get Section Styles */
.benefits-section {
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.benefit-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
    background: white;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Interactive Demo Section Styles */
.demo-section {
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

/* Value Proposition Card */
.value-proposition-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 2px solid #667eea;
}

.value-proposition-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.comparison-item {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.comparison-item.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.comparison-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.comparison-item h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comparison-item p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.comparison-item em {
    font-size: 0.8rem;
    opacity: 0.8;
}

.comparison-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
}

.value-summary {
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.demo-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.demo-placeholder {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 3rem;
    margin: 2rem 0;
    color: #64748b;
}

/* 3-Step Setup Process Styles */
.setup-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3px);
}

.setup-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #0369a1;
}

.setup-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.setup-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.setup-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.setup-step p {
    color: #64748b;
    line-height: 1.6;
}

.step-status {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.setup-step.completed .step-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.setup-step.completed {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

/* FAQ Section Styles */
.faq-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3px);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
}

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

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: #667eea;
}

.faq-answer {
    color: #64748b;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.expanded {
    max-height: 200px;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-toggle.expanded {
    /* No rotation - use different character instead */
}

/* Tutorial Access Section Styles */
.tutorial-section {
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.8) 0%, rgba(224, 242, 254, 0.8) 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    backdrop-filter: blur(3px);
}

.tutorial-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #0369a1;
}

.tutorial-section p {
    font-size: 1.1rem;
    color: #0c4a6e;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.tutorial-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tutorial-category {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    border: 1px solid rgba(3, 105, 161, 0.2);
}

.tutorial-category h3 {
    color: #0369a1;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tutorial-category p {
    color: #0c4a6e;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tutorial-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tutorial-link {
    color: #0369a1;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(3, 105, 161, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.tutorial-link:hover {
    background: #0369a1;
    color: white;
    transform: translateY(-1px);
}

/* Button Styles */
.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Footer Styles */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        min-height: 160px;
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .monkey-mascot-placeholder {
        display: none;
    }
    
    .header-content {
        margin-right: 0;
        text-align: center;
    }
    
    .header h1 {
        font-size: 2rem;
        white-space: nowrap;
    }

    .header .subtitle {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .setup-steps {
        grid-template-columns: 1fr;
    }

    .tutorial-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Tutorial Content Responsive */
    .tutorial-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .toc-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tutorial-content .tutorial-section {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .tutorial-content h2 {
        font-size: 1.2rem;
    }
    
    .tutorial-content h3 {
        font-size: 1.1rem;
    }
    
    .tutorial-content p {
        font-size: 0.9rem;
    }
}

/* Prominent Button Styling */
.btn-prominent {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    border: 2px solid #047857 !important;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    padding: 0.75rem 1.25rem !important;
    transform: translateY(0) !important;
    transition: all 0.3s ease !important;
}

.btn-prominent:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4) !important;
    transform: translateY(-2px) !important;
}

.btn-prominent:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.3) !important;
}

/* Step Numbers in Banner */
.contextual-banner .step-number-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: 2px solid #ffffff;
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contextual-banner .step-number-large:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* Arrow styling in banner */
.contextual-banner h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contextual-banner h2 span:not(.step-number-large) {
    color: #0ea5e9;
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 480px) {
    .header {
        padding: 1.5rem 1rem;
        min-height: 140px;
    }

    .header h1 {
        font-size: 1.8rem;
        white-space: nowrap;
    }

    .nav {
        padding: 1rem;
    }

    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

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

.benefit-card,
.setup-step,
.faq-item,
.tutorial-category {
    animation: fadeInUp 0.6s ease-out;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(4) {
    animation-delay: 0.3s;
}

.setup-step:nth-child(2) {
    animation-delay: 0.1s;
}

.setup-step:nth-child(3) {
    animation-delay: 0.2s;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.tutorial-link:focus,
.faq-question:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Interactive Demo Styles */
.demo-section {
    background: white;
    padding: 4rem 2rem;
    text-align: center;
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
}

.demo-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.demo-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Divergence Chart Demo */
.chart-demo {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e2e8f0;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}

.status-sweet-spot {
    background: #dcfce7;
    color: #166534;
}

.status-risk {
    background: #fee2e2;
    color: #991b1b;
}

.chart-container {
    position: relative;
    height: 300px;
    background: linear-gradient(to right, #fee2e2 0%, #fef3c7 25%, #dcfce7 50%, #fef3c7 75%, #fee2e2 100%);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.chart-zones {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 1rem;
}

.zone-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
}

.divergence-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #3b82f6;
    transition: left 0.3s ease;
}

.divergence-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.chart-axis {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0 1rem;
}

.axis-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Interactive Demo Controls */
.demo-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.demo-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    color: #475569;
    position: relative;
    overflow: hidden;
}

.demo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.demo-btn:hover::before {
    left: 100%;
}

.demo-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.demo-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Enhanced Scenario Information */
.scenario-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.scenario-description {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
}

.scenario-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.metric-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.metric-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.scenario-recommendation {
    text-align: center;
    font-size: 1rem;
    color: #059669;
    font-weight: 500;
    padding: 1rem;
    background: #ecfdf5;
    border-radius: 6px;
    border: 1px solid #a7f3d0;
}

/* AI Recommendation Section */
.ai-recommendation-section {
    background: #f8fafc;
    padding: 4rem 2rem;
    text-align: center;
}

.ai-recommendation-container {
    max-width: 800px;
    margin: 0 auto;
}

.ai-recommendation-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.ai-recommendation-section p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.ai-recommendation-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    text-align: left;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.ai-avatar {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.ai-info {
    flex: 1;
}

.ai-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.ai-timestamp {
    font-size: 0.875rem;
    color: #64748b;
}

.ai-status {
    padding: 0.5rem 1rem;
    background: #dcfce7;
    color: #166534;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.ai-recommendation-content {
    margin-bottom: 2rem;
}

.recommendation-type {
    font-size: 0.875rem;
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.recommendation-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.recommendation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.detail-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.ai-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ai-action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.ai-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.ai-action-btn:hover::before {
    left: 100%;
}

.ai-action-btn.primary {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.ai-action-btn.primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.ai-action-btn.secondary {
    background: white;
    color: #64748b;
    border-color: #e2e8f0;
}

.ai-action-btn.secondary:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.scenario-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #bae6fd;
    text-align: left;
}

.scenario-explanation h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.scenario-explanation p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Visual Timeline Setup Process */
.setup-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.setup-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-container {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 0.5rem;
}

.timeline-step:hover {
    transform: translateY(-5px);
}

.step-icon {
    position: relative;
    flex-shrink: 0;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 2px solid #ffffff;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.timeline-step:hover .icon-circle::before {
    transform: translateX(100%);
}

.timeline-step:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.timeline-step.completed .icon-circle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.timeline-step.completed {
    opacity: 0.6;
    filter: grayscale(0.3);
}

.timeline-step.completed .step-content h3,
.timeline-step.completed .step-content p,
.timeline-step.completed .step-details {
    opacity: 0.7;
}

.timeline-step.current .icon-circle {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

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

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

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    }
}

.step-svg {
    width: 32px;
    height: 32px;
    color: white;
    stroke-width: 2.5;
}

.step-number-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #667eea;
}

.timeline-step.completed .step-number {
    border-color: #10b981;
    color: #10b981;
}

.timeline-step.current .step-number {
    border-color: #f59e0b;
    color: #f59e0b;
}

.step-content {
    text-align: center;
    width: 100%;
}

.step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.step-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.step-details .detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: #475569;
}

.detail-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.step-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.step-status.completed {
    background: #dcfce7;
    color: #166534;
}

.step-status.current {
    background: #fef3c7;
    color: #d97706;
}

.status-icon {
    font-size: 1rem;
}

.step-action {
    margin-top: 0.5rem;
}

/* Coming Soon Popup */
.coming-soon-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 2px solid #667eea;
}

.coming-soon-popup h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.coming-soon-popup p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.coming-soon-popup .btn {
    background: #667eea;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.coming-soon-popup .btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

.popup-hidden {
    display: none;
}

/* Table of Contents Styling */
.toc-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.toc-category {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3px);
}

.toc-category h3 {
    color: #0369a1;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.toc-category ul {
    list-style: none;
    padding: 0;
}

.toc-category li {
    margin-bottom: 0.5rem;
}

.toc-category a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.toc-category a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Tutorial Content Styling - Technical Layout */
.tutorial-content {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: left;
}

.tutorial-content .tutorial-section {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    border-left: 4px solid #667eea;
}

.tutorial-content h2 {
    color: #0369a1;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
    border: none;
    padding: 0;
}

.tutorial-content h3 {
    color: #1f2937;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    text-align: left;
}

.tutorial-content h4 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.tutorial-content h5 {
    color: #4b5563;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.tutorial-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}

.tutorial-content ul, .tutorial-content ol {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}

.tutorial-content li {
    margin-bottom: 0.5rem;
}

/* Formula Box Styling - Technical */
.formula-box {
    background: #f8fafc;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.75rem;
    margin: 1rem 0;
    text-align: left;
    font-family: 'Courier New', monospace;
}

.formula-box code {
    background: none;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

/* Interpretation Table Styling - Technical */
.interpretation-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
}

.interpretation-table th {
    background: #f3f4f6;
    color: #374151;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #d1d5db;
    font-size: 0.9rem;
}

.interpretation-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.4;
}

.interpretation-table tr:nth-child(even) {
    background: #f9fafb;
}

.interpretation-table tr:hover {
    background: #f3f4f6;
}

/* Enhanced step action buttons for more prominence */
.step-action .btn {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    min-width: 180px;
    display: inline-block;
    text-align: center;
    border: 2px solid #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-action .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.step-action .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-strava {
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-strava:hover {
    transform: translateY(-2px);
}

.btn-strava img {
    display: block;
}

.timeline-connector {
    width: 60px;
    height: 4px;
    background: #e2e8f0;
    margin: 25px auto 0;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.timeline-connector.completed {
    background: linear-gradient(to right, #10b981, #059669);
}

.timeline-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid #e2e8f0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transition: all 0.3s ease;
}

.timeline-connector.completed::after {
    border-left-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

/* Why 28 Days Section */
.why-28-days-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.why-28-days-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-28-days-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.explanation-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.explanation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s ease;
}

.explanation-card:hover::before {
    left: 100%;
}

.explanation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.card-icon .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.explanation-card:hover .card-icon .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke-width: 2.5;
}

.explanation-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.explanation-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.progress-indicator {
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 1s ease-in-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Timeline Explanation */
.timeline-explanation {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.timeline-explanation h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.timeline-visual {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-visual::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0 0%, #667eea 50%, #10b981 100%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-item.active .marker-circle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    animation: pulse 2s infinite;
}

.timeline-marker {
    margin-bottom: 1rem;
}

.marker-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.timeline-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.data-points {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.data-point {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.timeline-item.active .data-point {
    background: #10b981;
    opacity: 1;
    transform: scale(1.2);
}

/* Science Explanation */
.science-explanation {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.science-explanation h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

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

.science-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.science-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: white;
}

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

.science-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.science-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Goal-Based Insights Section */
.goal-insights-section {
    background: white;
    padding: 4rem 2rem;
    text-align: center;
}

.goal-insights-container {
    max-width: 1200px;
    margin: 0 auto;
}

.goal-insights-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

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

.goal-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s ease;
}

.goal-card:hover::before {
    left: 100%;
}

.goal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.goal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.goal-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.goal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
    margin: 0;
}

.goal-status {
    padding: 0.25rem 0.75rem;
    background: #dcfce7;
    color: #166534;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.goal-progress {
    padding: 1rem 1.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.progress-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
    position: relative;
}

.progress-fill.optimal {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.progress-fill.improving {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.progress-fill.excellent {
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.goal-insight {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.insight-icon {
    font-size: 1rem;
}

.insight-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.insight-text {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.875rem;
    margin: 0;
}

.goal-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-top: 1px solid #f1f5f9;
}

.metric {
    text-align: center;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.metric-value {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.metric-value.positive {
    color: #059669;
}

.metric-value.negative {
    color: #dc2626;
}

.metric-value.low {
    color: #059669;
}

.metric-value.medium {
    color: #d97706;
}

.metric-value.high {
    color: #dc2626;
}

/* Goals Connection Explanation */
.goals-connection-explanation {
    background: #f8fafc;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.goals-connection-explanation h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.connection-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 1rem;
}

.connection-step {
    flex: 1;
    text-align: center;
}

.connection-step .step-icon {
    margin-bottom: 1rem;
}

.connection-step .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    margin: 0 auto;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.connection-step:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.connection-step svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke-width: 2.5;
}

.connection-step h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.connection-step p {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.875rem;
}

.connection-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
    margin: 0 1rem;
}

/* Goals CTA */
.goals-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
}

.goals-cta h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.goals-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: #667eea;
    border-color: white;
}

.btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive Demo Styles */
@media (max-width: 768px) {
    .demo-title {
        font-size: 2rem;
    }
    
    .chart-header {
        flex-direction: column;
        text-align: center;
    }
    
    .demo-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .chart-container {
        height: 250px;
    }
    
    .scenario-metrics {
        grid-template-columns: 1fr;
    }
    
    .scenario-info {
        padding: 1rem;
    }
    
    .ai-recommendation-section h2 {
        font-size: 2rem;
    }
    
    .ai-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .ai-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .recommendation-details {
        grid-template-columns: 1fr;
    }
    
    /* Timeline responsive styles */
    .timeline-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        align-items: center;
    }
    
    .step-content {
        text-align: left;
    }
    
    .icon-circle {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
    }
    
    .step-number-large {
        font-size: 1rem;
    }
    
    .step-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .step-content p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .step-details {
        gap: 0.3rem;
        margin-bottom: 0.5rem;
    }
    
    .step-details .detail-item {
        font-size: 0.7rem;
        gap: 0.4rem;
    }
    
    .detail-icon {
        font-size: 0.8rem;
        width: 16px;
    }
    
    .timeline-connector {
        width: 4px;
        height: 20px;
        margin: 0.5rem auto;
    }
    
    .timeline-connector::after {
        top: 100%;
        right: 50%;
        transform: translateX(50%);
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 10px solid #e2e8f0;
        border-bottom: none;
    }
    
    .timeline-connector.completed::after {
        border-top-color: #10b981;
    }
    
    /* Why 28 Days responsive styles */
    .why-28-days-section h2 {
        font-size: 2rem;
    }
    
    .explanation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .explanation-card {
        padding: 1.5rem;
    }
    
    .timeline-visual {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-visual::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    
    .timeline-marker {
        margin-bottom: 0;
    }
    
    .marker-circle {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .science-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-explanation,
    .science-explanation {
        padding: 2rem 1rem;
    }
    
    /* Goal-based insights responsive styles */
    .goal-insights-section h2 {
        font-size: 2rem;
    }
    
    .goals-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .goal-card {
        margin: 0 0.5rem;
    }
    
    .goal-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .connection-flow {
        flex-direction: column;
        gap: 2rem;
    }
    
    .connection-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Value proposition responsive styles */
    .comparison-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .comparison-item {
        max-width: none;
    }
}

/* Print styles */
@media print {
    .nav,
    .tutorial-section,
    .footer {
        display: none;
    }
    
    .main-content {
        padding: 0;
    }
    
    .benefits-section,
    .demo-section,
    .setup-section,
    .faq-section {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}
