/* ===== COMO FUNCIONA UM SITE PAGE SPECIFIC STYLES ===== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.site-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.2);
}

.highlight-item i {
    font-size: 1.5rem;
    min-width: 30px;
}

.highlight-item span {
    color: white;
    font-weight: 500;
}

/* Site Illustration */
.site-illustration {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.internet-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

.client-device,
.server-rack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.client-device:hover,
.server-rack:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.client-device i,
.server-rack i {
    font-size: 2.5rem;
    color: #667eea;
}

.client-device span,
.server-rack span {
    font-weight: 600;
    color: #2c3e50;
}

.internet-cloud {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

.internet-cloud i {
    font-size: 3rem;
}

.internet-cloud span {
    font-weight: 600;
    font-size: 0.9rem;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
    animation: flow 3s infinite;
}

.line-1 {
    top: 30%;
    left: 15%;
    width: 25%;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    left: 40%;
    width: 20%;
    animation-delay: 1s;
}

.line-3 {
    top: 70%;
    left: 65%;
    width: 20%;
    animation-delay: 2s;
}

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

@keyframes flow {
    0% { opacity: 0.3; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0.3; transform: scaleX(0); }
}

/* Technical Process Section */
.technical-process {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.process-flow {
    position: relative;
    padding: 2rem 0;
}

.process-flow::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.flow-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.step-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition: all 0.3s ease;
}

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

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
}

.detail-item strong {
    color: #667eea;
}

/* Site Types Section */
.site-type-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.site-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.site-type-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.site-type-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ffc107;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.type-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.type-icon i {
    font-size: 2.5rem;
}

.card-header h3 {
    margin: 0;
    font-weight: 600;
}

.card-body {
    padding: 2rem;
}

.type-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.type-features h5,
.type-use-cases h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.type-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.type-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.use-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.type-metrics {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.metric-label {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Comparison Section */
.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.header-cell {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.header-cell.featured {
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.header-cell.featured::after {
    content: 'RECOMENDADO';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #ffc107;
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.header-cell i {
    font-size: 2rem;
}

.header-cell span {
    font-weight: 600;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.table-row:hover {
    background: #f8f9fa;
}

.table-row:last-child {
    border-bottom: none;
}

.row-label {
    padding: 1rem;
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.row-cell {
    padding: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.row-cell.featured {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-weight: 600;
}

/* Client Communication Section */
.communication-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.flow-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.flow-item:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.flow-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.flow-content p {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.flow-metrics {
    display: flex;
    gap: 1rem;
}

.metric {
    background: #e9ecef;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.conversion-tools {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.conversion-tools h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 600;
}

.tool-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tool-card:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tool-content h5 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.tool-content p {
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.tool-stats .stat {
    background: #28a745;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Quiz Section */
.quiz-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.quiz-progress {
    margin-bottom: 2rem;
}

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

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

.progress-text {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.quiz-content {
    margin-bottom: 2rem;
}

.question {
    margin-bottom: 2rem;
}

.question h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.option {
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.option:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

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

.option.correct {
    border-color: #28a745;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.option.incorrect {
    border-color: #dc3545;
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
}

.quiz-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .site-highlights {
        gap: 0.75rem;
    }
    
    .highlight-item {
        padding: 0.75rem;
    }
    
    .internet-visual {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }
    
    .client-device,
    .server-rack {
        padding: 1rem;
    }
    
    .internet-cloud {
        padding: 1.5rem;
    }
    
    .process-flow::before {
        display: none;
    }
    
    .flow-step,
    .flow-step:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .site-type-card.featured {
        transform: none;
    }
    
    .site-type-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        min-width: 600px;
    }
    
    .flow-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .tool-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .internet-cloud {
        padding: 1rem;
    }
    
    .internet-cloud i {
        font-size: 2rem;
    }
    
    .step-content {
        padding: 1rem;
    }
    
    .card-header,
    .card-body {
        padding: 1.5rem;
    }
    
    .quiz-container {
        padding: 1.5rem;
    }
    
    .quiz-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quiz-actions .btn {
        width: 100%;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .site-type-card,
    .step-content,
    .flow-item,
    .conversion-tools,
    .quiz-container,
    .comparison-table {
        background: #2c3e50;
        color: #ecf0f1;
    }
    
    .site-type-card h3,
    .step-content h4,
    .flow-content h4,
    .conversion-tools h3,
    .tool-content h5 {
        color: #ecf0f1;
    }
    
    .site-type-card p,
    .step-content p,
    .flow-content p,
    .tool-content p {
        color: #bdc3c7;
    }
    
    .row-label {
        background: #34495e;
        color: #ecf0f1;
    }
    
    .row-cell {
        color: #bdc3c7;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .internet-cloud,
    .line,
    .flow-step,
    .site-type-card,
    .flow-item,
    .tool-card,
    .option {
        animation: none;
        transition: none;
    }
    
    .internet-cloud:hover,
    .flow-step:hover,
    .site-type-card:hover,
    .flow-item:hover,
    .tool-card:hover {
        transform: none;
    }
} 

/* ===== MOBILE OPTIMIZATIONS FOR COMO FUNCIONA UM SITE 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;
    }
    
    /* Site highlights mobile */
    .site-highlights {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .highlight-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .highlight-item i {
        font-size: 1.2rem;
        min-width: 25px;
    }
    
    /* Site illustration mobile */
    .site-illustration {
        height: 300px;
        margin-top: 2rem;
    }
    
    .internet-visual {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .client-device,
    .server-rack {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .client-device i,
    .server-rack i {
        font-size: 2rem;
    }
    
    .internet-cloud {
        padding: 1.5rem;
    }
    
    .internet-cloud i {
        font-size: 2.5rem;
    }
    
    .internet-cloud span {
        font-size: 0.8rem;
    }
    
    /* Hide connection lines on mobile */
    .connection-lines {
        display: none;
    }
}

/* Technical Process Mobile */
@media (max-width: 768px) {
    .technical-process {
        padding: 3rem 0;
    }
    
    .process-flow {
        padding: 1rem 0;
    }
    
    .process-flow::before {
        display: none;
    }
    
    .flow-step,
    .flow-step:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .step-content h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .step-details {
        gap: 0.5rem;
    }
    
    .detail-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Site Types Mobile */
@media (max-width: 768px) {
    .site-types {
        padding: 3rem 0;
    }
    
    .site-type-card {
        margin-bottom: 2rem;
    }
    
    .site-type-card.featured {
        transform: none;
    }
    
    .site-type-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .card-header {
        padding: 1.5rem;
    }
    
    .featured-badge {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .type-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.75rem;
    }
    
    .type-icon i {
        font-size: 2rem;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .type-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .type-features h5,
    .type-use-cases h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .type-features li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .metric-value {
        font-size: 1.2rem;
    }
    
    .metric-label {
        font-size: 0.75rem;
    }
}

/* Comparison Table Mobile */
@media (max-width: 768px) {
    .comparison-section {
        padding: 3rem 0;
    }
    
    .comparison-table {
        overflow-x: auto;
        border-radius: 15px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        min-width: 600px;
    }
    
    .header-cell {
        padding: 1rem;
    }
    
    .header-cell i {
        font-size: 1.5rem;
    }
    
    .header-cell span {
        font-size: 0.9rem;
    }
    
    .header-cell.featured::after {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
    
    .row-label {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .row-cell {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Client Communication Mobile */
@media (max-width: 768px) {
    .client-communication {
        padding: 3rem 0;
    }
    
    .communication-flow {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .flow-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .flow-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .flow-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .flow-content p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .flow-metrics {
        justify-content: center;
    }
    
    .metric {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .conversion-tools {
        padding: 1.5rem;
    }
    
    .conversion-tools h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .tool-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .tool-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .tool-content h5 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .tool-content p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .tool-stats .stat {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Quiz Section Mobile */
@media (max-width: 768px) {
    .site-quiz {
        padding: 3rem 0;
    }
    
    .quiz-container {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .quiz-progress {
        margin-bottom: 1.5rem;
    }
    
    .progress-text {
        font-size: 0.85rem;
    }
    
    .question h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .options {
        gap: 0.75rem;
    }
    
    .option {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .quiz-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quiz-actions .btn {
        width: 100%;
    }
}

/* 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: 2rem;
    }
    
    .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;
    }
    
    .site-illustration {
        height: 250px;
    }
    
    .internet-cloud {
        padding: 1rem;
    }
    
    .internet-cloud i {
        font-size: 2rem;
    }
    
    .step-content {
        padding: 1.25rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .card-header,
    .card-body {
        padding: 1.25rem;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
    
    .type-description {
        font-size: 0.85rem;
    }
    
    .type-features li {
        font-size: 0.8rem;
    }
    
    .flow-item {
        padding: 1rem;
    }
    
    .flow-content h4 {
        font-size: 1rem;
    }
    
    .flow-content p {
        font-size: 0.85rem;
    }
    
    .conversion-tools {
        padding: 1.25rem;
    }
    
    .conversion-tools h3 {
        font-size: 1.2rem;
    }
    
    .tool-card {
        padding: 0.875rem;
    }
    
    .quiz-container {
        padding: 1.25rem;
    }
    
    .question h3 {
        font-size: 1.1rem;
    }
    
    .option {
        padding: 0.75rem 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,
    .option,
    .tool-card {
        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;
    }
    
    /* Better focus indicators */
    .option:focus,
    .tool-card:focus {
        outline: 2px solid #667eea;
        outline-offset: 2px;
    }
    
    /* Improve readability */
    .step-content p,
    .type-description,
    .flow-content p,
    .tool-content p {
        line-height: 1.7;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile */
    .internet-cloud {
        animation: none;
    }
    
    .line {
        animation: none;
    }
    
    /* Optimize transitions */
    .flow-step,
    .site-type-card,
    .flow-item,
    .tool-card,
    .option {
        transition: all 0.2s ease;
    }
    
    /* Reduce hover effects on mobile */
    .flow-step:hover,
    .site-type-card:hover,
    .flow-item:hover,
    .tool-card:hover {
        transform: none;
    }
    
    /* Optimize scroll */
    html {
        scroll-behavior: auto;
    }
}

/* 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;
    }
    
    .site-illustration {
        height: 200px;
    }
    
    .internet-visual {
        flex-direction: row;
        gap: 1rem;
    }
    
    .client-device,
    .server-rack {
        padding: 0.75rem;
    }
    
    .internet-cloud {
        padding: 1rem;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .site-illustration {
        height: 350px;
    }
    
    .step-content {
        padding: 2rem;
    }
    
    .card-header,
    .card-body {
        padding: 2rem;
    }
    
    .flow-item {
        padding: 2rem;
    }
    
    .conversion-tools {
        padding: 2rem;
    }
    
    .quiz-container {
        padding: 2rem;
    }
}

/* Accessibility for users with reduced motion */
@media (prefers-reduced-motion: reduce) {
    .internet-cloud,
    .line,
    .flow-step,
    .site-type-card,
    .flow-item,
    .tool-card,
    .option {
        animation: none;
        transition: none;
    }
    
    .internet-cloud:hover,
    .flow-step:hover,
    .site-type-card:hover,
    .flow-item:hover,
    .tool-card:hover {
        transform: none;
    }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .site-type-card,
    .step-content,
    .flow-item,
    .conversion-tools,
    .quiz-container,
    .comparison-table {
        background: #2c3e50;
        color: #ecf0f1;
    }
    
    .site-type-card h3,
    .step-content h4,
    .flow-content h4,
    .conversion-tools h3,
    .tool-content h5 {
        color: #ecf0f1;
    }
    
    .site-type-card p,
    .step-content p,
    .flow-content p,
    .tool-content p {
        color: #bdc3c7;
    }
    
    .row-label {
        background: #34495e;
        color: #ecf0f1;
    }
    
    .row-cell {
        color: #bdc3c7;
    }
    
    .option {
        background: #2c3e50;
        border-color: #34495e;
        color: #ecf0f1;
    }
    
    .option:hover {
        background: #34495e;
        border-color: #667eea;
    }
} 