/* ==========================================================================
   SEO Page Styles - Sporty, Creative, Bright, Dynamic
   ========================================================================== */

.seo-page {
    font-family: 'Inter', sans-serif;
    color: #334155;
    background-color: #f8fafc;
}

/* Animations & Utilities */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes floatDynamic {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}
@keyframes pulseColor {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.text-gradient {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    display: inline-block;
    padding-right: 5px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    z-index: 1;
}
.section-title::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5%;
    width: 110%;
    height: 12px;
    background: rgba(6, 182, 212, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

.seo-page .section-header {
    margin-bottom: 5rem !important;
}

.text-white { color: #fff !important; }

/* Hero Section - Premium Design */
.seo-hero {
    padding: 10rem 0 7rem;
    background: #ffffff;
    background-image: 
        radial-gradient(ellipse at 50% -20%, rgba(37, 99, 235, 0.15), transparent 60%),
        radial-gradient(ellipse at 0% 50%, rgba(6, 182, 212, 0.05), transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(249, 115, 22, 0.05), transparent 50%);
    position: relative;
    overflow: hidden;
}

.seo-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik00MCAwaC0xdjM5aC0zOXYxbTQwLTM5aC0xdjM5aC0zOXYxIiBmaWxsPSIjMjU2M2ViIiBmaWxsLW9wYWNpdHk9IjAuMDMiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPgo8L3N2Zz4=') repeat;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    z-index: 0;
    pointer-events: none;
}

.seo-hero__content {
    max-width: 950px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.seo-hero__subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}
.seo-hero__subtitle::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
    box-shadow: 0 0 10px #2563eb;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.seo-hero__title {
    font-size: 4.5rem;
    line-height: 1.15;
    color: #0f172a;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.seo-hero__title .text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 50%, #3b82f6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    font-style: normal;
    padding-right: 0;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.seo-hero__desc {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.seo-hero__target-note {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}
.seo-hero__target-note::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 12px;
}

.seo-hero__form {
    max-width: 1050px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.seo-hero__form .form-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 100px;
    padding: 0.6rem;
    width: 100%;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.seo-hero__form .form-group:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15), 0 0 0 2px #3b82f6;
}

.seo-hero__form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

/* Fix CF7 Wrapper in SEO form */
.seo-hero__form .input-wrapper .wpcf7-form-control-wrap {
    display: block !important;
    flex: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
}

.seo-hero__form .input-wrapper i {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}
.seo-hero__form .input-wrapper:focus-within i {
    color: #2563eb;
}

.seo-hero__form .input-wrapper input,
.seo-hero__form .input-wrapper select {
    width: 100%;
    border: none;
    padding: 1rem 0.5rem 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
    background: transparent;
    outline: none;
}

.seo-hero__form .input-wrapper select {
    padding-right: 2.5rem;
    cursor: pointer;
}

.seo-hero__form .input-wrapper:last-of-type {
    margin-right: 15px;
}

.seo-hero__form .input-wrapper input::placeholder { color: #94a3b8; }

.seo-hero__form .divider {
    width: 1px;
    height: 30px;
    background: #e2e8f0;
    margin: 0 15px;
}

.seo-hero__form .btn {
    border-radius: 100px;
    padding: 1.2rem 2.5rem;
    font-weight: 800;
    font-size: 1rem;
    background: #0f172a;
    border: none;
    color: white;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: none;
}
.seo-hero__form .btn:hover {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}
.seo-hero__form .btn i {
    position: static;
    color: white;
    margin-left: 8px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.seo-hero__form .btn:hover i {
    transform: translateX(4px);
}

/* Target Section */
.seo-target {
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}

.seo-target__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.seo-target__image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(5deg);
    transition: all 0.5s ease;
}
.seo-target__image img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.seo-target__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.seo-target__list > .target-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.target-item {
    background: #fff;
    padding: 1.8rem;
    border-radius: 16px;
    border: 2px solid #f1f5f9;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.target-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: #2563eb;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}
.target-item:hover {
    transform: translateY(-8px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}
.target-item:hover::before { transform: scaleY(1); }

.target-item__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    transform: skewX(-5deg);
}

.target-item h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.target-item p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Why Choose Section */
.seo-why {
    background: #0f172a;
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.4), transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(6, 182, 212, 0.4), transparent 50%);
    padding: 8rem 0;
    color: #f8fafc;
    position: relative;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.seo-why__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.seo-why__content h2 {
    color: #fff;
}
.seo-why__content .section-title::before {
    background: rgba(37, 99, 235, 0.5);
}

.seo-why__content p {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.why-list {
    list-style: none;
    padding: 0;
    margin-top: 2.5rem;
}

.why-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255,255,255,0.03);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #06b6d4;
    transition: all 0.3s ease;
}
.why-list li:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(10px);
}

.why-list i {
    color: #06b6d4;
    font-size: 1.5rem;
}

.seo-why__image {
    position: relative;
    z-index: 1;
}

.seo-slider {
    position: relative;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 4px solid rgba(255,255,255,0.1);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.seo-slider img {
    width: 100%;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    display: block;
}

.seo-slider img:first-child {
    position: relative;
    height: auto;
}

.seo-slider img:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

.seo-slider img.active {
    opacity: 1;
}

.floating-badge {
    position: relative;
    margin: 20px auto 0;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.4);
    animation: floatDynamic 4s ease-in-out infinite;
    border: 2px solid rgba(255,255,255,0.2);
    width: max-content;
    z-index: 10;
}

.badge-icon {
    font-size: 2.5rem;
    color: #fff;
}

.badge-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.8);
}

/* Partners Section */
.seo-partners {
    padding: 6rem 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.partners-header {
    text-align: center;
    margin-bottom: 4rem;
}

.partners-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    text-transform: uppercase;
}

.partners-count {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transform: skewX(-10deg);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.partner-logo {
    width: calc(25% - 3rem);
    min-width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    overflow: hidden;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.partner-logo img {
    max-width: 140px;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Phóng to các logo có nhiều khoảng trắng trong suốt (padding ảo) */
.partner-logo img[alt="VIB"],
.partner-logo img[alt="SCB"],
.partner-logo img[alt="HDBank"],
.partner-logo img[alt="Techcombank"],
.partner-logo img[alt="Acnes"] {
    transform: scale(1.4);
}

/* Các logo mới có nhiều khoảng trắng hơn cần phóng to */
.partner-logo img[alt="Vinamilk"],
.partner-logo img[alt="Aquacity"],
.partner-logo img[alt="Sunplay"] {
    transform: scale(1.5);
}

.partner-logo img[alt="Bosch"],
.partner-logo img[alt="DHL"] {
    transform: scale(2.1);
}

/* Services */
.seo-services {
    padding: 8rem 0;
    background: #f8fafc; /* Slightly off-white for contrast */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: #ffffff;
    padding: 3.5rem 2.5rem;
    text-align: left;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
    border-top: 4px solid #2563eb;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Sporty cut corner */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}

/* Background overlay for hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: #f97316;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.service-card:hover::after {
    transform: translateY(0);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    /* Sporty skew */
    transform: skewX(-15deg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 6px 6px 0px rgba(37, 99, 235, 0.15);
}

.service-icon i {
    transform: skewX(15deg); /* Un-skew the icon itself */
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    background: #f97316;
    color: #ffffff;
    box-shadow: 6px 6px 0px rgba(249, 115, 22, 0.3);
    transform: skewX(-15deg) translateY(-5px);
}

.service-card:hover .service-icon i {
    transform: skewX(15deg) scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    transition: color 0.4s ease;
}

.service-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
    transition: color 0.4s ease;
}

.service-card:hover h3, 
.service-card:hover p {
    color: #ffffff;
}

/* Methods & Commitments */
.seo-methods-commit {
    padding: 6rem 0;
    background: #f8fafc;
}

.methods-commit__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.methods-box, .commit-box {
    padding: 3.5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.methods-box {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: #fff;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}
.methods-box::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.methods-box h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.method-item {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}
.method-item:hover { transform: translateX(10px); }

.method-item i {
    font-size: 2.5rem;
    color: #38bdf8;
}
.method-item h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.method-item p { color: #e0f2fe; margin: 0; font-size: 0.95rem; }

.commit-box {
    background: #fff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.commit-box h2 {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.commit-list {
    margin-top: 2rem;
}

.commit-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 16px;
    margin-bottom: 1.2rem;
    border-left: 4px solid #f97316;
    transition: all 0.3s ease;
}
.commit-item:hover {
    background: #fff;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.1);
    transform: translateX(10px);
}

.commit-icon {
    width: 48px;
    height: 48px;
    background: #ffedd5;
    color: #f97316;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.commit-text { font-weight: 600; color: #334155; font-size: 1.05rem; }

/* Process */
.seo-process {
    padding: 8rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    counter-reset: process-counter;
    margin-top: 4rem;
}

.process-step {
    counter-increment: process-counter;
    position: relative;
    overflow: hidden;
    padding: 2.5rem 2rem 2rem;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.process-step::before {
    content: counter(process-counter, decimal-leading-zero);
    position: absolute;
    top: -5px;
    right: 5px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.05);
    z-index: -1;
    line-height: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    border-color: #3b82f6;
}

.process-step:hover::before {
    color: rgba(37, 99, 235, 0.15);
    transform: scale(1.1) translate(-5px, 5px);
}

.process-step span {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.process-step:hover span {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.process-step h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.process-step p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* Outsource Pricing Section */
.seo-outsource-pricing {
    padding: 8rem 0;
    background: #ffffff;
}

.seo-outsource-pricing .section-header {
    margin-bottom: 4rem;
}

.seo-outsource-pricing .section-header h2 {
    color: #334155;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.outsource-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.outsource-card {
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2rem 2.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.outsource-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.outsource-card.highlighted {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #f1f5f9;
}

.outsource-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #f97316;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.outsource-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
.outsource-icon-wrapper.blue {
    background: #eff6ff;
    color: #2563eb;
}
.outsource-icon-wrapper.orange {
    background: #fff7ed;
    color: #f97316;
}

.outsource-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.outsource-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    min-height: 48px;
}

.outsource-price {
    font-size: 2.8rem;
    font-weight: 900;
    color: #2563eb;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.outsource-price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 5px;
}

.price-commitment {
    font-size: 0.9rem;
    color: #f97316;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.outsource-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    text-align: left;
}
.outsource-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.88rem;
    color: #475569;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-weight: 500;
}
.outsource-features li i {
    color: #10b981;
    font-size: 1.2rem;
    margin-top: 2px;
}

.outsource-card .btn {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-top: auto;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: none;
}
.outsource-card .btn:hover {
    transform: translateY(-2px);
}

.outsource-card .btn-outline-blue {
    background: transparent;
    border: 1px solid #2563eb;
    color: #2563eb;
}
.outsource-card .btn-outline-blue:hover {
    background: #2563eb;
    color: #fff;
}

.outsource-card .btn-orange {
    background: #f97316;
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}
.outsource-card .btn-orange:hover {
    background: #ea580c;
}

.outsource-card .btn-dark {
    background: #0f172a;
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}
.outsource-card .btn-dark:hover {
    background: #1e293b;
}

.outsource-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 1rem;
    color: #64748b;
    font-style: italic;
}

/* Pricing Section */
.seo-pricing {
    padding: 8rem 0;
    background: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 4rem;
}

.price-card {
    background: #fff;
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.price-card.highlighted {
    z-index: 2;
}

.price-card:hover, .price-card.highlighted:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.25);
    border-color: #2563eb;
    z-index: 10;
}

.price-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #f1f5f9;
    color: #475569;
    border-radius: 8px;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlighted .price-badge {
    background: #eff6ff;
    color: #2563eb;
}

.popular-tag {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%) skewX(-10deg);
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    padding: 0.6rem 2rem;
    border-radius: 6px;
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
    white-space: nowrap;
}

.price-card h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #0f172a;
}

.price-value {
    font-size: 3rem;
    font-weight: 900;
    color: #2563eb;
    margin: 1.5rem 0;
    line-height: 1;
}

.price-value span {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    text-align: left;
}

.price-features li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: #334155;
    font-weight: 500;
}

.price-features i {
    color: #10b981;
    font-size: 1.2rem;
    margin-top: 2px;
}

.price-features .disabled { color: #94a3b8; }
.price-features .disabled i { color: #cbd5e1; }

.price-card .btn {
    width: 100%;
    border-radius: 8px;
    padding: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    transform: skewX(-5deg);
    transition: all 0.3s ease;
    display: block;
    margin-top: auto;
}

.btn-outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #475569;
}
.btn-outline:hover { 
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    transform: skewX(-5deg) translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
    transform: skewX(-5deg) translateY(-3px);
    color: #fff;
}

.btn-outline-blue {
    background: transparent; border: 2px solid #2563eb; color: #2563eb;
}
.btn-outline-blue:hover { background: #2563eb; color: #fff; }
.btn-dark {
    background: #0f172a; border: none; color: #fff; box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}
.btn-dark:hover { background: #1e293b; color: #fff; box-shadow: 0 15px 30px rgba(15, 23, 42, 0.3); transform: skewX(-5deg) translateY(-3px); }

/* CTA Section */
.seo-cta {
    background: #0f172a;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.3), transparent 70%);
    color: #fff;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.seo-cta h2 {
    color: #fff;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.seo-cta p {
    max-width: 650px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    color: #cbd5e1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-orange {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    transform: skewX(-5deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-orange:hover {
    transform: skewX(-5deg) translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.4);
    color: #fff;
}
.btn-glow-orange {
    animation: pulseColor 2s infinite;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    background: rgba(255,255,255,0.05);
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    transform: skewX(-5deg);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.btn-outline-white:hover {
    background: #fff;
    color: #0f172a;
    border-color: #fff;
    transform: skewX(-5deg) translateY(-3px);
}

/* Responsive */
@media (max-width: 1200px) {
    .seo-hero__title { font-size: 3.5rem; }
}

@media (max-width: 1024px) {
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid { gap: 1.5rem; }
    .price-card { padding: 2.5rem 1.5rem; }
    .price-card.highlighted { padding: 3.5rem 1.5rem; }
    .seo-target__row, .seo-why__row, .methods-commit__row { gap: 3rem; }
}

@media (max-width: 991px) {
    .seo-target__row, .seo-why__row, .methods-commit__row { grid-template-columns: 1fr; }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .outsource-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .price-card.highlighted { padding: 3rem 2rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .seo-hero__title { font-size: 2.8rem; }
    .section-title { font-size: 2.4rem; }
    .seo-why { clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%); padding: 6rem 0; }
}

@media (max-width: 768px) {
    .seo-cta { padding: 4rem 0; }
    .seo-cta h2 { font-size: 2rem; }
    .seo-cta p { display: none; }
    .methods-box, .commit-box { padding: 1.8rem 1.2rem; }
    .methods-box h2, .commit-box h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }
    .method-item { gap: 1rem; padding: 1.2rem; flex-direction: column; text-align: center; align-items: center; }
    .method-item i { font-size: 2rem; }
    .commit-item { gap: 1rem; padding: 1.2rem; }
    
    .seo-hero__desc, .seo-hero__target-note { display: none !important; }
    .seo-target__list, .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { gap: 1rem; }
    .partner-logo { width: calc(50% - 0.5rem); min-width: 0; padding: 1rem; }
    .partner-logo:nth-child(n+7) { display: none; }
    .cta-buttons { flex-direction: column; gap: 1rem; }
    .seo-hero__form .form-group {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
    }
    .seo-hero__form .input-wrapper {
        width: 100%;
        margin-bottom: 1rem;
    }
    .seo-hero__form .input-wrapper input,
    .seo-hero__form .input-wrapper select {
        background: #fff;
        width: 100%;
        padding: 1rem;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
    }
    .seo-hero__form .divider { display: none; }
    .seo-hero__form .btn { width: 100%; transform: none; margin-top: 0.5rem; }
    .seo-hero__form .btn:hover { transform: translateY(-3px); }
    .seo-hero__form .input-wrapper i { display: none; }
}

@media (max-width: 480px) {
    .process-grid { grid-template-columns: 1fr; }
    .seo-hero__title { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .seo-why { clip-path: none; padding: 5rem 0; }
}

/* CF7 Wrapper Fix for Inline Forms */
.input-wrapper .wpcf7-form-control-wrap {
    display: block;
    flex-grow: 1;
    width: 100%;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
    width: 100%;
    text-overflow: ellipsis;
}

