/* ====== SEO OPTIMISATION PAGE STYLES ====== */
/* Using variables from common.css: var(--primary), var(--secondary), etc. */

/* HERO SECTION - EXACT SAME AS WEB DESIGN PAGE */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
}

/* EXACT SAME HERO BACKGROUND AS WEB-DESIGN PAGE */
.hero-bg {
    background: radial-gradient(
        circle at 10% 20%,
        rgba(59, 130, 246, 0.15) 0%,
        transparent 40%
    ),
    radial-gradient(
        circle at 90% 80%,
        rgba(139, 92, 246, 0.15) 0%,
        transparent 40%
    ),
    radial-gradient(
        circle at 50% 50%,
        rgba(34, 197, 94, 0.08) 0%,
        transparent 50%
    );
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content {
    z-index: 2;
}

.tagline {
    font-size: 14px;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 30px;
    animation: fadeIn 1s ease;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary);
    margin-left: 2px;
    animation: blink 1s infinite;
}

h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 1.2s ease;
}

.description {
    color: var(--gray);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 500px;
    animation: fadeIn 1.5s ease;
}

.features {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    animation: fadeIn 2s ease;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 15px;
    padding: 8px 16px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.1);
}

.feature i {
    color: var(--primary);
    font-size: 18px;
}

.buttons {
    display: flex;
    gap: 20px;
    animation: fadeIn 2.5s ease;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    color: white;
}

.secondary-button {
    background: transparent;
    color: var(--gray);
    border: 1px solid #475569;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.secondary-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
}

.secondary-button:hover::before {
    width: 100%;
}

.secondary-button:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

/* SEO-SPECIFIC VISUAL STYLES */
.seo-visual-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.search-bar {
    width: 100%;
    height: 60px;
    background: var(--secondary);
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 0 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid #334155;
}

.search-icon {
    color: var(--primary);
    font-size: 20px;
    margin-right: 15px;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 16px;
    outline: none;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-results {
    width: 100%;
    min-height: 260px;
    background: var(--secondary);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #334155;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-item {
    padding: 15px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.result-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

.result-rank {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-title {
    font-size: 16px;
    color: var(--light);
    margin-bottom: 5px;
    line-height: 1.3;
}

.result-url {
    font-size: 12px;
    color: var(--success);
    margin-bottom: 8px;
}

.result-description {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
}

.search-graph {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 0 0 20px 20px;
    transform-origin: left;
    animation: searchGraph 3s infinite alternate;
}

@keyframes searchGraph {
    0% {
        transform: scaleX(0.3);
    }
    100% {
        transform: scaleX(0.8);
    }
}

/* Animated background elements - EXACT SAME AS WEB DESIGN PAGE */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    background: var(--primary);
    border-radius: 50%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    background: var(--accent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 15%;
    background: var(--success);
    border-radius: 50%;
    animation-delay: -10s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 70%;
    background: var(--warning);
    border-radius: 50%;
    animation-delay: -7s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes blink {
    from,
    to {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* SERVICES SECTION STYLES - Same as web design */
.services {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services.white-theme {
    background: white !important;
    color: #333 !important;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #333;
}

.section-title p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(59, 130, 246, 0.2);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 0;
}

.service-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--primary);
}

/* PROCESS SECTION - Same as web design */
.process {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.process.white-theme {
    background: white !important;
    color: #333 !important;
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.process-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 0 0 calc(16.666% - 34px);
    max-width: 180px;
    min-width: 160px;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px 20px;
    border: 1px solid #e9ecef;
    transition: all 0.4s ease;
    margin: 0;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    background: var(--primary);
    color: white;
    transform: scale(1.15) rotate(5deg);
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 0;
}

/* FEATURES/BENEFITS SECTION */
.features-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.features-section.white-theme {
    background: white !important;
    color: #333 !important;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: #f8f9fa;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(59, 130, 246, 0.2);
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* PRICING/RESULTS SECTION */
.pricing {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.pricing.white-theme {
    background: white !important;
    color: #333 !important;
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pricing-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
    text-align: center;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.pricing-period {
    color: #666;
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 0;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--primary);
}

/* CTA SECTION - EXACT SAME AS WEB DESIGN PAGE */
.cta-section {
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
    background: white !important;
}

.cta-bg {
    background: radial-gradient(
        circle at 20% 50%,
        rgba(59, 130, 246, 0.08) 0%,
        transparent 40%
    ),
    radial-gradient(
        circle at 80% 50%,
        rgba(139, 92, 246, 0.08) 0%,
        transparent 40%
    ),
    linear-gradient(90deg, rgba(15, 23, 42, 0.7) 0%, transparent 50%);
    background-size: 180% 180%;
    animation: gradientFlow 25s ease infinite;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-align: center;
}

.cta-container h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #333 !important;
}

.cta-container p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #666 !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* WHITE THEME STYLES - EXACT SAME AS WEB DESIGN PAGE */
.white-theme {
    background: white !important;
    color: #333 !important;
}

.white-theme .section-bg.services-bg,
.white-theme .section-bg.features-bg,
.white-theme .section-bg.showcase-bg,
.white-theme .section-bg.process-bg,
.white-theme .section-bg.pricing-bg {
    display: none !important;
}

.white-theme .service-card,
.white-theme .feature-card,
.white-theme .showcase-item,
.white-theme .process-step,
.white-theme .pricing-card,
.white-theme .benefit-card {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    color: #333 !important;
}

.white-theme .section-title h2,
.white-theme .section-title h3,
.white-theme .service-card h3,
.white-theme .feature-card h4,
.white-theme .showcase-content h3,
.white-theme .process-step h3,
.white-theme .pricing-card h3,
.white-theme .benefit-card h3,
.white-theme .cta-container h2 {
    color: #333 !important;
}

.white-theme .section-title p,
.white-theme .service-card p,
.white-theme .feature-card p,
.white-theme .service-features li,
.white-theme .showcase-content p,
.white-theme .process-step p,
.white-theme .pricing-features li,
.white-theme .benefit-card p,
.white-theme .cta-container p {
    color: #666 !important;
}

.white-theme .service-icon,
.white-theme .feature-card-icon,
.white-theme .benefit-icon,
.white-theme .result-icon,
.white-theme .step-number {
    background: rgba(59, 130, 246, 0.1) !important;
    color: var(--primary) !important;
}

.white-theme .service-features li i,
.white-theme .pricing-features li i,
.white-theme .feature-list li i,
.white-theme .showcase-link {
    color: var(--primary) !important;
}

.white-theme .service-card:hover,
.white-theme .feature-card:hover,
.white-theme .showcase-item:hover,
.white-theme .process-step:hover,
.white-theme .pricing-card:hover,
.white-theme .benefit-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: #dee2e6 !important;
}

.white-theme .service-card::before,
.white-theme .service-card::after,
.white-theme .process-steps::before {
    display: none !important;
}

.white-theme .tab-button {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #ddd !important;
    color: #666 !important;
}

.white-theme .tab-button.active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

.white-theme .tab-button:hover:not(.active) {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.white-theme .features-tab-content {
    background: transparent !important;
}

.white-theme .feature-content h3 {
    color: #333 !important;
}

.white-theme .feature-list li {
    color: #666 !important;
    border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}

.white-theme .showcase-image {
    background: #e9ecef !important;
}

.white-theme .pricing-card.popular {
    border-color: var(--primary) !important;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15) !important;
}

.white-theme .pricing-card.popular::before {
    background: var(--primary) !important;
    color: white !important;
}

.white-theme .pricing-price {
    color: var(--primary) !important;
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
    h1 {
        font-size: 46px;
    }
    
    .section-title h2 {
        font-size: 36px;
    }
    
    .process-step {
        flex: 0 0 calc(33.333% - 30px);
        max-width: 300px;
    }
    
    .cta-container h2 {
        font-size: 38px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .features {
        justify-content: center;
    }
    
    .buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 30px);
        max-width: 280px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-container h2 {
        font-size: 34px;
    }
    
    .search-engine-animation {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 25px 80px !important;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .process-step {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-container h2 {
        font-size: 30px;
    }
    
    .search-engine-animation {
        max-width: 400px;
        min-height: 300px;
    }
    
    .search-results {
        padding: 20px;
    }
    
    .result-item {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 32px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .search-bar {
        height: 50px;
        padding: 0 20px;
    }
    
    .search-results {
        padding: 15px;
    }
    
    .result-item {
        padding: 10px;
        gap: 10px;
    }
    
    .result-rank {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .cta-container h2 {
        font-size: 28px;
    }
    
    .cta-container p {
        font-size: 18px;
    }
}