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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    font-size: var(--fs-body);
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--off-white); }

.section-header { margin-bottom: 3rem; }
.text-center { text-align: center; }

.eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--otu-blue);
    margin-bottom: 0.75rem;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
h3 { font-size: var(--fs-h3); }

.section-sub {
    color: var(--text-muted);
    font-size: 1.0625rem;
    max-width: 640px;
    margin: 0 auto;
}

.text-gold { color: var(--otu-gold); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--otu-blue);
    color: var(--white);
    border-color: var(--otu-blue);
}
.btn-primary:hover {
    background: var(--otu-blue-dark);
    border-color: var(--otu-blue-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--otu-blue);
    border-color: var(--otu-blue);
}
.btn-secondary:hover {
    background: var(--off-white);
}

.btn-block { width: 100%; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header--scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-header);
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    height: var(--header-height);
    gap: 1.25rem;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: start;
    min-height: 44px;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.logo {
    height: 44px;
    width: auto;
    max-width: 140px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2vw, 1.75rem);
    justify-self: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.2s;
    white-space: nowrap;
}

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

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
}

.header-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1.2;
    min-height: 44px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.2s;
}

@media (max-width: 1100px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .header-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 960px) {
    .header-actions {
        display: none;
    }

    .header-inner {
        grid-template-columns: auto 1fr;
    }

    .nav-menu {
        justify-self: end;
    }
}

.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
    padding: 0.625rem 1rem;
    padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
}

.mobile-cta-bar__inner {
    display: grid;
    grid-template-columns: 5.25rem minmax(0, 1fr);
    gap: 0.625rem;
    align-items: stretch;
    max-width: var(--container-max);
    margin: 0 auto;
}

.mobile-cta-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    min-height: 48px;
    padding: 0.625rem 0.75rem;
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    color: var(--otu-blue);
    background: var(--off-white);
    border: 1px solid var(--border);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mobile-cta-bar__btn:hover {
    background: var(--white);
    color: var(--otu-blue-dark);
    border-color: var(--otu-blue);
}

.mobile-cta-bar__btn--call {
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.5rem 0.375rem;
    font-size: 0.6875rem;
}

.mobile-cta-bar__btn svg,
.mobile-cta-bar__icon {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mobile-cta-bar__btn--primary {
    background: var(--otu-blue);
    color: var(--white);
    border-color: var(--otu-blue);
    padding: 0.625rem 1rem;
    white-space: nowrap;
}

.mobile-cta-bar__btn--primary:hover {
    background: var(--otu-blue-dark);
    border-color: var(--otu-blue-dark);
    color: var(--white);
}

.mobile-cta-bar__btn--primary span {
    color: inherit;
}

/* Hero */
.hero {
    position: relative;
    margin-top: calc(-1 * var(--header-height));
    padding-top: calc(var(--header-height) + clamp(2rem, 5vw, 3.5rem));
    padding-bottom: 0;
    background: transparent;
    overflow: hidden;
}

.hero-main {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-bottom: 1rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 90% 6%, rgba(26, 104, 218, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 6% 78%, rgba(255, 196, 13, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #f7faff 0%, #fafcff 30%, #fcfdff 65%, #ffffff 100%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 104, 218, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 104, 218, 0.09) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.65) 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.65) 70%, transparent 100%);
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: transparent;
}

.hero-bg-circle--blue {
    border: 3px solid rgba(26, 104, 218, 0.38);
}

.hero-bg-circle--gold {
    border: 4px solid rgba(255, 196, 13, 0.72);
}

.hero-bg-circle--blue.hero-bg-circle--lg {
    top: 6%;
    right: 10%;
    width: 200px;
    height: 200px;
    box-shadow:
        0 0 0 12px rgba(26, 104, 218, 0.08),
        0 0 0 24px rgba(26, 104, 218, 0.04);
}

.hero-bg-circle--blue.hero-bg-circle--md {
    top: 52%;
    right: 22%;
    width: 72px;
    height: 72px;
    border-width: 2.5px;
}

.hero-bg-circle--blue.hero-bg-circle--sm {
    top: 28%;
    right: 4%;
    width: 36px;
    height: 36px;
    border-width: 2.5px;
    opacity: 0.85;
}

.hero-bg-circle--gold.hero-bg-circle--lg {
    bottom: 18%;
    left: 2%;
    width: 150px;
    height: 150px;
    box-shadow:
        0 0 0 10px rgba(255, 196, 13, 0.14),
        0 0 0 20px rgba(255, 196, 13, 0.08),
        0 0 0 32px rgba(255, 196, 13, 0.04);
}

.hero-bg-circle--gold.hero-bg-circle--md {
    top: 18%;
    left: 10%;
    width: 56px;
    height: 56px;
    border-width: 3.5px;
    box-shadow: 0 0 0 6px rgba(255, 196, 13, 0.1);
}

.hero-bg-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.85) 55%, #ffffff 100%);
}

.hero-main > .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-desc {
    color: var(--text-muted);
    margin: 1.25rem 0 2rem;
    font-size: 1.0625rem;
}

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

.hero-form-card {
    scroll-margin-top: 90px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(26, 104, 218, 0.18);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    box-shadow: 0 16px 48px rgba(26, 104, 218, 0.12);
    max-width: 400px;
    margin-left: auto;
}

.hero-form-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.hero-form-sub {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.hero-form .form-group { margin-bottom: 0.75rem; }

.hero-form .form-row--compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    margin-bottom: 0;
}

.hero-form .form-row--compact .form-group { margin-bottom: 0.75rem; }

.hero-form .form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: #374151;
}

.hero-form .form-group input,
.hero-form .select-field select {
    width: 100%;
    height: 42px;
    padding: 0 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 0.875rem;
    line-height: 1.25;
    background: var(--white);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-form .select-field {
    position: relative;
}

.hero-form .select-field::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.75rem;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
}

.hero-form .select-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.25rem;
    cursor: pointer;
}

.hero-form .select-field select:invalid {
    color: #9ca3af;
}

.hero-form .select-field select option {
    color: var(--text-primary);
}

.hero-form .select-field select option[value=""][disabled] {
    color: #9ca3af;
}

.hero-form .form-group input::placeholder { color: #9ca3af; }

.hero-form .form-group input:focus,
.hero-form .select-field select:focus {
    outline: none;
    border-color: var(--otu-blue);
    box-shadow: 0 0 0 3px rgba(26, 104, 218, 0.12);
}

.hero-form-submit {
    margin-top: 0.25rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
}

.logo-marquee-wrap {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: 3rem 0 2.75rem;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.marquee-label {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-small);
    margin-bottom: 1.25rem;
}

.logo-marquee { overflow: hidden; }

.logo-marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-logo {
    height: 56px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    opacity: 1;
    flex-shrink: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

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

/* Platform showcase */
.platform-grid {
    display: grid;
    grid-template-columns: 200px minmax(0, 1.75fr) 260px;
    gap: 2rem;
    align-items: center;
}

.platform-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.platform-tab {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    font-family: var(--font-family);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.platform-tab i,
.platform-tab svg { width: 18px; height: 18px; flex-shrink: 0; }

.platform-tab:hover { background: var(--off-white); }

.platform-tab.active {
    background: var(--tab-active-bg);
    color: var(--white);
    border-color: var(--tab-active-bg);
}

.platform-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 420px;
}

/* Shared platform mockup card */
.platform-mockup-card {
    width: 100%;
    max-width: 520px;
    background: var(--white);
    border-radius: var(--radius-mockup);
    box-shadow: var(--shadow-mockup);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: opacity 0.15s ease;
}

.platform-mockup-card__chrome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border);
}

.platform-mockup-card__dots {
    display: flex;
    gap: 0.375rem;
}

.platform-mockup-card__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.platform-mockup-card__dots span:nth-child(1) { background: #ef4444; }
.platform-mockup-card__dots span:nth-child(2) { background: #f59e0b; }
.platform-mockup-card__dots span:nth-child(3) { background: #22c55e; }

.platform-mockup-card__url {
    flex: 1;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.25rem 0.625rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-mockup-card__body {
    padding: 1.25rem 1.25rem 1rem;
}

.platform-mockup-card__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--otu-blue);
    margin-bottom: 0.25rem;
}

.platform-mockup-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.platform-mockup > [hidden] {
    display: none !important;
}

/* Attendance calendar mockup */
.attendance-calendar {
    /* inherits .platform-mockup-card */
}

.attendance-calendar__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.attendance-calendar__stats {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex-shrink: 0;
}

.attendance-stat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.attendance-stat i {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.attendance-stat strong {
    color: var(--text-primary);
    font-weight: 700;
}

.attendance-stat--present i { color: var(--success); }
.attendance-stat--absent i { color: var(--error); }
.attendance-stat--leave i { color: #d97706; }

.attendance-calendar__weekdays,
.attendance-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.375rem;
}

.attendance-calendar__weekdays {
    margin-bottom: 0.5rem;
}

.attendance-calendar__weekdays span {
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.attendance-day {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid transparent;
    min-height: 0;
}

.attendance-day--empty {
    background: transparent;
    border: none;
}

.attendance-day__num {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}

.attendance-day__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
}

.attendance-day__mark i {
    width: 11px;
    height: 11px;
    stroke-width: 3;
}

.attendance-day__mark--present {
    background: #dcfce7;
    color: var(--success);
}

.attendance-day--present {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.attendance-day__mark--absent {
    background: #fee2e2;
    color: var(--error);
}

.attendance-day--absent {
    background: #fef2f2;
    border-color: #fecaca;
}

.attendance-day__mark--leave {
    background: #fef3c7;
    color: #b45309;
}

.attendance-day--leave {
    background: #fffbeb;
    border-color: #fde68a;
}

.attendance-day--weekend {
    background: transparent;
    border-color: transparent;
}

.attendance-day--weekend .attendance-day__num {
    color: #cbd5e1;
}

.attendance-day--future .attendance-day__num {
    color: #94a3b8;
}

.attendance-day--today {
    background: #eff6ff;
    border-color: var(--otu-blue);
    box-shadow: 0 0 0 2px rgba(26, 104, 218, 0.15);
}

.attendance-day--today .attendance-day__num {
    color: var(--otu-blue);
}

.attendance-calendar__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.attendance-calendar__legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.attendance-calendar__legend i {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

.attendance-calendar__legend span:first-child i { color: var(--success); }
.attendance-calendar__legend span:nth-child(2) i { color: var(--error); }

.attendance-legend-leave {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fef3c7;
    color: #b45309;
    font-size: 0.625rem;
    font-weight: 700;
}

/* Payroll mockup */
.payroll-mockup__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payroll-mockup__employee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: right;
    flex-shrink: 0;
}

.payroll-mockup__employee strong {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-primary);
}

.payroll-mockup__employee span {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.payroll-mockup__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--otu-blue);
    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payroll-mockup__tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.payroll-mockup__table h5 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.payroll-mockup__table h5 i {
    width: 14px;
    height: 14px;
}

.payroll-mockup__table--deductions h5 i { color: var(--error); }
.payroll-mockup__table:not(.payroll-mockup__table--deductions) h5 i { color: var(--success); }

.payroll-mockup__table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.6875rem;
}

.payroll-mockup__table td {
    padding: 0.3125rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid #f1f5f9;
}

.payroll-mockup__table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--text-primary);
}

.payroll-mockup__table tfoot td {
    border-bottom: none;
    padding-top: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.payroll-mockup__table--deductions tfoot td:last-child { color: var(--error); }
.payroll-mockup__table:not(.payroll-mockup__table--deductions) tfoot td:last-child { color: var(--success); }

.payroll-mockup__net {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border-radius: 10px;
    border: 1px solid #dbeafe;
}

.payroll-mockup__net span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

.payroll-mockup__net strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--otu-blue);
}

/* Expense mockup */
.expense-mockup__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.expense-mockup__add {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.625rem;
    font-family: var(--font-family);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--white);
    background: var(--otu-blue);
    border: none;
    border-radius: 6px;
    cursor: default;
    flex-shrink: 0;
}

.expense-mockup__add i { width: 12px; height: 12px; }

.expense-mockup__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.expense-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.expense-stat i {
    width: 18px;
    height: 18px;
    color: var(--otu-blue);
    flex-shrink: 0;
}

.expense-stat strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.expense-stat span {
    font-size: 0.625rem;
    color: var(--text-muted);
}

.expense-stat--pending i { color: #d97706; }
.expense-stat--approved i { color: var(--success); }

.expense-mockup__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.expense-mockup__list li {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    background: #fafbfc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.expense-mockup__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expense-mockup__icon i { width: 16px; height: 16px; }
.expense-mockup__icon--travel { background: #eff6ff; color: var(--otu-blue); }
.expense-mockup__icon--food { background: #fef3c7; color: #b45309; }
.expense-mockup__icon--supplies { background: #f3e8ff; color: #7c3aed; }

.expense-mockup__detail strong {
    display: block;
    font-size: 0.75rem;
    color: var(--text-primary);
}

.expense-mockup__detail span {
    font-size: 0.625rem;
    color: var(--text-muted);
}

.expense-mockup__amount {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.expense-mockup__badge {
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.1875rem 0.375rem;
    border-radius: 4px;
}

.expense-mockup__badge--approved {
    background: #dcfce7;
    color: var(--success);
}

.expense-mockup__badge--pending {
    background: #fef3c7;
    color: #b45309;
}

/* Field force mockup */
.fieldforce-mockup__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.fieldforce-mockup__live {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--success);
    padding: 0.25rem 0.5rem;
    background: #f0fdf4;
    border-radius: var(--radius-pill);
    border: 1px solid #bbf7d0;
}

.fieldforce-mockup__live > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: fieldforce-pulse 1.5s ease-in-out infinite;
}

@keyframes fieldforce-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.fieldforce-mockup__timeline {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.fieldforce-shift {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0.625rem;
    align-items: stretch;
}

.fieldforce-shift__time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.25rem 0;
}

.fieldforce-shift__line {
    flex: 1;
    width: 2px;
    background: #e2e8f0;
    margin: 0.25rem 0;
    border-radius: 1px;
}

.fieldforce-shift--active .fieldforce-shift__line {
    background: var(--otu-blue);
}

.fieldforce-shift__card {
    padding: 0.625rem 0.75rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.fieldforce-shift--active .fieldforce-shift__card {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.fieldforce-shift__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.fieldforce-shift__top strong {
    font-size: 0.8125rem;
    color: var(--text-primary);
}

.fieldforce-shift__status {
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    background: #dcfce7;
    color: var(--success);
}

.fieldforce-shift__status--travel {
    background: #fef3c7;
    color: #b45309;
}

.fieldforce-shift__status--upcoming {
    background: #f1f5f9;
    color: var(--text-muted);
}

.fieldforce-shift__card p {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin: 0.125rem 0 0;
}

.fieldforce-shift__card p i {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Recruitment mockup */
.recruitment-mockup__header {
    margin-bottom: 1rem;
}

.recruitment-mockup__candidate {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    align-items: start;
}

.recruitment-mockup__score {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.recruitment-mockup__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.recruitment-mockup__ring-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 8;
}

.recruitment-mockup__ring-fill {
    fill: none;
    stroke: var(--otu-blue);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 264;
    stroke-dashoffset: 34;
}

.recruitment-mockup__score-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--otu-blue);
    line-height: 1;
}

.recruitment-mockup__score-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.recruitment-mockup__name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.recruitment-mockup__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3e8ff;
    color: #7c3aed;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recruitment-mockup__name-row strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.recruitment-mockup__name-row span {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.recruitment-mockup__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

.recruitment-mockup__skills span {
    font-size: 0.625rem;
    font-weight: 500;
    padding: 0.1875rem 0.5rem;
    background: #f1f5f9;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
}

.recruitment-mockup__bars {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

.recruitment-mockup__bar {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 0.5rem;
}

.recruitment-mockup__bar > span {
    font-size: 0.625rem;
    color: var(--text-muted);
}

.recruitment-mockup__bar-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.recruitment-mockup__bar-track div {
    height: 100%;
    background: var(--otu-blue);
    border-radius: 3px;
}

.recruitment-mockup__actions {
    display: flex;
    gap: 0.5rem;
}

.recruitment-mockup__btn {
    padding: 0.375rem 0.75rem;
    font-family: var(--font-family);
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    cursor: default;
}

.recruitment-mockup__btn--primary {
    background: var(--otu-blue);
    border-color: var(--otu-blue);
    color: var(--white);
}

/* Reports mockup */
.reports-mockup__header {
    margin-bottom: 1rem;
}

.reports-mockup__kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.reports-kpi {
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
}

.reports-kpi i {
    width: 14px;
    height: 14px;
    color: var(--otu-blue);
    margin-bottom: 0.25rem;
}

.reports-kpi strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.reports-kpi span {
    font-size: 0.5625rem;
    color: var(--text-muted);
}

.reports-kpi--up strong { color: var(--success); }
.reports-kpi--up i { color: var(--success); }
.reports-kpi--down strong { color: var(--error); }
.reports-kpi--down i { color: var(--error); }

.reports-mockup__charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.reports-chart {
    padding: 0.625rem;
    background: #fafbfc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.reports-chart h5 {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.reports-chart__bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.375rem;
    height: 64px;
    padding-top: 0.25rem;
}

.reports-chart__bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    height: 100%;
    justify-content: flex-end;
}

.reports-chart__bar-col div {
    width: 100%;
    max-width: 24px;
    background: linear-gradient(180deg, var(--otu-blue) 0%, #60a5fa 100%);
    border-radius: 4px 4px 0 0;
    min-height: 4px;
}

.reports-chart__bar-col span {
    font-size: 0.5625rem;
    color: var(--text-muted);
}

.reports-chart--line {
    color: var(--otu-blue);
}

.reports-chart__line {
    width: 100%;
    height: 64px;
    display: block;
}

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

.reports-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
}

.reports-tile i {
    width: 16px;
    height: 16px;
    color: var(--otu-blue);
}

/* Mobile app mockup */
.mobile-mockup {
    max-width: 280px;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.mobile-mockup__frame {
    background: #1e293b;
    border-radius: 32px;
    padding: 10px;
    box-shadow: var(--shadow-mockup), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.mobile-mockup__notch {
    width: 96px;
    height: 22px;
    background: #1e293b;
    border-radius: 0 0 14px 14px;
    margin: -2px auto 0;
    position: relative;
    z-index: 1;
}

.mobile-mockup__screen {
    background: linear-gradient(180deg, #eff6ff 0%, var(--white) 35%);
    border-radius: 24px;
    padding: 0.75rem 1rem 1rem;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.mobile-mockup__status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.mobile-mockup__status-icons {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mobile-mockup__status-icons i {
    width: 12px;
    height: 12px;
}

.mobile-mockup__greeting p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 0.125rem;
}

.mobile-mockup__greeting strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.mobile-mockup__clock {
    text-align: center;
    margin: 1.25rem 0 1rem;
}

.mobile-mockup__time {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.mobile-mockup__date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mobile-mockup__location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.mobile-mockup__location i {
    width: 14px;
    height: 14px;
    color: var(--otu-blue);
}

.mobile-mockup__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.mobile-mockup__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.875rem 0.5rem;
    font-family: var(--font-family);
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: default;
}

.mobile-mockup__btn i {
    width: 22px;
    height: 22px;
}

.mobile-mockup__btn--in {
    background: var(--success);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.mobile-mockup__btn--out {
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.mobile-mockup__quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: auto;
}

.mobile-mockup__quick > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.5625rem;
    color: var(--text-muted);
}

.mobile-mockup__quick i {
    width: 18px;
    height: 18px;
    color: var(--otu-blue);
}

.mobile-mockup__home-bar {
    width: 100px;
    height: 4px;
    background: #64748b;
    border-radius: 2px;
    margin: 8px auto 2px;
}

/* More modules mockup */
.modules-mockup__header {
    margin-bottom: 1rem;
}

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

.modules-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem 0.375rem;
    border-radius: 12px;
    border: 1px solid transparent;
    text-align: center;
    transition: transform 0.15s ease;
}

.modules-tile i {
    width: 20px;
    height: 20px;
}

.modules-tile span {
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1.2;
}

.modules-tile--blue { background: #eff6ff; color: var(--otu-blue); border-color: #bfdbfe; }
.modules-tile--purple { background: #f3e8ff; color: #7c3aed; border-color: #ddd6fe; }
.modules-tile--green { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.modules-tile--amber { background: #fffbeb; color: #d97706; border-color: #fde68a; }
.modules-tile--rose { background: #fff1f2; color: #e11d48; border-color: #fecdd3; }
.modules-tile--teal { background: #f0fdfa; color: #0d9488; border-color: #99f6e4; }
.modules-tile--indigo { background: #eef2ff; color: #4f46e5; border-color: #c7d2fe; }
.modules-tile--orange { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }

.platform-copy h3 { margin-bottom: 1rem; }
.platform-copy p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Features */
.features-section {
    background: #f0f4f8;
}

.features-header {
    margin-bottom: 2.5rem;
}

.features-header h2 {
    font-size: clamp(1.625rem, 3.5vw, 2.125rem);
    font-weight: 700;
    color: #1f2937;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.3;
}

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

.feature-card {
    background: var(--white);
    border: none;
    border-radius: 14px;
    padding: 1.5rem 1.5rem 1.75rem;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
}

.feature-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    width: 24px;
    height: 24px;
}

.feature-icon--rose {
    background: #fee2e2;
    color: #dc2626;
}

.feature-icon--purple {
    background: #ede9fe;
    color: #7c3aed;
}

.feature-icon--amber {
    background: #fef3c7;
    color: #d97706;
}

.feature-icon--blue {
    background: #dbeafe;
    color: #2563eb;
}

.feature-icon--pink {
    background: #fce7f3;
    color: #db2777;
}

.feature-icon--green {
    background: #dcfce7;
    color: #16a34a;
}

.feature-arrow {
    color: #111827;
    opacity: 0.85;
    line-height: 1;
    margin-top: 0.15rem;
}

.feature-arrow i {
    width: 18px;
    height: 18px;
}

.feature-card h3 {
    margin-bottom: 0.625rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.35;
}

.feature-card p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

/* Industries — FactoHR-style */
.industry-section {
    background: linear-gradient(0deg, #e6f0ff 0%, rgba(230, 240, 255, 0) 100%);
}

.industry-header {
    margin-bottom: 3rem;
}

.industry-header h2 {
    font-size: clamp(1.625rem, 3.5vw, 2rem);
    font-weight: 700;
    color: #222222;
    line-height: 1.3;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.industry-card--featured {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 704px;
    padding-bottom: 0;
    overflow: hidden;
}

.industry-grid > .industry-card--link:nth-child(2) { grid-column: 1; grid-row: 1; }
.industry-grid > .industry-card--link:nth-child(3) { grid-column: 2; grid-row: 1; }
.industry-grid > .industry-card--link:nth-child(4) { grid-column: 1; grid-row: 2; }
.industry-grid > .industry-card--link:nth-child(5) { grid-column: 2; grid-row: 2; }
.industry-grid > .industry-card--link:nth-child(6) { grid-column: 1; grid-row: 3; }
.industry-grid > .industry-card--link:nth-child(7) { grid-column: 2; grid-row: 3; }
.industry-grid > .industry-card--link:nth-child(8) { grid-column: 3; grid-row: 3; }

.industry-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
    min-height: 340px;
}

.industry-card-featured-top {
    width: 100%;
    padding-bottom: 20px;
}

.industry-card--featured h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #222222;
    line-height: 1.3;
    margin: 0;
}

.industry-card-featured-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
    align-self: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.industry-card-featured-top .btn {
    margin-top: 40px;
}

.industry-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-card--link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px 2px rgba(0, 0, 0, 0.12);
}

.industry-card-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.industry-card-arrow {
    position: absolute;
    top: 40px;
    right: 40px;
    line-height: 0;
}

.industry-card--link h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222222;
    margin: 24px 0 16px;
    line-height: 1.3;
}

.industry-card--link p {
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

/* Demo video */
.demo-video-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.demo-video-header {
    margin-bottom: 2.5rem;
}

.demo-video-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--otu-blue);
    margin-bottom: 0.75rem;
}

.demo-video-header h2 {
    max-width: 780px;
    margin: 0 auto 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.35;
}

.demo-video-header .section-sub {
    max-width: 520px;
    margin: 0 auto;
}

.demo-video-frame {
    max-width: 1080px;
    margin: 0 auto;
}

.demo-video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow:
        0 0 0 1px rgba(26, 104, 218, 0.08),
        0 24px 64px rgba(26, 104, 218, 0.14);
}

.promo-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #0f172a;
}

.demo-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(15, 23, 42, 0.22);
    cursor: pointer;
    transition: opacity 0.25s ease, background 0.25s ease;
    z-index: 2;
}

.demo-video-play:hover {
    background: rgba(15, 23, 42, 0.32);
}

.demo-video-play.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.demo-video-play-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--otu-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(26, 104, 218, 0.45);
    transition: transform 0.2s ease;
}

.demo-video-play:hover .demo-video-play-icon {
    transform: scale(1.06);
}

.demo-video-play-icon i {
    width: 34px;
    height: 34px;
    margin-left: 4px;
}

/* Tally */
.tally-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.tally-logo { max-width: 200px; }

.tally-content p { color: var(--text-muted); margin: 1rem 0 1.5rem; }

/* Tally plugin connection */
.tally-plugin-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tally-plugin-section .section-header {
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.plugin-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 920px;
    margin: 0 auto;
}

.plugin-node {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.plugin-node--host { flex-direction: row; }
.plugin-node--addon { flex-direction: row; }

.plugin-node__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    min-width: 200px;
    text-align: center;
}

.plugin-node__card--tally {
    border-color: rgba(26, 104, 218, 0.2);
}

.plugin-node__logo {
    width: auto;
    height: 52px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.plugin-node__logo--tally {
    height: 56px;
    max-width: 160px;
    object-fit: contain;
}

.plugin-port {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 4px;
}

.plugin-port__body {
    width: 14px;
    height: 28px;
    background: var(--otu-blue);
    border-radius: 3px;
    box-shadow: inset 0 0 0 2px var(--otu-blue-dark);
}

.plugin-port__body--plug {
    background: linear-gradient(180deg, var(--otu-blue) 0%, var(--otu-blue-dark) 100%);
}

.plugin-port__pin {
    width: 5px;
    height: 14px;
    background: var(--otu-gold);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.plugin-port__pin--out {
    background: var(--otu-gold);
}

.plugin-connector {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 80px;
    max-width: 220px;
    position: relative;
}

.plugin-cable {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--otu-blue-dark), var(--otu-blue));
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.plugin-cable--left { border-radius: 2px 0 0 2px; }
.plugin-cable--right { border-radius: 0 2px 2px 0; }

.plugin-cable__pulse {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 4px;
    margin-top: -2px;
    background: var(--otu-gold);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 196, 13, 0.6);
}

.plugin-cable__pulse--left {
    animation: plugin-pulse-left 2s ease-in-out infinite;
}

.plugin-cable__pulse--right {
    animation: plugin-pulse-right 2s ease-in-out infinite;
}

@keyframes plugin-pulse-left {
    0% { left: calc(100% - 24px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 0; opacity: 0; }
}

@keyframes plugin-pulse-right {
    0% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% - 24px); opacity: 0; }
}

.plugin-plug-icon {
    flex-shrink: 0;
    width: 72px;
    height: 44px;
    filter: drop-shadow(0 2px 6px rgba(26, 104, 218, 0.2));
}

.plugin-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    list-style: none;
    margin-top: 2.5rem;
    padding: 0;
}

.plugin-features li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plugin-features li i {
    width: 18px;
    height: 18px;
    color: var(--otu-blue);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.quote-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 2rem;
    border: 1px solid var(--border);
}

.quote-mark {
    font-size: 3rem;
    line-height: 1;
    color: var(--otu-blue);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.quote-card blockquote {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0.5rem 0 1.5rem;
    font-style: italic;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.quote-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.quote-author strong { display: block; font-size: 0.9375rem; }
.quote-author span { font-size: 0.8125rem; color: var(--text-muted); }

/* Video testimonials — Keka-style carousel */
.video-testimonials-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.video-carousel-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 1100px) {
    .video-carousel-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-carousel-cta {
        text-align: center;
    }

    .video-carousel-cta .btn {
        width: auto;
        min-width: 200px;
    }
}

.video-carousel-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    width: 100%;
}

.video-carousel-viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
    min-height: 420px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.video-carousel-viewport.is-ready {
    opacity: 1;
}

.video-carousel-track {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0 1rem;
    will-change: transform;
}

.video-carousel-track.is-layout-settling,
.video-carousel-track.is-layout-settling .video-carousel-card {
    transition: none !important;
}

.video-carousel-card {
    flex: 0 0 210px;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transform: scale(0.86);
    transform-origin: center center;
    opacity: 0.55;
    transition:
        flex-basis 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.45s ease,
        box-shadow 0.45s ease;
}

.video-carousel-card.is-clone {
    pointer-events: none;
}

.video-carousel-card.is-active {
    flex: 0 0 290px;
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
    z-index: 2;
    pointer-events: auto;
}

.video-carousel-thumb {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e5e7eb;
}

.video-carousel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.45s ease, transform 0.45s ease;
}

.video-carousel-card:not(.is-active) .video-carousel-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.45s ease;
}

.video-carousel-card:not(.is-active) .video-carousel-thumb img {
    filter: brightness(1.12) saturate(0.65);
}

.video-carousel-card.is-active .video-carousel-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.02) 40%,
        rgba(0, 0, 0, 0.22) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.video-carousel-card.is-active .video-carousel-thumb img {
    filter: brightness(0.9) contrast(1.05) saturate(1.05);
}

.video-carousel-card:not(.is-active) .video-carousel-logo,
.video-carousel-card:not(.is-active) .video-carousel-meta {
    opacity: 0.65;
    transition: opacity 0.45s ease;
}

.video-carousel-card.is-active .video-carousel-logo,
.video-carousel-card.is-active .video-carousel-meta {
    opacity: 1;
}

.video-carousel-inline {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.video-carousel-card.is-playing {
    cursor: default;
}

.video-carousel-card.is-playing .video-carousel-inline {
    display: block;
}

.video-carousel-card.is-playing .video-carousel-thumb img,
.video-carousel-card.is-playing .video-carousel-play,
.video-carousel-card.is-playing .video-carousel-industry {
    display: none;
}

.video-carousel-card.is-playing .video-carousel-thumb::after {
    display: none;
}

.video-carousel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--otu-blue);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.video-carousel-card:not(.is-active) .video-carousel-play {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.9);
}

.video-carousel-card.is-active .video-carousel-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-carousel-play i {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}

.video-carousel-industry {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 0.75rem 0.75rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 500;
}

.video-carousel-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.video-carousel-logo span {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.video-carousel-meta {
    padding: 0.875rem 1rem 1.125rem;
    text-align: center;
}

.video-carousel-meta strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 0.2rem;
}

.video-carousel-meta span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.video-carousel-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.video-carousel-nav:hover {
    border-color: var(--otu-blue);
    color: var(--otu-blue);
    box-shadow: var(--shadow-card);
}

.video-carousel-nav i { width: 20px; height: 20px; }

.video-carousel-cta h3 {
    font-size: 1.375rem;
    line-height: 1.35;
    margin-bottom: 1.5rem;
}

.video-carousel-cta .btn { width: 100%; }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 2rem;
    position: relative;
}

.pricing-card--popular {
    border: 2px solid var(--otu-blue);
    box-shadow: var(--shadow-card);
    transform: scale(1.03);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--otu-gold);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.pricing-price { margin: 1.5rem 0; }
.pricing-price .price { font-size: 2.5rem; font-weight: 700; color: var(--otu-blue); }
.pricing-price .unit { color: var(--text-muted); font-size: 0.9375rem; }

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 0.625rem;
}

.pricing-features i { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

.pricing-notes {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-small);
}

.pricing-notes p { margin-bottom: 0.25rem; }

/* Mobile demo */
.mobile-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mobile-features-list {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 0.75rem;
}

.mobile-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.mobile-features-list i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--success);
}

.mobile-store-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
    width: 100%;
    max-width: 520px;
}

.mobile-store-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: 76px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-store-badge:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.mobile-store-badge img {
    display: block;
    width: 100%;
    height: 76px;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.phone-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    width: 100%;
}

.mobile-carousel-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.mobile-carousel-viewport {
    flex: 1;
    min-width: 0;
}

.mobile-carousel {
    position: relative;
    width: 100%;
    height: min(72vh, 720px);
    margin: 0 auto;
    background: transparent;
}

.mobile-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: transparent !important;
    border: none;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.mobile-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-carousel-nav {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.mobile-carousel-nav:hover {
    border-color: var(--otu-blue);
    color: var(--otu-blue);
    box-shadow: var(--shadow-card);
}

.mobile-carousel-nav i {
    width: 22px;
    height: 22px;
}

.mobile-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.mobile-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.mobile-carousel-dot:hover {
    background: #9ca3af;
}

.mobile-carousel-dot.active {
    background: var(--otu-blue);
    transform: scale(1.15);
}


/* Legacy phone frame — removed from markup; keep unused rules harmless */
.phone-frame,
.phone-notch,
.phone-screen {
    display: none;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
}

.contact-card i { width: 24px; height: 24px; color: var(--otu-blue); flex-shrink: 0; margin-top: 2px; }
.contact-card strong { display: block; margin-bottom: 0.25rem; }
.contact-card span, .contact-card a { font-size: 0.9375rem; color: var(--text-muted); }

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
}

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

.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--otu-blue);
    box-shadow: 0 0 0 3px rgba(26, 104, 218, 0.15);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9375rem;
    padding: 0.75rem;
    border-radius: 8px;
    display: none;
}

.form-message:not(:empty) { display: block; }
.form-success { background: #dcfce7; color: #166534; }
.form-error { background: #fee2e2; color: #991b1b; }

.form-privacy {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

.form-privacy a {
    color: var(--otu-blue);
    text-decoration: none;
}

.form-privacy a:hover {
    text-decoration: underline;
}

/* Thank you */
.thank-you-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.thank-you-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-card);
}

.thank-you-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 104, 218, 0.1);
    color: var(--otu-blue);
}

.thank-you-icon i { width: 40px; height: 40px; }

.thank-you-card h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.thank-you-lead {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.thank-you-note {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.thank-you-note a { color: var(--otu-blue); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: var(--text-primary);
}

.faq-question i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item.open .faq-question i { transform: rotate(180deg); }

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

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

.faq-answer p {
    padding-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: #d1d5db;
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-logo { filter: brightness(0) invert(1); margin-bottom: 1rem; opacity: 0.9; }
.footer-desc { font-size: 0.9375rem; line-height: 1.6; }

.footer-col h4 {
    color: var(--white);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #9ca3af; font-size: 0.875rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 1199px) {
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .plugin-connector {
        max-width: 140px;
    }

    .plugin-node__card {
        min-width: 170px;
        padding: 1.5rem 1.25rem;
    }

    .platform-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .attendance-calendar__header {
        flex-direction: column;
    }

    .attendance-calendar__stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .payroll-mockup__header,
    .expense-mockup__header,
    .fieldforce-mockup__header {
        flex-direction: column;
    }

    .payroll-mockup__employee {
        text-align: left;
    }

    .recruitment-mockup__candidate {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .recruitment-mockup__name-row {
        justify-content: center;
    }

    .recruitment-mockup__actions {
        justify-content: center;
    }

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

    .reports-mockup__charts {
        grid-template-columns: 1fr;
    }

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

    .expense-mockup__list li {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .expense-mockup__amount,
    .expense-mockup__badge {
        justify-self: end;
    }

    .expense-mockup__badge {
        grid-row: 2;
        grid-column: 2;
    }

    .expense-mockup__amount {
        grid-row: 1;
        grid-column: 2;
    }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card--popular { transform: none; }

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

    .industry-card--featured {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: auto;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        padding-bottom: 30px;
    }

    .industry-card-featured-top {
        flex: 1;
        padding-bottom: 0;
    }

    .industry-card-featured-img {
        flex: 0 0 auto;
        max-width: 220px;
    }

    .industry-grid > .industry-card--link:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 767px) {
    .hero-form-card { max-width: 100%; margin-left: 0; }
    .hero-form .form-row--compact {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .hero-form .form-group--select label {
        font-size: 0.6875rem;
    }

    .hero-form .form-group input,
    .hero-form .select-field select {
        height: 40px;
        font-size: 0.8125rem;
        padding: 0 0.625rem;
    }

    .hero-form .select-field select {
        padding-right: 1.75rem;
    }

    .hero-form .select-field::after {
        right: 0.5rem;
    }

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

    .industry-card--featured {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding-bottom: 0;
    }

    .industry-card--featured h3 {
        font-size: 1.5rem;
    }

    .industry-card {
        min-height: auto;
    }

    .industry-card-featured-img {
        max-width: 260px;
        margin-top: 1rem;
    }

    .industry-card-featured-top .btn {
        margin-top: 24px;
    }

    .industry-card-arrow {
        top: 24px;
        right: 24px;
    }

    .demo-video-player {
        border-radius: 12px;
    }

    .demo-video-play-icon {
        width: 64px;
        height: 64px;
    }

    .demo-video-play-icon i {
        width: 26px;
        height: 26px;
    }

    .hero-bg-grid {
        background-size: 32px 32px;
    }

    .hero-bg-circle--blue.hero-bg-circle--lg {
        width: 130px;
        height: 130px;
        top: 2%;
        right: -2%;
    }

    .hero-bg-circle--gold.hero-bg-circle--lg {
        width: 100px;
        height: 100px;
        bottom: 10%;
        left: -4%;
    }

    .hero-bg-circle--blue.hero-bg-circle--md,
    .hero-bg-circle--gold.hero-bg-circle--md {
        display: none;
    }

    .site-header:not(.site-header--scrolled) {
        box-shadow: none;
    }

    .site-header--scrolled {
        box-shadow: var(--shadow-header);
    }

    .header-inner {
        display: block;
        position: relative;
        height: var(--header-height);
    }

    .header-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
        position: relative;
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .logo-link {
        justify-self: center;
    }

    .header-actions {
        display: none;
    }

    .logo {
        height: 40px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-header);
        z-index: 1001;
    }

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

    .nav-link {
        min-height: auto;
        padding: 0.5rem 0;
    }
    .mobile-cta-bar { display: block; }

    body {
        padding-bottom: calc(var(--mobile-cta-bar-height) + env(safe-area-inset-bottom, 0px));
    }

    .site-footer {
        padding-bottom: 0.5rem;
    }

    .mobile-cta-bar__btn--primary {
        font-size: 0.8125rem;
        padding-inline: 0.875rem;
    }

    .hero-grid,
    .tally-grid,
    .mobile-demo-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .mobile-store-badges {
        max-width: none;
        gap: 0.5rem;
    }

    .mobile-store-badge,
    .mobile-store-badge img {
        height: 52px;
    }

    .mobile-features-list {
        grid-template-columns: 1fr;
    }

    .mobile-carousel-shell {
        position: relative;
        max-width: 100%;
        gap: 0;
    }

    .mobile-carousel {
        height: min(68vh, 560px);
    }

    .mobile-carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .mobile-carousel-nav--prev { left: 0.25rem; }
    .mobile-carousel-nav--next { right: 0.25rem; }

    .plugin-diagram {
        flex-direction: column;
        gap: 0.5rem;
        max-width: 320px;
    }

    .plugin-node--host,
    .plugin-node--addon {
        flex-direction: column;
        width: 100%;
    }

    .plugin-node--host .plugin-port { order: 2; }
    .plugin-node--addon .plugin-port { order: 1; }

    .plugin-port { display: none; }

    .plugin-node__card {
        width: 100%;
        min-width: 0;
        padding: 1.5rem 1.25rem;
    }

    .plugin-connector {
        flex-direction: column;
        min-width: 0;
        max-width: none;
        width: 100%;
        height: 72px;
        padding: 0.25rem 0;
    }

    .plugin-cable {
        width: 4px;
        height: auto;
        flex: 1;
    }

    .plugin-cable--left { border-radius: 2px 2px 0 0; }
    .plugin-cable--right { border-radius: 0 0 2px 2px; }

    .plugin-plug-icon {
        transform: rotate(90deg);
        width: 56px;
        height: 36px;
    }

    .plugin-cable__pulse {
        width: 4px;
        height: 24px;
        left: 50%;
        top: auto;
        margin-left: -2px;
        margin-top: 0;
    }

    .plugin-cable__pulse--left {
        animation-name: plugin-pulse-up;
    }

    .plugin-cable__pulse--right {
        animation-name: plugin-pulse-down;
    }

    @keyframes plugin-pulse-up {
        0% { top: calc(100% - 24px); opacity: 0; }
        10% { opacity: 1; }
        90% { opacity: 1; }
        100% { top: 0; opacity: 0; }
    }

    @keyframes plugin-pulse-down {
        0% { top: 0; opacity: 0; }
        10% { opacity: 1; }
        90% { opacity: 1; }
        100% { top: calc(100% - 24px); opacity: 0; }
    }

    .plugin-features {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .features-grid,
    .testimonials-grid,
    .pricing-grid { grid-template-columns: 1fr; }

    .video-testimonials-section {
        scroll-margin-top: calc(var(--header-height) + 0.5rem);
        padding-top: calc(var(--section-pad) + 0.75rem);
    }

    .video-testimonials-section > .container {
        padding-inline: 0.875rem;
    }

    .video-testimonials-header {
        margin-bottom: 1.5rem;
    }

    .video-testimonials-header h2 {
        margin-bottom: 1rem;
        font-size: clamp(1.375rem, 5.2vw, 1.75rem);
        line-height: 1.3;
        padding-inline: 0.25rem;
    }

    .video-carousel-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .video-carousel-main {
        position: relative;
        gap: 0;
        width: 100%;
    }

    .video-carousel-viewport {
        width: 100%;
        padding-inline: 0.25rem;
        min-height: 360px;
    }

    .video-carousel-track {
        gap: 0.875rem;
        padding-bottom: 0.75rem;
    }

    .video-carousel-nav {
        position: absolute;
        top: 32%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        z-index: 4;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.97);
    }

    .video-carousel-nav--prev {
        left: -0.125rem;
    }

    .video-carousel-nav--next {
        right: -0.125rem;
    }

    .video-carousel-nav i {
        width: 22px;
        height: 22px;
    }

    .video-carousel-card {
        flex: 0 0 min(68vw, 240px);
        transform: scale(0.88);
        opacity: 0.45;
    }

    .video-carousel-card.is-active {
        flex: 0 0 min(82vw, 320px);
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    }

    .video-carousel-thumb {
        aspect-ratio: 16 / 10;
        max-height: 200px;
    }

    .video-carousel-play {
        width: 48px;
        height: 48px;
    }

    .video-carousel-play i {
        width: 20px;
        height: 20px;
    }

    .video-carousel-logo {
        min-height: 44px;
        padding: 0.625rem 0.75rem;
    }

    .video-carousel-logo span {
        font-size: 0.6875rem;
    }

    .video-carousel-meta {
        padding: 0.75rem 0.875rem 1rem;
    }

    .video-carousel-meta strong {
        font-size: 0.875rem;
    }

    .video-carousel-meta span {
        font-size: 0.75rem;
    }

    .video-carousel-cta {
        text-align: center;
        padding-inline: 0.5rem;
    }

    .video-carousel-cta h3 {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
        line-height: 1.4;
    }

    .video-carousel-cta .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }

    .video-testimonials-section > .container {
        padding-inline: 0.625rem;
    }

    .video-carousel-card.is-active {
        flex: 0 0 min(86vw, 320px);
    }

    .video-carousel-thumb {
        max-height: 180px;
    }

    .video-carousel-nav--prev { left: 0; }
    .video-carousel-nav--next { right: 0; }
}
