/* ============================================================
   Inner Pages — Shared Styles
   ============================================================ */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: #fff;
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120,119,198,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,119,198,0.3) 0%, transparent 50%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.page-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.88rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb span {
    margin: 0 0.4rem;
}

/* Colour-coded hero variants */
.page-hero-tiktok {
    background: linear-gradient(135deg, #010101 0%, #69c9d0 50%, #ee1d52 100%);
}

.page-hero-walmart {
    background: linear-gradient(135deg, #0071CE 0%, #007DC6 50%, #FFC220 100%);
}

/* Page Sections */
.page-section {
    padding: 5rem 0;
}

.page-section:nth-child(even) {
    background: #f8fafc;
}

/* Section heading helpers */
.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Service intro block */
.service-intro-block {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.service-intro-badge {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(99,102,241,0.35);
}

.tiktok-badge {
    background: linear-gradient(135deg, #010101, #69c9d0);
}

.walmart-badge {
    background: linear-gradient(135deg, #0071CE, #007DC6);
}

.service-intro-block h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.service-intro-block .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.service-intro-block p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* About page intro */
.about-intro {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.about-intro h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
}

.about-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Timeline (About page) */
.timeline-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 38px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 6px 20px rgba(99,102,241,0.35);
    z-index: 1;
}

.timeline-content {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    flex: 1;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Roadmap */
.roadmap-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.roadmap {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roadmap-item {
    display: flex;
    gap: 1.5rem;
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.roadmap-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.roadmap-monthly {
    border-left: 4px solid var(--accent-color);
}

.roadmap-goal {
    border-left: 4px solid #34d399;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.roadmap-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 56px;
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: rgba(99,102,241,0.12);
    color: var(--primary-color);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    text-align: center;
    white-space: nowrap;
}

.step-badge-monthly {
    background: rgba(245,158,11,0.15);
    color: var(--accent-color);
}

.roadmap-content { flex: 1; }

.roadmap-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.roadmap-content h3 i {
    color: var(--primary-color);
    font-size: 1rem;
}

.roadmap-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.roadmap-content ul li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.roadmap-content ul li i {
    color: #34d399;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.roadmap-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Pricing */
.pricing-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.pricing-section .section-title { color: #fff; }
.pricing-section .section-subtitle { color: rgba(255,255,255,0.85); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.18);
}

.pricing-popular {
    border: 2px solid var(--accent-color);
    background: rgba(255,255,255,0.18);
    transform: scale(1.04);
}

.pricing-popular:hover { transform: scale(1.04) translateY(-6px); }

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.pricing-split {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.split-client {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.split-agency {
    font-size: 0.9rem;
    opacity: 0.75;
}

.split-full {
    font-size: 1.2rem;
}

.pricing-btn {
    width: 100%;
    background: var(--accent-color);
    color: #fff;
    padding: 0.85rem;
}

.pricing-btn:hover {
    background: #e08800;
    transform: translateY(-2px);
}

/* Terms */
.terms-section {
    background: #f8fafc;
}

.terms-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.term-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.term-item i {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.term-item .fa-check-circle { color: #34d399; }
.term-item .fa-info-circle  { color: var(--primary-color); }

.term-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.page-cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    text-align: center;
    color: #fff;
}

.page-cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-cta-section p {
    opacity: 0.85;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.page-cta-section .btn.primary {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 8px 25px rgba(245,158,11,0.4);
}

.page-cta-section .btn.primary:hover {
    background: #e08800;
    box-shadow: 0 12px 35px rgba(245,158,11,0.5);
}

/* Why Grid (Walmart page) */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.why-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.why-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 130px 0 60px;
    }

    .timeline::before { left: 28px; }

    .timeline-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.2rem;
    }

    .roadmap-item {
        flex-direction: column;
        gap: 1rem;
    }

    .roadmap-step {
        flex-direction: row;
        min-width: auto;
    }

    .pricing-popular { transform: scale(1); }
    .pricing-popular:hover { transform: translateY(-6px); }
}

@media (max-width: 480px) {
    .timeline-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .timeline::before { display: none; }
}

/* FAQ Accordion */
.faq-section { background: var(--light-color, #f8f9fa); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 1.1rem 1.4rem; background: none; border: none; cursor: pointer;
    font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--text-color, #1a2035);
    text-align: left; gap: 1rem;
}
.faq-question:hover { background: rgba(0,0,0,0.02); }
.faq-icon { font-size: 0.85rem; color: var(--primary-color, #2563eb); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s ease; padding: 0 1.4rem; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 1.4rem 1.1rem; }
.faq-answer p { color: var(--text-light, #6b7280); line-height: 1.7; margin: 0; font-size: 0.96rem; }

@media (max-width: 600px) {
    .faq-question { font-size: 0.93rem; padding: 1rem 1.1rem; }
    .faq-answer { padding: 0 1.1rem; }
    .faq-item.open .faq-answer { padding: 0 1.1rem 1rem; }
}
