* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.uaicrm-public-page {
    margin: 0;
    color: #102033;
    background: #f5f7fb;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 76px;
    padding: 12px clamp(18px, 4vw, 54px);
    color: #ffffff;
    background: rgba(6, 16, 31, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.landing-brand img {
    width: 182px;
    height: auto;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.4vw, 30px);
    flex: 1 1 auto;
    color: #dbeafe;
    font-size: 0.94rem;
    font-weight: 750;
}

.landing-nav a {
    white-space: nowrap;
}

.landing-nav a:hover {
    color: #ffffff;
}

.landing-actions,
.hero-buttons,
.final-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.powered-by {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9fb4ca;
    font-size: 0.75rem;
    font-weight: 750;
    white-space: nowrap;
}

.powered-by img {
    width: 120px;
    height: auto;
}

.wa-dot {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: #ffffff;
    background: #00a884;
    border-radius: 50%;
    font-size: 0.56rem;
    font-weight: 950;
    letter-spacing: 0;
}

.mini-mark {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    border-radius: 4px;
    background: linear-gradient(135deg, #00d5a4, #38bdf8);
    box-shadow: 0 0 0 4px rgba(0, 213, 164, 0.12);
}

.mini-icon,
.feature-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: #ffffff;
    background: #0f8fda;
    border-radius: 8px;
    font-weight: 900;
    letter-spacing: 0;
}

.mini-icon {
    width: 30px;
    height: 30px;
    font-size: 0.64rem;
}

.feature-icon,
.integration-grid article > .wa-dot {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    font-size: 0.68rem;
}

.integration-grid article > .wa-dot {
    border-radius: 8px;
    background: #0f8fda;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #ffffff;
    background: #00a884;
    border-color: #00a884;
    box-shadow: 0 14px 30px rgba(0, 168, 132, 0.25);
}

.btn-primary:hover {
    background: #0bb893;
}

.btn-ghost {
    color: #d7fff2;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.btn-light {
    color: #0f2439;
    background: #ffffff;
    border-color: rgba(15, 36, 57, 0.08);
}

.btn-large {
    min-height: 50px;
    padding: 13px 20px;
}

.hero-section {
    position: relative;
    min-height: clamp(720px, 78vh, 900px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background: #06101f url("../img/login-ai-supercomputer.png") center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 10, 22, 0.90) 0%, rgba(3, 10, 22, 0.70) 50%, rgba(3, 10, 22, 0.38) 100%),
        linear-gradient(180deg, rgba(0, 168, 132, 0.18) 0%, rgba(3, 10, 22, 0.08) 44%, rgba(3, 10, 22, 0.76) 100%);
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, #f5f7fb);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 36px));
    margin: 0 auto;
    padding: 86px 0 98px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: #00d5a4;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 930px;
    margin: 0;
    color: #ffffff;
    font-size: 5.6rem;
    line-height: 0.98;
    font-weight: 920;
    letter-spacing: 0;
    text-shadow: 0 22px 54px rgba(0, 0, 0, 0.5);
}

.hero-lead {
    max-width: 750px;
    margin: 26px 0 0;
    color: #dbeafe;
    font-size: 1.16rem;
    line-height: 1.72;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 920px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.hero-highlights li {
    padding: 10px 13px;
    color: #eafff8;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    backdrop-filter: blur(14px);
    font-size: 0.92rem;
    font-weight: 800;
}

.section {
    padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 54px);
}

.section-grid {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: clamp(30px, 6vw, 76px);
}

.align-center {
    align-items: center;
}

.section h2 {
    margin: 0;
    color: #102033;
    font-size: 3.05rem;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.section p {
    color: #53657a;
    font-size: 1.03rem;
    line-height: 1.72;
}

.section-heading {
    width: min(850px, 100%);
    margin: 0 auto 34px;
    text-align: center;
}

.reseller-section,
.integration-section {
    background: #f5f7fb;
}

.value-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.value-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 14px;
    color: #102033;
    background: #ffffff;
    border: 1px solid #e1e8ef;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(16, 32, 51, 0.06);
    font-weight: 790;
}

.commerce-panel {
    padding: 22px;
    color: #ffffff;
    background: #081624;
    border: 1px solid rgba(16, 32, 51, 0.12);
    border-radius: 8px;
    box-shadow: 0 30px 70px rgba(16, 32, 51, 0.18);
}

.commerce-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.commerce-card.featured {
    background: linear-gradient(135deg, rgba(0, 168, 132, 0.28), rgba(56, 189, 248, 0.14));
}

.commerce-card strong,
.commerce-card span {
    display: block;
}

.commerce-card strong {
    font-size: 1.28rem;
}

.commerce-card span {
    margin-top: 8px;
    color: #c9d9e8;
    line-height: 1.55;
}

.commerce-flow {
    display: grid;
    place-items: center;
    height: 54px;
    color: #00d5a4;
}

.flow-arrow {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: #081624;
    background: #00d5a4;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 900;
}

.commerce-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.commerce-metrics div {
    min-height: 86px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.commerce-metrics strong,
.commerce-metrics span {
    display: block;
}

.commerce-metrics span {
    margin-top: 8px;
    color: #9cb4cd;
}

.platform-section,
.marketplace-section,
.comparison-section {
    background: #ffffff;
}

.feature-grid,
.integration-grid,
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.integration-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.integration-grid article,
.benefit-grid article {
    min-height: 220px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e1e8ef;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
}

.integration-grid article {
    min-height: 210px;
}

.feature-card:nth-child(2n) .feature-icon,
.integration-grid article:nth-child(2n) .feature-icon {
    background: #00a884;
}

.feature-card:nth-child(3n) .feature-icon,
.integration-grid article:nth-child(3n) .feature-icon {
    background: #f59e0b;
}

.feature-card h3 {
    margin: 0;
    color: #102033;
    font-size: 1.14rem;
    line-height: 1.25;
    font-weight: 880;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.96rem;
}

.visual-band {
    color: #ffffff;
    background: #081624;
}

.visual-band h2,
.visual-band p,
.visual-band .plain-list {
    color: #ffffff;
}

.visual-band p,
.visual-band .plain-list {
    color: #c9d9e8;
}

.image-panel,
.brand-panel {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0d1c2c;
}

.image-panel img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.plain-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.plain-list li {
    position: relative;
    padding: 9px 0 9px 26px;
}

.plain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 10px;
    height: 10px;
    background: #00a884;
    border-radius: 50%;
}

.integration-grid strong,
.integration-grid span,
.benefit-grid strong,
.benefit-grid span {
    display: block;
}

.integration-grid strong,
.benefit-grid strong {
    color: #102033;
    font-size: 1.08rem;
}

.integration-grid span,
.benefit-grid span {
    margin-top: 10px;
    color: #53657a;
    line-height: 1.55;
}

.workflow-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.workflow-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px 14px;
    color: #102033;
    background: #f4f7fa;
    border: 1px solid #e1e8ef;
    border-radius: 8px;
    font-weight: 790;
}

.workflow-list strong {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    color: #ffffff;
    background: #0f8fda;
    border-radius: 8px;
}

.brand-panel img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.brand-panel div {
    padding: 24px;
}

.brand-panel h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 1.45rem;
}

.brand-panel p {
    margin: 0;
    color: #d8e8f7;
}

.benefit-grid article {
    min-height: 150px;
}

.final-cta {
    position: relative;
    color: #ffffff;
    background: #07111f;
}

.final-inner {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.final-uaicrm-logo {
    width: 210px;
    height: auto;
}

.final-inner h2 {
    color: #ffffff;
}

.final-inner p {
    color: #c9d9e8;
}

.uaimacks-signature {
    width: 156px;
    height: auto;
    margin: 34px auto 0;
    opacity: 0.82;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #ffffff;
    background: #00a884;
    border-radius: 50%;
    box-shadow: 0 18px 40px rgba(0, 168, 132, 0.35);
}

.floating-whatsapp .wa-dot {
    width: 100%;
    height: 100%;
    font-size: 0.9rem;
}

@media (max-width: 1120px) {
    .powered-by {
        display: none;
    }

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

@media (max-width: 980px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .section h2 {
        font-size: 2.45rem;
    }

    .landing-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .landing-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .two-columns,
    .final-inner {
        grid-template-columns: 1fr;
    }

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

    .final-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2.72rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .landing-header {
        min-height: 66px;
        padding: 10px 14px;
    }

    .landing-brand img {
        width: 150px;
    }

    .landing-actions {
        margin-left: auto;
    }

    .landing-actions .btn-ghost {
        display: none;
    }

    .landing-nav {
        display: none;
    }

    .hero-section {
        min-height: clamp(680px, 82vh, 840px);
        background-position: 44% center;
    }

    .hero-content {
        width: calc(100vw - 28px);
        padding: 64px 0 72px;
    }

    .hero-lead {
        font-size: 1.02rem;
    }

    .hero-buttons .btn,
    .final-actions .btn {
        width: 100%;
    }

    .hero-highlights {
        display: none;
    }

    .section {
        padding: 54px 14px;
    }

    .value-list,
    .feature-grid,
    .integration-grid,
    .benefit-grid,
    .commerce-metrics {
        grid-template-columns: 1fr;
    }

    .commerce-panel {
        padding: 14px;
    }

    .image-panel img,
    .brand-panel img {
        height: 260px;
    }

    .floating-whatsapp {
        display: none;
    }
}
