/* Mobile Styles for How to Aleo? - Futuristic Dark Mode */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #00AFFF;
    --accent-secondary: #007BFF;
    --accent-gradient: linear-gradient(135deg, #00AFFF 0%, #007BFF 100%);
    --border-color: #2a2a2a;
    --shadow-sm: 0 2px 8px rgba(0, 175, 255, 0.15);
    --shadow: 0 4px 16px rgba(0, 175, 255, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 175, 255, 0.35);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #00AFFF;
    --accent-secondary: #007BFF;
    --accent-gradient: linear-gradient(135deg, #00AFFF 0%, #007BFF 100%);
    --border-color: #2a2a2a;
    --shadow-sm: 0 2px 8px rgba(0, 175, 255, 0.15);
    --shadow: 0 4px 16px rgba(0, 175, 255, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 175, 255, 0.35);
}

[data-theme="light"] {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #00AFFF;
    --accent-secondary: #007BFF;
    --accent-gradient: linear-gradient(135deg, #00AFFF 0%, #007BFF 100%);
    --border-color: #2a2a2a;
    --shadow-sm: 0 2px 8px rgba(0, 175, 255, 0.15);
    --shadow: 0 4px 16px rgba(0, 175, 255, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 175, 255, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, #000000 0%, #001a33 100%);
    background-attachment: fixed;
    transition: var(--transition);
    position: relative;
    padding-top: 110px;
    padding-bottom: 120px;
    overflow-x: hidden;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(at 10% 20%, rgba(0, 175, 255, 0.08) 0px, transparent 40%),
        radial-gradient(at 90% 80%, rgba(0, 123, 255, 0.06) 0px, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, #000000 0%, #001a33 100%);
}

[data-theme="light"] body {
    background: linear-gradient(135deg, #000000 0%, #001a33 100%);
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 250px);
    overflow-x: hidden;
}

/* Mobile Fixed Header */
.header.mobile-only {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-primary);
    box-shadow: 0 4px 30px rgba(0, 175, 255, 0.3);
    padding: 15px 20px;
    text-align: left;
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 0;
    box-sizing: border-box;
}

.logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    animation: fadeIn 1s ease-in, glow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 175, 255, 0.5));
    display: block;
    margin: 0;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 25px rgba(0, 175, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(0, 175, 255, 0.8));
    }
}

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

.main-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    margin-top: 0;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.author {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    margin-top: 0;
}

.author a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.author a:hover {
    text-decoration: underline;
}

/* Hide desktop header on mobile */
.desktop-header {
    display: none !important;
}

/* Show mobile-only elements */
.mobile-only {
    display: block !important;
}

/* Theme Toggle */
.mobile-theme-toggle {
    position: absolute;
    top: 0;
    right: 0;
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 175, 255, 0.3);
}

.theme-toggle:active {
    transform: scale(0.95);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 25px rgba(0, 175, 255, 0.5);
    background: var(--bg-tertiary);
}

.theme-icon {
    width: 22px;
    height: 22px;
    color: var(--text-primary);
    transition: var(--transition);
}

.theme-icon .sun {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-icon .moon {
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-theme="dark"] .theme-icon .sun {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-icon .moon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="light"] .theme-icon .moon {
    transform: rotate(-180deg);
}

/* Mobile Fixed Progress Bar at Bottom */
.progress-container.mobile-only {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--accent-primary);
    box-shadow: 0 -4px 30px rgba(0, 175, 255, 0.3);
    padding: 10px;
    margin: 0;
    box-sizing: border-box;
}

.progress-bar {
    width: 100%;
    max-width: 100%;
    height: 10px;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width 0.3s ease;
    width: 14.28%; /* 1/7 */
}

.progress-text {
    display: none;
}

/* Mobile Progress Stepper */
.mobile-progress-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1px;
    margin-top: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.mobile-step {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    transition: var(--transition);
    padding: 3px 0;
    box-sizing: border-box;
}

.mobile-step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-step-label {
    font-size: 0.58rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
    text-align: center;
    transition: var(--transition);
    line-height: 1.2;
}

.mobile-step.active .mobile-step-circle {
    background: var(--accent-gradient);
    border-color: var(--accent-primary);
    color: #ffffff;
    box-shadow: 0 0 20px var(--accent-primary);
    transform: scale(1.1);
    animation: pulse-glow-mobile 2s ease-in-out infinite;
}

@keyframes pulse-glow-mobile {
    0%, 100% {
        box-shadow: 0 0 20px var(--accent-primary);
    }
    50% {
        box-shadow: 0 0 30px var(--accent-primary), 0 0 50px rgba(0, 175, 255, 0.6);
    }
}

.mobile-step.completed .mobile-step-circle {
    background: rgba(0, 175, 255, 0.3);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.mobile-step.active .mobile-step-label {
    color: var(--accent-primary);
    font-weight: 600;
}

.mobile-step.completed .mobile-step-label {
    color: var(--accent-primary);
    opacity: 0.7;
}

.mobile-step:active:not(.active) .mobile-step-circle {
    transform: scale(0.95);
}

/* Swipe Navigation Hints */
.swipe-hint {
    position: fixed;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 175, 255, 0.9);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: swipeHintPulse 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 999;
    display: none;
}

@keyframes swipeHintPulse {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mobile Smooth Scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

/* Mobile Touch Optimizations */
* {
    -webkit-tap-highlight-color: rgba(0, 175, 255, 0.2);
    -webkit-touch-callout: none;
}

a, button, .mobile-step, .card, .quiz-option {
    -webkit-tap-highlight-color: rgba(0, 175, 255, 0.3);
}

/* Navigation - Hide on mobile (using progress bar instead) */
.navigation {
    display: none;
}

.nav-btn {
    padding: 14px 24px;
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: var(--shadow-sm);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-btn:active:not(:disabled) {
    transform: scale(0.98);
    box-shadow: var(--shadow);
}

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    box-shadow: none;
}

.part-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.part-selector label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.part-selector select {
    padding: 12px 16px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.part-selector select:active {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(0, 175, 255, 0.2);
}

/* Content Styles */
.content {
    margin: 20px 0 30px 0;
    animation: fadeInContent 0.5s ease-out;
}

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

.content h1 {
    font-size: 2.25rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.content h2 {
    font-size: 1.75rem;
    margin: 3rem 0 1.5rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0, 175, 255, 0.6);
}

.content h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.content h3::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-primary);
    animation: pulse 2s ease-in-out infinite;
}

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

.content p {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.75;
    font-size: 1rem;
}

/* Enhanced paragraph blocks with visual accents */
.content > p {
    padding: 1.25rem 1.5rem;
    border-left: 4px solid transparent;
    border-radius: 10px;
    background: linear-gradient(to right, rgba(0, 175, 255, 0.05) 0%, transparent 100%);
    transition: var(--transition);
}

.content > p:active {
    border-left-color: var(--accent-primary);
    background: linear-gradient(to right, rgba(0, 175, 255, 0.1) 0%, rgba(0, 175, 255, 0.05) 50%, transparent 100%);
    box-shadow: 0 0 15px rgba(0, 175, 255, 0.1);
}

/* Emphasis on paragraphs with strong elements */
.content p:has(strong) {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    border-left: 4px solid var(--accent-primary);
}

.content p:has(em) {
    font-style: normal;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 175, 255, 0.05) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--accent-secondary);
    border: 2px solid rgba(0, 123, 255, 0.3);
    border-left: 4px solid var(--accent-secondary);
}

.content ul, .content ol {
    margin: 1.5rem 0;
    padding: 1.5rem 1.75rem 1.5rem 2.75rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.content li {
    margin-bottom: 1rem;
    padding-left: 0.65rem;
    position: relative;
    line-height: 1.75;
    font-size: 0.95rem;
}

.content li::marker {
    color: var(--accent-primary);
    font-weight: 600;
}

.content li strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.content a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.content a:hover {
    text-decoration: underline;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: left;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 3rem 0;
}

.card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    box-shadow: var(--shadow-sm);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 175, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:active {
    transform: scale(0.98);
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
    box-shadow: var(--shadow);
}

.card:active::before {
    transform: scaleX(1);
}

.card:active::after {
    opacity: 1;
}

.card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 20px;
    font-weight: 600;
}

.card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-primary);
}

.card:nth-child(1) h3::before {
    background: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
}

.card:nth-child(2) h3::before {
    background: var(--accent-secondary);
    box-shadow: 0 0 8px var(--accent-secondary);
}

.card:nth-child(3) h3::before {
    background: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Divider */
.divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-primary) 20%, var(--accent-secondary) 80%, transparent);
    margin: 3rem 0;
    position: relative;
    opacity: 0.3;
}

.divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-primary);
    animation: pulse 2s ease-in-out infinite;
}

/* Demo Styles */
.demo-container {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    padding: 30px;
    margin: 3rem 0;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 1;
    box-shadow: 0 2px 15px rgba(0, 175, 255, 0.5);
}

.demo-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.demo-view {
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 1.5rem;
}

.demo-view h4 {
    margin-bottom: 1rem;
    color: var(--accent-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.demo-view p {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-wrap: break-word;
}

.masked-text {
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.reveal-text {
    animation: reveal 0.5s ease-in;
}

@keyframes reveal {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* Quiz Styles */
.quiz-container {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    padding: 30px;
    margin: 3rem 0;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.quiz-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 1;
    box-shadow: 0 2px 15px rgba(0, 175, 255, 0.5);
}

.quiz-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.quiz-question {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-option:active {
    border-color: var(--accent-primary);
    transform: scale(0.98);
    box-shadow: 0 0 15px rgba(0, 175, 255, 0.2);
    background: var(--bg-secondary);
}

.quiz-option input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.quiz-option label {
    cursor: pointer;
    flex: 1;
    font-size: 0.95rem;
}

.quiz-result {
    text-align: center;
    padding: 30px 15px;
    animation: fadeIn 0.5s ease-in;
}

.quiz-result h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.quiz-score {
    font-size: 3rem;
    color: var(--accent-primary);
    font-weight: 700;
    margin: 2rem 0;
    text-shadow: 0 0 25px rgba(0, 175, 255, 0.5);
}

/* Buttons */
.btn-primary {
    padding: 14px 32px;
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: var(--shadow-sm);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
    transform: scale(0.97);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    padding: 14px 32px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-secondary:active {
    border-color: var(--accent-secondary);
    transform: scale(0.97);
    box-shadow: 0 0 15px rgba(0, 175, 255, 0.3);
    background: var(--bg-tertiary);
}

/* Footer */
.footer {
    margin-top: 50px;
    padding-bottom: 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    padding: 10px;
    font-size: 0.95rem;
}

.footer-links a:active {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 175, 255, 0.5);
}

/* Use Case Grid */
.use-case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 3rem 0;
}

.use-case-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.use-case-card:active {
    transform: scale(0.98);
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
    box-shadow: var(--shadow);
}

.use-case-card:active::before {
    transform: scaleY(1);
}

.use-case-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    padding-left: 16px;
}

.use-case-card h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent-primary);
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* External Links */
.external-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 2rem 0;
}

.external-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.external-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.external-link:active {
    border-color: var(--accent-secondary);
    transform: scale(0.98);
    box-shadow: 0 0 20px rgba(0, 175, 255, 0.4);
    background: var(--bg-tertiary);
}

.external-link:active::before {
    transform: scaleY(1);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-in {
    animation: slideIn 0.5s ease-out;
}

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

/* Scroll reveal animation */
.content > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.content > *:nth-child(1) { animation-delay: 0.1s; }
.content > *:nth-child(2) { animation-delay: 0.15s; }
.content > *:nth-child(3) { animation-delay: 0.2s; }
.content > *:nth-child(4) { animation-delay: 0.25s; }
.content > *:nth-child(5) { animation-delay: 0.3s; }

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

/* Subtle background pattern */
.content {
    position: relative;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 200%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            var(--border-color) 40px,
            var(--border-color) 41px
        );
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* Mobile-specific styles for interactive elements */

/* Stat Highlight - Mobile */
.stat-highlight {
    padding: 2rem 1.5rem;
    margin: 2rem 0;
}

.stat-number {
    font-size: 3.5rem;
}

.stat-text {
    font-size: 1.1rem;
}

/* Comparison Grid - Mobile */
.comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.comparison-card {
    padding: 1.5rem;
}

.simple-list li {
    font-size: 0.95rem;
    padding: 0.6rem 0;
}

/* Accordion - Mobile */
.accordion-container {
    margin: 2rem 0;
}

.accordion-item {
    margin-bottom: 1rem;
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:active {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
}

.accordion-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.accordion-icon {
    font-size: 1.75rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.accordion-content {
    display: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    display: block;
    max-height: none;
    opacity: 1;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Stat Highlight - Mobile (already exists, updating) */
.stat-highlight {
    text-align: center;
    padding: 2rem 1.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, rgba(0, 175, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    border-radius: 16px;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 30px rgba(0, 175, 255, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(0, 175, 255, 0.5);
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Comparison Grid - Mobile (already exists, updating) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.comparison-card {
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
}

.comparison-card.problem {
    border-left-color: #ff4444;
}

.comparison-card.solution {
    border-left-color: var(--accent-primary);
}

.comparison-card h4 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.simple-list li {
    font-size: 0.95rem;
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.simple-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Info Grid - Mobile */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-box {
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.info-box h5 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Impact Note */
.impact-note {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(0, 175, 255, 0.1) 0%, transparent 100%);
    border-left: 4px solid var(--accent-primary);
    border-radius: 8px;
}

.impact-note strong {
    color: var(--accent-primary);
    font-size: 1rem;
    font-weight: 600;
}

.impact-note p {
    margin: 0.5rem 0 0 0;
    padding: 0;
    background: none;
    border: none;
    color: var(--text-primary);
}

/* Regulation Grid - Mobile */
.regulation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.regulation-box {
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    border: 2px solid var(--border-color);
    position: relative;
}

.regulation-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    background: var(--accent-gradient);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.regulation-box h5 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.regulation-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Conclusion and Solution Boxes */
.conclusion-box,
.solution-callout {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 175, 255, 0.2);
}

.conclusion-box h3,
.solution-callout h3 {
    color: var(--accent-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.conclusion-box p,
.solution-callout p {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.barrier-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.barrier-item {
    padding: 1rem;
    background: var(--bg-tertiary);
    border-left: 3px solid var(--accent-primary);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Detail List for Feature Cards */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.detail-item strong {
    display: block;
    color: var(--accent-primary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.detail-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

.feature-example {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 175, 255, 0.1) 0%, transparent 100%);
    border-left: 3px solid var(--accent-primary);
    border-radius: 8px;
}

.feature-example strong {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Features Grid - Mobile */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.feature-card:active {
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.feature-card.active {
    border-color: var(--accent-primary);
}

.feature-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    flex-shrink: 0;
}

.feature-header h3 {
    flex: 1;
    margin: 0;
}

.feature-expand-icon {
    color: var(--accent-primary);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.feature-card.active .feature-expand-icon {
    transform: rotate(180deg);
}

.feature-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.feature-detail {
    display: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.feature-card.active .feature-detail {
    display: block;
    max-height: none;
    opacity: 1;
    margin-top: 1rem;
}

/* Tech Tabs - Mobile */
.tech-tabs {
    margin: 2rem 0;
}

.tab-navigation {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    text-align: left;
    border: 2px solid var(--border-color);
    border-left: 3px solid transparent;
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tab-btn:active {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
}

.tab-btn.active {
    border-left-color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--accent-primary);
}

.tab-content {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    max-height: none;
    overflow: visible;
}

/* Solution and Tech Intro */
.solution-intro,
.tech-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
}

.solution-intro h2,
.tech-intro h2 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.solution-intro p,
.tech-intro p {
    font-size: 1rem;
    color: var(--text-primary);
    padding: 0;
    background: none;
    border: none;
}

/* Tech Stack Visual */
.tech-stack-visual {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.tech-stack-visual h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.stack-layers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* How It Works */
.how-it-works {
    margin: 2rem 0;
}

.how-it-works h4 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.tech-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding: 0;
    background: none;
    border: none;
}

/* Process Steps - Mobile */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

/* Example Box */
.example-box {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
}

.example-box h4 {
    font-size: 1.1rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.example-box p {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding: 0;
    background: none;
    border: none;
}

.example-box strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.example-box code {
    background: var(--bg-tertiary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--accent-primary);
    font-size: 0.85rem;
}

/* Example Flow - Mobile */
.example-flow {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.flow-item {
    min-width: auto;
    width: 100%;
    font-size: 0.85rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

.flow-arrow {
    transform: rotate(90deg);
    font-size: 1.25rem;
    color: var(--accent-primary);
    text-align: center;
}

/* Characteristics Grid - Mobile */
.characteristics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.char-card {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.char-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.char-card h5 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.char-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

/* Lifecycle Visual */
.lifecycle-visual {
    margin: 2rem 0;
}

.lifecycle-visual h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.why-it-matters {
    margin-top: 2rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(0, 175, 255, 0.1) 0%, transparent 100%);
    border-left: 4px solid var(--accent-primary);
    border-radius: 8px;
}

.why-it-matters strong {
    color: var(--accent-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.why-it-matters p {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

/* Lifecycle Stages - Mobile */
.lifecycle-stages {
    flex-direction: column;
    gap: 1rem;
}

.stage {
    min-width: auto;
    width: 100%;
}

.stage-arrow {
    transform: rotate(90deg);
    font-size: 1.5rem;
}

/* Features List - Mobile */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.feature-label {
    min-width: auto;
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 0.95rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Developer Benefit */
.developer-benefit {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 175, 255, 0.1) 0%, transparent 100%);
    border-left: 4px solid var(--accent-primary);
    border-radius: 8px;
}

.developer-benefit h4 {
    font-size: 1.1rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.developer-benefit p {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

/* Consensus Features - Mobile */
.consensus-features {
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Use Case Cards - Mobile */
.use-case-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.use-case-card-interactive {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.use-case-card-interactive:active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 175, 255, 0.2);
}

.use-case-card-interactive.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(0, 175, 255, 0.3);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.use-case-icon {
    width: 30px;
    height: 30px;
    font-size: 1.3rem;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 0 12px rgba(0, 175, 255, 0.4);
}

.use-case-card-interactive:active .use-case-icon {
    box-shadow: 0 0 20px rgba(0, 175, 255, 0.6);
}

.use-case-card-interactive.active .use-case-icon {
    box-shadow: 0 0 15px rgba(0, 175, 255, 0.5);
}

.use-case-header h4 {
    font-size: 1.1rem;
    flex: 1;
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.use-case-preview {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.use-case-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.3s ease;
}

.use-case-card-interactive.active .use-case-details {
    max-height: 1000px;
    margin-top: 1rem;
    opacity: 1;
}

.problem-section,
.solution-section,
.impact-section {
    padding: 0.9rem 1rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

.problem-section {
    background: var(--bg-tertiary);
    border-left: 3px solid #ff4444;
}

.solution-section {
    background: var(--bg-tertiary);
    border-left: 3px solid var(--accent-primary);
}

.impact-section {
    background: linear-gradient(135deg, rgba(0, 175, 255, 0.1) 0%, transparent 100%);
    border-left: 3px solid var(--accent-secondary);
}

.problem-section strong,
.solution-section strong,
.impact-section strong {
    color: var(--accent-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

/* Application Categories - Mobile */
.application-categories {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.app-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
}

/* Stack Layers - Mobile */
.stack-layer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.layer-label {
    min-width: auto;
    width: 100%;
}

/* Mobile-specific improvements for better UX */
@media (max-width: 768px) {
    /* Ensure content doesn't overlap with fixed elements */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative;
        width: 100%;
    }
    
    * {
        box-sizing: border-box;
    }
    
    /* Make sure all interactive elements are touch-friendly */
    button, a, select, input, .mobile-step, .card, .accordion-header {
        min-height: 44px;
    }
    
    /* Improve readability on small screens */
    .content h1, .content h2, .content h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Smooth transitions for all page changes */
    .content {
        will-change: opacity, transform;
    }
    
    /* Optimize performance */
    .progress-fill, .mobile-step-circle, .card, .use-case-card {
        will-change: transform;
    }
    
    /* Ensure fixed elements stay fixed on all devices including iOS */
    .header.mobile-only,
    .progress-container.mobile-only {
        position: fixed !important;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Force mobile-only display */
    .mobile-only {
        display: block !important;
    }
    
    /* Hide desktop elements */
    .desktop-header {
        display: none !important;
    }
}

