/* =========================================================
   /ipachat — Dedicated product page. Same design language
   as /virtu and /ipa: blue hero + alternating feature
   sections + usecase grid + final CTA.
   ========================================================= */

#ipachat.ipachat-page {
    color: #1a2a3a;
    background: #fff;
    padding: 0;
    margin: 0;
}
#ipachat.ipachat-page .container {
    max-width: 1140px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/* ---------- Hero ---------- */
.ipachat-hero {
    background: linear-gradient(135deg, #00549a 0%, #003d72 100%);
    color: #fff;
    padding: 120px 0 70px;
    position: relative;
    overflow: hidden;
}
.ipachat-hero::after {
    content: "";
    position: absolute;
    right: -140px; top: -140px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(74, 168, 255, 0.26), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ipachat-hero .container { position: relative; z-index: 1; }

.ipachat-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: center;
}

.ipachat-badge {
    display: inline-block;
    background: #ffe500;
    color: #1a2a3a;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 22px;
    box-shadow: 0 2px 10px rgba(255, 229, 0, 0.4);
}

.ipachat-hero-text h1 {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 22px;
    color: #fff;
    letter-spacing: -0.01em;
}
.ipachat-hero-lead {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px;
}
.ipachat-hero-caption {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    letter-spacing: 0.02em;
}
.ipachat-hero-caption > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ipachat-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ipachat-dot--blue   { background: #4aa8ff; box-shadow: 0 0 10px rgba(74, 168, 255, 0.65); }
.ipachat-dot--yellow { background: #f1c40f; box-shadow: 0 0 10px rgba(241, 196, 15, 0.65); }
.ipachat-dot--green  { background: #28a745; box-shadow: 0 0 10px rgba(40, 167, 69, 0.65); }

.ipachat-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.ipachat-btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.15s ease;
    cursor: pointer;
    border: 1.5px solid transparent;
}
.ipachat-btn--primary {
    background: #ffe500;
    color: #1a2a3a !important;
    border-color: #d8ca52;
    box-shadow: 0 4px 14px rgba(216, 202, 82, 0.35);
}
.ipachat-btn--primary:hover {
    background: #f5d900;
    color: #111 !important;
    transform: translateY(-1px);
    box-shadow: 0 7px 20px rgba(216, 202, 82, 0.5);
}
.ipachat-btn--ghost {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.5);
}
.ipachat-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
    color: #fff !important;
}
.ipachat-btn--lg {
    padding: 16px 32px;
    font-size: 14px;
}

.ipachat-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ipachat-hero-illus {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}
.ipachat-hero-illus svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.28));
}

/* ---------- Composition (screen + tablet + phone) ---------- */
.ipachat-compose {
    position: relative;
    padding-top: 78%; /* 10:7.8 aspect ratio box */
}
.ipachat-compose .ipachat-layer {
    position: absolute;
    object-fit: contain;
    display: block;
}
.ipachat-compose .ipachat-layer--screen {
    top: 0;
    left: 16%;
    max-height: 78%;
    max-width: 61%;
    z-index: 1;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.32));
}
.ipachat-compose .ipachat-layer--tablet {
    left: 6%;
    bottom: 3%;
    max-height: 60%;
    max-width: 54%;
    z-index: 2;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.36));
}
.ipachat-compose .ipachat-layer--phone {
    right: 0;
    bottom: 0;
    max-height: 80%;
    max-width: 30%;
    z-index: 3;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.42));
}

/* ---------- Feature nav ---------- */
.ipachat-featurenav {
    background: #fff;
    border-bottom: 1px solid #e5eaf0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.ipachat-featurenav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}
.ipachat-featurenav li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 4px;
    color: #00549a;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: border-color 0.15s;
}
.ipachat-featurenav li a:hover,
.ipachat-featurenav li a:focus {
    border-bottom-color: #ffe500;
    color: #003d72;
    text-decoration: none;
}

/* ---------- How it works (steps) — aligned with sector pages "sol-scenario-steps" ---------- */
.ipachat-howitworks {
    background: #fff;
    padding: 80px 0 70px;
    text-align: center;
}
.ipachat-howitworks h2 {
    font-size: 30px;
    color: #00549a;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.ipachat-howitworks-sub {
    font-size: 16px;
    color: #586b7d;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.ipachat-steps {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 22px;
}
.ipachat-step {
    position: relative;
    padding: 30px 18px 22px;
    background: #fff;
    border: 1px solid #e3ebf3;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 84, 154, 0.06);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ipachat-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 84, 154, 0.14);
}
.ipachat-step-num {
    position: absolute;
    top: -18px;
    left: 18px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00549a 0%, #003d72 100%);
    color: #fff;
    font-weight: 900;
    font-size: 17px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 84, 154, 0.32);
}
.ipachat-step h3 {
    font-size: 16px;
    font-weight: 800;
    color: #1a2a3a;
    margin: 0 0 8px;
    line-height: 1.3;
    letter-spacing: 0;
}
.ipachat-step p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #586b7d;
    margin: 0;
}
/* Arrow between steps on desktop (same pattern as sol-scenario-steps) */
.ipachat-step:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #b4c3d0;
    font-weight: 900;
    z-index: 1;
}
@media (max-width: 900px) {
    .ipachat-steps { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
    .ipachat-step:not(:last-child)::after { display: none; }
}
@media (max-width: 500px) {
    .ipachat-steps { grid-template-columns: 1fr; }
    .ipachat-howitworks h2 { font-size: 24px; }
}

/* ---------- Feature sections ---------- */
.ipachat-feature {
    padding: 80px 0;
}
.ipachat-feature--light { background: #fff; }
.ipachat-feature--dark  { background: #f6f9fc; }
.ipachat-feature h2 {
    color: #00549a;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}
.ipachat-feature p {
    color: #1a2a3a;
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 22px;
    max-width: 820px;
}
.ipachat-feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 40px;
    max-width: 900px;
}
.ipachat-feature ul li {
    position: relative;
    padding: 6px 0 6px 30px;
    font-size: 15px;
    line-height: 1.55;
    color: #1a2a3a;
}
.ipachat-feature ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 16px;
    height: 16px;
    background: #00549a url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.4 11.2 3.2 8l1.1-1.1 2.1 2.1 4.3-4.3 1.1 1.1z'/></svg>") center/10px no-repeat;
    border-radius: 50%;
}
.ipachat-feature strong { color: #00549a; }

/* ---------- Use cases grid ---------- */
.ipachat-usecases {
    background: linear-gradient(135deg, #eaf4ff 0%, #f5f8fb 100%);
    padding: 80px 0;
    text-align: center;
}
.ipachat-usecases h2 {
    font-size: 30px;
    color: #00549a;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
.ipachat-usecases-sub {
    font-size: 16px;
    color: #586b7d;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.ipachat-uc-grid {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.ipachat-uc-grid li {
    background: #fff;
    border: 1px solid #e3ebf3;
    border-radius: 12px;
    padding: 22px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #1a2a3a;
    box-shadow: 0 4px 14px rgba(0, 84, 154, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}
.ipachat-uc-grid li:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 84, 154, 0.12);
}
.ipachat-uc-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 84, 154, 0.08);
    color: #00549a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ipachat-uc-icon svg {
    width: 18px;
    height: 18px;
}

/* ---------- Final CTA ---------- */
.ipachat-cta {
    background: linear-gradient(135deg, #00549a 0%, #003d72 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.ipachat-cta h2 {
    color: #fff;
    font-size: 28px;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.ipachat-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0 auto 26px;
    max-width: 640px;
    line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .ipachat-hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .ipachat-hero-visual { order: -1; }
    .ipachat-hero-text h1 { font-size: 32px; }
    .ipachat-hero { padding: 100px 0 50px; }
    .ipachat-feature { padding: 60px 0; }
    .ipachat-feature h2 { font-size: 26px; }
    .ipachat-feature ul { grid-template-columns: 1fr; }
    .ipachat-uc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .ipachat-hero-text h1 { font-size: 28px; }
    .ipachat-hero-ctas .ipachat-btn { width: 100%; text-align: center; }
    .ipachat-uc-grid { grid-template-columns: 1fr; }
    .ipachat-featurenav ul { gap: 18px; }
    .ipachat-featurenav li a { font-size: 12px; padding: 14px 2px; }
}
