/* =============================================
   WILIMITS — Premium Service Pages CSS
   Animations, floating effects, glassmorphism
   ============================================= */

/* ---------- Floating particles canvas ---------- */
.sp-hero {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 180px 0 100px;
}

.sp-hero canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.sp-hero .container {
    position: relative;
    z-index: 3;
}

/* ---------- Hero badge ---------- */
.sp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 28px;
    animation: badgePop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.sp-badge svg {
    width: 14px;
    height: 14px;
    fill: #ffd700;
}

@keyframes badgePop {
    from { opacity: 0; transform: scale(0.8) translateY(-10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Hero title ---------- */
.sp-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem) !important;
    color: #fff !important;
    line-height: 1.1 !important;
    margin-bottom: 26px !important;
    letter-spacing: -2px;
    animation: slideUp 0.9s cubic-bezier(0.5,0,0,1) 0.15s both;
}

.sp-hero h1 span {
    background: linear-gradient(135deg, #7dd3fc 0%, #a78bfa 50%, #f9a8d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-hero p {
    font-size: 1.3rem !important;
    color: rgba(255,255,255,0.85) !important;
    max-width: 720px;
    margin: 0 auto 40px !important;
    line-height: 1.7;
    font-weight: 300;
    animation: slideUp 0.9s cubic-bezier(0.5,0,0,1) 0.3s both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sp-hero .sp-hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 0.9s cubic-bezier(0.5,0,0,1) 0.45s both;
}

.sp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 42px;
    background: #fff;
    color: #0540F2 !important;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.sp-btn-primary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    color: #0540F2 !important;
}

.sp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 42px;
    background: transparent;
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.35s ease;
    backdrop-filter: blur(8px);
}

.sp-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-3px);
}

/* ---------- Hero scroll indicator ---------- */
.sp-scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1.5s ease 1.2s both;
}

.sp-scroll-dot {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.sp-scroll-dot::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50%       { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---------- Stats strip ---------- */
.sp-stats {
    padding: 0;
    margin: 0;
    background: var(--secondary-bg);
}

.sp-stats-inner {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    border-radius: 0;
    overflow: hidden;
}

.sp-stat-item {
    flex: 1;
    min-width: 180px;
    padding: 40px 30px;
    text-align: center;
    border-right: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.sp-stat-item:last-child { border-right: none; }

.sp-stat-item::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #7dd3fc);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.sp-stat-item:hover::before { transform: scaleX(1); }

.sp-stat-num {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-color), #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    display: block;
}

.sp-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Section label ---------- */
.sp-section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    background: rgba(5, 64, 242, 0.08);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
}

/* ---------- Feature cards (top 3) ---------- */
.sp-features {
    padding: 100px 0;
}

.sp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.sp-feat-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--card-shadow);
}

.sp-feat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(5,64,242,0.04), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sp-feat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(5,64,242,0.15);
    border-color: rgba(5,64,242,0.3);
}

.sp-feat-card:hover::after { opacity: 1; }

.sp-feat-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-color), #7dd3fc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 28px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(5,64,242,0.3);
}

.sp-feat-card:hover .sp-feat-icon {
    transform: scale(1.15) rotate(5deg);
}

.sp-feat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: var(--text-color);
}

.sp-feat-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* ---------- "Why us" section with alternating layout ---------- */
.sp-why {
    padding: 100px 0;
    background: var(--secondary-bg);
    border-radius: 60px;
    margin: 0 20px;
}

.sp-why-list {
    display: flex;
    flex-direction: column;
    gap: 70px;
    margin-top: 70px;
}

.sp-why-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sp-why-item.reverse { direction: rtl; }
.sp-why-item.reverse > * { direction: ltr; }

.sp-why-visual {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #020024 0%, #090979 50%, #0540F2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-why-visual-icon {
    font-size: 5rem;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
    animation: floatIcon 3s ease-in-out infinite;
}

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

/* Floating blob bg for visual cards */
.sp-why-visual::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    top: -40px; right: -40px;
    animation: blobPulse 4s ease-in-out infinite;
}

.sp-why-visual::after {
    content: '';
    position: absolute;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    bottom: -30px; left: -30px;
    animation: blobPulse 5s ease-in-out infinite reverse;
}

@keyframes blobPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.2); }
}

.sp-why-text h3 {
    font-size: 2rem;
    margin-bottom: 18px;
}

.sp-why-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.sp-why-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-why-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.5;
}

.sp-why-check-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #7dd3fc);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    margin-top: 1px;
}

/* ---------- Process steps ---------- */
.sp-process {
    padding: 100px 0;
}

.sp-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 70px;
    counter-reset: process-counter;
}

.sp-process-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    counter-increment: process-counter;
}

.sp-process-card::before {
    content: counter(process-counter, decimal-leading-zero);
    position: absolute;
    top: 20px; right: 24px;
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--border-color);
    line-height: 1;
    transition: -webkit-text-stroke-color 0.4s ease;
}

.sp-process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(5,64,242,0.12);
    border-color: var(--accent-color);
}

.sp-process-card:hover::before {
    -webkit-text-stroke-color: var(--accent-color);
}

.sp-process-step-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: block;
}

.sp-process-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.sp-process-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- Deep content section ---------- */
.sp-content {
    padding: 100px 0;
    background: var(--card-bg, var(--secondary-bg));
}

.sp-content-inner {
    max-width: 860px;
    margin: 0 auto;
}

.sp-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
    margin-bottom: 20px !important;
    background: linear-gradient(135deg, var(--text-color), var(--text-light)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: block !important;
    text-align: left !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.sp-content p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 50px;
}

.sp-content-block {
    border-left: 4px solid var(--accent-color);
    padding-left: 30px;
    margin-bottom: 50px;
}

/* ---------- Testimonial strip ---------- */
.sp-testi {
    padding: 100px 0;
    background: #000;
    overflow: hidden;
    position: relative;
}

.sp-testi::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5,64,242,0.3), transparent 70%);
    pointer-events: none;
}

.sp-testi::after {
    content: '';
    position: absolute;
    bottom: -80px; right: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125,211,252,0.2), transparent 70%);
    pointer-events: none;
}

.sp-testi h2 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
}

.sp-testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 60px;
}

.sp-testi-card {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 24px;
    padding: 36px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.sp-testi-card::before {
    content: '\201C';
    position: absolute;
    top: 16px; left: 24px;
    font-size: 5rem;
    line-height: 1;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.sp-testi-card:hover {
    border-color: rgba(5,64,242,0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.sp-testi-text {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.sp-testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sp-testi-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #7dd3fc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.sp-testi-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.sp-testi-role {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    margin-top: 2px;
}

.sp-stars {
    color: #ffd700;
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: block;
}

/* ---------- FAQ section ---------- */
.sp-faq {
    padding: 100px 0;
}

.sp-faq-list {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sp-faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sp-faq-item.open {
    border-color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(5,64,242,0.1);
}

.sp-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text-color);
    gap: 16px;
    user-select: none;
}

.sp-faq-icon {
    width: 28px; height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--secondary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--accent-color);
    transition: all 0.3s ease;
    line-height: 1;
}

.sp-faq-item.open .sp-faq-icon {
    background: var(--accent-color);
    color: #fff;
    transform: rotate(45deg);
}

.sp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.5,0,0,1),
                padding 0.3s ease;
    padding: 0 28px;
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.97rem;
}

.sp-faq-item.open .sp-faq-answer {
    max-height: 400px;
    padding: 0 28px 22px;
}

/* ---------- CTA Banner ---------- */
.sp-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #020024 0%, #090979 50%, #0540F2 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.sp-cta::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    animation: ctaOrbit 12s linear infinite;
}

.sp-cta::after {
    content: '';
    position: absolute;
    bottom: -40%; right: -10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    animation: ctaOrbit 8s linear infinite reverse;
}

@keyframes ctaOrbit {
    from { transform: rotate(0deg) translateX(50px); }
    to   { transform: rotate(360deg) translateX(50px); }
}

.sp-cta .container { position: relative; z-index: 1; }

.sp-cta h2 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    margin-bottom: 20px !important;
}

.sp-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ---------- Contact form section ---------- */
.sp-contact {
    padding: 100px 0;
    background: var(--secondary-bg);
}

/* ---------- Floating background orbs ---------- */
.sp-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    z-index: 0;
}

.sp-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(5,64,242,0.35) 0%, transparent 70%);
    top: -100px; left: -150px;
    animation: orbFloat1 8s ease-in-out infinite;
}

.sp-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(125,211,252,0.25) 0%, transparent 70%);
    top: 20%; right: -100px;
    animation: orbFloat2 10s ease-in-out infinite;
}

.sp-orb-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(167,139,250,0.2) 0%, transparent 70%);
    bottom: 0; left: 30%;
    animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, 40px) scale(1.05); }
    66%       { transform: translate(-20px, 20px) scale(0.97); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(-40px, 30px) scale(1.08); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%       { transform: translate(30px, -20px) scale(1.04); }
    80%       { transform: translate(-15px, 10px) scale(0.96); }
}

/* ---------- Reveal animations ---------- */
.sp-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.5,0,0,1);
}

.sp-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.sp-reveal-delay-1 { transition-delay: 0.1s; }
.sp-reveal-delay-2 { transition-delay: 0.2s; }
.sp-reveal-delay-3 { transition-delay: 0.3s; }
.sp-reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
    .sp-why-item,
    .sp-why-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .sp-why-visual {
        aspect-ratio: 16/7;
    }

    .sp-stats-inner {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sp-stat-item {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 600px) {
    .sp-hero {
        min-height: 80vh;
        padding: 150px 0 80px;
    }

    .sp-hero h1 {
        letter-spacing: -1px;
    }

    .sp-hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .sp-why {
        border-radius: 30px;
        margin: 0 10px;
    }

    .sp-stat-item {
        flex: 1 1 100%;
    }
}
