/* ================================================
   SEO PAGE CSS - Prestige Growth Media
   ================================================ */

/* ---- SEO Hero Section ---- */
.seo-hero {
    padding: 80px 0 70px;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.seo-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
}

.seo-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left */
.seo-hero-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 18px;
}

.seo-hero-title {
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 22px;
}

.seo-hero-title span {
    color: var(--red);
    display: block;
}

.seo-hero-desc {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 34px;
    max-width: 500px;
}

.seo-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.seo-hero-features {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.seo-feat-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
}

.seo-feat-item i {
    font-size: 18px;
    color: var(--red);
}

/* Right Image Side */
.seo-hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.seo-hero-img-main {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.seo-hero-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Floating Cards on image */
.seo-float-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatCard 3s ease-in-out infinite;
}

.seo-float-card.card-traffic {
    top: 20px;
    left: -20px;
    animation-delay: 0s;
}

.seo-float-card.card-rank {
    bottom: 30px;
    right: -20px;
    animation-delay: 1.5s;
}

.seo-float-card.card-visibility {
    top: -20px;
    right: 30px;
    animation-delay: 0.8s;
    flex-direction: column;
    text-align: center;
    gap: 4px;
}

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

.float-icon {
    width: 40px;
    height: 40px;
    background: #fff5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 18px;
    flex-shrink: 0;
}

.float-num {
    font-size: 20px;
    font-weight: 900;
    color: var(--black);
    line-height: 1;
}

.float-num span { color: var(--red); }

.float-label {
    font-size: 11px;
    color: var(--gray);
    margin-top: 2px;
}

.rank-badge {
    background: var(--red);
    color: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    text-align: center;
}

.rank-badge .rnum {
    font-size: 22px;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.rank-badge .rlabel {
    font-size: 11px;
    opacity: 0.9;
}

.vis-text {
    font-size: 12px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.3;
    text-align: center;
}

.vis-text span {
    color: var(--red);
    font-style: italic;
}


/* ---- About SEO Section ---- */
.seo-about-section {
    padding: 90px 0;
    background: #f8f9fa;
}

.seo-about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.seo-about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0,0,0,0.1);
}

.seo-about-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.seo-about-img:hover img {
    transform: scale(1.03);
}

.seo-about-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}

.seo-about-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 900;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 18px;
}

.seo-about-title span { color: var(--red); }

.seo-about-desc {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 26px;
}

.seo-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.seo-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
}

.seo-check-item i {
    width: 22px;
    height: 22px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    flex-shrink: 0;
}

.seo-about-results {
    background: var(--black);
    border-radius: 14px;
    padding: 18px 22px;
    display: inline-block;
    margin-top: 20px;
}

.seo-about-results p {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.5;
}

.seo-about-results p span {
    color: var(--red);
    font-size: 17px;
}


/* ---- SEO Services Grid ---- */
.seo-services-section {
    padding: 90px 0;
    background: #fff;
}

.seo-services-header {
    text-align: center;
    margin-bottom: 60px;
}

.seo-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

.seo-service-card {
    background: #fff;
    border: 1.5px solid #efefef;
    border-radius: 14px;
    padding: 28px 18px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.seo-service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.seo-service-card:hover::after { transform: scaleX(1); }

.seo-service-card:hover {
    border-color: transparent;
    box-shadow: 0 10px 35px rgba(0,0,0,0.09);
    transform: translateY(-5px);
}

.seo-sc-icon {
    width: 58px;
    height: 58px;
    background: #fff5f5;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--red);
    transition: all 0.3s ease;
}

.seo-service-card:hover .seo-sc-icon {
    background: var(--red);
    color: #fff;
    transform: scale(1.05);
}

.seo-service-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.3;
}

.seo-service-card p {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 14px;
}

.seo-learn-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.seo-service-card:hover .seo-learn-more { gap: 8px; }


/* ---- Process + Why Us Section ---- */
.seo-process-section {
    padding: 90px 0;
    background: #f8f9fa;
}

.seo-process-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.seo-process-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.seo-process-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 900;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 14px;
}

.seo-process-title span { color: var(--red); }

.seo-process-desc {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Process Steps */
.seo-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
}

.seo-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 42px;
    right: 42px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--red) 0, var(--red) 8px, transparent 8px, transparent 16px);
    z-index: 0;
}

.seo-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.seo-step-num {
    width: 56px;
    height: 56px;
    background: #fff;
    border: 2px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    position: relative;
    transition: all 0.3s ease;
}

.seo-step:hover .seo-step-num {
    background: var(--red);
}

.seo-step-num span {
    font-size: 12px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    transition: color 0.3s;
}

.seo-step:hover .seo-step-num span { color: #fff; }

.seo-step-icon {
    font-size: 18px;
    color: var(--red);
    position: absolute;
    top: -8px;
    right: -4px;
    background: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.seo-step h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
}

.seo-step p {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.5;
}

/* Why Choose Us Box */
.why-us-box {
    background: var(--black);
    border-radius: 20px;
    padding: 36px 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.why-us-box::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: rgba(227,30,36,0.15);
    border-radius: 50%;
}

.why-us-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.why-item i {
    width: 20px;
    height: 20px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    flex-shrink: 0;
}

.why-us-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 16px 20px;
    display: inline-block;
}

.why-us-badge p {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.why-us-badge p span { color: var(--red); }

.why-us-icon-big {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 80px;
    color: rgba(227,30,36,0.1);
}


/* ---- Results / Success Stories ---- */
.seo-results-section {
    padding: 90px 0;
    background: #fff;
}

.seo-results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.seo-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.result-card {
    border: 1.5px solid #efefef;
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.09);
    border-color: transparent;
    transform: translateY(-4px);
}

.result-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.result-stat-icon {
    width: 50px;
    height: 50px;
    background: #fff5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 20px;
    flex-shrink: 0;
}

.result-big-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--black);
    line-height: 1;
}

.result-big-num span { color: var(--red); }

.result-label-small {
    font-size: 12px;
    color: var(--gray);
    margin-top: 3px;
}

.result-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.result-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.result-client {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.result-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), #ff6b6e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.result-client-info span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
}

.result-client-info small {
    font-size: 11px;
    color: var(--gray);
}


/* ---- FAQ Section ---- */
.seo-faq-section {
    padding: 90px 0;
    background: #f8f9fa;
}

.seo-faq-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 70px;
    align-items: start;
}

.faq-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 900;
    color: var(--black);
    margin-bottom: 14px;
    line-height: 1.2;
}

.faq-title span { color: var(--red); }

.faq-desc {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

/* Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #efefef;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: var(--red);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    gap: 12px;
    transition: color 0.3s ease;
    user-select: none;
}

.faq-item.active .faq-question {
    color: var(--red);
}

.faq-question .faq-icon {
    width: 28px;
    height: 28px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 22px 18px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}


/* ---- SEO CTA Section ---- */
.seo-cta-section {
    background: linear-gradient(135deg, var(--red) 0%, #8b0000 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.seo-cta-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.seo-cta-section::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 80px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.seo-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.seo-cta-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 14px;
}

.seo-cta-title {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.seo-cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}

.seo-cta-chart {
    position: absolute;
    right: 220px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.08);
    font-size: 130px;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .seo-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .seo-hero-inner,
    .seo-about-inner,
    .seo-faq-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .seo-hero::before { display: none; }

    .seo-hero-img-main img { height: 320px; }

    .seo-float-card.card-traffic { left: 10px; top: 10px; }
    .seo-float-card.card-rank { right: 10px; bottom: 10px; }
    .seo-float-card.card-visibility { display: none; }

    .seo-process-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .seo-steps::before { display: none; }

    .seo-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .seo-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .seo-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .seo-cta-chart { display: none; }
}

@media (max-width: 768px) {
    .seo-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .seo-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .seo-results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .seo-hero-features { gap: 16px; }

    .seo-services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .seo-about-img img { height: 280px; }

    .seo-float-card { display: none; }

    .seo-steps {
        grid-template-columns: 1fr 1fr;
    }

    .seo-hero-img-main img { height: 260px; }
}
