/* Demo Scenarios Styles */

.demo-scenarios-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    min-height: 100vh;
}

/* Demo Header */
.demo-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

.demo-header h1 {
    font-size: 3rem;
    margin: 0 0 15px 0;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.demo-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Demo Selection */
.demo-selection h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffd700;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Scenario Cards */
.scenario-card {
    background: rgba(255,255,255,0.12);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.scenario-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.18);
}

/* Scenario Header */
.scenario-header {
    margin-bottom: 20px;
}

.scenario-header h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.scenario-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.duration {
    background: rgba(40,167,69,0.3);
    border: 1px solid rgba(40,167,69,0.5);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.category {
    background: rgba(0,123,255,0.3);
    border: 1px solid rgba(0,123,255,0.5);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty.beginner {
    background: rgba(40,167,69,0.3);
    border: 1px solid rgba(40,167,69,0.5);
}

.difficulty.intermediate {
    background: rgba(255,193,7,0.3);
    border: 1px solid rgba(255,193,7,0.5);
}

.difficulty.advanced {
    background: rgba(220,53,69,0.3);
    border: 1px solid rgba(220,53,69,0.5);
}

/* Scenario Description */
.scenario-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 20px 0;
    opacity: 0.9;
    color: rgba(255,255,255,0.95);
}

/* Scenario Details */
.scenario-details {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 25px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.location-info h4,
.objectives-info h4,
.steps-preview h4 {
    color: #ffd700;
    font-size: 1rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.location-info p {
    margin: 0 0 8px 0;
    font-weight: 500;
}

.location-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.location-meta span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Objectives List */
.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectives-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.objectives-list li::before {
    content: '🎯';
    position: absolute;
    left: 0;
    top: 0;
}

.more-objectives {
    font-style: italic;
    opacity: 0.8;
}

/* Steps Preview */
.steps-timeline {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.steps-timeline::-webkit-scrollbar {
    width: 6px;
}

.steps-timeline::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.steps-timeline::-webkit-scrollbar-thumb {
    background: rgba(255,215,0,0.5);
    border-radius: 3px;
}

.step-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.step-preview:last-child {
    border-bottom: none;
}

.step-number {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-info {
    flex-grow: 1;
}

.step-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.step-duration {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Scenario Actions */
.scenario-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.demo-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.demo-btn:hover {
    background: linear-gradient(45deg, #218838, #1abc9c);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40,167,69,0.4);
}

.demo-btn.preview-demo {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

.demo-btn.preview-demo:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    box-shadow: 0 8px 20px rgba(0,123,255,0.4);
}

.demo-btn.secondary {
    background: linear-gradient(45deg, #6c757d, #5a6268);
}

.demo-btn.secondary:hover {
    background: linear-gradient(45deg, #5a6268, #495057);
}

/* Demo Controls */
.demo-controls {
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
}

.controls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.controls-header h3 {
    color: #ffd700;
    margin: 0;
    font-size: 1.3rem;
}

.demo-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 0%;
}

#progress-text {
    font-weight: 600;
    color: #ffd700;
}

/* Controls Content */
.controls-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
}

.playback-controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: #ffd700;
    transform: translateY(-1px);
}

.speed-controls {
    text-align: center;
}

.speed-controls label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.speed-controls select {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.speed-controls select:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255,255,255,0.25);
}

.speed-controls select option {
    background: #444;
    color: white;
}

.auto-advance {
    text-align: center;
}

.auto-advance label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.auto-advance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ffd700;
}

/* Current Step Info */
.current-step-info {
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #ffd700;
}

.step-display {
    display: grid;
    gap: 15px;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-header h3 {
    color: #ffd700;
    margin: 0;
}

.step-duration {
    background: rgba(40,167,69,0.3);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.step-narration {
    font-size: 1rem;
    line-height: 1.5;
    font-style: italic;
    opacity: 0.9;
}

.step-components,
.step-actions {
    font-size: 0.9rem;
}

.step-components strong,
.step-actions strong {
    color: #ffd700;
}

/* Demo Viewport */
.demo-viewport {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    min-height: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.demo-loading {
    text-align: center;
    font-size: 1.2rem;
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
}

/* Step Content */
.step-content {
    display: grid;
    gap: 25px;
}

.component-container,
.component-placeholder {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.component-placeholder {
    text-align: center;
    opacity: 0.7;
}

/* Action Indicator */
.action-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(40,167,69,0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 1000;
    animation: slideInRight 0.5s ease;
}

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

/* Demo Features */
.demo-features {
    margin-top: 50px;
    text-align: center;
}

.demo-features h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffd700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #ffd700;
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.feature-card p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Demo Completion */
.demo-completion {
    text-align: center;
    padding: 40px 20px;
}

.completion-header h2 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 10px;
}

.completion-header h3 {
    margin: 0 0 20px 0;
    opacity: 0.9;
}

.completion-summary {
    margin: 30px 0;
}

.completion-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.completion-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Modal Styles */
.demo-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    color: white;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.modal-header h2 {
    margin: 0;
    color: #ffd700;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.modal-body {
    padding: 30px;
}

.preview-details {
    margin-bottom: 30px;
}

.preview-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Timeline in Modal */
.preview-timeline {
    margin: 30px 0;
}

.preview-timeline h3 {
    color: #ffd700;
    margin-bottom: 20px;
}

.timeline-container {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 15px;
}

.timeline-step {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.timeline-step:last-child {
    border-bottom: none;
}

.timeline-marker {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content {
    flex-grow: 1;
}

.timeline-content h4 {
    color: #ffd700;
    margin: 0 0 8px 0;
}

.timeline-narration {
    margin: 8px 0;
    font-style: italic;
    opacity: 0.9;
    line-height: 1.4;
}

.timeline-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.timeline-meta span {
    font-size: 0.8rem;
    background: rgba(255,255,255,0.15);
    padding: 3px 8px;
    border-radius: 10px;
}

.preview-objectives {
    margin: 30px 0;
}

.preview-objectives h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

.preview-objectives ul {
    list-style: none;
    padding: 0;
}

.preview-objectives li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.preview-objectives li::before {
    content: '🎯';
    position: absolute;
    left: 0;
    top: 0;
}

.modal-actions {
    padding: 25px 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Specific Component Demo Styles */
.welcome-screen {
    text-align: center;
    padding: 60px 20px;
}

.hero-section {
    max-width: 600px;
    margin: 0 auto;
}

.logo-animation {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

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

.hero-section h1 {
    font-size: 3rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0 15px 0;
}

.tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    margin: 20px 0 30px 0;
}

.nasa-apis {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.api-badge {
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Data Tablet Demo */
.data-tablet-demo {
    padding: 30px;
    text-align: center;
}

.tablet-interface {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.data-sources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.data-source {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.data-source.active {
    border-color: #28a745;
    background: rgba(40,167,69,0.2);
}

.data-source h4 {
    color: #ffd700;
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.data-value {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
    margin: 10px 0;
}

.data-meta {
    font-size: 0.8rem;
    opacity: 0.8;
}

.live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-weight: 600;
    color: #28a745;
}

.pulse {
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Multi-Resolution Demo */
.multi-resolution-demo {
    padding: 30px;
    text-align: center;
}

.resolution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.resolution-panel {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(255,255,255,0.2);
}

.resolution-panel h4 {
    color: #ffd700;
    margin: 0 0 15px 0;
}

.pixel-visualization {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.pixel-grid {
    width: 80px;
    height: 80px;
    border-radius: 4px;
}

.pixel-grid.landsat {
    background:
        repeating-linear-gradient(0deg, #28a745, #28a745 2px, transparent 2px, transparent 4px),
        repeating-linear-gradient(90deg, #28a745, #28a745 2px, transparent 2px, transparent 4px);
}

.pixel-grid.modis {
    background:
        repeating-linear-gradient(0deg, #ffc107, #ffc107 4px, transparent 4px, transparent 8px),
        repeating-linear-gradient(90deg, #ffc107, #ffc107 4px, transparent 4px, transparent 8px);
}

.pixel-grid.smap {
    background:
        repeating-linear-gradient(0deg, #17a2b8, #17a2b8 8px, transparent 8px, transparent 16px),
        repeating-linear-gradient(90deg, #17a2b8, #17a2b8 8px, transparent 8px, transparent 16px);
}

.resolution-panel p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Call to Action Demo */
.call-to-action-demo {
    text-align: center;
    padding: 40px 20px;
}

.call-to-action-demo h3 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-btn.primary {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
}

.cta-btn.primary:hover {
    background: linear-gradient(45deg, #218838, #1abc9c);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40,167,69,0.4);
}

.cta-btn.secondary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}

.cta-btn.secondary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,123,255,0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .scenario-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .controls-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .demo-scenarios-container {
        padding: 15px;
    }

    .demo-header h1 {
        font-size: 2.5rem;
    }

    .demo-header p {
        font-size: 1.1rem;
    }

    .scenario-card {
        padding: 20px;
    }

    .scenario-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .scenario-actions {
        flex-direction: column;
    }

    .demo-btn {
        width: 100%;
        justify-content: center;
    }

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

    .completion-stats {
        flex-direction: column;
        gap: 20px;
    }

    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .modal-body {
        padding: 20px;
    }

    .timeline-step {
        flex-direction: column;
        gap: 10px;
    }

    .timeline-marker {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .demo-header h1 {
        font-size: 2rem;
    }

    .nasa-apis {
        flex-direction: column;
        align-items: center;
    }

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

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

    .cta-btn {
        width: 100%;
        max-width: 250px;
    }
}