/* Search Engine Optimization — service page (Next Tech Vision) */
:root {
    --seo-ink: #0b1220;
    --seo-ink-soft: rgba(11, 18, 32, 0.78);
    --seo-accent: #f59e0b;
    --seo-accent-deep: #d97706;
    --seo-cyan: #06b6d4;
    --seo-surface: #f4f7fb;
    --seo-border: rgba(11, 18, 32, 0.10);
    --seo-hero-bg: url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=2000&q=80");
}

.seo-page {
    background: #fff;
    overflow-x: hidden;
}

/* ——— Hero ——— */
.seo-hero {
    position: relative;
    color: #fff;
    padding: 88px 0 70px;
    overflow: hidden;
    background-color: #0b1220;
    background-image:
        linear-gradient(115deg, rgba(11, 18, 32, 0.92) 0%, rgba(15, 23, 42, 0.82) 45%, rgba(8, 47, 73, 0.75) 100%),
        var(--seo-hero-bg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.seo-hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 55% at 20% 20%, rgba(245, 158, 11, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 30%, rgba(6, 182, 212, 0.18), transparent 50%);
    animation: seoAuroraShift 14s ease-in-out infinite alternate;
}

@keyframes seoAuroraShift {
    0% { opacity: 0.85; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.03); }
}

.seo-hero-inner {
    position: relative;
    z-index: 1;
}

.seo-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.4px;
    animation: seoFadeUp 0.8s ease both;
}

.seo-hero-title {
    color: #fff !important;
    font-weight: 900;
    margin-top: 18px;
    margin-bottom: 14px;
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    line-height: 1.12;
    animation: seoFadeUp 0.85s ease 0.08s both;
}

.seo-hero-lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.06rem;
    line-height: 1.75;
    margin-bottom: 22px;
    max-width: 640px;
    animation: seoFadeUp 0.9s ease 0.14s both;
}

@keyframes seoFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo-hero-actions {
    animation: seoFadeUp 0.95s ease 0.2s both;
}

.seo-btn-primary {
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
    font-weight: 800;
    border-radius: 14px;
}

.seo-btn-outline {
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #fff !important;
    font-weight: 800;
    border-radius: 14px;
}

.seo-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.seo-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    animation: seoFadeUp 1s ease 0.26s both;
}

.seo-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.92rem;
}

.seo-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

.seo-hero-metric {
    position: absolute;
    top: -8px;
    left: 8px;
    z-index: 2;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(11, 18, 32, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    animation: seoFloat 5s ease-in-out infinite;
}

@keyframes seoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.seo-metric-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
}

.seo-metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--seo-accent);
    line-height: 1.1;
}

.seo-metric-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.seo-hero-image {
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    animation: seoHeroImageIn 1.1s ease 0.15s both;
}

@keyframes seoHeroImageIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.seo-hero-ring {
    position: absolute;
    width: 72%;
    height: 72%;
    border-radius: 50%;
    border: 2px dashed rgba(6, 182, 212, 0.45);
    right: -10%;
    top: -10%;
    pointer-events: none;
    opacity: 0.65;
    animation: seoRingSpin 28s linear infinite;
}

@keyframes seoRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ——— Sections ——— */
.seo-section-kicker {
    color: var(--seo-accent-deep);
    font-weight: 900;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    font-size: 0.88rem;
}

.seo-section-title {
    font-weight: 900;
    margin-top: 10px;
    margin-bottom: 14px;
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    line-height: 1.22;
    color: var(--seo-ink);
}

.seo-section-subtitle {
    color: var(--seo-ink-soft);
    line-height: 1.75;
    font-size: 1rem;
    font-weight: 600;
}

.seo-lead-text {
    color: var(--seo-ink-soft);
    line-height: 1.75;
    font-weight: 600;
    margin-bottom: 1rem;
}

.seo-checklist {
    list-style: none;
    padding-left: 0;
    margin-top: 18px;
    margin-bottom: 0;
}

.seo-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 700;
    color: rgba(11, 18, 32, 0.9);
}

.seo-about {
    background: linear-gradient(180deg, #fff 0%, var(--seo-surface) 100%);
}

.seo-about-visual {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--seo-border);
    background: #fff;
    box-shadow: 0 20px 50px rgba(11, 18, 32, 0.06);
    padding: 12px;
}

.seo-about-visual img {
    border-radius: 16px;
}

/* ——— Service cards ——— */
.seo-services {
    background: #fff;
}

.seo-card {
    background: #fff;
    border: 1px solid var(--seo-border);
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 16px 36px rgba(11, 18, 32, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.seo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 26px 60px rgba(11, 18, 32, 0.12);
}

.seo-animate-card {
    animation: seoCardIn 0.75s ease both;
    animation-delay: var(--seo-delay, 0ms);
}

@keyframes seoCardIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--seo-accent-deep);
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.15), rgba(6, 182, 212, 0.1));
    margin-bottom: 14px;
    font-size: 1.25rem;
}

.seo-card-title {
    font-weight: 900;
    font-size: 1.12rem;
    margin-bottom: 10px;
    color: var(--seo-ink);
}

.seo-card-text {
    color: var(--seo-ink-soft);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.98rem;
    font-weight: 600;
}

/* ——— Process ——— */
.seo-process {
    background: linear-gradient(180deg, var(--seo-surface) 0%, #fff 72%);
}

.seo-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.seo-step {
    background: #fff;
    border: 1px solid var(--seo-border);
    border-radius: 18px;
    padding: 20px 18px;
    display: flex;
    gap: 16px;
    box-shadow: 0 14px 34px rgba(11, 18, 32, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.seo-step:hover {
    transform: translateX(6px);
    border-color: rgba(6, 182, 212, 0.28);
}

.seo-step-num {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.2), rgba(6, 182, 212, 0.12));
    color: var(--seo-accent-deep);
    font-weight: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.seo-step-body h3 {
    font-weight: 1000;
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--seo-ink);
}

.seo-step-body p {
    margin-bottom: 0;
    color: var(--seo-ink-soft);
    line-height: 1.65;
    font-weight: 600;
}

/* ——— Portfolio ——— */
.seo-portfolio {
    background: #fff;
}

.seo-portfolio-empty {
    padding: 40px 24px;
    border-radius: 18px;
    border: 1px dashed var(--seo-border);
    background: var(--seo-surface);
}

.seo-portfolio-frame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--seo-border);
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 20px 50px rgba(11, 18, 32, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-portfolio-card:hover .seo-portfolio-frame {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(11, 18, 32, 0.14);
}

.seo-portfolio-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-portfolio-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.seo-portfolio-bar span:first-child { background: #f87171; }
.seo-portfolio-bar span:nth-child(2) { background: #fbbf24; }
.seo-portfolio-bar span:nth-child(3) { background: #4ade80; }

.seo-portfolio-screen {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.seo-portfolio-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.seo-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 18, 32, 0.88) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.seo-portfolio-card:hover .seo-portfolio-overlay {
    opacity: 1;
}

.seo-portfolio-overlay h3 {
    font-weight: 900;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.seo-portfolio-overlay p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.seo-portfolio-overlay a {
    color: var(--seo-accent);
    font-weight: 800;
    text-decoration: none;
}

.seo-portfolio-overlay a:hover {
    text-decoration: underline;
}

/* ——— Tiers ——— */
.seo-tiers {
    background: linear-gradient(180deg, #fff 0%, var(--seo-surface) 100%);
}

.seo-tier-card {
    background: #fff;
    border: 1px solid var(--seo-border);
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 16px 36px rgba(11, 18, 32, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.seo-tier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(11, 18, 32, 0.1);
}

.seo-tier-card--featured {
    border-color: rgba(245, 158, 11, 0.45);
    position: relative;
    overflow: hidden;
}

.seo-tier-card--featured::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(6, 182, 212, 0.1));
    z-index: 0;
}

.seo-tier-card--featured .seo-tier-badge,
.seo-tier-card--featured .seo-tier-title,
.seo-tier-card--featured .seo-tier-lead,
.seo-tier-card--featured .seo-tier-list,
.seo-tier-card--featured .btn {
    position: relative;
    z-index: 1;
}

.seo-tier-badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--seo-accent-deep);
    font-weight: 900;
    margin-bottom: 10px;
    font-size: 0.82rem;
}

.seo-tier-badge--featured {
    background: rgba(245, 158, 11, 0.12);
}

.seo-tier-title {
    font-weight: 900;
    margin-bottom: 8px;
    font-size: 1.22rem;
    color: var(--seo-ink);
}

.seo-tier-lead {
    color: var(--seo-ink-soft);
    font-weight: 700;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.seo-tier-list {
    list-style: none;
    padding-left: 0;
    margin-top: 14px;
    margin-bottom: 0;
}

.seo-tier-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 800;
    color: rgba(11, 18, 32, 0.88);
    font-size: 0.95rem;
}

.seo-split {
    background: #fff;
}

/* ——— Stats ——— */
.seo-stats {
    background: linear-gradient(135deg, #0b1220 0%, #0f2847 55%, #0b1220 100%);
}

.seo-stat-num {
    font-weight: 1000;
    font-size: 1.55rem;
    margin-bottom: 6px;
    color: #fff;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .seo-stat-num {
        background: linear-gradient(90deg, #fff, var(--seo-accent));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

.seo-stat-label {
    font-weight: 800;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

/* ——— FAQ ——— */
.seo-faq {
    background: var(--seo-surface);
}

.seo-accordion .accordion-item {
    border: 1px solid var(--seo-border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #fff;
}

.seo-accordion .accordion-button {
    font-weight: 900;
    background: rgba(244, 247, 251, 0.95);
    box-shadow: none;
    color: var(--seo-ink);
}

.seo-accordion .accordion-button:not(.collapsed) {
    color: var(--seo-accent-deep);
}

.seo-accordion .accordion-body {
    color: var(--seo-ink-soft);
    line-height: 1.75;
    font-weight: 650;
}

/* ——— CTA ——— */
.seo-cta-inner {
    padding: 52px 22px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.28), rgba(245, 158, 11, 0) 55%),
        linear-gradient(125deg, rgba(217, 119, 6, 0.95), rgba(11, 18, 32, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.seo-cta-title {
    color: #fff !important;
    font-weight: 1000;
    margin-bottom: 12px;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.seo-cta-lead {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    line-height: 1.7;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.seo-cta-btn {
    font-weight: 900;
    padding: 14px 22px;
    border-radius: 14px;
}

/* ——— Reduced motion ——— */
@media (prefers-reduced-motion: reduce) {
    .seo-hero-aurora,
    .seo-hero-ring,
    .seo-hero-metric,
    .seo-animate-card,
    .seo-hero-title,
    .seo-hero-lead,
    .seo-kicker,
    .seo-hero-actions,
    .seo-hero-badges,
    .seo-hero-image {
        animation: none !important;
    }

    .seo-card:hover,
    .seo-step:hover,
    .seo-tier-card:hover,
    .seo-portfolio-card:hover .seo-portfolio-frame {
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .seo-hero {
        padding: 72px 0 52px;
    }

    .seo-hero-ring {
        display: none;
    }
}
