/* AEO Services Page Specific Styles */

:root {
    --aeo-primary: #0d6efd;
    --aeo-secondary: #22c55e;
    --aeo-dark: #0f172a;
    --aeo-darker: #1e293b;
    --aeo-light: #f8fafc;
    --aeo-accent: #6366f1;
}

/* Hero Section */
.aeo-hero {
    background: linear-gradient(135deg, var(--aeo-dark), var(--aeo-darker));
    padding: 150px 5% 100px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.aeo-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.aeo-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: fadeUp 1s ease forwards;
}

.aeo-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 1.5s ease forwards;
}

/* Animated Search Bar */
.aeo-search-animation {
    margin: 40px auto;
    background: white;
    color: #333;
    padding: 18px 25px;
    border-radius: 60px;
    width: 450px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeUp 2s ease forwards;
}

.aeo-typing {
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid var(--aeo-primary);
    animation: typing 4s steps(30, end) infinite, blink 0.7s infinite;
    font-weight: 500;
}

.aeo-voice-icon {
    color: var(--aeo-primary);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

/* Hero Buttons */
.aeo-hero-buttons {
    margin-top: 30px;
    animation: fadeUp 2.5s ease forwards;
}

.aeo-btn-primary {
    background: var(--aeo-primary);
    color: white;
    border: 2px solid var(--aeo-primary);
}

.aeo-btn-primary:hover {
    background: #0056d2;
    border-color: #0056d2;
    transform: translateY(-3px);
}

.aeo-btn-secondary {
    background: var(--aeo-secondary);
    color: white;
    border: 2px solid var(--aeo-secondary);
}

.aeo-btn-secondary:hover {
    background: #16a34a;
    border-color: #16a34a;
    transform: translateY(-3px);
}

/* AI Animation Container */
.aeo-animation-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 1;
}

.aeo-ai-scan {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(13, 110, 253, 0.3);
}

.aeo-scan-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--aeo-primary), transparent);
    animation: scan 3s infinite;
}

/* Problem Section */
.aeo-problem {
    padding: 80px 5%;
    background: white;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 15px;
}

.aeo-problem-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 30px auto;
    color: #555;
}

.aeo-warning-box {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 10px;
    padding: 25px;
    max-width: 800px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.aeo-warning-box i {
    font-size: 2.5rem;
    color: #856404;
}

.aeo-warning-box p {
    margin: 0;
    color: #856404;
    font-weight: 500;
    font-size: 1.1rem;
}

/* What is AEO Section */
.aeo-what-is {
    padding: 80px 5%;
    background: var(--light-gray);
}

.aeo-explanation {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.aeo-explanation-text {
    flex: 1;
}

.aeo-explanation-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.highlight {
    color: var(--aeo-primary);
    font-weight: 700;
    background: rgba(13, 110, 253, 0.1);
    padding: 2px 8px;
    border-radius: 5px;
}

.aeo-explanation-visual {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.aeo-code-snippet {
    text-align: center;
}

.aeo-code-line {
    background: #1e293b;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.1rem;
}

.aeo-arrow {
    margin: 20px 0;
    font-size: 1.5rem;
    color: var(--aeo-primary);
}

.aeo-snippet-result {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--aeo-primary);
}

.aeo-snippet-badge {
    background: var(--aeo-primary);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
}

/* Why Dubai Needs AEO */
.aeo-why-dubai {
    padding: 80px 5%;
    background: white;
}

.aeo-why-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 30px auto;
    color: #555;
    text-align: center;
}

.aeo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.aeo-stat-item {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.aeo-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.aeo-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--aeo-primary);
    margin-bottom: 10px;
}

.aeo-why-conclusion {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 30px;
}

/* Services Grid */
.aeo-services {
    padding: 80px 5%;
    background: var(--light-gray);
}

.aeo-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.aeo-service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}

.aeo-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom-color: var(--aeo-primary);
}

.aeo-service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.aeo-service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text);
}

.aeo-service-card p {
    color: #666;
    line-height: 1.6;
}

/* AEO Framework Timeline */
.aeo-framework {
    padding: 80px 5%;
    background: white;
}

.aeo-timeline {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
}

.aeo-timeline:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--aeo-primary);
    opacity: 0.3;
}

.aeo-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.aeo-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--aeo-primary), var(--aeo-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.aeo-step-content {
    flex: 1;
    background: var(--light-gray);
    padding: 20px 25px;
    border-radius: 10px;
}

.aeo-step-content h3 {
    margin-bottom: 10px;
    color: var(--text);
}

.aeo-step-content p {
    color: #666;
    margin: 0;
}

/* Dubai Market Authority */
.aeo-dubai-authority {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--aeo-dark), var(--aeo-darker));
    color: white;
}

.aeo-dubai-authority h2 {
    color: white;
}

.aeo-authority-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.aeo-authority-text {
    flex: 1;
}

.aeo-authority-text p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.aeo-authority-list {
    list-style: none;
    margin: 20px 0;
}

.aeo-authority-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aeo-authority-list i {
    color: var(--aeo-secondary);
}

.aeo-authority-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.aeo-map-pin {
    text-align: center;
    animation: bounce 2s infinite;
}

.aeo-map-pin i {
    font-size: 2.5rem;
    color: var(--aeo-secondary);
    margin-bottom: 5px;
}

/* FAQ Section */
.aeo-faq {
    padding: 80px 5%;
    background: white;
}

.aeo-faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
}

.aeo-faq-item {
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.aeo-faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.aeo-faq-question:hover {
    background: rgba(13, 110, 253, 0.05);
}

.aeo-faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.aeo-faq-question i {
    color: var(--aeo-primary);
    transition: transform 0.3s;
}

.aeo-faq-item.active .aeo-faq-question i {
    transform: rotate(180deg);
}

.aeo-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    background: white;
}

.aeo-faq-item.active .aeo-faq-answer {
    max-height: 200px;
    padding: 20px;
    border-top: 1px solid #eee;
}

/* Why Choose Us */
.aeo-why-choose {
    padding: 80px 5%;
    background: var(--light-gray);
    text-align: center;
}

.aeo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.aeo-feature {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.aeo-feature i {
    color: var(--aeo-secondary);
    font-size: 1.2rem;
}

.aeo-quote {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--aeo-primary);
    margin-top: 30px;
}

/* CTA Section */
.aeo-cta {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--aeo-primary), var(--aeo-secondary));
    color: white;
    text-align: center;
}

.aeo-cta h2 {
    color: white;
    font-size: 2.5rem;
}

.aeo-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto;
    opacity: 0.9;
}

.aeo-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 20px;
    flex-wrap: wrap;
}

.aeo-cta-primary {
    background: white;
    color: var(--aeo-primary);
    border: 2px solid white;
}

.aeo-cta-primary:hover {
    background: transparent;
    color: white;
}

.aeo-cta-secondary {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.aeo-cta-secondary:hover {
    background: #128C7E;
    border-color: #128C7E;
}

.aeo-cta-phone {
    margin-top: 20px;
}

.aeo-cta-phone a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.aeo-cta-phone i {
    margin-right: 8px;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 992px) {
    .aeo-hero h1 {
        font-size: 2.8rem;
    }
    
    .aeo-explanation {
        flex-direction: column;
    }
    
    .aeo-authority-content {
        flex-direction: column;
        text-align: center;
    }
    
    .aeo-authority-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .aeo-hero h1 {
        font-size: 2.2rem;
    }
    
    .aeo-search-animation {
        width: 90%;
        max-width: 350px;
    }
    
    .aeo-warning-box {
        flex-direction: column;
        text-align: center;
    }
    
    .aeo-stats {
        grid-template-columns: 1fr;
    }
    
    .aeo-services-grid {
        grid-template-columns: 1fr;
    }
    
    .aeo-features {
        grid-template-columns: 1fr;
    }
    
    .aeo-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .aeo-cta-buttons a {
        width: 100%;
        max-width: 250px;
    }
}