/* ==========================================================================
   GARDI — landing page
   Brand: navy #1e2a5a · teal #0f9488
   ========================================================================== */

:root {
    --ink: #0a1a33;
    --navy: #1e2a5a;
    --teal: #0f9488;
    --teal-dark: #0b7a70;
    --teal-soft: #e8f7f4;
    --muted: #5a6b81;
    --muted-light: #8494a8;
    --bg: #f7fbfa;
    --surface: #ffffff;
    --line: #e2ecea;
    --line-soft: rgba(15, 148, 136, 0.12);
    --amber: #f0a02a;
    --danger: #e34d59;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(10, 26, 51, 0.05), 0 6px 18px -12px rgba(10, 26, 51, 0.25);
    --shadow: 0 24px 60px -32px rgba(10, 26, 51, 0.38);
    --shadow-lg: 0 40px 90px -40px rgba(10, 26, 51, 0.45);
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1180px;
    --nav-h: 84px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 20px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--muted);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ink);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
}

::selection {
    background: rgba(15, 148, 136, 0.22);
    color: var(--ink);
}

:focus-visible {
    outline: 3px solid rgba(15, 148, 136, 0.55);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 10px 0;
}

.skip-link:focus {
    left: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: none;
    transition: transform 0.25s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, #12a89b 100%);
    color: #fff;
    box-shadow: 0 14px 30px -14px rgba(15, 148, 136, 0.85);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px -14px rgba(15, 148, 136, 0.9);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(30, 42, 90, 0.14);
    color: var(--navy);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    border-color: rgba(15, 148, 136, 0.5);
    color: var(--teal-dark);
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.55);
}

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

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 11px 20px;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
    background: rgba(247, 251, 250, 0.86);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom-color: var(--line);
    box-shadow: 0 12px 30px -26px rgba(10, 26, 51, 0.5);
}

.nav {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.brand img {
    height: 48px;
    width: auto;
}

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

.nav-links a {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
    color: #33445c;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: rgba(15, 148, 136, 0.09);
    color: var(--teal-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex: none;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 40px -30px rgba(10, 26, 51, 0.5);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu ul {
    padding: 14px 24px 22px;
    display: grid;
    gap: 4px;
}

.mobile-menu a {
    display: block;
    padding: 12px 8px;
    font-weight: 600;
    color: #28394f;
    border-radius: 10px;
}

.mobile-menu a:hover {
    background: var(--teal-soft);
    color: var(--teal-dark);
}

.mobile-menu .btn {
    width: 100%;
    margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    padding: 64px 0 40px;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto;
    height: 120%;
    background:
        radial-gradient(52% 60% at 12% 18%, rgba(15, 148, 136, 0.16), transparent 70%),
        radial-gradient(45% 55% at 88% 8%, rgba(30, 42, 90, 0.12), transparent 72%),
        radial-gradient(60% 60% at 60% 100%, rgba(18, 168, 155, 0.1), transparent 75%);
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 42, 90, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 42, 90, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(70% 60% at 50% 25%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(70% 60% at 50% 25%, #000 20%, transparent 78%);
    z-index: -1;
    pointer-events: none;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    margin-bottom: 22px;
}

.eyebrow i {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-dark);
}

.eyebrow i svg {
    width: 13px;
    height: 13px;
}

.eyebrow em {
    font-style: normal;
    color: var(--teal-dark);
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(2.35rem, 4.4vw, 3.7rem);
    letter-spacing: -0.035em;
    line-height: 1.06;
    margin-bottom: 22px;
}

.hero h1 .grad {
    background: linear-gradient(100deg, var(--teal) 10%, #16a34a 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: 17.5px;
    max-width: 540px;
    color: #50617a;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-size: 13.5px;
    font-weight: 600;
    color: #52637a;
}

.hero-notes span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-notes svg {
    width: 16px;
    height: 16px;
    color: var(--teal);
    flex: none;
}

/* Hero mockup ------------------------------------------------------------- */

.hero-visual {
    position: relative;
    perspective: 1400px;
}

.mock {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
    will-change: transform;
}

.mock-window {
    background: #fff;
    border: 1px solid rgba(30, 42, 90, 0.09);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid #eef3f2;
    background: #fbfdfd;
}

.mock-dots {
    display: inline-flex;
    gap: 5px;
}

.mock-dots i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #dbe5e3;
}

.mock-dots i:first-child {
    background: #f4c9c9;
}

.mock-dots i:nth-child(2) {
    background: #f6e0b5;
}

.mock-dots i:nth-child(3) {
    background: #bfe6d8;
}

.mock-url {
    flex: 1;
    text-align: center;
    font-size: 10.5px;
    letter-spacing: 0.02em;
    color: #8c9aa9;
    background: #f3f8f7;
    border-radius: 7px;
    padding: 3px 10px;
    max-width: 230px;
    margin-inline: auto;
    overflow: hidden;
    white-space: nowrap;
}

.mock-body {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 340px;
}

.mock-side {
    background: linear-gradient(180deg, #101d3f 0%, #1b2b58 100%);
    padding: 16px 12px;
    color: #c8d4e6;
}

.mock-side-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-inline: 4px;
}

.mock-side-brand b {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: linear-gradient(140deg, var(--teal), #16b5a4);
    color: #fff;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 800;
}

.mock-side-brand span {
    color: #fff;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.mock-nav {
    display: grid;
    gap: 3px;
}

.mock-nav span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 10.5px;
    font-weight: 500;
    color: #a9b8cf;
}

.mock-nav span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.25);
    flex: none;
}

.mock-nav span.is-active {
    background: rgba(18, 168, 155, 0.22);
    color: #fff;
    font-weight: 600;
}

.mock-nav span.is-active::before {
    background: #3ddbc7;
    box-shadow: 0 0 0 3px rgba(61, 219, 199, 0.18);
}

.mock-main {
    padding: 16px;
    background: #fbfdfc;
    min-width: 0;
}

.mock-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.mock-head small {
    display: block;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b3;
    margin-bottom: 3px;
}

.mock-head strong {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.mock-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 9.5px;
    font-weight: 700;
    color: #0d8f7f;
    background: #e6f8f4;
    border-radius: 999px;
    padding: 4px 9px;
    white-space: nowrap;
}

.mock-live i {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #12b8a3;
    animation: pulseDot 1.8s ease-in-out infinite;
}

.mock-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.mock-kpi {
    background: #fff;
    border: 1px solid #edf3f2;
    border-radius: 11px;
    padding: 9px 10px;
}

.mock-kpi span {
    display: block;
    font-size: 9px;
    color: #8b9aab;
    margin-bottom: 3px;
}

.mock-kpi strong {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.mock-kpi em {
    display: block;
    font-style: normal;
    font-size: 8.5px;
    font-weight: 600;
    margin-top: 2px;
    color: #0d8f7f;
}

.mock-kpi em.warn {
    color: #c98116;
}

.mock-panels {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 8px;
}

.mock-panel {
    background: #fff;
    border: 1px solid #edf3f2;
    border-radius: 11px;
    padding: 10px;
    min-width: 0;
}

.mock-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 9.5px;
    font-weight: 700;
    color: #33445c;
}

.mock-panel-head small {
    font-size: 8.5px;
    font-weight: 600;
    color: #8ba0b3;
}

.mock-shift {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 0;
    border-bottom: 1px dashed #eef3f2;
}

.mock-shift:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.mock-avatar {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(140deg, #d9f2ee, #bfe9e2);
    color: #0b7a70;
    font-size: 8.5px;
    font-weight: 800;
    flex: none;
}

.mock-shift div {
    min-width: 0;
    flex: 1;
}

.mock-shift b {
    display: block;
    font-size: 9.5px;
    color: #22344b;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-shift small {
    display: block;
    font-size: 8px;
    color: #93a3b4;
}

.mock-shift .tag {
    font-size: 7.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    background: #e9f8f4;
    color: #0d8f7f;
    white-space: nowrap;
}

.mock-shift .tag.late {
    background: #fdf3e4;
    color: #b8790f;
}

.mock-alarm {
    background: linear-gradient(160deg, #fff6f5, #fff);
    border-color: #fbe3e1;
}

.mock-alarm .alarm-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9.5px;
    font-weight: 700;
    color: #b93a45;
    margin-bottom: 6px;
}

.mock-alarm .alarm-title::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(227, 77, 89, 0.14);
    animation: pulseDot 1.6s ease-in-out infinite;
}

.mock-alarm p {
    font-size: 8.5px;
    line-height: 1.5;
    color: #7d8a9a;
    margin-bottom: 7px;
}

.mock-alarm p b {
    color: #3c4c61;
}

.mock-alarm button {
    width: 100%;
    border: 0;
    border-radius: 7px;
    background: #e34d59;
    color: #fff;
    font-size: 8.5px;
    font-weight: 700;
    padding: 6px;
    cursor: default;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(30, 42, 90, 0.08);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 22px 44px -24px rgba(10, 26, 51, 0.5);
    backdrop-filter: blur(8px);
    animation: floatY 7s ease-in-out infinite;
    z-index: 3;
}

.floating-card b {
    display: block;
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--ink);
    line-height: 1.3;
}

.floating-card small {
    display: block;
    font-size: 10.5px;
    color: #7a8a9c;
    line-height: 1.4;
}

.floating-card .fc-icon {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--teal-soft);
    color: var(--teal-dark);
    flex: none;
}

.floating-card .fc-icon svg {
    width: 16px;
    height: 16px;
}

.floating-card--checkin {
    top: 14%;
    left: -34px;
}

.floating-card--attendance {
    bottom: 12%;
    right: -26px;
    animation-delay: -3.2s;
}

/* Ticker ------------------------------------------------------------------ */

.ticker {
    border-block: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.6);
    overflow: hidden;
    padding: 14px 0;
    margin-top: 34px;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: marquee 42s linear infinite;
}

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-group {
    display: flex;
    align-items: center;
    gap: 34px;
    padding-right: 34px;
}

.ticker-group span {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #71829a;
    white-space: nowrap;
}

.ticker-group span::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(15, 148, 136, 0.55);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
    position: relative;
    padding: clamp(60px, 7.5vw, 92px) 0;
}

.section--white {
    background: #ffffff;
}

.section--alt {
    background: linear-gradient(180deg, #f0f9f6 0%, #e9f5f1 100%);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 54px;
    text-align: center;
}

.section-head.left {
    margin-inline: 0;
    text-align: left;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 14px;
}

.kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--teal);
}

.section-head.center .kicker::after {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--teal);
}

.section h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.65rem);
    margin-bottom: 16px;
}

.section-lead {
    font-size: 16.5px;
    color: #5a6b81;
}

/* Stats ------------------------------------------------------------------- */

.stats-band {
    position: relative;
    padding: 34px 0;
    background: linear-gradient(120deg, #081327 0%, #102b4d 52%, #0b3a45 100%);
    overflow: hidden;
    isolation: isolate;
}

.stats-band::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 320px;
    top: -190px;
    right: 6%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(61, 219, 199, 0.26), transparent 68%);
    z-index: -1;
    pointer-events: none;
}

.stats-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
    z-index: -1;
    pointer-events: none;
}

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

.stat {
    display: flex;
    gap: 15px;
    padding: 10px 26px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 0;
}

.stat:first-child {
    padding-left: 0;
}

.stat:last-child {
    padding-right: 0;
    border-right: 0;
}

.stat-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(61, 219, 199, 0.13);
    border: 1px solid rgba(61, 219, 199, 0.22);
    color: #5ee6d2;
    flex: none;
    margin-top: 2px;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-body {
    min-width: 0;
}

.stat-figure {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 5px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.5vw, 2.1rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #4fe0cb;
}

.stat-desc {
    font-size: 12.5px;
    line-height: 1.55;
    color: #9db0c6;
    max-width: 240px;
}

/* Features ---------------------------------------------------------------- */

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

.feature {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px 26px;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.feature::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), #2fd0bd);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(15, 148, 136, 0.35);
}

.feature:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--teal-soft);
    color: var(--teal-dark);
    margin-bottom: 18px;
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.feature-icon svg {
    width: 23px;
    height: 23px;
}

.feature:hover .feature-icon {
    background: linear-gradient(140deg, var(--teal), #16b5a4);
    color: #fff;
    transform: rotate(-4deg) scale(1.04);
}

.feature h3 {
    font-size: 17.5px;
    margin-bottom: 9px;
    letter-spacing: -0.015em;
}

.feature p {
    font-size: 14.5px;
    color: #5e6f85;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.feature-tags span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #4d6a74;
    background: #f3f9f8;
    border: 1px solid #e6f1ef;
    border-radius: 999px;
    padding: 4px 9px;
}

/* Split (control room) ---------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.checklist {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.checklist li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    font-size: 15px;
    color: #4f607a;
}

.checklist li b {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 15px;
    margin-bottom: 2px;
}

.checklist .tick {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-dark);
    flex: none;
    margin-top: 2px;
}

.checklist .tick svg {
    width: 13px;
    height: 13px;
}

.ops-visual {
    position: relative;
}

.ops-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 26px;
}

.ops-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef3f2;
    margin-bottom: 18px;
}

.ops-head b {
    font-family: var(--font-display);
    color: var(--ink);
    font-size: 15px;
}

.ops-head small {
    font-size: 12px;
    color: #8ba0b3;
}

.ops-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
}

.ops-row + .ops-row {
    border-top: 1px dashed #eef3f2;
}

.ops-row .ops-ic {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #f2f9f8;
    color: var(--teal-dark);
    flex: none;
}

.ops-row .ops-ic svg {
    width: 18px;
    height: 18px;
}

.ops-row div {
    flex: 1;
    min-width: 0;
}

.ops-row b {
    display: block;
    font-size: 13.5px;
    color: #23344b;
    font-weight: 600;
}

.ops-row small {
    display: block;
    font-size: 12px;
    color: #8b9bad;
}

.pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.pill-ok {
    background: #e7f8f4;
    color: #0b7a70;
}

.pill-warn {
    background: #fdf3e3;
    color: #ad7212;
}

.pill-info {
    background: #eaf0fb;
    color: #33518f;
}

.ops-hero-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(140deg, #0f2a4a, #143c5f);
    color: #cfe3f0;
}

.ops-hero-metric b {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    color: #fff;
    line-height: 1.1;
}

.ops-hero-metric span {
    font-size: 12px;
}

.bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 46px;
}

.bars i {
    width: 8px;
    border-radius: 4px;
    background: linear-gradient(180deg, #3ddbc7, #0f9488);
    animation: growBar 2.4s ease-in-out infinite alternate;
    transform-origin: bottom;
}

.bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.bars i:nth-child(2) { height: 62%; animation-delay: 0.15s; }
.bars i:nth-child(3) { height: 48%; animation-delay: 0.3s; }
.bars i:nth-child(4) { height: 78%; animation-delay: 0.45s; }
.bars i:nth-child(5) { height: 56%; animation-delay: 0.6s; }
.bars i:nth-child(6) { height: 92%; animation-delay: 0.75s; }
.bars i:nth-child(7) { height: 70%; animation-delay: 0.9s; }

/* Roles ------------------------------------------------------------------- */

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

.role-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 26px 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    right: -50px;
    top: -50px;
    background: radial-gradient(circle, rgba(15, 148, 136, 0.14), transparent 70%);
    transition: transform 0.4s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.role-card:hover::before {
    transform: scale(1.6);
}

.role-card .role-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--teal-soft);
    color: var(--teal-dark);
    margin-bottom: 16px;
}

.role-card .role-icon svg {
    width: 21px;
    height: 21px;
}

.role-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.role-card p {
    font-size: 13.5px;
    color: #5e6f85;
    margin-bottom: 14px;
}

.role-card ul {
    display: grid;
    gap: 6px;
}

.role-card li {
    position: relative;
    padding-left: 16px;
    font-size: 12.5px;
    color: #5a6b81;
}

.role-card li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--teal);
}

/* Mobile app -------------------------------------------------------------- */

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

.app-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    gap: 48px;
    align-items: center;
    background: linear-gradient(135deg, #0c1c3a 0%, #132a52 55%, #0e3f52 100%);
    border-radius: 32px;
    padding: 58px 54px;
    color: #c6d6e6;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.app-card::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -120px;
    top: -160px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(24, 197, 178, 0.42), transparent 68%);
    z-index: -1;
}

.app-card::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    left: 38%;
    bottom: -240px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56, 132, 255, 0.3), transparent 68%);
    z-index: -1;
}

.app-card .kicker {
    color: #56e0cd;
}

.app-card .kicker::before,
.app-card .kicker::after {
    background: #56e0cd;
}

.app-card h2 {
    color: #fff;
    margin-bottom: 16px;
}

.app-card p {
    color: #a9bcce;
    font-size: 15.5px;
    margin-bottom: 26px;
}

.app-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin-bottom: 30px;
}

.app-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: #c9d8e6;
}

.app-list svg {
    width: 16px;
    height: 16px;
    color: #48dcc8;
    flex: none;
    margin-top: 3px;
}

.app-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone {
    width: 244px;
    border-radius: 34px;
    background: linear-gradient(160deg, #20365c, #0d1830);
    padding: 10px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: floatY 8s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.phone-screen {
    border-radius: 26px;
    background: #f4faf9;
    padding: 16px 14px 18px;
    min-height: 430px;
    color: #22344b;
    overflow: hidden;
}

.phone-notch {
    width: 78px;
    height: 5px;
    border-radius: 999px;
    background: rgba(34, 52, 75, 0.18);
    margin: 0 auto 14px;
}

.phone-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.phone-top small {
    display: block;
    font-size: 9px;
    color: #93a3b4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.phone-top b {
    font-family: var(--font-display);
    font-size: 13.5px;
    color: var(--ink);
}

.phone-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e6f8f4;
    color: #0b7a70;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 8.5px;
    font-weight: 700;
}

.phone-badge i {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #12b8a3;
}

.phone-shift {
    background: #fff;
    border: 1px solid #e8f1ef;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 10px 24px -20px rgba(10, 26, 51, 0.5);
}

.phone-shift span {
    font-size: 8.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93a3b4;
}

.phone-shift b {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    margin: 4px 0 2px;
    color: var(--ink);
}

.phone-shift small {
    font-size: 9.5px;
    color: #7a8a9c;
}

.phone-progress {
    height: 5px;
    border-radius: 999px;
    background: #edf4f3;
    margin-top: 9px;
    overflow: hidden;
}

.phone-progress i {
    display: block;
    height: 100%;
    width: 68%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f9488, #3ddbc7);
}

.phone-sos {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: 16px auto;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 30%, #ff7b84, #d8323f);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.08em;
    box-shadow: 0 0 0 8px rgba(227, 77, 89, 0.12), 0 0 0 18px rgba(227, 77, 89, 0.06);
    animation: sosPulse 2.6s ease-in-out infinite;
    position: relative;
}

.phone-sos small {
    display: block;
    font-size: 7.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.85;
    margin-top: 2px;
}

.phone-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.phone-actions span {
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    color: #0b7a70;
    background: #ffffff;
    border: 1px solid #e2efec;
    border-radius: 10px;
    padding: 8px 4px;
}

.phone-float {
    position: absolute;
    right: -6px;
    top: 22%;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 10px;
    font-weight: 700;
    color: #22344b;
    box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 7px;
    animation: floatY 6s ease-in-out infinite reverse;
    z-index: 3;
}

.phone-float i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #12b8a3;
}

/* Security ---------------------------------------------------------------- */

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.security-item {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 20px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.security-item:hover {
    border-color: rgba(15, 148, 136, 0.4);
    transform: translateY(-3px);
}

.security-item .s-ic {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #eef8f6;
    color: var(--teal-dark);
    flex: none;
}

.security-item .s-ic svg {
    width: 19px;
    height: 19px;
}

.security-item b {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 3px;
}

.security-item p {
    font-size: 12.5px;
    line-height: 1.5;
    color: #62738a;
}

/* Steps ------------------------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    counter-reset: step;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 14%;
    right: 14%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(15, 148, 136, 0.3) 0 8px, transparent 8px 16px);
}

.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-num {
    counter-increment: step;
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #fff;
    border: 2px solid rgba(15, 148, 136, 0.35);
    color: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    margin: -54px auto 16px;
    box-shadow: 0 10px 24px -14px rgba(15, 148, 136, 0.6);
    position: relative;
    z-index: 2;
}

.step h3 {
    font-size: 16.5px;
    margin-bottom: 8px;
}

.step p {
    font-size: 13.5px;
    color: #5e6f85;
}

/* FAQ --------------------------------------------------------------------- */

.faq-wrap {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(15, 148, 136, 0.4);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 400;
    color: var(--teal-dark);
    line-height: 1;
    transition: transform 0.25s ease;
    flex: none;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 22px 20px;
    font-size: 14px;
    color: #5e6f85;
    max-width: 700px;
}

/* CTA --------------------------------------------------------------------- */

.cta {
    position: relative;
    text-align: center;
    padding: 70px 40px;
    border-radius: 32px;
    background: linear-gradient(135deg, #0f9488 0%, #0c7d8f 50%, #1e2a5a 100%);
    color: #dff5f1;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 40px 80px -50px rgba(10, 26, 51, 0.7);
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(40% 60% at 18% 12%, rgba(255, 255, 255, 0.18), transparent 70%),
        radial-gradient(45% 60% at 88% 90%, rgba(61, 219, 199, 0.35), transparent 70%);
    z-index: -1;
}

.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 75%);
    z-index: -1;
}

.cta h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin-bottom: 14px;
}

.cta p {
    max-width: 560px;
    margin: 0 auto 30px;
    color: #cdeae5;
    font-size: 16px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
    background: #081327;
    color: #93a6bb;
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -160px;
    left: 50%;
    width: 680px;
    height: 320px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(15, 148, 136, 0.22), transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 44px;
    padding-bottom: 52px;
}

.footer-brand img {
    height: 46px;
    width: auto;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 13.5px;
    line-height: 1.7;
    max-width: 320px;
    color: #8ba0b8;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #a8bccd;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    padding: 5px 10px;
}

.footer-badges span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #3ddbc7;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-col ul {
    display: grid;
    gap: 10px;
}

.footer-col a {
    font-size: 13.5px;
    color: #93a6bb;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: #4fe0cb;
    transform: translateX(3px);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13.5px;
    color: #93a6bb;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: #3ddbc7;
    flex: none;
    margin-top: 4px;
}

.footer-contact a {
    color: #93a6bb;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12.5px;
    color: #7f93aa;
}

.footer-bottom .designer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a8bccd;
    font-weight: 500;
}

.footer-bottom .designer a {
    color: #fff;
    font-weight: 700;
    transition: color 0.2s ease;
}

.footer-bottom .designer a:hover {
    color: #4fe0cb;
}

.footer-bottom .designer .heart {
    color: #ff6b6b;
    display: inline-flex;
}

.footer-bottom .designer .heart svg {
    width: 13px;
    height: 13px;
}

/* Back to top ------------------------------------------------------------- */

.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 30px -14px rgba(10, 26, 51, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease;
    z-index: 90;
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    background: var(--teal-dark);
}

.to-top svg {
    width: 18px;
    height: 18px;
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
    will-change: opacity, transform;
}

[data-reveal="left"] {
    transform: translateX(-28px);
}

[data-reveal="right"] {
    transform: translateX(28px);
}

[data-reveal="zoom"] {
    transform: scale(0.95);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes growBar {
    from { transform: scaleY(0.75); }
    to { transform: scaleY(1); }
}

@keyframes sosPulse {
    0%, 100% { box-shadow: 0 0 0 8px rgba(227, 77, 89, 0.12), 0 0 0 18px rgba(227, 77, 89, 0.06); }
    50% { box-shadow: 0 0 0 12px rgba(227, 77, 89, 0.16), 0 0 0 24px rgba(227, 77, 89, 0.04); }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

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

    .hero-grid {
        gap: 40px;
    }

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

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

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

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

    .footer-contact-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .hero {
        padding-top: 36px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 7vw, 2.9rem);
    }

    .hero-visual {
        max-width: 620px;
        margin-inline: auto;
        width: 100%;
    }

    .floating-card--checkin {
        left: 0;
    }

    .floating-card--attendance {
        right: 0;
    }

    .split {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .app-card {
        grid-template-columns: minmax(0, 1fr);
        padding: 44px 32px;
        text-align: left;
    }

    .app-visual {
        order: -1;
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .steps::before {
        display: none;
    }

    .step-num {
        margin-top: -54px;
    }

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

    .stat {
        padding: 22px 24px;
    }

    .stat:first-child,
    .stat:nth-child(2) {
        padding-top: 0;
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(1),
    .stat:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 24px;
    }

    .stat:nth-child(3),
    .stat:nth-child(4) {
        padding-bottom: 0;
    }

    .stat:nth-child(3) {
        padding-left: 0;
    }

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

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

    .footer-contact-col {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .brand img {
        height: 42px;
    }

    .section {
        padding: 56px 0;
    }

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

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .hero-notes {
        gap: 8px 16px;
    }

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

    .mock-side {
        display: none;
    }

    .mock-main {
        padding: 14px;
    }

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

    .mock-window {
        border-radius: 16px;
    }

    .floating-card--checkin {
        top: -16px;
        left: 8px;
        padding: 8px 10px;
    }

    .floating-card--attendance {
        bottom: -18px;
        right: 4px;
    }

    .floating-card b {
        font-size: 11px;
    }

    .floating-card small {
        font-size: 9.5px;
    }

    .features-grid,
    .roles-grid,
    .security-grid,
    .app-list {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .stat {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 18px 0 !important;
    }

    .stat:first-child {
        padding-top: 0 !important;
    }

    .stat:last-child {
        border-bottom: 0;
        padding-bottom: 0 !important;
    }

    .stat-desc {
        max-width: none;
    }

    .app-card {
        padding: 38px 22px;
        border-radius: 24px;
    }

    .cta {
        padding: 52px 22px;
        border-radius: 24px;
    }

    .cta-actions .btn {
        flex: 1 1 100%;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .phone {
        width: 230px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
