:root {
    --green-950: #042f29;
    --green-900: #073f36;
    --green-850: #085146;
    --green-800: #075c4d;
    --green-700: #007d66;
    --green-600: #009579;
    --green-500: #10ad8c;
    --green-100: #dff4ed;
    --green-50: #eff9f5;
    --olive-700: #627b2d;
    --olive-500: #91a84b;
    --olive-100: #edf3d6;
    --ink-950: #14231e;
    --ink-800: #24362f;
    --ink-600: #5f7069;
    --ink-500: #78877f;
    --line: #d4e0da;
    --surface: #ffffff;
    --surface-soft: #f4f8f5;
    --surface-warm: #f8f8f0;
    --danger: #d6322d;
    --shadow-sm: 0 10px 30px rgba(9, 54, 45, 0.08);
    --shadow-md: 0 24px 70px rgba(9, 54, 45, 0.13);
    --shadow-lg: 0 35px 100px rgba(4, 47, 41, 0.22);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --container: 1180px;
    --header-height: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
    margin: 0;
    color: var(--ink-950);
    background: #fff;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open,
body.chat-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

p,
h1,
h2,
h3,
h4 {
    margin-top: 0;
}

p {
    color: var(--ink-600);
}

h1,
h2,
h3 {
    letter-spacing: -0.035em;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: 0.98;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2.25rem, 4.3vw, 4.15rem);
    line-height: 1.04;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.2;
}

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

.section {
    position: relative;
    padding: 116px 0;
}

#plataforma {
    padding-top: 36px;
}

.section-shell {
    position: relative;
    overflow: hidden;
}

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

.section-dark {
    color: #fff;
    background:
        radial-gradient(circle at 86% 10%, rgba(16, 173, 140, 0.2), transparent 35%),
        linear-gradient(145deg, var(--green-950), #05241f);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.68);
}

.icon {
    width: 1.35em;
    height: 1.35em;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    color: #fff;
    background: var(--green-900);
    border-radius: 10px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--olive-700);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #c9e77b;
}

.hero-kicker {
    display: block;
    margin: 0 0 18px;
    color: var(--olive-700);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    min-height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(212, 224, 218, 0.8);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 12px 40px rgba(7, 63, 54, 0.08);
}

.header-inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    position: relative;
    display: block;
    width: 46px;
    height: 46px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(212, 224, 218, 0.9);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(7, 63, 54, 0.08);
}

.brand-mark img {
    position: absolute;
    top: -22px;
    left: -33px;
    width: 110px;
    max-width: none;
}

.brand-copy {
    display: grid;
    line-height: 1.05;
}

.brand-copy strong {
    font-size: 1rem;
    letter-spacing: 0.09em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--ink-500);
    font-size: 0.68rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.main-nav a,
.text-link {
    position: relative;
    color: var(--ink-800);
    font-size: 0.91rem;
    font-weight: 650;
}

.main-nav a::after,
.text-link::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--green-600);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-link {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--green-900);
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
}

.lang-link:hover,
.lang-link:focus-visible {
    background: var(--green-50);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--green-600), var(--green-800));
    border: 0;
    border-radius: 15px;
    box-shadow: 0 16px 34px rgba(0, 149, 121, 0.22);
    font-weight: 750;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover,
.button:focus-visible {
    box-shadow: 0 20px 44px rgba(0, 149, 121, 0.3);
    filter: saturate(1.08);
    transform: translateY(-2px);
}

.button .icon {
    width: 1.1em;
    height: 1.1em;
}

.button-small {
    min-height: 43px;
    padding: 0 17px;
    border-radius: 12px;
    font-size: 0.87rem;
}

.button-ghost {
    color: var(--green-900);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    box-shadow: none;
}

.button-ghost:hover,
.button-ghost:focus-visible {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.hero {
    min-height: calc(100vh - var(--header-height));
    padding: 92px 0 18px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.94)),
        radial-gradient(circle at 18% 20%, rgba(16, 173, 140, 0.13), transparent 35%),
        radial-gradient(circle at 82% 25%, rgba(145, 168, 75, 0.14), transparent 30%),
        #f7faf8;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(7, 63, 54, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 63, 54, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.hero-orb-one {
    top: 9%;
    right: -150px;
    width: 420px;
    height: 420px;
    background: rgba(0, 149, 121, 0.08);
    animation: heroOrbOne 12s ease-in-out infinite;
}

.hero-orb-two {
    bottom: 6%;
    left: -140px;
    width: 320px;
    height: 320px;
    background: rgba(145, 168, 75, 0.1);
    animation: heroOrbTwo 15s ease-in-out infinite;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    gap: 62px;
    grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
}

.hero-copy {
    max-width: 670px;
}

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

.hero-description {
    max-width: 650px;
    margin-bottom: 30px;
    font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

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

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 0;
    color: var(--ink-500);
    font-size: 0.88rem;
}

.hero-note .icon {
    color: var(--green-600);
}

.hero-visual {
    position: relative;
    min-width: 0;
    padding: 30px 0 34px;
}

.dashboard-window {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(207, 221, 214, 0.9);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}

.window-topbar {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    color: #fff;
    background: var(--green-950);
}

.window-brand,
.window-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.window-brand div {
    display: grid;
}

.window-brand strong {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.window-brand span,
.window-user {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.64rem;
}

.mini-logo {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    color: var(--green-900);
    background: linear-gradient(145deg, #fff, #dfeae4);
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #8fd45d;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(143, 212, 93, 0.13);
}

.window-body {
    display: grid;
    min-height: 420px;
    background: #f4f7f5;
    grid-template-columns: 74px 1fr;
}

.mock-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 22px;
    background: #073c34;
}

.mock-nav {
    width: 34px;
    height: 10px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 99px;
}

.mock-nav.active {
    height: 34px;
    background: var(--green-600);
    border-radius: 10px;
}

.mock-content {
    min-width: 0;
    padding: 20px;
}

.mock-welcome {
    position: relative;
    display: flex;
    min-height: 116px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 21px 24px;
    background: linear-gradient(135deg, #fff, #edf5ef);
    border: 1px solid var(--line);
    border-radius: 17px;
}

.mock-welcome small {
    color: var(--olive-700);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.mock-welcome h2 {
    margin: 4px 0 3px;
    font-size: 1.55rem;
}

.mock-welcome p {
    margin: 0;
    font-size: 0.7rem;
}

.mock-building {
    display: flex;
    height: 74px;
    align-items: flex-end;
    gap: 8px;
    margin-right: 4px;
    opacity: 0.5;
}

.mock-building span {
    display: block;
    width: 28px;
    background:
        linear-gradient(rgba(7, 63, 54, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 63, 54, 0.1) 1px, transparent 1px),
        #e7efe9;
    background-size: 8px 8px;
    border: 1px solid #d5e3d8;
}

.mock-building span:nth-child(1) { height: 50px; }
.mock-building span:nth-child(2) { height: 74px; }
.mock-building span:nth-child(3) { height: 58px; }

.mock-metrics {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    grid-template-columns: repeat(4, 1fr);
}

.mock-metrics article {
    display: grid;
    min-width: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.mock-metrics strong {
    font-size: 1.2rem;
}

.mock-metrics span {
    overflow: hidden;
    color: var(--ink-500);
    font-size: 0.58rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mock-module-grid {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    grid-template-columns: repeat(2, 1fr);
}

.mock-module-grid article {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.mock-module-grid .icon {
    width: 30px;
    height: 30px;
    padding: 7px;
    color: var(--green-600);
    background: var(--green-100);
    border-radius: 9px;
}

.mock-module-grid div {
    display: grid;
    min-width: 0;
}

.mock-module-grid strong {
    font-size: 0.72rem;
}

.mock-module-grid span {
    overflow: hidden;
    color: var(--ink-500);
    font-size: 0.56rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(212, 224, 218, 0.9);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.floating-card .icon {
    width: 31px;
    height: 31px;
    padding: 7px;
    color: var(--green-600);
    background: var(--green-100);
    border-radius: 9px;
}

.floating-card div {
    display: grid;
}

.floating-card strong {
    font-size: 0.73rem;
}

.floating-card span {
    color: var(--ink-500);
    font-size: 0.59rem;
}

.floating-card-one {
    bottom: 3px;
    left: -34px;
}

.floating-card-two {
    top: 8px;
    right: -28px;
}

.trust-strip {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    margin-top: 48px;
    padding: 17px 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(212, 224, 218, 0.8);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    grid-template-columns: repeat(4, 1fr);
}

.trust-strip span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-600);
    font-size: 0.78rem;
    font-weight: 650;
}

.trust-strip .icon {
    color: var(--green-600);
}

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

.section-heading p:last-child {
    margin-bottom: 0;
    font-size: 1.03rem;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.split-heading {
    display: grid;
    max-width: none;
    align-items: end;
    gap: 54px;
    grid-template-columns: 1.15fr 0.85fr;
}

.split-heading > p {
    margin-bottom: 8px !important;
}

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

.pillar-card,
.module-card,
.market-card,
.step-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 44px rgba(11, 72, 59, 0.055);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover,
.module-card:hover,
.market-card:hover,
.step-card:hover {
    border-color: rgba(0, 149, 121, 0.35);
    box-shadow: 0 24px 60px rgba(11, 72, 59, 0.11);
    transform: translateY(-5px);
}

.pillar-card {
    min-height: 250px;
    padding: 28px;
    border-radius: var(--radius-md);
}

.pillar-card::before {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 150px;
    height: 150px;
    content: "";
    background: var(--green-50);
    border-radius: 50%;
}

.icon-box,
.market-icon {
    position: relative;
    display: inline-grid;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    place-items: center;
    color: var(--green-600);
    background: var(--green-100);
    border-radius: 14px;
}

.icon-box .icon,
.market-icon .icon {
    width: 24px;
    height: 24px;
}

.pillar-card p,
.module-card p,
.market-card p,
.step-card p {
    margin-bottom: 0;
    font-size: 0.94rem;
}

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

.module-card {
    min-height: 250px;
    padding: 27px;
    border-radius: var(--radius-md);
}

.module-card.featured {
    color: #fff;
    background: linear-gradient(145deg, var(--green-800), var(--green-950));
    border-color: transparent;
}

.module-card.featured p {
    color: rgba(255, 255, 255, 0.68);
}

.module-card.featured .icon-box {
    color: #d2ffed;
    background: rgba(255, 255, 255, 0.12);
}

.module-card.featured .module-number {
    color: rgba(255, 255, 255, 0.12);
}

.module-number {
    position: absolute;
    top: 16px;
    right: 22px;
    color: rgba(7, 63, 54, 0.08);
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -0.07em;
}

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

.market-card {
    min-height: 300px;
    padding: 29px;
    border-radius: var(--radius-md);
}

.market-card:nth-child(1),
.market-card:nth-child(5) {
    background: linear-gradient(145deg, #fafff8, #eff7e4);
}

.market-card:nth-child(3) {
    color: #fff;
    background: linear-gradient(145deg, var(--green-900), #061f1b);
    border-color: transparent;
}

.market-card:nth-child(3) p,
.market-card:nth-child(3) .market-link {
    color: rgba(255, 255, 255, 0.7);
}

.market-card:nth-child(3) .market-icon {
    color: #d0ffeb;
    background: rgba(255, 255, 255, 0.12);
}

.market-link {
    position: absolute;
    right: 28px;
    bottom: 27px;
    left: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--green-700);
    font-size: 0.8rem;
    font-weight: 750;
}

.market-link .icon {
    width: 18px;
    height: 18px;
}

.role-section {
    overflow: hidden;
}

.role-section::before {
    position: absolute;
    top: -160px;
    right: -100px;
    width: 570px;
    height: 570px;
    content: "";
    background: radial-gradient(circle, rgba(16, 173, 140, 0.2), transparent 68%);
    border-radius: 50%;
}

.role-layout {
    position: relative;
    display: grid;
    align-items: center;
    gap: 74px;
    grid-template-columns: 0.83fr 1.17fr;
}

.role-copy h2 {
    max-width: 560px;
}

.role-copy > p:not(.eyebrow) {
    max-width: 590px;
    font-size: 1.03rem;
}

.role-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.role-tab {
    padding: 10px 13px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    font-size: 0.81rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.role-tab:hover,
.role-tab:focus-visible,
.role-tab.active {
    color: var(--green-950);
    background: #d4f5e9;
    border-color: #d4f5e9;
}

.role-text-panels {
    min-height: 125px;
    margin-top: 24px;
}

.role-text-panel {
    display: none;
}

.role-text-panel.active {
    display: block;
    animation: fadeSlide 0.28s ease both;
}

.role-text-panel h3 {
    margin-bottom: 9px;
    color: #fff;
    font-size: 1.45rem;
}

.role-text-panel p {
    margin-bottom: 0;
}

.role-preview {
    position: relative;
    min-height: 620px;
}

.role-screen {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
}

.role-screen.active {
    display: grid;
    animation: fadeSlide 0.35s ease both;
}

.phone-frame {
    width: min(390px, 100%);
    overflow: hidden;
    padding: 14px;
    color: var(--ink-950);
    background: #f3f8f5;
    border: 7px solid rgba(255, 255, 255, 0.96);
    border-radius: 37px;
    box-shadow: var(--shadow-lg);
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    color: #fff;
    background: var(--green-950);
    border-radius: 20px 20px 8px 8px;
}

.phone-header > div {
    display: grid;
    min-width: 0;
}

.phone-header strong {
    overflow: hidden;
    font-size: 0.79rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.phone-header small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.62rem;
}

.phone-alert {
    display: grid;
    width: 25px;
    height: 25px;
    margin-left: auto;
    place-items: center;
    background: var(--danger);
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 800;
}

.phone-welcome {
    display: grid;
    margin: 14px 0 10px;
    padding: 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--green-800), var(--green-950));
    border-radius: 19px;
}

.phone-welcome strong {
    font-size: 1.15rem;
}

.phone-welcome span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.68rem;
}

.phone-grid {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(2, 1fr);
}

.phone-grid article {
    display: grid;
    min-height: 145px;
    align-content: start;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
}

.phone-grid article.active-card {
    color: #fff;
    background: linear-gradient(145deg, var(--green-600), var(--green-800));
    border-color: transparent;
}

.phone-grid .icon {
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    padding: 8px;
    color: var(--green-600);
    background: var(--green-100);
    border-radius: 10px;
}

.phone-grid .active-card .icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.phone-grid strong {
    font-size: 0.8rem;
}

.phone-grid span {
    margin-top: 5px;
    color: var(--ink-500);
    font-size: 0.65rem;
    line-height: 1.35;
}

.phone-grid .active-card span {
    color: rgba(255, 255, 255, 0.72);
}

.desktop-frame {
    display: grid;
    width: min(720px, 100%);
    min-height: 500px;
    overflow: hidden;
    color: var(--ink-950);
    background: #f3f7f4;
    border: 7px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    grid-template-columns: 150px 1fr;
}

.desktop-frame aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 18px;
    color: #fff;
    background: var(--green-950);
}

.desktop-frame aside b {
    margin-bottom: 12px;
    font-size: 0.8rem;
}

.desktop-frame aside i {
    display: block;
    width: 75%;
    height: 11px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 99px;
}

.desktop-frame aside i:nth-of-type(1) {
    width: 100%;
    height: 34px;
    background: var(--green-600);
    border-radius: 10px;
}

.desktop-main {
    min-width: 0;
    padding: 20px;
}

.desktop-hero {
    display: grid;
    min-height: 138px;
    align-content: center;
    padding: 23px;
    background: linear-gradient(145deg, #fff, #edf5ee);
    border: 1px solid var(--line);
    border-radius: 17px;
}

.desktop-hero.blue {
    background: linear-gradient(145deg, #fff, #eef5f8);
}

.desktop-hero small {
    color: var(--olive-700);
    font-size: 0.57rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.desktop-hero strong {
    margin: 6px 0;
    font-size: 1.75rem;
}

.desktop-hero span {
    color: var(--ink-500);
    font-size: 0.68rem;
}

.desktop-stats {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    grid-template-columns: repeat(3, 1fr);
}

.desktop-stats.six {
    grid-template-columns: repeat(4, 1fr);
}

.desktop-stats i {
    display: grid;
    padding: 17px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 1.35rem;
    font-style: normal;
    font-weight: 850;
}

.desktop-stats span {
    margin-top: 4px;
    color: var(--ink-500);
    font-size: 0.58rem;
    font-weight: 500;
}

.desktop-tools,
.security-flow {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    grid-template-columns: repeat(3, 1fr);
}

.desktop-tools i,
.security-flow i {
    display: grid;
    min-height: 110px;
    align-content: center;
    justify-items: center;
    gap: 9px;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-style: normal;
    text-align: center;
}

.security-flow {
    grid-template-columns: repeat(4, 1fr);
}

.desktop-tools .icon,
.security-flow .icon {
    width: 34px;
    height: 34px;
    padding: 8px;
    color: var(--green-600);
    background: var(--green-100);
    border-radius: 10px;
}

.desktop-tools b,
.security-flow b {
    font-size: 0.68rem;
}

.field-phone {
    background: #f6f9f7;
}

.field-hero {
    display: grid;
    margin-top: 14px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--green-800), var(--green-950));
    border-radius: 20px;
}

.field-hero small {
    color: #d4ea82;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.field-hero strong {
    margin: 7px 0 3px;
    font-size: 1.6rem;
}

.field-hero > span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
}

.field-hero > div {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    grid-template-columns: repeat(2, 1fr);
}

.field-hero button {
    min-height: 42px;
    color: #fff;
    background: rgba(0, 149, 121, 0.7);
    border: 0;
    border-radius: 11px;
    font-size: 0.7rem;
    font-weight: 800;
}

.field-hero button:last-child {
    color: var(--green-950);
    background: #fff;
}

.field-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.field-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.field-list strong {
    font-size: 0.78rem;
}

.field-list span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: var(--green-800);
    background: var(--green-100);
    border-radius: 9px;
    font-size: 0.72rem;
    font-weight: 800;
}

.process-section {
    background:
        radial-gradient(circle at 90% 20%, rgba(145, 168, 75, 0.1), transparent 25%),
        #fff;
}

.step-grid {
    position: relative;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
}

.step-grid::before {
    position: absolute;
    z-index: 0;
    top: 42px;
    right: 10%;
    left: 10%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.step-card {
    z-index: 1;
    min-height: 240px;
    padding: 28px;
    border-radius: var(--radius-md);
}

.step-card > span {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--green-600), var(--green-900));
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(0, 149, 121, 0.22);
    font-weight: 850;
}

.ai-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 35%, rgba(16, 173, 140, 0.13), transparent 30%),
        linear-gradient(145deg, #eff8f4, #fbfcf8);
}

.ai-grid,
.integration-grid,
.contact-grid {
    display: grid;
    align-items: center;
    gap: 84px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-visual {
    position: relative;
    min-height: 520px;
}

.ai-core {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    width: 230px;
    height: 230px;
    place-content: center;
    justify-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--green-700), var(--green-950));
    border: 12px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-shadow: 0 28px 80px rgba(7, 63, 54, 0.28);
    transform: translate(-50%, -50%);
}

.ai-core .icon {
    width: 56px;
    height: 56px;
    margin-bottom: 15px;
    color: #d7ffb0;
}

.ai-core strong {
    letter-spacing: 0.06em;
}

.ai-core small {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.65);
}

.ai-pulse,
.ai-pulse::before,
.ai-pulse::after {
    position: absolute;
    inset: -36px;
    content: "";
    border: 1px solid rgba(0, 149, 121, 0.18);
    border-radius: 50%;
}

.ai-pulse::before { inset: -32px; }
.ai-pulse::after { inset: -66px; }

.ai-node {
    position: absolute;
    z-index: 2;
    display: flex;
    width: 145px;
    min-height: 78px;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.ai-node .icon {
    width: 36px;
    height: 36px;
    padding: 8px;
    color: var(--green-600);
    background: var(--green-100);
    border-radius: 10px;
}

.ai-node span {
    font-size: 0.78rem;
    font-weight: 750;
}

.node-one { top: 8%; left: 5%; }
.node-two { top: 15%; right: 1%; }
.node-three { right: 2%; bottom: 12%; }
.node-four { bottom: 8%; left: 4%; }

.ai-copy > p:not(.eyebrow) {
    font-size: 1.03rem;
}

.check-list {
    display: grid;
    gap: 13px;
    padding: 0;
    margin: 28px 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--ink-800);
    font-weight: 650;
}

.check-list .icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    padding: 4px;
    color: var(--green-600);
    background: var(--green-100);
    border-radius: 7px;
}

.responsible-ai {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 17px;
    color: var(--green-900) !important;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 0.84rem !important;
}

.responsible-ai .icon {
    flex: 0 0 auto;
    color: var(--green-600);
}

.integration-section {
    background: #fff;
}

.integration-copy > p:not(.eyebrow) {
    font-size: 1.03rem;
}

.brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 18px;
}

.brand-chips span {
    padding: 10px 14px;
    color: var(--green-900);
    background: var(--green-50);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 750;
}

.disclaimer {
    display: block;
    color: var(--ink-500);
    font-size: 0.75rem;
}

.integration-diagram {
    position: relative;
    min-height: 500px;
    background:
        linear-gradient(rgba(7, 63, 54, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 63, 54, 0.045) 1px, transparent 1px),
        #f7faf8;
    background-size: 30px 30px;
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: var(--shadow-md);
}

.diagram-cloud,
.diagram-gateway,
.diagram-device {
    position: absolute;
    display: grid;
    place-items: center;
    text-align: center;
}

.diagram-cloud {
    top: 42px;
    left: 50%;
    width: 200px;
    height: 112px;
    color: #fff;
    background: linear-gradient(145deg, var(--green-700), var(--green-950));
    border-radius: 55px;
    box-shadow: 0 22px 50px rgba(7, 63, 54, 0.24);
    transform: translateX(-50%);
}

.diagram-cloud::before,
.diagram-cloud::after {
    position: absolute;
    content: "";
    background: inherit;
    border-radius: 50%;
}

.diagram-cloud::before {
    top: -28px;
    left: 33px;
    width: 83px;
    height: 83px;
}

.diagram-cloud::after {
    top: -17px;
    right: 29px;
    width: 66px;
    height: 66px;
}

.diagram-cloud span,
.diagram-cloud small {
    position: relative;
    z-index: 2;
}

.diagram-cloud span {
    align-self: end;
    font-size: 0.9rem;
    font-weight: 850;
    letter-spacing: 0.05em;
}

.diagram-cloud small {
    align-self: start;
    color: rgba(255, 255, 255, 0.65);
}

.diagram-gateway {
    top: 225px;
    left: 50%;
    width: 140px;
    height: 92px;
    background: #fff;
    border: 2px solid var(--green-600);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transform: translateX(-50%);
}

.diagram-gateway strong {
    align-self: end;
}

.diagram-gateway small {
    align-self: start;
    color: var(--ink-500);
}

.diagram-device {
    bottom: 48px;
    width: 116px;
    min-height: 98px;
    padding: 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.diagram-device .icon {
    width: 36px;
    height: 36px;
    color: var(--green-600);
}

.diagram-device span {
    font-size: 0.74rem;
    font-weight: 750;
}

.device-one { left: 7%; }
.device-two { left: 50%; transform: translateX(-50%); }
.device-three { right: 7%; }

.diagram-line {
    position: absolute;
    z-index: 0;
    width: 2px;
    background: linear-gradient(var(--green-600), rgba(0, 149, 121, 0.15));
}

.line-one {
    top: 150px;
    left: 50%;
    height: 75px;
}

.line-two,
.line-three {
    top: 315px;
    height: 92px;
    transform-origin: top;
}

.line-two { left: 43%; transform: rotate(38deg); }
.line-three { right: 43%; transform: rotate(-38deg); }

.faq-layout {
    display: grid;
    align-items: start;
    gap: 70px;
    grid-template-columns: 0.72fr 1.28fr;
}

.faq-layout .section-heading {
    position: sticky;
    top: 120px;
    margin-bottom: 0;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
}

.faq-item button {
    display: flex;
    width: 100%;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.faq-item button span {
    font-weight: 750;
}

.faq-item button i {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.faq-item button i::before,
.faq-item button i::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 2px;
    content: "";
    background: var(--green-700);
    border-radius: 99px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.faq-item button i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open button i::after {
    transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
    display: grid;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 22px 21px;
    margin: 0;
}

.faq-item.open .faq-answer {
    max-height: 240px;
}

.contact-section {
    color: #fff;
    background:
        radial-gradient(circle at 15% 18%, rgba(16, 173, 140, 0.25), transparent 28%),
        linear-gradient(145deg, var(--green-950), #041d19);
}

.contact-copy p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-copy h2 {
    max-width: 620px;
}

.contact-points {
    display: grid;
    gap: 13px;
    margin-top: 30px;
}

.contact-points span {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 650;
}

.contact-points .icon {
    width: 23px;
    height: 23px;
    color: #bde96f;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 30px;
    color: var(--ink-950);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
}

.contact-form label {
    display: grid;
    gap: 7px;
}

.contact-form label > span {
    color: var(--ink-800);
    font-size: 0.78rem;
    font-weight: 750;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    color: var(--ink-950);
    background: #fbfdfc;
    border: 1px solid #cbd8d1;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input,
.contact-form select {
    min-height: 48px;
    padding: 0 13px;
}

.contact-form textarea {
    min-height: 112px;
    padding: 12px 13px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    background: #fff;
    border-color: var(--green-600);
    box-shadow: 0 0 0 4px rgba(0, 149, 121, 0.1);
}

.contact-form input.invalid,
.contact-form textarea.invalid,
.contact-form select.invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(214, 50, 45, 0.08);
}

.form-submit {
    width: 100%;
    margin-top: 2px;
}

.form-status {
    min-height: 20px;
    margin: 0;
    color: var(--ink-600);
    font-size: 0.82rem;
}

.form-status.success {
    color: var(--green-700);
}

.form-status.error {
    color: var(--danger);
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
}

.site-footer {
    padding: 70px 0 26px;
    color: #fff;
    background: #031914;
}

.footer-grid {
    display: grid;
    gap: 54px;
    grid-template-columns: 1.55fr repeat(3, 0.75fr);
}

.footer-brand {
    max-width: 390px;
}

.brand-light .brand-copy small,
.footer-brand p,
.site-footer span {
    color: rgba(255, 255, 255, 0.55);
}

.footer-brand p {
    margin-top: 23px;
    font-size: 0.86rem;
}

.site-footer h3 {
    margin-bottom: 18px;
    color: #d2ed91;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-footer .footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.site-footer a,
.site-footer .footer-grid span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 25px;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom span {
    font-size: 0.72rem;
}

.chat-launcher {
    position: fixed;
    z-index: 1500;
    right: 22px;
    bottom: 22px;
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(145deg, var(--green-600), var(--green-900));
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(3, 57, 47, 0.28);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-launcher:hover,
.chat-launcher:focus-visible {
    box-shadow: 0 24px 58px rgba(3, 57, 47, 0.35);
    transform: translateY(-3px);
}

.chat-launcher .icon {
    width: 24px;
    height: 24px;
}

.chat-panel {
    position: fixed;
    z-index: 1600;
    right: 22px;
    bottom: 88px;
    display: grid;
    width: min(390px, calc(100vw - 28px));
    max-height: min(650px, calc(100vh - 115px));
    overflow: hidden;
    color: var(--ink-950);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(3, 44, 37, 0.3);
    grid-template-rows: auto minmax(180px, 1fr) auto auto auto;
    transform-origin: bottom right;
    animation: chatIn 0.24s ease both;
}

.chat-panel[hidden] {
    display: none;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px;
    color: #fff;
    background: linear-gradient(145deg, var(--green-800), var(--green-950));
}

.chat-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--green-900);
    background: #fff;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 900;
}

.chat-header > div:nth-child(2) {
    display: grid;
}

.chat-header strong {
    font-size: 0.82rem;
    letter-spacing: 0.05em;
}

.chat-header span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.67rem;
}

.chat-close {
    display: grid;
    width: 36px;
    height: 36px;
    margin-left: auto;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 11px;
    cursor: pointer;
}

.chat-close .icon {
    width: 19px;
    height: 19px;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding: 17px;
    background: #f5f8f6;
}

.chat-message {
    max-width: 88%;
    padding: 11px 13px;
    border-radius: 15px;
    font-size: 0.82rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.chat-message.bot {
    align-self: flex-start;
    color: var(--ink-800);
    background: #fff;
    border: 1px solid var(--line);
    border-bottom-left-radius: 5px;
}

.chat-message.user {
    align-self: flex-end;
    color: #fff;
    background: var(--green-700);
    border-bottom-right-radius: 5px;
}

.chat-message.loading {
    display: inline-flex;
    width: 54px;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.chat-message.loading i {
    width: 6px;
    height: 6px;
    background: var(--green-600);
    border-radius: 50%;
    animation: dot 0.9s infinite ease-in-out;
}

.chat-message.loading i:nth-child(2) { animation-delay: 0.12s; }
.chat-message.loading i:nth-child(3) { animation-delay: 0.24s; }

.chat-suggestions {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid var(--line);
    scrollbar-width: none;
}

.chat-suggestions::-webkit-scrollbar {
    display: none;
}

.chat-suggestions button {
    flex: 0 0 auto;
    padding: 8px 10px;
    color: var(--green-800);
    background: var(--green-50);
    border: 1px solid #cae2d8;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
}

.chat-form {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    background: #fff;
    border-top: 1px solid var(--line);
    grid-template-columns: 1fr 42px;
}

.chat-form input {
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    background: #f7faf8;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
}

.chat-form input:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(0, 149, 121, 0.1);
}

.chat-form button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: var(--green-700);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
}

.chat-form button .icon {
    width: 19px;
    height: 19px;
}

.chat-disclaimer {
    padding: 0 14px 10px;
    color: var(--ink-500);
    background: #fff;
    font-size: 0.61rem;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroOrbOne {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-35px, 24px, 0) scale(1.08);
    }
}

@keyframes heroOrbTwo {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(42px, -25px, 0) scale(1.12);
    }
}

@keyframes chatIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 1120px) {
    .main-nav {
        gap: 18px;
    }

    .main-nav a,
    .text-link {
        font-size: 0.82rem;
    }

    .hero-grid {
        gap: 38px;
        grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
    }

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

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

    .role-layout {
        gap: 44px;
        grid-template-columns: 0.78fr 1.22fr;
    }

    .desktop-frame {
        grid-template-columns: 125px 1fr;
    }

    .ai-grid,
    .integration-grid,
    .contact-grid {
        gap: 55px;
    }
}

@media (max-width: 980px) {
    :root {
        --header-height: 70px;
    }

    .header-actions .text-link,
    .header-actions .button-small {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .main-nav {
    position: absolute;
    z-index: 1200;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;

    display: none;
    width: 100%;
    height: calc(100vh - var(--header-height));
    margin-left: 0;

    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;

    padding: 18px 24px 30px;
    overflow-y: auto;

    background: #ffffff;
    box-shadow: 0 18px 40px rgba(7, 63, 54, 0.12);
}

.main-nav.open {
    display: flex;
}

.main-nav a {
    display: block;
    width: 100%;
    padding: 17px 4px;

    color: var(--ink-950);
    border-bottom: 1px solid var(--line);

    font-size: 1.03rem;
    font-weight: 700;
    line-height: 1.3;
}

    .hero {
    min-height: auto;
    padding: 32px 0 44px;
}

.hero-kicker {
    margin-bottom: 13px;
    font-size: 0.7rem;
    line-height: 1.45;
    letter-spacing: 0.13em;
}

.hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 11vw, 4rem);
    line-height: 1;
}

.hero-visual {
    display: none;
}

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

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

    .hero-visual {
        width: min(760px, 100%);
        margin: 0 auto;
    }

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

    .role-layout {
        grid-template-columns: 1fr;
    }

    .role-copy {
        max-width: 720px;
    }

    .role-preview {
        min-height: 600px;
    }

    .ai-grid,
    .integration-grid,
    .contact-grid,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .ai-copy,
    .integration-copy,
    .contact-copy {
        max-width: 760px;
    }

    .ai-visual,
    .integration-diagram {
        width: min(650px, 100%);
        margin: 0 auto;
    }

    .faq-layout .section-heading {
        position: static;
    }

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

    .footer-grid > div:last-child {
        grid-column: 2 / 4;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 82px 0;
    }

    h1 {
        font-size: clamp(2.65rem, 13vw, 4.4rem);
    }

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

    .brand-copy small {
        display: none;
    }

    .header-actions {
        gap: 9px;
    }

    .hero {
    padding: 28px 0 40px;
}

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

    .hero-actions .button {
        width: 100%;
    }

    .dashboard-window {
        transform: none;
    }

    .window-body {
        min-height: 365px;
        grid-template-columns: 50px 1fr;
    }

    .mock-sidebar {
        gap: 12px;
        padding-top: 15px;
    }

    .mock-nav {
        width: 25px;
    }

    .mock-nav.active {
        height: 28px;
    }

    .mock-content {
        padding: 12px;
    }

    .mock-welcome {
        min-height: 100px;
        padding: 16px;
    }

    .mock-welcome h2 {
        font-size: 1.22rem;
    }

    .mock-building {
        display: none;
    }

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

    .mock-module-grid {
        grid-template-columns: 1fr;
    }

    .mock-module-grid article:nth-child(n+3) {
        display: none;
    }

    .floating-card {
        min-width: 168px;
        padding: 10px 12px;
    }

    .floating-card-one {
        left: -4px;
    }

    .floating-card-two {
        right: -4px;
    }

    .trust-strip,
    .pillar-grid,
    .module-grid,
    .market-grid,
    .step-grid {
        grid-template-columns: 1fr;
    }

    .split-heading {
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .pillar-card,
    .module-card,
    .market-card,
    .step-card {
        min-height: 0;
    }

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

    .role-tab {
        width: 100%;
    }

    .role-preview {
        min-height: 545px;
    }

    .phone-frame {
        border-width: 5px;
        border-radius: 28px;
    }

    .desktop-frame {
        min-height: 430px;
        border-width: 5px;
        grid-template-columns: 82px 1fr;
    }

    .desktop-frame aside {
        gap: 12px;
        padding: 14px 10px;
    }

    .desktop-frame aside b {
        font-size: 0.58rem;
    }

    .desktop-main {
        padding: 12px;
    }

    .desktop-hero {
        min-height: 110px;
        padding: 16px;
    }

    .desktop-hero strong {
        font-size: 1.25rem;
    }

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

    .desktop-tools,
    .security-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .desktop-tools i:nth-child(3),
    .security-flow i:nth-child(n+3) {
        display: none;
    }

    .ai-visual {
        min-height: 450px;
    }

    .ai-core {
        width: 190px;
        height: 190px;
    }

    .ai-node {
        width: 125px;
        min-height: 68px;
    }

    .node-one { top: 4%; left: 0; }
    .node-two { top: 12%; right: 0; }
    .node-three { right: 0; bottom: 9%; }
    .node-four { bottom: 4%; left: 0; }

    .integration-diagram {
        min-height: 460px;
    }

    .diagram-device {
        width: 95px;
    }

    .device-one { left: 3%; }
    .device-three { right: 3%; }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 22px;
    }

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

    .footer-brand {
        max-width: none;
        grid-column: 1 / -1;
    }

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

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .chat-launcher {
        right: 14px;
        bottom: 14px;
    }

    .chat-launcher span {
        display: none;
    }

    .chat-launcher {
        width: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .chat-panel {
        right: 14px;
        bottom: 80px;
        width: calc(100vw - 28px);
        max-height: calc(100vh - 100px);
    }
}

@media (max-width: 480px) {
    .brand-copy strong {
        font-size: 0.88rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .trust-strip {
        padding: 13px;
    }

    .trust-strip span {
        font-size: 0.72rem;
    }

    .floating-card-two {
        display: none;
    }

    .role-preview {
        min-height: 520px;
    }

    .phone-grid article {
        min-height: 130px;
        padding: 13px;
    }

    .phone-grid strong {
        font-size: 0.72rem;
    }

    .desktop-frame {
        grid-template-columns: 65px 1fr;
    }

    .desktop-frame aside b {
        display: none;
    }

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

    .desktop-stats i:nth-child(3) {
        display: none;
    }

    .ai-node span {
        display: none;
    }

    .ai-node {
        width: 58px;
        min-height: 58px;
        justify-content: center;
        padding: 10px;
    }

    .diagram-cloud {
        width: 165px;
    }

    .diagram-gateway {
        width: 125px;
    }

    .diagram-device {
        width: 82px;
        min-height: 86px;
    }

    .diagram-device span {
        font-size: 0.62rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

