/* IP Checker product page */
.ip-product-page {
    --ip-deep: #031b31;
    --ip-navy: #063b66;
    --ip-blue: #007aff;
    --ip-cyan: #00a8e8;
    --ip-ink: #10263b;
    --ip-muted: #5d7082;
    color: var(--ip-ink);
    background: #eaf3fb;
    background-image: none;
}

.ip-product-page a {
    color: #006fcf;
}

.ip-product-page .ip-hero {
    position: relative;
    overflow: hidden;
    min-height: 820px;
    padding: 30px 24px 118px;
    color: #fff;
    text-align: start;
    border: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(0, 168, 232, 0.28) 0 220px, transparent 221px),
        radial-gradient(circle at 8% 92%, rgba(0, 122, 255, 0.18) 0 300px, transparent 301px),
        linear-gradient(145deg, #021426 0%, #03345d 58%, #075b7c 100%);
    box-shadow: none;
    backdrop-filter: none;
}

.ip-product-page .ip-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.ip-product-page .lang-switch {
    z-index: 5;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.ip-product-page .lang-switch a {
    min-width: 34px;
    padding: 7px 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
    border-radius: 18px;
}

.ip-product-page .lang-switch a:hover,
.ip-product-page .lang-switch a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    text-decoration: none;
}

.ip-product-page .ip-language-select-wrap {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    display: flex;
    width: auto;
    min-width: 106px;
    height: 34px;
    align-items: center;
    gap: 7px;
    padding: 0 28px 0 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ip-product-page .ip-language-select-wrap:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(135, 225, 255, 0.38);
    transform: translateY(-1px);
}

.ip-product-page .ip-language-select-wrap:active {
    transform: translateY(0);
}

.ip-product-page .ip-language-select-wrap:focus-within {
    border-color: rgba(69, 207, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(69, 207, 255, 0.14), 0 4px 14px rgba(0, 0, 0, 0.1);
}

.ip-language-select-wrap::after {
    position: absolute;
    top: 50%;
    right: 12px;
    color: rgba(223, 247, 255, 0.72);
    font-size: 0.66rem;
    line-height: 1;
    pointer-events: none;
    content: "▾";
    transform: translateY(-50%);
}

.ip-product-page .ip-language-select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 34px;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    background: transparent;
    border: 0;
    border-radius: 21px;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
}

.ip-language-icon {
    position: static;
    z-index: 1;
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    color: #dff7ff;
    background: transparent;
    pointer-events: none;
    transform: none;
}

.ip-language-icon svg {
    display: block;
    width: 17px;
    height: 17px;
}

.ip-language-current {
    color: #f3fbff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.ip-product-page .ip-language-select option {
    color: #15324a;
    background: #fff;
}

html[dir="rtl"] .ip-product-page {
    text-align: right;
}


html[dir="rtl"] .ip-language-select-wrap {
    right: auto;
    left: 20px;
    padding: 0 10px 0 28px;
}

html[dir="rtl"] .ip-language-icon {
    right: auto;
    left: auto;
}

html[dir="rtl"] .ip-language-select-wrap::after {
    right: auto;
    left: 12px;
}

html[dir="rtl"] .ip-product-page .ip-language-select {
    padding: 0;
}

html[dir="rtl"] .ip-actions,
html[dir="rtl"] .ip-pills {
    justify-content: flex-start;
}

.ip-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.ip-back-link {
    display: inline-block;
    margin: 4px 0 52px;
    color: rgba(255, 255, 255, 0.74) !important;
    font-weight: 750;
}

.ip-back-link:hover {
    color: #fff !important;
}

.ip-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 72px;
}

.ip-brand-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ip-app-icon,
.ip-cta-icon {
    flex: 0 0 auto;
    border-radius: 25%;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.ip-eyebrow,
.ip-section-label {
    margin: 0 0 8px;
    color: var(--ip-cyan);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.ip-product-page .ip-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.7rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    text-shadow: none;
}

.ip-tagline {
    max-width: 720px;
    margin: 48px 0 20px;
    color: #fff !important;
    font-size: clamp(2.8rem, 6.8vw, 5.7rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.ip-tagline-ja,
.ip-tagline-cjk {
    font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.ip-tagline-compact {
    font-size: clamp(2.5rem, 4.6vw, 3.8rem);
}

.ip-tagline-ja span,
.ip-tagline-cjk span {
    display: block;
    white-space: nowrap;
}

.ip-hero-copy {
    max-width: 680px;
    margin: 0 0 28px !important;
    color: #d8e9f4 !important;
    font-size: 1.1rem;
    line-height: 1.85;
}

.ip-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ip-pills li {
    padding: 8px 14px;
    color: #eaf7ff;
    font-size: 0.88rem;
    font-weight: 750;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.ip-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
}

.ip-store-link {
    display: inline-flex;
}

.ip-store-link img {
    display: block;
    width: auto;
    height: 56px;
}

.ip-secondary-link {
    padding: 13px 22px;
    color: #fff !important;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
}

.ip-secondary-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    text-decoration: none;
}

.ip-hero-visual {
    position: relative;
    display: grid;
    min-height: 590px;
    place-items: center;
}

.ip-hero-shot {
    position: relative;
    z-index: 2;
    display: block;
    width: min(310px, 100%);
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
    transform: rotate(2.2deg);
}

.ip-signal {
    position: absolute;
    border: 1px solid rgba(69, 207, 255, 0.34);
    border-radius: 50%;
}

.ip-signal-one {
    width: 440px;
    height: 440px;
}

.ip-signal-two {
    width: 570px;
    height: 570px;
    opacity: 0.55;
}

.ip-product-page .ip-main {
    position: relative;
    z-index: 3;
    width: min(1120px, calc(100% - 32px));
    max-width: none;
    margin: -62px auto 48px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.ip-section {
    margin-bottom: 24px;
    padding: 56px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(3, 27, 49, 0.06);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(3, 27, 49, 0.08);
}

.ip-section h2 {
    margin: 0 0 28px;
    padding: 0;
    color: var(--ip-deep);
    font-size: clamp(1.8rem, 4vw, 3.15rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
    border: 0;
}

.ip-intro-section {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 54px;
}

.ip-intro-section h2 {
    margin-bottom: 0;
}

.ip-intro-section > p {
    margin: 0;
    color: var(--ip-muted);
    font-size: 1.08rem;
    line-height: 1.9;
}

.ip-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ip-screenshot-grid figure {
    margin: 0;
}

.ip-screenshot-grid img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(3, 27, 49, 0.17);
}

.ip-screenshot-grid figcaption {
    padding: 14px 4px 0;
    color: var(--ip-muted);
    font-size: 0.88rem;
    font-weight: 750;
    text-align: center;
}

.ip-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ip-feature-grid article {
    min-width: 0;
    padding: 26px;
    border: 1px solid #deebf5;
    border-radius: 20px;
    background: linear-gradient(155deg, #fff, #f2f8fd);
}

.ip-feature-grid article > span {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    place-items: center;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--ip-blue), var(--ip-cyan));
    box-shadow: 0 8px 18px rgba(0, 122, 255, 0.22);
}

.ip-feature-grid h3 {
    margin: 0 0 8px;
    color: var(--ip-ink);
    font-size: 1.04rem;
}

.ip-feature-grid p {
    margin: 0;
    color: var(--ip-muted);
    font-size: 0.91rem;
}

.ip-disclaimer {
    margin: 28px 0 0;
    padding: 18px 20px;
    color: #586b7b;
    font-size: 0.84rem;
    border-radius: 14px;
    background: #eef5fa;
}

.ip-trust-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(0, 168, 232, 0.18), transparent 36%),
        linear-gradient(135deg, #031b31, #063b66);
}

.ip-trust-section h2 {
    margin-bottom: 0;
    color: #fff;
}

.ip-trust-grid {
    display: grid;
    gap: 12px;
}

.ip-trust-grid article {
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.ip-trust-grid strong {
    display: block;
    margin-bottom: 5px;
}

.ip-trust-grid p {
    margin: 0;
    color: #cfdfeb;
    font-size: 0.9rem;
}

.ip-cta-section {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
    color: #fff;
    background: linear-gradient(135deg, #062a4b, #08739a);
}

.ip-cta-section h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
}

.ip-cta-button {
    padding: 14px 20px;
    color: #04233d !important;
    font-weight: 900;
    white-space: nowrap;
    border-radius: 12px;
    background: #5dd8ff;
}

.ip-cta-button:hover {
    color: #04233d;
    background: #8ce5ff;
    text-decoration: none;
}

.ip-support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 42px;
}

.ip-support-grid a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    color: var(--ip-ink);
    border: 1px solid #dce9f3;
    border-radius: 18px;
    background: #f6faff;
}

.ip-support-grid a:hover {
    border-color: var(--ip-blue);
    text-decoration: none;
}

.ip-support-grid span {
    color: var(--ip-muted);
    font-size: 0.9rem;
}

.ip-subheading {
    margin-top: 0;
    color: var(--ip-ink);
}

.ip-policy h3 {
    margin-top: 30px;
    color: var(--ip-ink);
}

.ip-policy p,
.ip-policy li {
    color: #4f6272;
}

.ip-policy-date {
    margin-top: 2rem !important;
    color: #718292 !important;
    font-size: 0.82rem;
}

@media (max-width: 960px) {
    .ip-hero-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 36px;
    }

    .ip-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ip-product-page .ip-hero {
        min-height: 0;
        padding: 26px 20px 108px;
    }

    .ip-hero-grid {
        grid-template-columns: 1fr;
    }

    .ip-hero-visual {
        min-height: 520px;
    }

    .ip-hero-shot {
        width: min(270px, 78vw);
    }

    .ip-signal-one {
        width: 350px;
        height: 350px;
    }

    .ip-signal-two {
        width: 470px;
        height: 470px;
    }

    .ip-intro-section,
    .ip-trust-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ip-screenshot-grid {
        display: flex;
        gap: 16px;
        margin-right: -20px;
        padding-right: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .ip-screenshot-grid figure {
        flex: 0 0 min(72vw, 320px);
        scroll-snap-align: start;
    }

    .ip-cta-section {
        grid-template-columns: auto 1fr;
    }

    .ip-cta-button {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .ip-product-page {
        overflow-x: hidden;
    }

    .ip-product-page .lang-switch {
        top: 14px;
        right: 14px;
    }

    .ip-product-page .ip-language-select-wrap {
        top: 14px;
        right: 14px;
        width: 36px;
        min-width: 36px;
        height: 36px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
    }

    .ip-language-icon,
    .ip-language-icon svg {
        width: 18px;
        height: 18px;
    }

    .ip-product-page .ip-language-select {
        width: 100%;
    }

    .ip-language-current,
    .ip-language-select-wrap::after {
        display: none;
    }

    html[dir="rtl"] .ip-language-select-wrap {
        right: auto;
        left: 14px;
        padding: 0;
    }

    html[dir="rtl"] .ip-hero-grid,
    html[dir="rtl"] .ip-hero-copy-wrap,
    html[dir="rtl"] .ip-brand-row {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    html[dir="rtl"] .ip-hero-copy,
    html[dir="rtl"] .ip-tagline {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    html[dir="rtl"] .ip-screenshot-grid {
        margin-right: 0;
        margin-left: -20px;
        padding-right: 0;
        padding-left: 20px;
    }

    .ip-back-link {
        margin-bottom: 46px;
        font-size: 0.9rem;
    }

    .ip-brand-row {
        gap: 15px;
    }

    .ip-app-icon {
        width: 76px;
        height: 76px;
    }

    .ip-product-page .ip-hero h1 {
        font-size: clamp(1.65rem, 8vw, 2.15rem);
    }

    .ip-tagline {
        max-width: 100%;
        margin-top: 40px;
        font-size: clamp(2.45rem, 11.5vw, 3.35rem);
        overflow-wrap: anywhere;
    }

    .ip-tagline-ja,
    .ip-tagline-cjk {
        font-size: clamp(1.65rem, 9.2vw, 2.15rem);
        overflow-wrap: normal;
    }

    .ip-tagline-compact {
        font-size: clamp(1.65rem, 7.8vw, 2.15rem);
    }

    .ip-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .ip-product-page .ip-main {
        width: min(100% - 20px, 1120px);
        margin-top: -52px;
    }

    .ip-section {
        margin-bottom: 12px;
        padding: 30px 20px;
        border-radius: 22px;
    }

    .ip-feature-grid,
    .ip-support-grid {
        grid-template-columns: 1fr;
    }

    .ip-feature-grid article {
        padding: 22px;
    }

    .ip-cta-icon {
        width: 72px;
        height: 72px;
    }
}
