/**
 * AI Workflow Detective - Main Stylesheet
 * Gamified interface for nonprofit workflow enhancement
 */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fef4e3;
    min-height: 100vh;
    padding: 20px;
}

/* ===== Container & Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

/* ===== COMPAS Indicator ===== */
.compas-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10;
}

.compas-step {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.compas-step.active {
    background: #1ab1d2;
    color: white;
}

.compas-step.completed {
    background: #2ecc71;
    color: white;
}

/* Mobile COMPAS display */
.mobile-compas {
    display: none;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.mobile-compas h4 {
    color: #1c487b;
    margin-bottom: 10px;
}

.compas-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.compas-badge {
    background: #1ab1d2;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.compas-badge.context {
    background: #1ab1d2;
}

.compas-badge.objective {
    background: #f18f38;
}

/* ===== Gamification Bar ===== */
.gamification-bar {
    background: #1c487b;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detective-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.detective-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.points-display {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.points-value {
    background: #f18f38;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

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

/* ===== Badges ===== */
.badges-container {
    display: flex;
    gap: 10px;
}

.badge {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.badge:hover {
    transform: scale(1.1);
}

.badge.earned {
    background: #f18f38;
    animation: earnBadge 0.5s ease;
}

@keyframes earnBadge {
    0% { transform: scale(0) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.badge::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.badge:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ===== Progress Section ===== */
.progress-section {
    background: white;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.progress-bar {
    background: #e0e0e0;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, #1ab1d2, #1c487b);
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.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;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    color: #666;
    font-style: italic;
}

/* ===== Game Area & Levels ===== */
.game-area {
    padding: 30px;
    min-height: 400px;
}

.level {
    display: none;
    animation: fadeIn 0.5s ease;
}

.level.active {
    display: block;
}

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

.level-header {
    margin-bottom: 30px;
    position: relative;
}

.level-title {
    font-size: 1.8rem;
    color: #1c487b;
    margin-bottom: 10px;
}

.level-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.help-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1ab1d2;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.help-button:hover {
    background: #1c487b;
    transform: scale(1.1);
}

/* ===== Cards & Content Boxes ===== */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.overview-card {
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid;
}

.overview-card.play {
    background: #fef4e3;
    border-left-color: #f18f38;
}

.overview-card.time {
    background: #e8f6f8;
    border-left-color: #1ab1d2;
}

.overview-card.remember {
    background: #f0f8ff;
    border-left-color: #1c487b;
}

.overview-card h3 {
    color: #1c487b;
    margin-bottom: 15px;
}

.overview-card p {
    line-height: 1.6;
}

/* ===== Mission Box ===== */
.mission-box {
    background: #fef4e3;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #1ab1d2;
    margin-bottom: 25px;
}

.mission-box h3 {
    color: #1c487b;
    margin-bottom: 15px;
}

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

.mission-step {
    text-align: center;
    padding: 15px;
}

.step-number {
    background: #f18f38;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.mission-step:nth-child(2) .step-number {
    background: #1ab1d2;
}

.mission-step:nth-child(3) .step-number {
    background: #1c487b;
}

.mission-step h4 {
    color: #1c487b;
}

.mission-step p {
    font-size: 0.9rem;
    color: #666;
}

.points-indicator {
    font-size: 0.8rem;
    color: #f18f38;
    margin-top: 5px;
    display: block;
}

/* ===== Hint Box ===== */
.hint-box {
    background: #e8f6f8;
    border: 2px solid #1ab1d2;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    position: relative;
}

.hint-box::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    padding: 0 5px;
    font-size: 1.5rem;
}

.hint-box h4 {
    color: #1c487b;
    margin-bottom: 8px;
}

.examples {
    font-style: italic;
    color: #666;
    margin-top: 10px;
    padding-left: 20px;
}

.example-item {
    margin: 5px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.example-item:hover {
    color: #1ab1d2;
}

/* ===== Workflow Cards ===== */
.workflow-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.workflow-card {
    background: white;
    border: 3px solid #ddd;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(26,177,210,0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
    opacity: 0;
}

.workflow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #1ab1d2;
}

.workflow-card:hover::before {
    opacity: 1;
}

.workflow-card.selected {
    border-color: #f18f38;
    background: #fef4e3;
}

.card-points {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f18f38;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.workflow-card h3 {
    color: #1c487b;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.workflow-card p {
    color: #666;
    line-height: 1.4;
}

/* ===== Custom Workflow Input ===== */
.custom-workflow-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.custom-workflow-input:focus {
    outline: none;
    border-color: #1ab1d2;
}

.input-hint {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* ===== Pain Points Section ===== */
.pain-points-section {
    margin-top: 20px;
}

.pain-points-section h3 {
    color: #1c487b;
    margin-bottom: 15px;
}

.pain-point-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.pain-point-input input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.pain-point-input input:focus {
    outline: none;
    border-color: #1ab1d2;
}

.add-pain-btn {
    background: #1ab1d2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-pain-btn:hover {
    background: #1c487b;
    transform: translateY(-2px);
}

.points-info {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.points-highlight {
    color: #f18f38;
    font-weight: bold;
}

/* ===== Pain Point List ===== */
.pain-point-list {
    margin-bottom: 20px;
}

.pain-point-item {
    background: white;
    border: 2px solid #ddd;
    border-left: 4px solid #f18f38;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease;
}

.pain-point-item.selected {
    background: #e8f6f8;
    border-left-color: #1ab1d2;
}

.pain-point-item.removing {
    animation: slideOut 0.3s ease;
}

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

@keyframes slideOut {
    to { 
        opacity: 0; 
        transform: translateX(20px); 
    }
}

.pain-point-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.select-pain-btn {
    padding: 5px 15px;
    font-size: 0.9rem;
}

.remove-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.remove-btn:hover {
    transform: scale(1.2);
}

/* ===== Selected Pain Point Section ===== */
.selected-pain-section {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #e8f6f8;
    border-radius: 10px;
    border: 2px solid #1ab1d2;
}

.selected-pain-section h4 {
    color: #1c487b;
    margin-bottom: 10px;
}

.selected-pain-section p {
    font-size: 1.1rem;
    font-weight: bold;
}

.change-selection-btn {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1rem;
}

/* ===== AI Capabilities ===== */
.ai-capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.ai-capability {
    background: white;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    cursor: move;
    transition: all 0.3s ease;
    position: relative;
}

.ai-capability:hover {
    border-color: #1ab1d2;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.ai-capability.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.ai-capability.selected {
    background: #e8f6f8;
    border-color: #1ab1d2;
}

.ai-capability h4 {
    color: #1c487b;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.ai-capability p {
    color: #666;
    font-size: 0.9rem;
}

.drag-hint {
    margin-top: 15px;
    text-align: center;
    color: #666;
}

/* ===== Solution Builder ===== */
.solution-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 5px solid #1ab1d2;
}

.solution-builder {
    background: #e8f6f8;
    border: 2px dashed #1ab1d2;
    border-radius: 10px;
    padding: 20px;
    min-height: 150px;
    margin-bottom: 15px;
    position: relative;
}

.solution-builder.drag-over {
    background: #d1f2f7;
    border-color: #1c487b;
}

.solutions-list {
    margin-top: 10px;
}

.solution-item {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    border-left: 4px solid #f18f38;
    animation: slideIn 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.solution-item.ai-suggested {
    background: #e3f2fd;
    border-left-color: #2196f3;
}

.solution-item.user-written {
    background: #f3e5f5;
    border-left-color: #9c27b0;
}

.solution-type-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    cursor: help;
}

.solution-text {
    flex-grow: 1;
    margin-right: 10px;
}

/* ===== Custom Solution Input ===== */
.custom-solution-input {
    margin-top: 15px;
}

.solution-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.solution-textarea:focus {
    outline: none;
    border-color: #1ab1d2;
}

.add-solution-btn {
    margin-top: 10px;
}

/* ===== Tools Section ===== */
.tools-section {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: #e8f6f8;
    border-radius: 10px;
    border-left: 5px solid #f18f38;
}

.tools-section h4 {
    color: #1c487b;
    margin-bottom: 10px;
}

.tools-hint {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.tools-input-group {
    margin-bottom: 15px;
}

.tools-input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #1c487b;
}

.tools-textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #1c487b;
    border-radius: 8px;
    min-height: 70px;
    resize: vertical;
    font-family: inherit;
    font-size: 0.95rem;
}

.tools-textarea.needed {
    border-color: #ddd;
    min-height: 50px;
}

.save-tools-btn {
    background: #1ab1d2;
}

/* ===== Focused Pain Point ===== */
.focused-pain-point {
    margin-bottom: 20px;
    padding: 20px;
    background: #fef4e3;
    border-radius: 15px;
    border-left: 5px solid #f18f38;
}

.focused-pain-point h3 {
    color: #1c487b;
    margin-bottom: 10px;
}

.focused-pain-point p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1c487b;
}

.focused-pain-point .subtitle {
    margin-top: 10px;
    color: #666;
    font-weight: normal;
    font-size: 1rem;
}

/* ===== Additional Pain Points ===== */
.additional-pain-points {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.additional-pain-points h4 {
    color: #1c487b;
    margin-bottom: 15px;
}

.remaining-pain-item {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remaining-pain-item.has-solutions {
    border-left-color: #2ecc71;
}

.switch-pain-btn {
    padding: 5px 15px;
    font-size: 0.9rem;
    margin-left: 10px;
}

.bonus-hint {
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
}

/* ===== Results Section ===== */
.celebration {
    text-align: center;
    padding: 20px;
    background: #fef4e3;
    border-radius: 15px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.celebration::before {
    content: '🎉';
    position: absolute;
    font-size: 5rem;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

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

.celebration h2 {
    color: #1c487b;
    font-size: 2rem;
    margin-bottom: 10px;
}

.final-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.final-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f18f38;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: bounce 1s ease infinite;
}

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

.score-section {
    text-align: center;
    margin: 20px 0;
}

.score-section h3 {
    color: #1c487b;
}

.final-score {
    color: #f18f38;
}

.score-message {
    color: #666;
    margin-top: 10px;
}

/* ===== Results Content ===== */
.results-section {
    padding: 20px;
}

.results-section h3 {
    color: #1c487b;
    margin-bottom: 20px;
}

.workflow-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.workflow-summary h4 {
    color: #1c487b;
    margin-bottom: 15px;
}

.pain-summary {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid #1ab1d2;
}

.pain-summary h5 {
    color: #1c487b;
    margin-bottom: 10px;
}

.solutions-summary {
    margin-top: 10px;
}

.solutions-summary ul {
    margin-left: 20px;
    margin-top: 5px;
    list-style: none;
}

.solutions-summary li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.solution-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tools-summary {
    margin-top: 10px;
    padding: 10px;
    background: #e8f6f8;
    border-radius: 5px;
}

.tools-summary p {
    margin-bottom: 5px;
}

/* ===== Next Steps Box ===== */
.next-steps-box {
    background: #fef4e3;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.next-steps-box h4 {
    color: #1c487b;
    margin-bottom: 10px;
}

.next-steps-box ol {
    margin-left: 20px;
    line-height: 1.8;
}

/* ===== Action Buttons ===== */
.action-buttons {
    text-align: center;
    margin-top: 30px;
}

.download-btn {
    background: #f18f38;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.download-btn:hover {
    background: #e67e28;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241,143,56,0.3);
}

.download-hint {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.reset-btn {
    background: #666;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: #555;
}

/* ===== Navigation ===== */
.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding: 20px 0;
}

.nav-btn {
    background: #1c487b;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-btn:hover::before {
    width: 300px;
    height: 300px;
}

.nav-btn:hover:not(:disabled) {
    background: #1ab1d2;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.start-detective-btn {
    background: #f18f38;
    font-size: 1.3rem;
    padding: 20px 40px;
    margin: 0 auto;
}

.start-section {
    text-align: center;
    margin-top: 30px;
}

/* ===== Notification ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2ecc71;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification.error {
    background: #e74c3c;
}

.notification.achievement {
    background: #f18f38;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 15px;
    }

    .compas-indicator {
        display: none;
    }

    .mobile-compas {
        display: block;
    }

    .gamification-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .detective-title {
        justify-content: center;
    }

    .badges-container {
        justify-content: center;
    }

    .game-area {
        padding: 20px;
    }

    .level-title {
        font-size: 1.5rem;
    }

    .workflow-cards {
        grid-template-columns: 1fr;
    }

    .ai-capabilities {
        grid-template-columns: 1fr;
    }

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

    .pain-point-input {
        flex-direction: column;
    }

    .pain-point-input input {
        width: 100%;
    }

    .pain-point-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .pain-point-actions {
        width: 100%;
        justify-content: center;
    }

    .navigation {
        flex-direction: column;
        gap: 15px;
    }

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

    .notification {
        right: 10px;
        left: 10px;
        text-align: center;
    }
}