/* =========================================================
   IJOVIA PAY — HOME
   Premium fintech / infrastructure presentation
   ========================================================= */

.ij-home {
    --home-bg: #080a0f;
    --home-bg-raised: #0b0f16;
    --home-surface: #11161e;
    --home-surface-2: #151b24;
    --home-text: #f5f7fa;
    --home-muted: #98a2b1;
    --home-subtle: #687383;
    --home-line: rgba(255, 255, 255, .08);

    --home-gold: #f3b72b;
    --home-gold-bright: #ffc94f;
    --home-blue: #4b8dff;
    --home-cyan: #36d4e8;

    color: var(--home-text);
    background: var(--home-bg);
}


/* =========================================================
   HERO
   ========================================================= */

.ij-home-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--home-line);

    background:
        radial-gradient(
            circle at 80% 35%,
            rgba(75, 141, 255, .12),
            transparent 27rem
        ),
        radial-gradient(
            circle at 48% 75%,
            rgba(243, 183, 43, .07),
            transparent 24rem
        ),
        linear-gradient(
            135deg,
            #080a0f 0%,
            #090d14 52%,
            #080b11 100%
        );
}

.ij-home-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .35;
    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );
    background-size: 64px 64px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );
}

.ij-home-hero-glow {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.ij-home-hero-glow-gold {
    width: 380px;
    height: 380px;
    right: 20%;
    bottom: -230px;
    background: rgba(243,183,43,.055);
}

.ij-home-hero-glow-blue {
    width: 520px;
    height: 520px;
    right: -180px;
    top: 50%;
    border: 1px solid rgba(54,212,232,.08);
    box-shadow:
        0 0 0 80px rgba(54,212,232,.015),
        0 0 0 160px rgba(75,141,255,.01);
    transform: translateY(-50%);
}

.ij-home-hero-inner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
    padding: 100px 0;
}

.ij-home-hero-copy {
    position: relative;
    z-index: 2;
}

.ij-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;

    color: #aeb7c4;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ij-home-eyebrow-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--home-gold);
    box-shadow:
        0 0 0 5px rgba(243,183,43,.08);
}

.ij-home-title {
    max-width: 850px;
    margin: 0;

    color: var(--home-text);
    font-size: clamp(3.5rem, 6.2vw, 6.8rem);
    font-weight: 900;
    line-height: .91;
    letter-spacing: -.075em;
}

.ij-home-title span {
    display: block;

    background:
        linear-gradient(
            100deg,
            #ffffff 0%,
            #ffc94f 52%,
            #65d9e5 105%
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ij-home-lead {
    max-width: 650px;
    margin: 30px 0 0;

    color: var(--home-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.ij-home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.ij-home-primary,
.ij-home-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 9px;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 800;
}

.ij-home-primary {
    padding: 0 19px;

    color: #111318 !important;

    background:
        linear-gradient(
            135deg,
            var(--home-gold-bright),
            var(--home-gold)
        );

    box-shadow:
        0 10px 30px rgba(243,183,43,.13);

    transition:
        transform .16s ease,
        box-shadow .16s ease;
}

.ij-home-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(243,183,43,.2);
}

.ij-home-primary i {
    font-size: .65rem;
}

.ij-home-secondary {
    padding: 0 10px;
    color: #c4cbd5;
}

.ij-home-secondary:hover {
    color: #fff;
}

.ij-home-secondary i {
    color: var(--home-gold);
    font-size: .65rem;
}

.ij-home-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 25px;
    margin-top: 32px;
}

.ij-home-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #737e8e;
    font-size: .7rem;
    font-weight: 650;
}

.ij-home-proof i {
    color: var(--home-gold);
    font-size: .65rem;
}


/* =========================================================
   HERO PRODUCT VISUAL
   ========================================================= */

.ij-home-hero-visual {
    position: relative;
    min-height: 480px;
    display: grid;
    place-items: center;
}

.ij-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 50%;
    pointer-events: none;
}

.ij-orbit-one {
    width: 460px;
    height: 460px;
}

.ij-orbit-two {
    width: 610px;
    height: 610px;
    border-color: rgba(54,212,232,.045);
}

.ij-payment-console {
    position: relative;
    z-index: 2;
    width: min(100%, 470px);

    border: 1px solid rgba(255,255,255,.11);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(20,25,34,.96),
            rgba(10,13,19,.98)
        );

    box-shadow:
        0 35px 90px rgba(0,0,0,.38),
        inset 0 1px rgba(255,255,255,.05);

    overflow: hidden;
}

.ij-console-top {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 16px;

    border-bottom: 1px solid rgba(255,255,255,.07);

    color: #778191;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.ij-console-dots {
    display: flex;
    gap: 5px;
}

.ij-console-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #495362;
}

.ij-console-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #71dba1;
}

.ij-console-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #49d98a;
}

.ij-console-request {
    padding: 30px 28px 22px;
}

.ij-console-label {
    color: #687383;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.ij-console-amount {
    margin-top: 8px;
    color: #f7f9fb;
    font-size: 2.1rem;
    font-weight: 850;
    letter-spacing: -.05em;
}

.ij-console-reference {
    margin-top: 5px;
    color: #596474;
    font: .66rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ij-payment-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 20px 22px;

    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);

    background: rgba(255,255,255,.018);
}

.ij-flow-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.ij-flow-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 8px;

    color: #8993a2;
    background: rgba(255,255,255,.025);
}

.ij-flow-active .ij-flow-icon {
    border-color: rgba(243,183,43,.3);
    color: var(--home-gold);
    background: rgba(243,183,43,.06);
}

.ij-flow-item small {
    display: block;
    color: #5f6a79;
    font-size: .49rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.ij-flow-item strong {
    display: block;
    margin-top: 2px;
    color: #dbe0e7;
    font-size: .65rem;
    font-weight: 750;
}

.ij-flow-line {
    width: 22px;
    height: 1px;
    background: #303844;
}

.ij-console-footer {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;

    color: #677282;
    font-size: .58rem;
    font-weight: 650;
}

.ij-console-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ij-console-footer i {
    color: var(--home-cyan);
}


/* =========================================================
   INFRASTRUCTURE
   ========================================================= */

.ij-home-infrastructure {
    position: relative;
    padding: 110px 0 0;
    background:
        linear-gradient(
            180deg,
            #0a0e14 0%,
            #080a0f 100%
        );
}

.ij-home-section-heading {
    max-width: 850px;
    margin: 0 auto 80px;
    text-align: center;
}

.ij-home-kicker {
    display: block;
    margin-bottom: 16px;

    color: var(--home-gold);
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ij-home-section-heading h2 {
    margin: 0;

    color: #f4f6f9;
    font-size: clamp(2.8rem, 5vw, 5.1rem);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.065em;
}

.ij-home-section-heading h2 em {
    color: var(--home-gold);
    font-style: normal;
}

.ij-home-section-heading p {
    max-width: 680px;
    margin: 21px auto 0;

    color: var(--home-muted);
    font-size: .93rem;
    line-height: 1.75;
}


/* =========================================================
   PRODUCT ROW
   ========================================================= */

.ij-home-product {
    position: relative;

    display: grid;
    grid-template-columns: 70px minmax(280px, .78fr) minmax(400px, 1.22fr);

    gap: clamp(30px, 5vw, 75px);
    align-items: center;

    min-height: 390px;
    padding: 54px 0;

    border-top: 1px solid var(--home-line);
}

.ij-home-product:last-child {
    border-bottom: 1px solid var(--home-line);
}

.ij-home-product::before {
    content: "";
    position: absolute;
    inset: 20px -25px;
    z-index: -1;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.025),
            transparent 70%
        );

    opacity: 0;
    transition: opacity .2s ease;
}

.ij-home-product:hover::before {
    opacity: 1;
}

.ij-home-product-index {
    align-self: start;
    padding-top: 4px;

    color: #596474;

    font: 800 .7rem/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    letter-spacing: .1em;
}

.ij-home-product-index i {
    display: block;
    margin-top: 12px;

    color: #414b59;
    font-size: .65rem;
}

.ij-home-product-copy {
    min-width: 0;
}

.ij-home-product-label {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #788392;

    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.ij-home-product-label i {
    color: var(--home-gold);
    font-size: .68rem;
}

.ij-home-product-copy h3 {
    margin: 16px 0 0;

    color: #f0f3f7;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.045em;
}

.ij-home-product-copy p {
    max-width: 490px;
    margin: 17px 0 21px;

    color: var(--home-muted);
    font-size: .88rem;
    line-height: 1.75;
}

.ij-home-product-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #dfe4eb;

    font-size: .75rem;
    font-weight: 750;
    text-decoration: none;
}

.ij-home-product-link i {
    color: var(--home-gold);
    font-size: .63rem;

    transition: transform .16s ease;
}

.ij-home-product-link:hover {
    color: #fff;
}

.ij-home-product-link:hover i {
    transform: translateX(3px);
}


/* =========================================================
   PRODUCT INTERFACES
   ========================================================= */

.ij-product-interface {
    width: 100%;
    min-height: 230px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(19,24,32,.9),
            rgba(10,13,18,.96)
        );

    box-shadow:
        inset 0 1px rgba(255,255,255,.035),
        0 22px 60px rgba(0,0,0,.16);

    overflow: hidden;
}


/* Routing */
.ij-interface-header {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;

    border-bottom: 1px solid rgba(255,255,255,.07);

    color: #727d8c;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.ij-interface-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #72dba1;
}

.ij-interface-status i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #49d98a;
}

.ij-routing-flow {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 42px 20px 32px;
}

.ij-routing-node {
    min-width: 92px;
    padding: 13px 12px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;

    background: rgba(255,255,255,.02);
    text-align: center;
}

.ij-routing-node small {
    display: block;

    color: #687383;
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .09em;
}

.ij-routing-node strong {
    display: block;
    margin-top: 4px;

    color: #dce1e8;
    font-size: .72rem;
}

.ij-routing-main {
    border-color: rgba(243,183,43,.32);
    background: rgba(243,183,43,.055);
}

.ij-routing-main strong {
    color: var(--home-gold-bright);
}

.ij-routing-connector {
    width: 35px;
    height: 1px;
    position: relative;
    background: #343d49;
}

.ij-routing-connector::after {
    content: "";
    position: absolute;
    right: 0;
    top: -2px;

    width: 5px;
    height: 5px;

    border-top: 1px solid #596575;
    border-right: 1px solid #596575;

    transform: rotate(45deg);
}

.ij-routing-providers {
    display: flex;
    gap: 7px;
    padding: 0 18px 17px;
}

.ij-routing-providers span {
    padding: 5px 8px;

    border: 1px solid rgba(255,255,255,.055);
    border-radius: 5px;

    color: #687383;
    background: rgba(255,255,255,.018);

    font-size: .53rem;
}


/* Virtual account */
.ij-account-interface {
    padding: 24px;
}

.ij-account-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.ij-account-top small {
    display: block;

    color: #687383;
    font-size: .53rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.ij-account-top strong {
    display: block;
    margin-top: 5px;

    color: #e4e8ed;
    font-size: .78rem;
}

.ij-account-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #70d99d;

    font-size: .55rem;
    font-weight: 800;
}

.ij-account-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #49d98a;
}

.ij-account-number {
    margin-top: 29px;

    color: #f4f6f8;

    font: 700 1.65rem/1.1 ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    letter-spacing: .02em;
}

.ij-account-bank {
    margin-top: 7px;

    color: #687383;

    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .09em;
}

.ij-account-divider {
    height: 1px;
    margin: 24px 0 20px;

    background: rgba(255,255,255,.07);
}

.ij-account-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ij-account-bottom small {
    display: block;

    color: #687383;
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .09em;
}

.ij-account-bottom strong {
    display: block;
    margin-top: 5px;

    color: #dfe4ea;
    font-size: .75rem;
}


/* Webhooks */
.ij-webhook-interface {
    padding: 22px;
}

.ij-webhook-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding-bottom: 17px;

    border-bottom: 1px solid rgba(255,255,255,.07);

    font: .62rem ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
}

.ij-webhook-top span {
    color: #8b95a3;
}

.ij-webhook-top i {
    margin-right: 6px;
    color: var(--home-cyan);
}

.ij-webhook-top strong {
    color: #6ed69b;
    font-weight: 700;
}

.ij-webhook-code {
    padding: 20px 0;

    font: .67rem/2 ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
}

.ij-webhook-code div {
    display: grid;
    grid-template-columns: 92px 12px minmax(0,1fr);
}

.ij-code-key {
    color: #7d8ba0;
}

.ij-code-value {
    color: #d7a9ff;
}

.ij-code-number {
    color: #7ed9e6;
}

.ij-code-success {
    color: #72dba1;
}

.ij-webhook-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ij-webhook-checks span {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 6px 8px;

    border: 1px solid rgba(255,255,255,.055);
    border-radius: 5px;

    color: #727d8c;
    background: rgba(255,255,255,.018);

    font-size: .52rem;
    font-weight: 650;
}

.ij-webhook-checks i {
    color: #49d98a;
}


/* =========================================================
   DEVELOPER SECTION
   ========================================================= */

.ij-home-developer {
    position: relative;

    padding: 120px 0;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(75,141,255,.07),
            transparent 28rem
        ),
        #0a0e14;

    border-top: 1px solid rgba(255,255,255,.06);
}

.ij-home-developer-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(400px, 1.15fr);
    align-items: center;
    gap: clamp(45px, 8vw, 110px);
}

.ij-home-developer-copy h2 {
    margin: 0;

    color: #f3f5f8;
    font-size: clamp(2.6rem, 4.5vw, 4.6rem);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.065em;
}

.ij-home-developer-copy h2 span {
    display: block;
    color: var(--home-gold);
}

.ij-home-developer-copy p {
    max-width: 500px;
    margin: 22px 0 0;

    color: var(--home-muted);
    font-size: .9rem;
    line-height: 1.75;
}

.ij-api-window {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;

    background: #0d1118;

    box-shadow:
        0 30px 80px rgba(0,0,0,.25),
        inset 0 1px rgba(255,255,255,.035);

    overflow: hidden;
}

.ij-api-window-top {
    min-height: 45px;
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 0 15px;

    border-bottom: 1px solid rgba(255,255,255,.07);

    color: #6f7a89;

    font: .6rem ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
}

.ij-api-dots {
    display: flex;
    gap: 5px;
}

.ij-api-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #47515e;
}

.ij-api-window pre {
    margin: 0;
    padding: 30px;

    overflow-x: auto;

    color: #abb4c1;

    font: .73rem/2 ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
}

.ij-syntax-keyword {
    color: var(--home-gold);
}

.ij-syntax-key {
    color: #7dd7e3;
}

.ij-syntax-number {
    color: #9dbdff;
}

.ij-syntax-string {
    color: #d7a9ff;
}

.ij-syntax-success {
    color: #6ed69b;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.ij-home-final {
    position: relative;
    overflow: hidden;

    padding: 120px 0;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(243,183,43,.09),
            transparent 26rem
        ),
        #080a0f;

    border-top: 1px solid rgba(255,255,255,.06);
}

.ij-home-final-glow {
    position: absolute;
    width: 650px;
    height: 650px;

    left: 50%;
    top: -470px;

    border: 1px solid rgba(243,183,43,.08);
    border-radius: 50%;

    transform: translateX(-50%);

    box-shadow:
        0 0 0 90px rgba(243,183,43,.018),
        0 0 0 180px rgba(75,141,255,.012);

    pointer-events: none;
}

.ij-home-final-inner {
    position: relative;
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
}

.ij-home-final-inner h2 {
    margin: 0;

    color: #f5f7fa;

    font-size: clamp(2.8rem, 5.5vw, 5.7rem);
    font-weight: 900;
    line-height: .93;
    letter-spacing: -.07em;
}

.ij-home-final-inner p {
    max-width: 650px;
    margin: 24px auto 0;

    color: var(--home-muted);
    font-size: .95rem;
    line-height: 1.75;
}

.ij-home-final-inner .ij-home-actions {
    justify-content: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .ij-home-hero-inner {
        grid-template-columns: 1fr;
    }

    .ij-home-hero-copy {
        max-width: 850px;
    }

    .ij-home-hero-visual {
        min-height: 420px;
    }

    .ij-home-product {
        grid-template-columns: 55px minmax(260px, .85fr) minmax(330px, 1.15fr);
        gap: 30px;
    }

    .ij-home-developer-grid {
        grid-template-columns: 1fr;
    }

    .ij-home-developer-copy {
        max-width: 700px;
    }
}


@media (max-width: 800px) {

    .ij-home-hero {
        min-height: auto;
    }

    .ij-home-hero-inner {
        padding: 80px 0 75px;
    }

    .ij-home-title {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .ij-home-product {
        grid-template-columns: 1fr;
        gap: 24px;

        min-height: auto;
        padding: 45px 0 52px;
    }

    .ij-home-product-index {
        padding: 0;
    }

    .ij-home-product-copy {
        max-width: 620px;
    }

    .ij-product-interface {
        min-height: 210px;
    }

    .ij-home-infrastructure {
        padding-top: 85px;
    }

    .ij-home-section-heading {
        margin-bottom: 55px;
    }

    .ij-home-developer,
    .ij-home-final {
        padding: 90px 0;
    }
}


@media (max-width: 560px) {

    .ij-home-hero-inner {
        padding: 65px 0;
    }

    .ij-home-title {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .ij-home-lead {
        font-size: .92rem;
    }

    .ij-home-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ij-home-primary,
    .ij-home-secondary {
        width: 100%;
    }

    .ij-home-proof {
        display: grid;
        gap: 10px;
    }

    .ij-home-hero-visual {
        min-height: 330px;
    }

    .ij-payment-console {
        width: 100%;
    }

    .ij-orbit-one {
        width: 330px;
        height: 330px;
    }

    .ij-orbit-two {
        width: 430px;
        height: 430px;
    }

    .ij-console-request {
        padding: 24px 20px 18px;
    }

    .ij-console-amount {
        font-size: 1.7rem;
    }

    .ij-payment-flow {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ij-flow-line {
        width: 1px;
        height: 16px;
        margin-left: 14px;
    }

    .ij-flow-line::after {
        display: none;
    }

    .ij-routing-flow {
        flex-direction: column;
    }

    .ij-routing-connector {
        width: 1px;
        height: 22px;
    }

    .ij-routing-connector::after {
        top: auto;
        right: -2px;
        bottom: 0;
        transform: rotate(135deg);
    }

    .ij-routing-node {
        width: min(100%, 180px);
    }

    .ij-account-interface,
    .ij-webhook-interface {
        padding: 18px;
    }

    .ij-account-number {
        font-size: 1.25rem;
    }

    .ij-account-bottom {
        gap: 12px;
    }

    .ij-webhook-code div {
        grid-template-columns: 78px 10px minmax(0,1fr);
    }

    .ij-home-developer-copy h2 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .ij-api-window pre {
        padding: 22px;
        font-size: .65rem;
    }

    .ij-home-final-inner h2 {
        font-size: clamp(2.6rem, 12vw, 4rem);
    }
}


@media (prefers-reduced-motion: reduce) {

    .ij-home-product::before,
    .ij-home-primary,
    .ij-home-product-link i {
        transition: none;
    }
}

/* =========================================================
   FINAL PRODUCTION ALIGNMENT — HOME V3.1
   ---------------------------------------------------------
   Homepage-only corrections. Existing content and interactions
   remain untouched.
   ========================================================= */

.ij-home {
    --home-container: 1280px;
    --home-gutter: clamp(20px, 3vw, 32px);
    --home-bg: #080a0f;
    --home-bg-raised: #0b0f16;
    --home-text: #f5f7fa;
    --home-muted: #9aa4b3;
    --home-line: rgba(255,255,255,.075);
    --home-gold: #f3b72b;
    --home-gold-bright: #ffc94f;
    --home-cyan: #36d4e8;

    width: 100%;
    min-width: 0;
    overflow: clip;
    color: var(--home-text);
    background: #080a0f;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Never let an old .pub-container or inline width destroy alignment. */
.ij-home .ij-public-container,
.ij-home .ij-shell,
.ij-home .pub-container {
    width: min(var(--home-container), calc(100% - (var(--home-gutter) * 2))) !important;
    max-width: var(--home-container) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}

/* HERO */
.ij-home .ij-home-hero {
    min-height: 700px;
    background:
        radial-gradient(circle at 82% 42%, rgba(75,141,255,.105), transparent 34rem),
        radial-gradient(circle at 48% 88%, rgba(243,183,43,.055), transparent 28rem),
        linear-gradient(135deg, #080a0f 0%, #0a0e15 54%, #080b11 100%);
}

.ij-home .ij-home-hero-inner {
    width: min(var(--home-container), calc(100% - (var(--home-gutter) * 2))) !important;
    max-width: var(--home-container) !important;
    min-height: 700px;
    margin-inline: auto !important;
    padding-block: 84px;
    grid-template-columns: minmax(0, 1.02fr) minmax(430px, .88fr);
    column-gap: clamp(45px, 6vw, 90px);
}

.ij-home .ij-home-hero-copy {
    max-width: 760px;
    min-width: 0;
}

.ij-home .ij-home-eyebrow {
    margin-bottom: 24px;
    color: #aeb7c4;
    font-size: .69rem;
    font-weight: 750;
    letter-spacing: .085em;
}

.ij-home .ij-home-title {
    max-width: 790px;
    margin: 0;
    color: #f7f8fa;
    font-size: clamp(3.25rem, 5.45vw, 5.55rem);
    font-weight: 900;
    line-height: .93;
    letter-spacing: -.062em;
    text-wrap: balance;
}

.ij-home .ij-home-title span {
    display: block;
    margin-top: .04em;
    background: linear-gradient(100deg, #fff 0%, #ffc94f 52%, #65d9e5 105%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ij-home .ij-home-lead {
    max-width: 630px;
    margin: 30px 0 0;
    color: #a0a9b7;
    font-size: 1rem;
    line-height: 1.78;
}

.ij-home .ij-home-actions {
    margin-top: 30px;
    gap: 14px;
}

.ij-home .ij-home-primary {
    min-height: 49px;
    padding-inline: 20px;
    border-radius: 9px;
    font-size: .8rem;
}

.ij-home .ij-home-secondary {
    min-height: 49px;
    padding-inline: 9px;
    color: #d2d8e0;
    font-size: .78rem;
}

.ij-home .ij-home-proof {
    margin-top: 30px;
    gap: 12px 25px;
}

.ij-home .ij-home-proof span {
    color: #7d8796;
    font-size: .69rem;
}

/* HERO VISUAL */
.ij-home .ij-home-hero-visual {
    min-height: 500px;
    min-width: 0;
}

.ij-home .ij-payment-console {
    width: min(100%, 500px);
    border-radius: 18px;
}

/* INFRASTRUCTURE */
.ij-home .ij-home-infrastructure {
    padding: 108px 0 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(54,212,232,.025), transparent 30rem),
        linear-gradient(180deg, #0a0e14 0%, #080a0f 100%);
}

.ij-home .ij-home-section-heading {
    max-width: 900px;
    margin: 0 auto 68px;
    padding-inline: 10px;
}

.ij-home .ij-home-kicker {
    margin-bottom: 17px;
    font-size: .66rem;
    letter-spacing: .16em;
}

.ij-home .ij-home-section-heading h2 {
    max-width: 850px;
    margin-inline: auto;
    font-size: clamp(2.65rem, 4.6vw, 4.7rem);
    line-height: .97;
    letter-spacing: -.06em;
    text-wrap: balance;
}

.ij-home .ij-home-section-heading p {
    max-width: 690px;
    margin: 22px auto 0;
    color: #929cab;
    font-size: .94rem;
    line-height: 1.8;
}

/* PRODUCT ROWS: consistent left index / copy / interface grid. */
.ij-home .ij-home-product,
.ij-home .ij-home-product-reverse {
    width: 100%;
    min-width: 0;
    grid-template-columns: 58px minmax(290px, .82fr) minmax(430px, 1.18fr);
    column-gap: clamp(34px, 5vw, 78px);
    align-items: center;
    min-height: 390px;
    padding-block: 58px;
    border-top: 1px solid var(--home-line);
}

.ij-home .ij-home-product:last-child {
    border-bottom: 1px solid var(--home-line);
}

/* Do not swap the content/interface order; consistency matters more. */
.ij-home .ij-home-product-reverse {
    grid-template-columns: 58px minmax(290px, .82fr) minmax(430px, 1.18fr);
}

.ij-home .ij-home-product-reverse .ij-home-product-copy,
.ij-home .ij-home-product-reverse .ij-product-interface {
    order: initial;
}

.ij-home .ij-home-product-copy {
    max-width: 510px;
    min-width: 0;
}

.ij-home .ij-home-product-copy h3 {
    margin-top: 16px;
    font-size: clamp(1.9rem, 2.65vw, 2.65rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.ij-home .ij-home-product-copy p {
    max-width: 480px;
    margin: 17px 0 22px;
    color: #929cab;
    font-size: .9rem;
    line-height: 1.78;
}

.ij-home .ij-home-product-link {
    color: #dfe4eb;
    font-size: .76rem;
}

.ij-home .ij-home-product-index {
    align-self: start;
    padding-top: 5px;
    color: #687383;
    font-size: .7rem;
}

.ij-home .ij-home-product-label {
    color: #7e8998;
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .095em;
}

/* Interface panels are product demonstrations, not generic cards. */
.ij-home .ij-product-interface {
    width: 100%;
    max-width: 620px;
    justify-self: end;
    min-width: 0;
}

/* Developer */
.ij-home .ij-home-developer > .ij-public-container,
.ij-home .ij-home-final > .ij-public-container {
    width: min(var(--home-container), calc(100% - (var(--home-gutter) * 2))) !important;
    max-width: var(--home-container) !important;
    margin-inline: auto !important;
}

.ij-home .ij-home-developer-grid {
    grid-template-columns: minmax(320px, .82fr) minmax(430px, 1.18fr);
    gap: clamp(45px, 7vw, 100px);
}

.ij-home .ij-home-developer-copy,
.ij-home .ij-api-window {
    min-width: 0;
}

/* Final CTA */
.ij-home .ij-home-final-inner {
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

/* Kill old inline card presentation only if the legacy markup is still present. */
.ij-home .ij-product-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 1100px) {
    .ij-home .ij-home-hero-inner {
        width: min(100%, calc(100% - 40px)) !important;
        grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
        column-gap: 38px;
    }

    .ij-home .ij-home-title {
        font-size: clamp(3rem, 5.6vw, 5rem);
    }

    .ij-home .ij-home-product,
    .ij-home .ij-home-product-reverse {
        grid-template-columns: 50px minmax(260px, .86fr) minmax(330px, 1.14fr);
        column-gap: 28px;
    }
}

@media (max-width: 900px) {
    .ij-home .ij-home-hero-inner {
        width: min(100%, calc(100% - 40px)) !important;
        min-height: auto;
        grid-template-columns: 1fr;
        row-gap: 48px;
        padding-block: 72px;
    }

    .ij-home .ij-home-hero-copy {
        max-width: 760px;
    }

    .ij-home .ij-home-hero-visual {
        min-height: 390px;
    }

    .ij-home .ij-home-product,
    .ij-home .ij-home-product-reverse {
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 24px;
        row-gap: 34px;
        min-height: auto;
        padding-block: 52px;
    }

    .ij-home .ij-product-interface,
    .ij-home .ij-home-product-reverse .ij-product-interface {
        grid-column: 2;
        justify-self: start;
        max-width: 700px;
    }

    .ij-home .ij-home-developer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ij-home .ij-api-window {
        justify-self: start;
        max-width: 700px;
    }
}

@media (max-width: 640px) {
    .ij-home {
        --home-gutter: 16px;
    }

    .ij-home .ij-public-container,
    .ij-home .ij-shell,
    .ij-home .pub-container,
    .ij-home .ij-home-hero-inner,
    .ij-home .ij-home-developer > .ij-public-container,
    .ij-home .ij-home-final > .ij-public-container {
        width: calc(100% - 32px) !important;
        max-width: none !important;
    }

    .ij-home .ij-home-hero-inner {
        padding-block: 60px;
        row-gap: 42px;
    }

    .ij-home .ij-home-title {
        font-size: clamp(2.65rem, 12vw, 4rem);
        line-height: .94;
        letter-spacing: -.055em;
    }

    .ij-home .ij-home-lead {
        margin-top: 24px;
        font-size: .91rem;
        line-height: 1.72;
    }

    .ij-home .ij-home-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ij-home .ij-home-primary,
    .ij-home .ij-home-secondary {
        width: 100%;
    }

    .ij-home .ij-home-proof {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ij-home .ij-home-hero-visual {
        min-height: 320px;
    }

    .ij-home .ij-home-section-heading {
        margin-bottom: 42px;
        padding-inline: 0;
    }

    .ij-home .ij-home-section-heading h2 {
        font-size: clamp(2.3rem, 10vw, 3.35rem);
    }

    .ij-home .ij-home-section-heading p {
        font-size: .89rem;
    }

    .ij-home .ij-home-product,
    .ij-home .ij-home-product-reverse {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-block: 44px;
    }

    .ij-home .ij-home-product-index {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .ij-home .ij-home-product-index i {
        display: inline-block;
        margin-top: 0;
    }

    .ij-home .ij-product-interface,
    .ij-home .ij-home-product-reverse .ij-product-interface {
        grid-column: 1;
        width: 100%;
        max-width: none;
    }

    .ij-home .ij-home-infrastructure {
        padding-top: 82px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ij-home * {
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        animation-duration: 0s !important;
    }
}

