/* ==================================================================
   INFO PAGES — MODERN DESIGN SYSTEM (ip-*)
   Shared across: About / Contact / Support / Our Clients
   All classes are prefixed with ip- to avoid collisions.
================================================================== */

.ip-page {
    position: relative;
    min-height: 100vh;
    --ip-primary: #2563eb;
    --ip-primary-dark: #1d4ed8;
    --ip-cyan: #06b6d4;
    --ip-violet: #8b5cf6;
    --ip-ink: #0f172a;
    --ip-muted: #64748b;
    --ip-border: #e2e8f0;
    background:
        radial-gradient(1100px 560px at 8% -6%, rgba(37, 99, 235, 0.12), transparent 60%),
        radial-gradient(900px 520px at 104% 4%, rgba(6, 182, 212, 0.12), transparent 60%),
        radial-gradient(820px 540px at 50% 116%, rgba(139, 92, 246, 0.12), transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

/* ============================ BLOBS ============================ */
.ip-blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ip-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    animation: ip-blob-float 20s ease-in-out infinite alternate;
}

.ip-blob--1 {
    top: -10%;
    left: -12%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent 70%);
}

.ip-blob--2 {
    bottom: -12%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent 70%);
    animation-delay: -6s;
}

.ip-blob--3 {
    top: 42%;
    left: 58%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
    animation-delay: -12s;
}

@keyframes ip-blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(55px, -50px) scale(1.15);
    }
}

.ip-page-body {
    position: relative;
    z-index: 1;
}

/* ============================ HERO ============================ */
.ip-hero {
    position: relative;
    text-align: center;
    padding: 30px 0 45px;
}

.ip-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: var(--ip-primary);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 50px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.1);
    animation: ip-badge-pulse 3s ease-in-out infinite;
}

@keyframes ip-badge-pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.1);
    }

    50% {
        box-shadow: 0 6px 30px rgba(37, 99, 235, 0.28);
    }
}

.ip-hero-title {
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 22px 0 14px;
}

.ip-hero-sub {
    max-width: 720px;
    margin: 0 auto;
    color: var(--ip-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.ip-text-gradient {
    background: linear-gradient(135deg, var(--ip-primary) 0%, var(--ip-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================ SECTIONS ============================ */
.ip-section {
    position: relative;
    padding: 30px 0;
}

.ip-section-title {
    font-weight: 800;
    color: var(--ip-ink);
}

.ip-section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, var(--ip-primary), var(--ip-cyan));
}

.ip-section-title--start::after {
    margin: 14px 0 0;
}

/* ============================ CARDS ============================ */
.ip-card {
    position: relative;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.ip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(37, 99, 235, 0.16);
    border-color: rgba(37, 99, 235, 0.28);
}

.ip-card--shine {
    overflow: hidden;
}

.ip-card--shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.ip-card--shine:hover::after {
    animation: ip-shine 1s ease;
}

@keyframes ip-shine {
    to {
        left: 130%;
    }
}

/* ============================ ICON CHIP ============================ */
.ip-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #fff;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--ip-primary), var(--ip-cyan));
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.32);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ip-card:hover .ip-icon {
    transform: scale(1.08) rotate(-6deg);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.4);
}

.ip-icon-float {
    animation: ip-icon-float 3.6s ease-in-out infinite;
}

@keyframes ip-icon-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(4deg);
    }
}

/* ============================ BUTTONS ============================ */
.ip-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--ip-primary) 0%, var(--ip-cyan) 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.32);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ip-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.ip-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.44);
}

.ip-btn:hover::before {
    left: 130%;
}

.ip-btn:active {
    transform: translateY(0);
}

/* ============================ FORMS ============================ */
.ip-form-label {
    font-weight: 700;
    color: var(--ip-ink);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.ip-input,
.ip-select {
    width: 100%;
    background-color: #fff;
    border: 2px solid var(--ip-border);
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ip-ink);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ip-input:focus,
.ip-select:focus {
    border-color: var(--ip-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    outline: none;
}

.ip-input::placeholder {
    color: #94a3b8;
}

/* ============================ FEATURES SHOWCASE ============================ */
.ip-feature-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    aspect-ratio: 4 / 3;
    min-height: 300px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.ip-feature-showcase img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ip-feature-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(200deg, rgba(37, 99, 235, 0.18) 0%, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, 0.8) 100%);
}

.ip-feature-showcase::after {
    content: '';
    position: absolute;
    z-index: 1;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent 70%);
    top: -60px;
    inset-inline-end: -60px;
    animation: ip-blob-float 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.ip-feature-showcase:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(37, 99, 235, 0.24);
}

.ip-feature-showcase:hover img {
    transform: scale(1.07);
}

.ip-feature-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 26px;
    color: #fff;
}

.ip-feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.ip-feature-showcase:hover .ip-feature-chip {
    background: linear-gradient(135deg, var(--ip-primary), var(--ip-cyan));
    border-color: transparent;
}

.ip-feature-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.ip-feature-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.92;
    max-width: 480px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ============================ FEATURE ITEMS ============================ */
.ip-feature-item {
    overflow: hidden;
    border-radius: 22px;
}

.ip-feature-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 16px;
}

.ip-feature-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ip-feature-item:hover .ip-feature-img {
    transform: scale(1.08);
}

.ip-feature-num {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 1;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 5px 12px;
    border-radius: 50px;
}

.ip-feature-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 2px 8px 10px;
    margin-top: auto;
}

.ip-feature-body .ip-icon {
    width: 54px;
    height: 54px;
    font-size: 1.2rem;
    border-radius: 15px;
}

/* ============================ TEAM ============================ */
.ip-team-img {
    width: 112px;
    height: 112px;
    margin: 0 auto;
    padding: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ip-primary), var(--ip-cyan));
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.ip-team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    transition: transform 0.4s ease;
}

.ip-card:hover .ip-team-img img {
    transform: scale(1.06);
}

/* ============================ CLIENTS ============================ */
.ip-counter {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ip-primary), var(--ip-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ip-client-img {
    overflow: hidden;
    border-radius: 16px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--ip-border);
    margin-bottom: 16px;
}

.ip-client-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.5s ease;
}

.ip-client-card:hover .ip-client-img img {
    transform: scale(1.07);
}

/* Pagination */
.ip-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.ip-page-btn {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 2px solid var(--ip-border);
    background: #fff;
    color: var(--ip-primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.ip-page-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: var(--ip-primary);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.ip-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.ip-page-info {
    font-weight: 700;
    color: var(--ip-ink);
    margin: 0 6px;
}

/* ============================ TESTIMONIALS ============================ */
.ip-quote {
    font-size: 2rem;
    color: var(--ip-cyan);
    opacity: 0.8;
}

.ip-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 3px;
}

/* ============================ FAQ ============================ */
.ip-faq {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ip-faq:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
}

.ip-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ip-ink);
    -webkit-user-select: none;
    user-select: none;
}

.ip-faq summary::-webkit-details-marker {
    display: none;
}

.ip-faq summary::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--ip-primary);
    border-bottom: 2px solid var(--ip-primary);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.ip-faq[open] summary::after {
    transform: rotate(-135deg);
}

.ip-faq-body {
    padding: 0 24px 22px;
    color: var(--ip-muted);
    line-height: 1.8;
}

/* ============================ CONTACT EXTRAS ============================ */
.ip-social-link {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ip-border);
    font-size: 1.3rem;
    color: var(--ip-ink);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.ip-social-link:hover {
    transform: translateY(-6px) scale(1.08);
    text-decoration: none;
}

.ip-social-link--linkedin {
    color: #0a66c2;
}

.ip-social-link--linkedin:hover {
    background: #0a66c2;
    color: #fff;
    border-color: #0a66c2;
}

.ip-social-link--facebook {
    color: #1877f2;
}

.ip-social-link--facebook:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.ip-social-link--instagram {
    color: #e4405f;
}

.ip-social-link--instagram:hover {
    background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
    color: #fff;
    border-color: transparent;
}

.ip-social-link--twitter {
    color: #0f1419;
}

.ip-social-link--twitter:hover {
    background: #0f1419;
    color: #fff;
    border-color: #0f1419;
}

.ip-phone-card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    background: #fff;
    border: 2px solid var(--ip-border);
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.ip-phone-card:hover {
    transform: translateY(-4px);
    border-color: var(--ip-primary);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16);
    text-decoration: none;
}

.ip-phone-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ip-primary), var(--ip-cyan));
    color: #fff;
    font-size: 1.2rem;
    animation: ip-ring 2.5s ease-in-out infinite;
}

@keyframes ip-ring {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
    }
}

.ip-whatsapp-float {
    position: fixed;
    bottom: 28px;
    inset-inline-start: 28px;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
    z-index: 1060;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: ip-whatsapp-pulse 2.2s ease-in-out infinite;
}

.ip-whatsapp-float:hover {
    transform: scale(1.12) rotate(8deg);
    color: #fff;
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.55);
}

@keyframes ip-whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 767px) {
    .ip-hero {
        padding: 48px 0 28px;
    }

    .ip-section {
        padding: 28px 0;
    }

    .ip-whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 26px;
        bottom: 20px;
        inset-inline-start: 20px;
    }
}

/* ============================ REDUCED MOTION ============================ */
@media (prefers-reduced-motion: reduce) {
    .ip-blob,
    .ip-hero-badge,
    .ip-phone-icon,
    .ip-whatsapp-float,
    .ip-icon-float,
    .ip-feature-showcase::after {
        animation: none !important;
    }

    .ip-card,
    .ip-btn,
    .ip-social-link,
    .ip-faq,
    .ip-icon,
    .ip-page-btn,
    .ip-feature-showcase,
    .ip-feature-showcase img,
    .ip-feature-img {
        transition: none !important;
    }
}
