:root {
    --navy: #061b3f;
    --navy-2: #0b2b62;
    --blue: #0696ee;
    --cyan: #33c9ff;
    --ink: #10213f;
    --muted: #65728a;
    --line: #dbe5f2;
    --soft: #f4f8fc;
    --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    color: var(--ink);
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.65;
    background: var(--white);
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.container,
.row,
.row > * {
    min-width: 0;
}

main,
section,
footer {
    max-width: 100%;
    overflow-x: clip;
}

a { text-decoration: none; }

.site-nav {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(219, 229, 242, .75);
    backdrop-filter: blur(16px);
}

.navbar-collapse {
    min-width: 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: 0;
    min-width: 0;
}

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

.brand-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    font-size: 1.45rem;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(6, 150, 238, .24);
}

.nav-link {
    color: var(--ink);
    font-weight: 600;
}

.btn {
    border-radius: 8px;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #0066d7);
    border: 0;
    box-shadow: 0 16px 34px rgba(6, 150, 238, .24);
}

.btn-outline-primary {
    border-color: rgba(6, 150, 238, .45);
    color: var(--navy);
}

.hero {
    padding: 142px 0 88px;
    background:
        radial-gradient(circle at 80% 18%, rgba(51, 201, 255, .18), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #fff 76%);
    overflow: hidden;
}

.section { padding: 88px 0; }
.soft-band { background: var(--soft); }

.section-kicker {
    display: inline-flex;
    color: var(--blue);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .08em;
    margin-bottom: .85rem;
}

.section-kicker.light { color: #9ee6ff; }

h1, h2, h3 {
    color: var(--navy);
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.35rem, 5vw, 4.9rem);
    font-weight: 900;
    max-width: 760px;
}

h2 {
    font-size: clamp(2rem, 3vw, 3.25rem);
    font-weight: 850;
}

h3 {
    font-size: 1.35rem;
    font-weight: 800;
}

.hero-copy {
    color: var(--muted);
    font-size: 1.16rem;
    max-width: 650px;
    margin: 1.35rem 0 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions .btn {
    white-space: normal;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    margin-top: 1.9rem;
    color: var(--navy-2);
    font-weight: 700;
}

.trust-row i { color: var(--blue); margin-right: .35rem; }

.hero-visual {
    position: relative;
    min-height: 500px;
    display: grid;
    align-content: center;
}

.hero-device {
    width: min(100%, 620px);
    margin-left: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(6, 27, 63, .16);
}

.hero-device img,
.brand-ribbon img,
.portfolio-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-ribbon {
    width: min(68%, 410px);
    padding: .75rem 1rem;
    margin: -28px auto 0 8%;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(6, 27, 63, .2);
}

.service-strip {
    position: relative;
    z-index: 2;
    margin-top: -42px;
    padding-bottom: 46px;
}

.service-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.service-strip-card {
    display: flex;
    gap: 1rem;
    min-height: 152px;
    padding: 1.15rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 46px rgba(6, 27, 63, .1);
    color: var(--ink);
    transition: transform .2s ease, box-shadow .2s ease;
    min-width: 0;
}

.service-strip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 58px rgba(6, 27, 63, .14);
}

.service-strip-card i {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-radius: 8px;
    font-size: 1.25rem;
}

.service-strip-card h2 {
    margin: 0 0 .35rem;
    font-size: 1.08rem;
}

.service-strip-card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.metric-card {
    position: absolute;
    width: 150px;
    min-height: 106px;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 22px 44px rgba(6, 27, 63, .12);
}

.metric-card strong {
    display: block;
    color: var(--blue);
    font-size: 2rem;
    line-height: 1;
}

.metric-card span {
    color: var(--muted);
    font-size: .88rem;
    font-weight: 700;
}

.metric-one { left: 0; bottom: 22px; }
.metric-two { right: 12px; top: 44px; }

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.about-grid div,
.system-card,
.testimonial-card,
.contact-panel,
.form-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(6, 27, 63, .08);
}

.about-grid div { padding: 1.25rem; }
.about-grid strong, .about-grid span { display: block; }
.about-grid span { color: var(--muted); margin-top: .35rem; }

.section-heading {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.system-card {
    padding: 1.55rem;
    transition: transform .2s ease, box-shadow .2s ease;
    min-width: 0;
}

.system-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 58px rgba(6, 27, 63, .14);
}

.system-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    margin-bottom: 1.1rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    font-size: 1.45rem;
}

.system-card p { color: var(--muted); }

.system-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.25rem;
    display: grid;
    gap: .45rem;
}

.system-card li {
    display: flex;
    gap: .5rem;
    color: var(--ink);
    font-weight: 600;
    min-width: 0;
}

.system-card li i { color: var(--blue); }

.cta-section {
    color: var(--white);
    background:
        radial-gradient(circle at 85% 15%, rgba(51, 201, 255, .2), transparent 34%),
        linear-gradient(135deg, rgba(6, 27, 63, .98), rgba(8, 73, 139, .96));
}

.cta-section h2,
.cta-section p { color: var(--white); }

.cta-points {
    display: grid;
    gap: .8rem;
    font-weight: 700;
}

.cta-points i { color: var(--cyan); margin-right: .45rem; }

.form-panel,
.contact-panel { padding: 1.5rem; }

label {
    color: var(--navy);
    font-weight: 750;
    margin-bottom: .35rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    border-color: var(--line);
    min-height: 48px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 750;
    background: var(--white);
    min-width: 0;
}

.benefit-item i {
    color: var(--blue);
    font-size: 1.3rem;
}

.portfolio-window {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 22px 54px rgba(6, 27, 63, .12);
}

.window-bar {
    display: flex;
    gap: .5rem;
    padding: .85rem;
    border-bottom: 1px solid var(--line);
}

.window-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue);
}

.portfolio-copy {
    padding: 1.3rem 0;
}

.portfolio-copy p {
    color: var(--muted);
    font-size: 1.05rem;
}

.testimonial-card {
    height: 100%;
    padding: 1.4rem;
}

.testimonial-card i {
    color: var(--blue);
    font-size: 2rem;
}

.testimonial-card p { color: var(--muted); }

.faq-accordion .accordion-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: .75rem;
}

.faq-accordion .accordion-button {
    font-weight: 800;
    color: var(--navy);
}

.footer {
    padding: 38px 0;
    color: #c8d9f1;
    background: var(--navy);
}

.footer .brand-lockup { color: var(--white); }
.footer-link { color: var(--cyan); font-weight: 800; }

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: var(--white);
    background: #25d366;
    font-size: 1.8rem;
    box-shadow: 0 18px 40px rgba(37, 211, 102, .38);
}

.admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px 1fr;
    background: var(--soft);
}

.admin-sidebar {
    color: var(--white);
    background: var(--navy);
    padding: 1.4rem;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #d6e8ff;
    padding: .8rem .9rem;
    border-radius: 8px;
    font-weight: 700;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    color: var(--white);
    background: rgba(255, 255, 255, .1);
}

.admin-main { padding: 2rem; }
.stat-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.2rem;
}

.stat-card strong {
    color: var(--navy);
    font-size: 2rem;
}

.inner-page {
    padding-top: 72px;
}

.inner-hero {
    padding: 96px 0 76px;
    background:
        radial-gradient(circle at 82% 20%, rgba(51, 201, 255, .2), transparent 32%),
        linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.inner-hero h1 {
    max-width: 920px;
}

.inner-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.16rem;
}

.detail-panel,
.content-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.6rem;
    box-shadow: 0 22px 54px rgba(6, 27, 63, .1);
}

.detail-panel > i {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-radius: 8px;
    font-size: 1.7rem;
}

.detail-panel ul,
.feature-list {
    display: grid;
    gap: .8rem;
    padding: 0;
    margin: 1.25rem 0 0;
    list-style: none;
}

.detail-panel li,
.feature-list div {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--ink);
    font-weight: 700;
}

.detail-panel li i,
.feature-list i {
    color: var(--blue);
}

@media (max-width: 991px) {
    .hero { padding-top: 116px; }
    .hero-visual { min-height: auto; }
    .metric-card { position: static; margin-top: 1rem; display: inline-block; }
    .about-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .service-strip { margin-top: 0; }
    .service-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; }
}

@media (max-width: 575px) {
    .site-nav .container {
        align-items: center;
    }

    .navbar-brand {
        max-width: calc(100vw - 96px);
    }

    .navbar-toggler {
        padding: .35rem .55rem;
    }

    .navbar-collapse {
        padding-top: .85rem;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .navbar-nav {
        gap: .25rem;
        padding-bottom: .5rem;
    }

    .navbar-nav .nav-link {
        padding: .65rem .2rem;
    }

    .navbar-nav .btn {
        width: 100%;
        margin-top: .35rem;
    }

    .brand-icon {
        width: 36px;
        height: 36px;
    }

    .brand-lockup {
        gap: .5rem;
        font-size: .98rem;
    }

    .hero {
        padding: 104px 0 48px;
    }

    h1 {
        font-size: clamp(2rem, 12vw, 2.75rem);
    }

    h2 {
        font-size: clamp(1.65rem, 9vw, 2.15rem);
    }

    h3 {
        font-size: 1.18rem;
    }

    .hero-copy,
    .inner-hero p,
    .lead {
        font-size: 1rem;
    }

    .hero-actions {
        gap: .75rem;
    }

    .hero-actions .btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 48px;
        padding-left: .9rem;
        padding-right: .9rem;
    }

    .trust-row {
        gap: .7rem;
        margin-top: 1.35rem;
        font-size: .92rem;
    }

    .hero-visual {
        margin-top: 1.2rem;
    }

    .hero-device {
        width: 100%;
        margin: 0;
        border-radius: 8px;
    }

    .hero-device img,
    .portfolio-image {
        aspect-ratio: 16 / 10;
        object-fit: cover;
        object-position: center;
    }

    .brand-ribbon {
        width: 88%;
        margin: -18px auto 0;
        padding: .55rem .75rem;
    }

    .metric-card {
        width: calc(50% - .4rem);
        min-height: 94px;
        padding: .85rem;
        vertical-align: top;
        margin-right: .35rem;
    }

    .metric-card strong {
        font-size: 1.55rem;
    }

    .metric-card span {
        font-size: .78rem;
    }

    .service-strip {
        padding: 30px 0 18px;
    }

    .service-strip-card {
        min-height: auto;
        padding: 1rem;
        align-items: flex-start;
    }

    .service-strip-card i {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .about-grid, .benefit-grid, .service-strip-grid { grid-template-columns: 1fr; }

    .section {
        padding: 56px 0;
    }

    .section-heading {
        margin-bottom: 1.5rem;
    }

    .system-card,
    .testimonial-card,
    .contact-panel,
    .form-panel,
    .detail-panel,
    .content-card {
        padding: 1.1rem;
    }

    .system-card ul {
        gap: .55rem;
    }

    .system-card li,
    .detail-panel li,
    .feature-list div {
        align-items: flex-start;
        line-height: 1.4;
    }

    .form-control,
    .form-select {
        min-height: 46px;
        font-size: 16px;
    }

    .benefit-item {
        align-items: flex-start;
    }

    .inner-page {
        padding-top: 64px;
    }

    .inner-hero {
        padding: 70px 0 52px;
    }

    .portfolio-window {
        border-radius: 8px;
    }

    .window-bar {
        padding: .65rem;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
        font-size: 1.55rem;
    }
}

@media (max-width: 380px) {
    .brand-lockup {
        font-size: .9rem;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
    }

    .metric-card {
        width: 100%;
        display: block;
    }

    .service-strip-card {
        gap: .75rem;
    }
}
