/* =========================================
   JUSTWEB OS - OUR IDEAL CLIENTS
   ideal-clients.css · our-ideal-clients.php
   ========================================= */

:root {
    --red:       #D93025;
    --red-glow:  rgba(217,48,37,.22);
    --blue:      #1A56E8;
    --green:     #00C96B;
    --dark:      #0F1117;
    --dark-2:    #161B27;
    --dark-3:    #1C2235;
    --white:     #FFFFFF;
    --off-white: #F7F6F2;
    --cream:     #F0EDE6;
    --ink:       #0E1018;
    --ink-soft:  #6B7280;
    --font-b:    'Plus Jakarta Sans', sans-serif;
    --font-m:    'IBM Plex Mono', monospace;
    --ease:      cubic-bezier(0.16,1,0.3,1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-b);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.mono {
    font-family: var(--font-m);
}

.container-wide {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 44px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.ic-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 10px 14px;
    font-family: var(--font-m);
    font-size: 10px;
    letter-spacing: .18em;
}

.ic-lottie-hero {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.ic-lottie {
    width: 100%;
    height: 100%;
}

.ic-lottie svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.ic-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    background: var(--dark);
    overflow: hidden;
}

.ic-hero__photo,
.ic-hero__photo img,
.ic-hero__scrim,
.ic-hero__grain {
    position: absolute;
    inset: 0;
}

.ic-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .22;
}

.ic-hero__scrim {
    background:
        radial-gradient(circle at top right, rgba(26,86,232,.18), transparent 32%),
        linear-gradient(180deg, rgba(15,17,23,.4) 0%, rgba(15,17,23,.84) 72%, var(--dark) 100%);
}

.ic-hero__grain {
    opacity: .04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
}

.ic-hero__inner {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 180px;
    padding-bottom: 92px;
}

.ic-lottie-hero {
    right: clamp(18px, 4vw, 64px);
    bottom: clamp(20px, 5vw, 58px);
    width: clamp(180px, 24vw, 320px);
    aspect-ratio: 1.2 / 1;
    filter: drop-shadow(0 18px 44px rgba(0,0,0,.22));
}

.ic-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.4);
    font-size: 10px;
    letter-spacing: .18em;
    margin-bottom: 26px;
}

.ic-hero__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(0,201,107,.55);
    animation: icPulse 2.3s ease infinite;
}

@keyframes icPulse {
    0% { box-shadow: 0 0 0 0 rgba(0,201,107,.55); }
    70% { box-shadow: 0 0 0 10px rgba(0,201,107,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,201,107,0); }
}

.ic-hero__title,
.ic-fit__title,
.ic-table__title,
.ic-not-fit__title,
.ic-cta__title,
.ic-fit__card h3,
.ic-not-fit__card h3,
.ic-btn-primary,
.ic-btn-secondary {
    font-family: var(--font-b);
}

.ic-hero__title {
    font-size: clamp(52px, 8vw, 116px);
    font-weight: 800;
    line-height: .94;
    letter-spacing: -.05em;
    color: #fff;
    margin-bottom: 24px;
}

.ic-hero__title em {
    font-style: normal;
    color: var(--red);
    display: block;
}

.ic-hero__sub {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,.58);
}

.ic-hero__signals {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ic-signal {
    padding: 22px 22px 24px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.ic-signal span {
    display: inline-block;
    font-family: var(--font-m);
    font-size: 10px;
    letter-spacing: .16em;
    color: rgba(255,255,255,.42);
    margin-bottom: 12px;
}

.ic-signal strong {
    display: block;
    font-size: 18px;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 10px;
}

.ic-signal p {
    color: rgba(255,255,255,.54);
    font-size: 14px;
    line-height: 1.75;
}

.ic-fit {
    background: var(--cream);
    padding: 108px 0;
    border-top: 1px solid rgba(0,0,0,.04);
}

.ic-fit__header {
    max-width: 760px;
    margin-bottom: 44px;
}

.ic-fit__header .ic-chip,
.ic-not-fit__copy .ic-chip {
    color: var(--red);
    border-color: rgba(217,48,37,.16);
    background: rgba(217,48,37,.06);
}

.ic-fit__title,
.ic-table__title,
.ic-not-fit__title,
.ic-cta__title {
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.04;
    letter-spacing: -.04em;
    color: var(--ink);
    margin: 18px 0 14px;
}

.ic-fit__sub,
.ic-table__sub,
.ic-not-fit__sub,
.ic-cta__body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--ink-soft);
}

.ic-fit__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ic-fit__card,
.ic-not-fit__card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 44px rgba(15,17,23,.06);
}

.ic-fit__card span {
    display: inline-block;
    font-family: var(--font-m);
    font-size: 10px;
    letter-spacing: .18em;
    color: var(--red);
    margin-bottom: 16px;
}

.ic-fit__card h3,
.ic-not-fit__card h3 {
    font-size: 18px;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 12px;
}

.ic-fit__card p,
.ic-not-fit__card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--ink-soft);
}

.ic-table-section {
    position: relative;
    overflow: hidden;
    background: var(--dark-2);
    padding: 104px 0;
}

.ic-table-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 86px 86px;
    opacity: .34;
    pointer-events: none;
}

.ic-table__header {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin-bottom: 32px;
}

.ic-table__header .ic-chip,
.ic-cta__inner .ic-chip {
    color: rgba(255,255,255,.62);
    border-color: rgba(255,255,255,.14);
}

.ic-table__title,
.ic-table__sub,
.ic-cta__title {
    color: #fff;
}

.ic-table__sub,
.ic-cta__body {
    color: rgba(255,255,255,.56);
}

.ic-table-wrap {
    position: relative;
    z-index: 2;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    box-shadow: 0 28px 80px rgba(0,0,0,.26);
}

.icp-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.icp-header,
.icp-row {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr 1.8fr;
    gap: 0;
}

.icp-header-cell {
    padding: 0 18px 10px;
    font-family: var(--font-m);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.48);
}

.icp-row {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    background: rgba(8,10,16,.42);
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.icp-row:hover {
    border-color: rgba(255,255,255,.18);
    transform: translateY(-2px);
    background: rgba(12,14,21,.58);
}

.icp-cell {
    padding: 22px 24px;
    border-right: 1px solid rgba(255,255,255,.08);
}

.icp-cell:last-child {
    border-right: none;
}

.icp-cell--industry {
    display: flex;
    align-items: flex-start;
}

.icp-industry {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.icp-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.icp-icon svg {
    display: block;
}

.industry-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pain-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.pain-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.8);
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255,255,255,.76);
    padding: 2px 0;
}

.solution-list li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    margin-top: 8px;
    flex-shrink: 0;
}

.ic-not-fit {
    background: var(--off-white);
    padding: 104px 0;
}

.ic-not-fit__grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 56px;
    align-items: start;
}

.ic-not-fit__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ic-cta {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    padding: 104px 0;
}

.ic-cta__photo,
.ic-cta__photo img,
.ic-cta__scrim {
    position: absolute;
    inset: 0;
}

.ic-cta__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .16;
}

.ic-cta__scrim {
    background: linear-gradient(135deg, rgba(15,17,23,.92), rgba(21,27,40,.84));
}

.ic-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    text-align: center;
}

.ic-cta__actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ic-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 7px;
    box-shadow: 0 18px 42px var(--red-glow);
    transition: transform .25s ease, background .25s ease;
}

.ic-btn-primary:hover {
    background: #b82920;
    transform: translateY(-2px);
}

.ic-btn-secondary {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.2);
    transition: color .25s ease, border-color .25s ease;
}

.ic-btn-secondary:hover {
    color: #fff;
    border-color: rgba(255,255,255,.6);
}

@media (max-width: 1180px) {
    .container-wide {
        padding: 0 28px;
    }

    .ic-hero__signals,
    .ic-fit__grid,
    .ic-not-fit__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ic-not-fit__grid {
        grid-template-columns: 1fr;
    }

    .ic-table-wrap {
        padding: 22px;
    }

    .ic-lottie-hero {
        width: clamp(150px, 28vw, 240px);
        right: 20px;
        bottom: 18px;
    }

    .icp-header,
    .icp-row {
        grid-template-columns: 1fr 1.2fr 1.2fr;
    }
}

@media (max-width: 768px) {
    .container-wide {
        padding: 0 20px;
    }

    .ic-hero__inner {
        padding-top: 160px;
        padding-bottom: 74px;
    }

    .ic-lottie-hero {
        right: -18px;
        top: 128px;
        bottom: auto;
        width: min(42vw, 180px);
        aspect-ratio: 1 / 1;
        opacity: .58;
    }

    .ic-hero__title {
        font-size: clamp(44px, 11vw, 68px);
    }

    .ic-hero__sub {
        font-size: 16px;
    }

    .ic-hero__signals,
    .ic-fit__grid,
    .ic-not-fit__cards {
        grid-template-columns: 1fr;
    }

    .ic-table-wrap {
        padding: 16px;
    }

    .icp-header {
        display: none;
    }

    .icp-row {
        grid-template-columns: 1fr;
    }

    .icp-cell {
        padding: 18px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .icp-cell:last-child {
        border-bottom: none;
    }

    .ic-cta__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .ic-cta__inner {
        text-align: left;
    }
}
