
:root {
    --blue: #138cfe;
    --blue-dark: #076bc9;
    --yellow: #ffb30f;
    --ink: #132238;
    --muted: #5d6b7d;
    --line: #e5edf5;
    --soft: #f4f9ff;
    --white: #fff;
    --shadow: 0 18px 50px rgba(16, 66, 115, .09);
    --radius: 22px;
}

/* Global Reset */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.7;
}

a {
    color: var(--blue-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

/* Notice Bar */
.notice {
    background: #092c50;
    color: #dcecff;
    font-size: 12px;
    padding: 8px 0;
}

.notice a {
    color: #fff;
    text-decoration: underline;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 237, 245, .85);
}

.nav-wrap {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 850;
    font-size: 21px;
    letter-spacing: -.7px;
}

.brand:hover {
    text-decoration: none;
}

.brand img {
    object-fit: contain;
}

.brand-accent {
    color: var(--blue);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    font-size: 14px;
    font-weight: 650;
    color: #405168;
}

.nav a.active,
.nav a:hover {
    color: var(--blue);
}

.menu-toggle {
    display: none;
    border: 0;
    background: var(--soft);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 22px;
    color: var(--ink);
}

/* Hero Section */
.hero {
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 85% 25%, rgba(255, 179, 15, .18), transparent 25%),
        linear-gradient(135deg, #f4faff 0%, #fff 54%, #eef7ff 100%);
    padding: 86px 0 78px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 55px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.7px;
    margin-bottom: 13px;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -2.6px;
    margin: 0 0 22px;
    max-width: 760px;
}

.hero-lead {
    font-size: 18px;
    color: #52657a;
    max-width: 680px;
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 750;
    transition: .2s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 22px rgba(19, 140, 254, .2);
}

.btn-outline {
    border: 1px solid #cbdced;
    color: var(--ink);
    background: #fff;
}

.btn-light {
    background: #fff;
    color: #075cae;
}

.micro-note {
    font-size: 12px;
    color: #7a8796;
    margin-top: 17px;
}

/* Hero Artwork */
.hero-art {
    min-height: 390px;
    position: relative;
    display: grid;
    place-items: center;
}

.art-orbit {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(19, 140, 254, .2);
    box-shadow:
        0 0 0 35px rgba(19, 140, 254, .035),
        0 0 0 75px rgba(19, 140, 254, .025);
}

.phone-card {
    z-index: 1;
    width: 245px;
    height: 330px;
    background: #fff;
    border: 1px solid #e5edf5;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(18, 67, 111, .16);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    transform: rotate(-4deg);
}

.phone-top {
    height: 5px;
    width: 55px;
    border-radius: 9px;
    background: #dfe9f2;
    margin-bottom: 22px;
}

.phone-logo {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: #eef7ff;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.phone-logo img {
    object-fit: contain;
}

.phone-card strong {
    font-size: 19px;
}

.phone-card > span {
    font-size: 12px;
    color: var(--muted);
}

.mock-line {
    height: 9px;
    background: #edf3f8;
    border-radius: 10px;
    width: 85%;
    margin-top: 28px;
}

.mock-line.short {
    width: 60%;
    margin-top: 10px;
}

.mock-pill {
    margin-top: 22px;
    padding: 8px 13px;
    border-radius: 30px;
    background: #fff5dc;
    color: #8b6100;
    font-size: 10px;
    font-weight: 800;
}

/* Floating Chips */
.floating-chip {
    position: absolute;
    z-index: 2;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 15px;
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 800;
}

.chip-one {
    top: 55px;
    left: 0;
}

.chip-two {
    bottom: 45px;
    right: 0;
}

/* Trust Strip */
.trust-strip {
    border-bottom: 1px solid var(--line);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 22px 0;
    gap: 18px;
}

.trust-grid div {
    display: flex;
    flex-direction: column;
}

.trust-grid strong {
    font-size: 14px;
}

.trust-grid span {
    font-size: 12px;
    color: var(--muted);
}

/* General Sections */
.section {
    padding: 82px 0;
}

.section-soft {
    background: var(--soft);
}

.section-heading {
    max-width: 790px;
    margin-bottom: 38px;
}

.section-heading h2,
.prose h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.18;
    letter-spacing: -1.3px;
    margin: 0 0 16px;
}

.section-heading p {
    font-size: 16px;
    color: var(--muted);
    margin: 0;
}

/* Content Layout */
.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 45px;
    align-items: start;
}

.prose {
    color: #42536a;
    font-size: 15px;
}

.prose p {
    margin: 0 0 18px;
}

.prose h3 {
    color: var(--ink);
    font-size: 21px;
    line-height: 1.3;
    margin: 28px 0 10px;
}

.prose h2 {
    color: var(--ink);
    margin: 34px 0 16px;
}

.prose ul {
    padding-left: 22px;
}

.prose li {
    margin: 8px 0;
}

.wide-prose {
    max-width: 950px;
}

/* Information Cards */
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 27px;
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 20px;
    margin: 10px 0;
}

.info-card p,
.info-card li {
    font-size: 14px;
    color: var(--muted);
}

.info-card ul {
    padding-left: 19px;
}

.card-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #eaf5ff;
    color: var(--blue);
    font-weight: 900;
    font-size: 20px;
}

.yellow-card .card-icon {
    background: #fff4d8;
    color: #a56a00;
}

.text-link {
    font-size: 13px;
    font-weight: 800;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card,
.faq-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    transition: .2s;
}

.feature-card:hover,
.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eaf5ff;
    color: var(--blue);
    font-weight: 900;
    font-size: 13px;
}

.feature-card h3,
.faq-card h3 {
    font-size: 17px;
    margin: 16px 0 8px;
}

.feature-card p,
.faq-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

/* Screenshot Placeholders */
.screenshot-block {
    margin-top: 36px;
}

.screenshot-placeholder {
    min-height: 230px;
    border: 1.5px dashed #9fcdf5;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7fbff, #eef7ff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6b91b7;
    gap: 6px;
}

.screenshot-placeholder span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.screenshot-placeholder small {
    font-size: 13px;
}

.image-caption {
    font-size: 12px;
    color: #7a8796;
    margin: 10px 2px;
}

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

.screenshot-placeholder.tall {
    min-height: 320px;
}

/* Step-by-Step Guide */
.steps {
    display: grid;
    gap: 16px;
    max-width: 900px;
}

.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.step > span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.step h3 {
    margin: 0 0 5px;
    font-size: 17px;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Callout */
.callout {
    margin-top: 25px;
    padding: 22px 25px;
    background: #fff8e7;
    border-left: 4px solid var(--yellow);
    border-radius: 12px;
}

.callout p {
    margin: 5px 0 0;
    color: #6d5b35;
    font-size: 14px;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.accordion {
    max-width: 900px;
}

.accordion details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 17px 20px;
    margin: 10px 0;
}

.accordion summary {
    font-weight: 750;
    cursor: pointer;
    color: var(--ink);
}

.accordion details p {
    color: var(--muted);
    font-size: 14px;
    margin: 12px 0 0;
}

/* Closing CTA */
.closing-cta {
    background: linear-gradient(120deg, #0876d7, #138cfe);
    color: #fff;
}

.closing-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.closing-inner .eyebrow {
    color: #d8edff;
}

.closing-inner h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 10px;
}

.closing-inner p {
    color: #e4f2ff;
    margin: 0;
    max-width: 700px;
}

/* Footer */
.footer {
    background: #071e36;
    color: #d6e3f0;
    padding: 55px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand {
    color: #fff;
}

.footer-grid p {
    font-size: 13px;
    color: #9fb2c6;
    max-width: 320px;
}

.footer-grid h3 {
    font-size: 13px;
    color: #fff;
    margin: 5px 0 15px;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-grid a:not(.brand) {
    font-size: 12px;
    color: #a9bfd3;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 17px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #8fa6bc;
    font-size: 11px;
}

.footer-bottom a {
    color: #c6d8e8;
}

/* Inner Pages */
.page-hero {
    padding: 76px 0;
    background: linear-gradient(120deg, #f2f9ff, #fff 65%, #fff8e7);
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 54px);
}

.page-hero p {
    max-width: 750px;
    color: var(--muted);
    font-size: 17px;
}

.narrow {
    max-width: 850px;
    margin-inline: auto;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 45px;
}

.contact-card {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
}

.contact-card p {
    color: var(--blue-dark);
    font-weight: 800;
    margin: 5px 0;
}

.contact-card small {
    color: var(--muted);
}

/* Tablet Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr .75fr;
        gap: 25px;
    }

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

    .content-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .info-card {
        max-width: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Responsive */
@media (max-width: 680px) {
    .container {
        width: min(100% - 30px, 1160px);
    }

    .nav-wrap {
        height: 66px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 15px 22px 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav.open {
        display: flex;
    }

    .hero {
        padding: 58px 0 50px;
    }

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

    .hero h1 {
        font-size: 41px;
        letter-spacing: -1.8px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-art {
        min-height: 330px;
    }

    .art-orbit {
        width: 275px;
        height: 275px;
    }

    .phone-card {
        transform: none;
        height: 295px;
    }

    .chip-one {
        left: 5px;
        top: 25px;
    }

    .chip-two {
        right: 0;
        bottom: 22px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 17px;
    }

    .section {
        padding: 58px 0;
    }

    .section-heading h2,
    .prose h2 {
        font-size: 30px;
    }

    .feature-grid,
    .faq-grid,
    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-placeholder.tall {
        min-height: 250px;
    }

    .closing-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .step {
        grid-template-columns: 40px 1fr;
        gap: 12px;
        padding: 16px;
    }

    .step > span {
        width: 36px;
        height: 36px;
    }

    .page-hero {
        padding: 55px 0;
    }

    .page-hero h1 {
        font-size: 39px;
    }
}

/* ==================================
   COMEPAY SCREENSHOT GALLERY
================================== */

.comepay-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.gallery-item {
    margin: 0;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e5edf5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(16, 66, 115, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(16, 66, 115, 0.12);
}

.gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eef7ff;
}

.gallery-item figcaption {
    padding: 15px 12px;
    text-align: center;
    color: #132238;
    font-size: 13px;
    font-weight: 700;
}

/* TABLET */

@media (max-width: 900px) {
    .comepay-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* MOBILE */

@media (max-width: 480px) {
    .comepay-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-item img {
        aspect-ratio: 16 / 10;
    }
}
