/* ===== SEO 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;
}

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

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

.search-engine-visual {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 2px solid #e9ecef;
}

.search-bar i {
    color: #6c757d;
    font-size: 1.2rem;
}

.search-bar span {
    color: #495057;
    font-weight: 500;
}

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

.result-item {
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.result-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.result-1 {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
}

.result-2 {
    border-left: 4px solid #007bff;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.result-url {
    color: #28a745;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.result-title {
    color: #1a0dab;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.result-description {
    color: #4d5156;
    font-size: 0.9rem;
    line-height: 1.4;
}

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

/* What is SEO Section */
.what-is-seo {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.seo-definition {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.definition-card {
    display: flex;
    align-items: center;
    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;
}

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

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

.definition-icon i {
    font-size: 1.5rem;
    color: white;
}

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

.definition-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* SEO Stats */
.seo-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* SEO Types Section */
.seo-type-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.seo-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.seo-type-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.seo-type-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.seo-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.feature-item i {
    color: #28a745;
    font-size: 1rem;
}

.feature-item span {
    color: #495057;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

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

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

.step-number {
    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-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px 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-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

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

/* 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;
}

/* Benefits Section */
.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.benefit-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.benefit-metric {
    position: relative;
    z-index: 1;
}

.metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

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

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

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    border-radius: 15px !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: none;
}

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

.accordion-body {
    background: white;
    padding: 1.5rem;
    color: #6c757d;
    line-height: 1.6;
}

/* 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) {
    .seo-highlights {
        gap: 0.75rem;
    }
    
    .highlight-item {
        padding: 0.75rem;
    }
    
    .search-engine-visual {
        padding: 1.5rem;
    }
    
    .definition-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        gap: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .seo-type-card,
    .benefit-card {
        padding: 1.5rem;
    }
    
    .card-icon,
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i,
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .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;
    }
    
    .search-engine-visual {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2.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) {
    .seo-type-card,
    .benefit-card,
    .step-content,
    .quiz-container,
    .accordion-item,
    .accordion-button,
    .accordion-body {
        background: #2c3e50;
        color: #ecf0f1;
    }
    
    .seo-type-card h3,
    .benefit-card h4,
    .step-content h4,
    .accordion-button {
        color: #ecf0f1;
    }
    
    .seo-type-card p,
    .benefit-card p,
    .step-content p,
    .accordion-body {
        color: #bdc3c7;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .search-engine-visual,
    .definition-card,
    .stat-card,
    .seo-type-card,
    .benefit-card,
    .step-content,
    .option {
        animation: none;
        transition: none;
    }
    
    .search-engine-visual:hover,
    .definition-card:hover,
    .stat-card:hover,
    .seo-type-card:hover,
    .benefit-card:hover,
    .step-content:hover {
        transform: none;
    }
} 

/* ===== MOBILE OPTIMIZATIONS FOR SEO 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;
    }
    
    /* SEO highlights mobile */
    .seo-highlights {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .highlight-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .highlight-item i {
        font-size: 1.2rem;
        min-width: 25px;
    }
    
    .highlight-item span {
        font-size: 0.9rem;
    }
    
    /* SEO illustration mobile */
    .seo-illustration {
        height: 300px;
        margin-top: 2rem;
    }
    
    .search-engine-visual {
        padding: 1.5rem;
        max-width: 100%;
        animation: none;
    }
    
    .search-bar {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .search-bar i {
        font-size: 1rem;
    }
    
    .search-bar span {
        font-size: 0.9rem;
    }
    
    .result-item {
        padding: 0.75rem;
    }
    
    .result-url {
        font-size: 0.8rem;
    }
    
    .result-title {
        font-size: 1rem;
    }
    
    .result-description {
        font-size: 0.8rem;
    }
}

/* What is SEO Section Mobile */
@media (max-width: 768px) {
    .what-is-seo {
        padding: 3rem 0;
    }
    
    .what-is-seo h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .what-is-seo .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .seo-definition {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .definition-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .definition-icon {
        width: 50px;
        height: 50px;
    }
    
    .definition-icon i {
        font-size: 1.2rem;
    }
    
    .definition-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .definition-content p {
        font-size: 0.9rem;
    }
    
    /* SEO stats mobile */
    .seo-stats {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* SEO Types Section Mobile */
@media (max-width: 768px) {
    .seo-types {
        padding: 3rem 0;
    }
    
    .seo-types h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .seo-types .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .seo-type-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
    
    .seo-type-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .seo-type-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .seo-features {
        gap: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .feature-item i {
        font-size: 0.9rem;
    }
}

/* SEO Process Section Mobile */
@media (max-width: 768px) {
    .seo-process {
        padding: 3rem 0;
    }
    
    .seo-process h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .seo-process .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .process-timeline {
        padding: 1rem 0;
    }
    
    .process-timeline::before {
        left: 20px;
        width: 2px;
    }
    
    .process-step {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-content {
        padding: 1.25rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .step-tools {
        gap: 0.4rem;
    }
    
    .tool-tag {
        padding: 0.2rem 0.6rem;
        font-size: 0.75rem;
    }
}

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

/* Benefits Section Mobile */
@media (max-width: 768px) {
    .seo-benefits {
        padding: 3rem 0;
    }
    
    .seo-benefits h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .seo-benefits .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .metric-number {
        font-size: 1.8rem;
    }
    
    .metric-label {
        font-size: 0.85rem;
    }
}

/* FAQ Section Mobile */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .faq-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .accordion-item {
        margin-bottom: 0.75rem;
    }
    
    .accordion-button {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1.25rem;
        font-size: 0.9rem;
    }
}

/* 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;
    }
    
    .highlight-item {
        padding: 0.5rem;
    }
    
    .highlight-item i {
        font-size: 1.1rem;
        min-width: 20px;
    }
    
    .highlight-item span {
        font-size: 0.85rem;
    }
    
    .seo-illustration {
        height: 250px;
    }
    
    .search-engine-visual {
        padding: 1rem;
    }
    
    .search-bar {
        padding: 0.5rem;
    }
    
    .search-bar span {
        font-size: 0.8rem;
    }
    
    .result-item {
        padding: 0.5rem;
    }
    
    .result-title {
        font-size: 0.9rem;
    }
    
    .result-description {
        font-size: 0.75rem;
    }
    
    .what-is-seo h2,
    .seo-types h2,
    .seo-process h2,
    .seo-quiz h2,
    .seo-benefits h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }
    
    .what-is-seo .lead,
    .seo-types .lead,
    .seo-process .lead,
    .seo-quiz .lead,
    .seo-benefits .lead,
    .faq-section .lead {
        font-size: 0.9rem;
    }
    
    .definition-card {
        padding: 1rem;
    }
    
    .definition-icon {
        width: 45px;
        height: 45px;
    }
    
    .definition-icon i {
        font-size: 1.1rem;
    }
    
    .definition-content h4 {
        font-size: 1rem;
    }
    
    .definition-content p {
        font-size: 0.85rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .seo-type-card,
    .benefit-card {
        padding: 1.25rem;
    }
    
    .card-icon,
    .benefit-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i,
    .benefit-icon i {
        font-size: 1.3rem;
    }
    
    .seo-type-card h3,
    .benefit-card h4 {
        font-size: 1rem;
    }
    
    .seo-type-card p,
    .benefit-card p {
        font-size: 0.85rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    .process-timeline::before {
        left: 15px;
    }
    
    .process-step {
        gap: 0.75rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-content {
        padding: 1rem;
    }
    
    .step-content h4 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .tool-tag {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }
    
    .quiz-container {
        padding: 1.25rem;
    }
    
    .question h3 {
        font-size: 1rem;
    }
    
    .option {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .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,
    .definition-card,
    .seo-type-card,
    .benefit-card,
    .process-step,
    .option,
    .accordion-button,
    .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;
    }
    
    /* Better focus indicators */
    .highlight-item:focus,
    .definition-card:focus,
    .seo-type-card:focus,
    .benefit-card:focus,
    .process-step:focus,
    .option:focus,
    .accordion-button:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Improve readability */
    .definition-content p,
    .seo-type-card p,
    .benefit-card p,
    .step-content p,
    .accordion-body {
        line-height: 1.7;
    }
    
    /* Better spacing for mobile */
    .seo-features,
    .step-tools {
        margin: 0.75rem 0;
    }
    
    .feature-item,
    .tool-tag {
        margin-bottom: 0.5rem;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile */
    .search-engine-visual {
        animation: none;
    }
    
    .definition-card,
    .stat-card,
    .seo-type-card,
    .benefit-card,
    .process-step,
    .option {
        transition: all 0.2s ease;
    }
    
    /* Reduce hover effects on mobile */
    .definition-card:hover,
    .stat-card:hover,
    .seo-type-card:hover,
    .benefit-card:hover,
    .process-step:hover,
    .result-item:hover {
        transform: none;
    }
    
    /* Optimize scroll */
    html {
        scroll-behavior: auto;
    }
    
    /* Reduce shadows for better performance */
    .definition-card,
    .stat-card,
    .seo-type-card,
    .benefit-card,
    .step-content,
    .quiz-container,
    .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;
    }
    
    .seo-highlights {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .highlight-item {
        flex: 1;
        padding: 0.5rem;
    }
    
    .seo-illustration {
        height: 200px;
        margin-top: 1rem;
    }
    
    .search-engine-visual {
        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;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .definition-card,
    .stat-card,
    .seo-type-card,
    .benefit-card {
        padding: 2rem;
    }
    
    .step-content {
        padding: 2rem;
    }
    
    .accordion-button {
        padding: 1.75rem;
    }
    
    .accordion-body {
        padding: 1.75rem;
    }
}

/* Mobile Touch Interactions */
@media (max-width: 768px) {
    /* Touch feedback for interactive elements */
    .highlight-item,
    .definition-card,
    .seo-type-card,
    .benefit-card,
    .process-step,
    .option,
    .accordion-button,
    .btn {
        -webkit-tap-highlight-color: transparent;
    }
    
    .highlight-item:active,
    .definition-card:active,
    .seo-type-card:active,
    .benefit-card:active,
    .process-step:active,
    .option:active,
    .accordion-button:active,
    .btn:active {
        transform: scale(0.98);
    }
    
    /* Improve quiz touch experience */
    .option {
        touch-action: manipulation;
    }
    
    /* Better spacing for touch targets */
    .process-step {
        margin-bottom: 2.5rem;
    }
    
    .seo-type-card,
    .benefit-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 quiz content */
    .quiz-content {
        margin-bottom: 1.5rem;
    }
}

/* Mobile Loading States */
@media (max-width: 768px) {
    /* Reduce loading animations for better performance */
    .definition-card,
    .stat-card,
    .seo-type-card,
    .benefit-card,
    .process-step,
    .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 */
    .definition-content,
    .seo-type-card,
    .benefit-card,
    .step-content,
    .quiz-container,
    .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) {
    .search-engine-visual,
    .definition-card,
    .stat-card,
    .seo-type-card,
    .benefit-card,
    .process-step,
    .option,
    .accordion-button {
        animation: none;
        transition: none;
    }
    
    .definition-card:hover,
    .stat-card:hover,
    .seo-type-card:hover,
    .benefit-card:hover,
    .process-step:hover,
    .result-item:hover {
        transform: none;
    }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .definition-card,
    .stat-card,
    .seo-type-card,
    .benefit-card,
    .step-content,
    .quiz-container,
    .accordion-item,
    .accordion-button,
    .accordion-body {
        background: #2c3e50;
        color: #ecf0f1;
    }
    
    .definition-content h4,
    .seo-type-card h3,
    .benefit-card h4,
    .step-content h4,
    .accordion-button {
        color: #ecf0f1;
    }
    
    .definition-content p,
    .seo-type-card p,
    .benefit-card p,
    .step-content p,
    .accordion-body {
        color: #bdc3c7;
    }
    
    .feature-item span,
    .tool-tag {
        color: #bdc3c7;
    }
    
    .search-engine-visual {
        background: #34495e;
        color: #ecf0f1;
    }
    
    .search-bar {
        background: #2c3e50;
        border-color: #34495e;
    }
    
    .result-item {
        background: #34495e;
        color: #ecf0f1;
    }
} 