/* ===== ESTILOS ESPECÍFICOS PARA "COMO FUNCIONA" ===== */

/* Hero Section específica */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Text Gradient específico para esta página - usando cores do logo AE7 */
.text-gradient {
    background: linear-gradient(135deg, var(--warning-color) 0%, #ffd700 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Estatísticas do hero */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

/* Visual do processo */
.process-visual {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.process-step.active {
    background: rgba(255,255,255,0.2);
    opacity: 1;
    transform: scale(1.05);
}

.process-step:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(10px);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.step-content h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-content p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* Timeline do processo */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Caixa de informação */
.info-box {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box i {
    color: #856404;
    font-size: 1.2rem;
}

.info-box strong {
    color: #856404;
}

/* Seção de conceitos */
.concepts-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.concept-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.concept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.concept-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.concept-card h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.concept-card p {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.concept-example {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-left: 4px solid var(--accent-color);
}

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

.concept-benefits ul {
    list-style: none;
    padding: 0;
}

.concept-benefits li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.concept-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    background: white;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.accordion-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    border-radius: 15px !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    background: white;
    color: var(--text-color);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 3;
}

.cta-section h2,
.cta-section p,
.cta-section .cta-buttons {
    position: relative;
    z-index: 3;
}

.cta-buttons {
    position: relative;
    z-index: 3;
}

/* Animações específicas */
@keyframes slideInFromBottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

.timeline-number {
    animation: pulseGlow 2s infinite;
}

/* Efeitos de hover avançados */
.concept-card:hover .concept-icon {
    transform: scale(1.1) rotate(5deg);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    animation: pulseGlow 1s ease-in-out;
}

/* Garantir legibilidade do texto na CTA */
.cta-section h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-section .btn {
    font-weight: 600;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Garantir que não haja overflow */
.cta-section {
    overflow: visible !important;
    word-wrap: break-word;
    word-break: normal;
}

.cta-section .container {
    overflow: visible;
}

.cta-section .row {
    overflow: visible;
}

.cta-section .col-lg-8 {
    overflow: visible;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .process-visual {
        margin-top: 2rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .concept-card {
        padding: 1.5rem;
    }
    
    .concept-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .process-timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .timeline-number,
    .concept-card,
    .process-step,
    .timeline-content {
        animation: none;
        transition: none;
    }
}

/* Modo escuro (se implementado) */
@media (prefers-color-scheme: dark) {
    .concept-card {
        background: #2d3748;
        color: white;
    }
    
    .timeline-content {
        background: #2d3748;
        color: white;
    }
    
    .accordion-body {
        background: #2d3748;
        color: white;
    }
} 

/* ===== MOBILE OPTIMIZATIONS FOR COMO FUNCIONA PAGE ===== */

/* Hero Section Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 2rem 0;
        min-height: 85vh;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    /* Hero stats mobile */
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        backdrop-filter: blur(10px);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
        color: white;
    }
    
    /* Process visual mobile */
    .process-visual {
        margin-top: 2rem;
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .step-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
}

/* Process Steps Mobile */
@media (max-width: 768px) {
    .process-steps {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .process-timeline {
        max-width: 100%;
    }
    
    .process-timeline::before {
        left: 25px;
        width: 2px;
    }
    
    .timeline-item {
        padding-left: 60px;
        margin-bottom: 2rem;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        left: 0;
    }
    
    .timeline-content {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .timeline-content ul {
        margin: 0.75rem 0;
        padding-left: 1.25rem;
    }
    
    .timeline-content li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .info-box {
        padding: 0.75rem;
        margin-top: 0.75rem;
        font-size: 0.85rem;
    }
    
    .info-box i {
        font-size: 1rem;
    }
}

/* Concepts Section Mobile */
@media (max-width: 768px) {
    .concepts-section {
        padding: 3rem 0;
    }
    
    .concept-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 15px;
    }
    
    .concept-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .concept-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .concept-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .concept-example {
        padding: 0.75rem;
        margin-bottom: 1rem;
        font-size: 0.85rem;
    }
    
    .concept-benefits h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .concept-benefits li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
        padding-left: 1.25rem;
    }
}

/* FAQ Section Mobile */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .accordion-item {
        margin-bottom: 0.75rem;
        border-radius: 12px !important;
    }
    
    .accordion-button {
        padding: 1.25rem;
        font-size: 1rem;
        border-radius: 12px !important;
    }
    
    .accordion-body {
        padding: 1.25rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* CTA Section Mobile */
@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 576px) {
    .hero-section {
        padding: 5rem 0 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.9rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    /* Text gradient small mobile optimization - usando cores do logo AE7 */
    .text-gradient {
        background: linear-gradient(135deg, var(--warning-color) 0%, #ffd700 50%, #ffffff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }
    
    .highlight-item {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
        color: white;
    }
    
    .process-visual {
        padding: 1rem;
    }
    
    .process-step {
        padding: 0.75rem;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .step-content h4 {
        font-size: 0.9rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        padding: 1.25rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
    
    .timeline-content li {
        font-size: 0.8rem;
    }
    
    .concept-card {
        padding: 1.25rem;
    }
    
    .concept-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .concept-card h3 {
        font-size: 1.1rem;
    }
    
    .concept-card p {
        font-size: 0.85rem;
    }
    
    .concept-example {
        font-size: 0.8rem;
    }
    
    .concept-benefits li {
        font-size: 0.8rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-section p {
        font-size: 0.9rem;
    }
    
    .cta-buttons .btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }
}

/* Mobile Accessibility Improvements */
@media (max-width: 768px) {
    /* Increase touch targets */
    .highlight-item,
    .contact-item,
    .social-link,
    .contact-form .btn,
    .accordion-button,
    .cta-buttons .btn {
        min-height: 44px;
    }
    
    /* Improve contrast */
    .text-white-50 {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .text-muted {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* Text gradient mobile optimization - usando cores do logo AE7 */
    .text-gradient {
        background: linear-gradient(135deg, var(--warning-color) 0%, #ffd700 50%, #ffffff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    }
    
    /* Better focus indicators */
    .highlight-item:focus,
    .contact-item:focus,
    .social-link:focus,
    .contact-form .btn:focus,
    .accordion-button:focus,
    .cta-buttons .btn:focus {
        outline: 2px solid var(--warning-color);
        outline-offset: 2px;
    }
    
    /* Improve readability */
    .timeline-content p,
    .concept-card p,
    .accordion-body {
        line-height: 1.7;
    }
    
    /* Better spacing for mobile */
    .timeline-content ul,
    .concept-benefits ul {
        margin: 0.75rem 0;
    }
    
    .timeline-content li,
    .concept-benefits li {
        margin-bottom: 0.5rem;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile */
    .timeline-number {
        animation: none;
    }
    
    .concept-card,
    .process-step,
    .timeline-content {
        transition: all 0.2s ease;
    }
    
    /* Reduce hover effects on mobile */
    .concept-card:hover,
    .process-step:hover,
    .timeline-content:hover {
        transform: none;
    }
    
    /* Optimize scroll */
    html {
        scroll-behavior: auto;
    }
    
    /* Reduce shadows for better performance */
    .concept-card,
    .timeline-content,
    .accordion-item {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

/* Landscape Mobile Support */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 70vh;
        padding: 4rem 0 1rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    /* Text gradient landscape optimization - usando cores do logo AE7 */
    .text-gradient {
        background: linear-gradient(135deg, var(--warning-color) 0%, #ffd700 50%, #ffffff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
    }
    
    .process-visual {
        margin-top: 1rem;
    }
    
    .process-step {
        flex-direction: row;
        text-align: left;
    }
    
    .step-icon {
        margin-right: 0.75rem;
        margin-bottom: 0;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    /* Text gradient tablet optimization - usando cores do logo AE7 */
    .text-gradient {
        background: linear-gradient(135deg, var(--warning-color) 0%, #ffd700 50%, #ffffff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .timeline-content {
        padding: 2rem;
    }
    
    .concept-card {
        padding: 2rem;
    }
    
    .accordion-button {
        padding: 1.75rem;
    }
    
    .accordion-body {
        padding: 1.75rem;
    }
}

/* Mobile Touch Interactions */
@media (max-width: 768px) {
    /* Touch feedback for interactive elements */
    .process-step,
    .concept-card,
    .accordion-button,
    .btn {
        -webkit-tap-highlight-color: transparent;
    }
    
    .process-step:active,
    .concept-card:active,
    .accordion-button:active,
    .btn:active {
        transform: scale(0.98);
    }
    
    /* Improve accordion touch experience */
    .accordion-button {
        touch-action: manipulation;
    }
    
    /* Better spacing for touch targets */
    .timeline-item {
        margin-bottom: 2.5rem;
    }
    
    .concept-card {
        margin-bottom: 2rem;
    }
    
    .accordion-item {
        margin-bottom: 1rem;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    /* Ensure proper spacing for fixed navbar */
    main {
        padding-top: 0;
    }
    
    /* Improve breadcrumb visibility */
    .breadcrumb {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    /* Better section spacing */
    section {
        padding: 2.5rem 0;
    }
    
    /* Improve container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Mobile Content Optimization */
@media (max-width: 768px) {
    /* Optimize text hierarchy */
    .section-title {
        font-weight: 600;
        line-height: 1.3;
    }
    
    .section-subtitle {
        line-height: 1.5;
    }
    
    /* Improve list readability */
    ul {
        line-height: 1.6;
    }
    
    /* Better paragraph spacing */
    p {
        margin-bottom: 1rem;
    }
    
    /* Optimize info boxes */
    .info-box {
        line-height: 1.5;
    }
}

/* Mobile Loading States */
@media (max-width: 768px) {
    /* Reduce loading animations for better performance */
    .timeline-item,
    .concept-card,
    .accordion-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    /* Optimize AOS animations for mobile */
    [data-aos] {
        transition-duration: 0.4s !important;
    }
}

/* Mobile Error Handling */
@media (max-width: 768px) {
    /* Ensure content is always visible */
    .timeline-content,
    .concept-card,
    .accordion-body {
        overflow: visible;
        word-wrap: break-word;
    }
    
    /* Prevent horizontal scroll */
    .container,
    .row,
    .col-lg-6,
    .col-lg-4,
    .col-lg-8 {
        overflow-x: hidden;
    }
}

/* Accessibility for users with reduced motion */
@media (prefers-reduced-motion: reduce) {
    .timeline-number,
    .concept-card,
    .process-step,
    .timeline-content,
    .accordion-button {
        animation: none;
        transition: none;
    }
    
    .concept-card:hover,
    .process-step:hover,
    .timeline-content:hover {
        transform: none;
    }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .concept-card,
    .timeline-content,
    .accordion-body {
        background: #2c3e50;
        color: #ecf0f1;
    }
    
    .concept-card h3,
    .timeline-content h3,
    .concept-benefits h4 {
        color: #ecf0f1;
    }
    
    .concept-card p,
    .timeline-content p,
    .timeline-content li,
    .concept-benefits li,
    .accordion-body {
        color: #bdc3c7;
    }
    
    .concept-example {
        background: #34495e;
        color: #ecf0f1;
    }
    
    .info-box {
        background: linear-gradient(135deg, #34495e, #2c3e50);
        border-color: #f39c12;
        color: #ecf0f1;
    }
    
    .info-box i,
    .info-box strong {
        color: #f39c12;
    }
} 