:root {
    --lt-bg: #f7fafb;
    --lt-surface: #ffffff;
    --lt-ink: #142331;
    --lt-muted: #65717c;
    --lt-line: #dce5e9;
    --lt-blue: #4d83ad;
    --lt-blue-dark: #356b94;
    --lt-teal: #3d9a8d;
    --lt-soft-blue: #eaf4f8;
    --lt-soft-mint: #e8f5f1;
    --lt-shadow: 0 14px 40px rgba(32, 66, 86, .08);
}

body.page-home {
    font-family: "Roboto", sans-serif;
    background: var(--lt-bg);
    color: var(--lt-ink);
}

.page-home .container,
.page-home .hero-container {
    width: min(1160px, calc(100% - 40px));
}

.page-home .header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    transform: none;
    border: 0;
    border-bottom: 1px solid rgba(220,229,233,.9);
    border-radius: 0;
    background: rgba(255,255,255,.94);
    box-shadow: none;
    backdrop-filter: blur(18px);
}

.page-home .header.scrolled {
    background: rgba(255,255,255,.97);
    box-shadow: 0 8px 28px rgba(32,66,86,.06);
}

.page-home .navbar { padding: 11px 0; }
.page-home .nav-container { width: min(1160px, calc(100% - 40px)); }
.page-home .logo-img { height: 34px; }
.page-home .logo h2 { color: var(--lt-ink); font-size: 1rem; }
.page-home .nav-menu { gap: 8px; }
.page-home .nav-link { color: #56636e; font-size: .84rem; padding: 7px 8px; }
.page-home .nav-link:hover { color: var(--lt-blue-dark); background: transparent; }

.page-home .btn {
    min-height: 42px;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: "Roboto", sans-serif;
    font-size: .88rem;
}

.page-home .btn-primary {
    background: var(--lt-blue);
    color: #fff;
    box-shadow: 0 8px 18px rgba(77,131,173,.18);
}

.page-home .btn-primary:hover { background: var(--lt-blue-dark); }
.page-home .btn-secondary { background: #fff; color: var(--lt-ink); border: 1px solid var(--lt-line); }

.page-home .hero {
    min-height: auto;
    padding: 96px 0 18px;
    color: var(--lt-ink);
    background:
        linear-gradient(rgba(113,145,160,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113,145,160,.08) 1px, transparent 1px),
        radial-gradient(circle at 63% 32%, rgba(96,181,165,.2), transparent 33%),
        radial-gradient(circle at 29% 20%, rgba(90,150,193,.17), transparent 31%),
        #f8fbfc;
    background-size: 64px 64px, 64px 64px, auto, auto, auto;
}

.page-home .hero::before,
.page-home .hero::after { display: none; }

.page-home .hero-container {
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
}

.page-home .kicker {
    margin-bottom: 18px;
    color: var(--lt-blue-dark);
    font-size: .68rem;
    letter-spacing: .11em;
}

.page-home .hero .kicker {
    width: fit-content;
    padding: 7px 12px;
    border: 1px solid #cfe0e7;
    border-radius: 999px;
    background: rgba(255,255,255,.62);
}

.page-home .hero-title {
    max-width: 700px;
    font-family: "Roboto", sans-serif;
    font-size: clamp(2.8rem, 4.8vw, 4.55rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.page-home .hero-title .highlight {
    display: inline;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, var(--lt-blue), var(--lt-teal));
    color: var(--lt-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1em;
    line-height: inherit;
    letter-spacing: inherit;
    white-space: normal;
    transform: none;
}

.page-home .hero-description {
    max-width: 650px;
    margin-top: 18px;
    color: var(--lt-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-home .hero-proof-list { margin-top: 16px; color: #4d5a64; font-size: .8rem; }
.page-home .hero-proof-list i { background: #dff3ed; color: var(--lt-teal); }
.page-home .hero-buttons {
    display: grid;
    grid-template-columns: auto auto auto auto;
    align-items: center;
    justify-content: start;
    margin: 16px 0 14px;
    gap: 18px;
}
.page-home .hero-buttons .btn-secondary { margin-left: 10px; }

.hero-customer-count {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-right: 22px;
    border-right: 1px solid var(--lt-line);
}

.hero-customer-count strong {
    color: var(--lt-blue-dark);
    font-size: 1.65rem;
    line-height: 1;
}

.hero-customer-count span {
    max-width: 62px;
    color: var(--lt-muted);
    font-size: .68rem;
    line-height: 1.2;
}

.hero-inline-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 18px;
    border-left: 1px solid var(--lt-line);
}

.hero-inline-stat strong {
    color: var(--lt-blue-dark);
    font-size: 1.35rem;
    line-height: 1;
    white-space: nowrap;
}

.hero-inline-stat span {
    max-width: 58px;
    color: var(--lt-muted);
    font-size: .64rem;
    line-height: 1.2;
}

.page-home .hero-stats { display: none; }

.page-home .hero-stats { max-width: 360px; grid-template-columns: repeat(2, 1fr); gap: 0; }
.page-home .stat {
    padding: 14px 22px 6px 0;
    border: 0;
    border-right: 1px solid var(--lt-line);
    border-radius: 0;
    background: transparent;
}
.page-home .stat:last-child { border-right: 0; padding-left: 22px; }
.page-home .stat:nth-child(2) { padding-left: 22px; }
.page-home .stat h3 { color: var(--lt-blue-dark); font-size: 1.65rem; }
.page-home .stat p { color: var(--lt-muted); font-size: .75rem; }

.page-home .hero-panel {
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--lt-ink);
    box-shadow: none;
    transform: none;
}
.page-home .hero-panel::before { display: none; }

.hero-phone-mockup {
    position: absolute;
    z-index: 5;
    right: auto;
    left: -5%;
    bottom: -9%;
    width: 23%;
    min-width: 126px;
    padding: 3px;
    border: 1px solid #69737a;
    border-radius: 27px;
    background: linear-gradient(145deg, #b8bec2, #2a3339 42%, #788188);
    box-shadow:
        0 28px 48px rgba(16, 35, 62, .24),
        0 7px 16px rgba(16, 35, 62, .16),
        inset 0 0 0 1px rgba(255,255,255,.42);
    transform: rotate(-1deg);
    transform-origin: 50% 80%;
}

.hero-phone-mockup::before {
    content: "";
    position: absolute;
    top: 24%;
    left: -3px;
    width: 2px;
    height: 19%;
    border-radius: 3px 0 0 3px;
    background: #59636a;
    box-shadow: 0 25px 0 #59636a;
}

.hero-phone-mockup::after {
    content: "";
    position: absolute;
    top: 31%;
    right: -3px;
    width: 2px;
    height: 15%;
    border-radius: 0 3px 3px 0;
    background: #59636a;
}

.hero-phone-speaker {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 50%;
    width: 27%;
    height: 8px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #05090c;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.hero-phone-screen {
    overflow: hidden;
    aspect-ratio: 376 / 812;
    border-radius: 23px;
    background: #f4f7fa;
}

.hero-phone-screen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.hero-phone-home {
    position: absolute;
    z-index: 2;
    bottom: 7px;
    left: 50%;
    width: 34%;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(12,18,23,.72);
}

.laptop-mockup {
    position: relative;
    width: 90%;
    margin-right: 0;
    margin-left: auto;
    padding: 5px 5px 0;
    border: 1px solid #69747b;
    border-bottom: 0;
    border-radius: 15px 15px 5px 5px;
    background: linear-gradient(145deg, #cdd2d5, #657078 38%, #aeb5b9);
    box-shadow:
        0 28px 62px rgba(31,67,84,.19),
        inset 0 0 0 1px rgba(255,255,255,.35);
    transform: translateY(-18px);
}

.laptop-camera {
    position: absolute;
    z-index: 2;
    top: 2px;
    left: 50%;
    width: 3px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #202a31;
}

.laptop-screen {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 11px 11px 3px 3px;
    background: #eef3f6;
}

.laptop-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.laptop-base {
    position: relative;
    width: calc(100% + 42px);
    height: 11px;
    margin-left: -21px;
    border: 1px solid #a7afb4;
    border-top-color: #e9edef;
    border-radius: 2px 2px 15px 15px;
    background: linear-gradient(180deg, #eef1f2 0%, #b7bec2 55%, #929ba1 100%);
    box-shadow: 0 7px 11px rgba(31,46,56,.14);
}

.laptop-notch {
    position: absolute;
    top: 0;
    left: 50%;
    width: 68px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 0 0 7px 7px;
    background: #9aa3a8;
}

.page-home .section-header { max-width: 680px; margin-bottom: 38px; }
.page-home .section-header h2,
.page-home .benefits-text h2,
.page-home .about-text h2,
.page-home .contact-info h2 {
    font-family: "Roboto", sans-serif;
    color: var(--lt-ink);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.035em;
}
.page-home .section-header p { color: var(--lt-muted); }

.page-home .services,
.page-home .features,
.page-home .modules,
.page-home .benefits,
.page-home .testimonials,
.page-home .customers,
.page-home .about,
.page-home .contact { padding: 84px 0; }

.page-home .services { background: #fff; }
.page-home .services-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.page-home .service-card,
.page-home .service-card:first-child {
    position: relative;
    display: flex;
    grid-column: auto;
    flex-direction: column;
    min-height: 390px;
    padding: 28px;
    border: 1px solid var(--lt-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
    transition: transform .38s cubic-bezier(.2, .8, .2, 1.25), border-color .3s ease, box-shadow .3s ease;
}
.page-home .service-card:hover {
    transform: translateY(-8px);
    border-color: #bcd2dc;
    box-shadow: 0 20px 42px rgba(32,66,86,.13);
}
.page-home .service-header { max-width: none; gap: 14px; }
.page-home .service-card .service-icon { width: 46px; height: 46px; border-radius: 50%; font-size: 1rem; }
.page-home .service-header h3,
.page-home .service-cta-card h3 { font-size: 1.08rem; line-height: 1.3; }
.page-home .service-card > div:nth-child(2) { margin-top: 18px; }
.page-home .service-card p { color: var(--lt-muted); font-size: .84rem; line-height: 1.65; }
.page-home .service-features {
    display: grid;
    gap: 9px;
    margin-top: 20px;
}
.page-home .service-features li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: #53616b !important;
    font-size: .78rem;
    line-height: 1.35;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1.35), color .25s ease;
}
.page-home .service-card:hover .service-features li { animation: service-pill-bounce .55s both; }
.page-home .service-card:hover .service-features li:nth-child(2) { animation-delay: .05s; }
.page-home .service-card:hover .service-features li:nth-child(3) { animation-delay: .1s; }
.page-home .service-card:hover .service-features li:nth-child(4) { animation-delay: .15s; }
.page-home .service-features li:hover {
    transform: translateX(5px) scale(1.02);
    color: var(--lt-blue-dark) !important;
}
.page-home .service-features li::before {
    content: "\f058";
    flex: 0 0 auto;
    font-family: "Font Awesome 6 Free";
    font-size: .82rem;
    font-weight: 900;
    color: var(--lt-teal);
}

@keyframes service-pill-bounce {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(-5px); }
    70% { transform: translateY(2px); }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .service-card,
    .page-home .service-features li,
    .page-home .module-card,
    .page-home .modules-cta { transition: none; }
    .page-home .service-card:hover .service-features li,
    .page-home .module-card:hover .module-icon,
    .page-home .module-card:hover .module-badge,
    .page-home .module-card:hover .module-highlight,
    .page-home .modules-cta:hover .btn { animation: none; }
}
.page-home .service-action { position: static; align-self: flex-start; margin-top: auto; padding-top: 18px; }

.page-home .service-cta-card {
    justify-content: center;
    background: linear-gradient(145deg, #eef6f9, #edf8f5);
}

.page-home .service-cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.page-home .service-cta-card .service-icon {
    background: #dfeef4;
    color: var(--lt-blue-dark);
}

.page-home .service-cta-card p { max-width: 260px; }
.page-home .service-cta-card .btn { margin-top: 8px; }

.page-home .features {
    background:
        linear-gradient(rgba(113,145,160,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113,145,160,.055) 1px, transparent 1px),
        #f8fbfc;
    background-size: 64px 64px;
}
.page-home .features .section-header {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.page-home .features .kicker {
    padding: 6px 14px;
    border: 1px solid #d4e1e6;
    border-radius: 999px;
    background: rgba(255,255,255,.7);
}
.page-home .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--lt-line);
    border-radius: 24px;
    background: rgba(255,255,255,.72);
}
.page-home .feature-card,
.page-home .feature-card:first-child {
    grid-column: auto;
    min-height: 190px;
    padding: 30px 32px;
    border: 0;
    border-right: 1px solid var(--lt-line);
    border-bottom: 1px solid var(--lt-line);
    border-radius: 0;
    background: transparent;
    color: var(--lt-ink);
    box-shadow: none;
}
.page-home .feature-card:nth-child(3n) { border-right: 0; }
.page-home .feature-card:nth-last-child(-n+3) { border-bottom: 0; }
.page-home .feature-card:first-child p { color: var(--lt-muted); }
.page-home .feature-header {
    display: block;
    margin-bottom: 12px;
}
.page-home .feature-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 18px;
    border-radius: 0;
    background: transparent;
    color: var(--lt-teal);
    font-size: 1rem;
}
.page-home .feature-card h3 { font-size: 1rem; }
.page-home .feature-card p { color: var(--lt-muted); font-size: .82rem; line-height: 1.6; }

.page-home .modules { background: #fff; color: var(--lt-ink); }
.page-home .modules .section-header {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.page-home .modules .section-header p { color: var(--lt-muted); }
.page-home .modules-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.page-home .module-card,
.page-home .module-card:nth-child(2n) {
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--lt-line);
    border-radius: 24px;
    background: #f8fbfc;
    box-shadow: 0 12px 30px rgba(32,66,86,.06);
    transition: transform .38s cubic-bezier(.2, .8, .2, 1.25), border-color .3s ease, box-shadow .3s ease;
}
.page-home .module-card:hover {
    transform: translateY(-8px);
    border-color: #bcd2dc;
    box-shadow: 0 20px 42px rgba(32,66,86,.13);
}
.page-home .module-header { gap: 20px; }
.page-home .module-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dff1eb;
    color: var(--lt-teal);
}
.page-home .module-card h3 { font-size: 1rem; }
.page-home .module-card p { color: var(--lt-muted); font-size: .8rem; line-height: 1.65; }
.page-home .module-content { display: flex; flex: 1; flex-direction: column; }
.page-home .module-highlight {
    margin-top: auto;
    padding-top: 18px;
    color: var(--lt-teal);
    font-size: .68rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.page-home .module-card:hover .module-icon,
.page-home .module-card:hover .module-badge,
.page-home .module-card:hover .module-highlight {
    animation: module-detail-bounce .55s both;
}
.page-home .module-card:hover .module-badge { animation-delay: .06s; }
.page-home .module-card:hover .module-highlight { animation-delay: .12s; }
.page-home .module-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    padding: 4px 9px;
    border: 1px solid #a9c9da;
    border-radius: 999px;
    color: var(--lt-blue-dark);
    font-size: .58rem;
    font-weight: 600;
}
.page-home .modules-cta {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 28px;
    border: 1px solid var(--lt-line);
    border-radius: 24px;
    background: #f8fbfc;
    box-shadow: 0 12px 30px rgba(32,66,86,.06);
    transition: transform .38s cubic-bezier(.2, .8, .2, 1.25), border-color .3s ease, box-shadow .3s ease;
}
.page-home .modules-cta:hover {
    transform: translateY(-8px);
    border-color: #bcd2dc;
    box-shadow: 0 20px 42px rgba(32,66,86,.13);
}
.page-home .modules-cta:hover .btn { animation: module-detail-bounce .55s .08s both; }
.page-home .modules-cta h3 { font-size: 1rem; }
.page-home .modules-cta p { color: var(--lt-muted); font-size: .8rem; }
.page-home .modules-cta .btn { margin-top: 8px; }

@keyframes module-detail-bounce {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(-5px); }
    70% { transform: translateY(2px); }
}

.page-home .benefits { background: #f3f8fa; }
.page-home .benefit-icon,
.page-home .about-feature i,
.page-home .contact-item i { background: var(--lt-soft-mint); color: var(--lt-teal); }
.page-home .dashboard-mockup,
.page-home .about-visual { border: 1px solid var(--lt-line); border-radius: 22px; background: #fff; box-shadow: var(--lt-shadow); }
.page-home .stat-card { border: 1px solid #e3eaed; background: #f8fbfc; }

.mobile-report-stage {
    position: relative;
    min-height: 590px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--lt-line);
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 48%, rgba(61,154,141,.19), transparent 38%),
        linear-gradient(rgba(113,145,160,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113,145,160,.06) 1px, transparent 1px),
        #f8fbfc;
    background-size: auto, 42px 42px, 42px 42px, auto;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    width: min(310px, 72%);
    padding: 4px;
    border: 1px solid #69737a;
    border-radius: 31px;
    background: linear-gradient(145deg, #b8bec2, #2a3339 42%, #788188);
    box-shadow:
        0 28px 60px rgba(26,52,65,.23),
        inset 0 0 0 1px rgba(255,255,255,.42);
}

.phone-mockup::before {
    content: "";
    position: absolute;
    top: 24%;
    left: -3px;
    width: 2px;
    height: 17%;
    border-radius: 3px 0 0 3px;
    background: #59636a;
    box-shadow: 0 28px 0 #59636a;
}

.phone-mockup::after {
    content: "";
    position: absolute;
    top: 31%;
    right: -3px;
    width: 2px;
    height: 14%;
    border-radius: 0 3px 3px 0;
    background: #59636a;
}

.phone-speaker {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 50%;
    width: 29%;
    height: 11px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #05090c;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.phone-screen {
    overflow: hidden;
    aspect-ratio: 466 / 922;
    border-radius: 27px;
    background: #f4f7fa;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.phone-home-bar {
    position: absolute;
    bottom: 9px;
    left: 50%;
    width: 34%;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(12,18,23,.72);
}

.mobile-report-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid var(--lt-line);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--lt-ink);
    font-size: .72rem;
    font-weight: 500;
    box-shadow: 0 10px 28px rgba(32,66,86,.1);
}

.mobile-report-chip i { color: var(--lt-teal); }
.chip-live { top: 18%; left: 5%; }
.chip-live i { font-size: .48rem; }
.chip-cloud { right: 4%; bottom: 20%; }

.page-home .testimonials { overflow: hidden; background: #fff; }
.page-home .testimonials-container {
    direction: ltr;
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.page-home .testimonials-grid {
    direction: ltr;
    width: max-content;
    display: flex;
    align-items: stretch;
    gap: 18px;
    overflow: visible;
    padding: 18px 9px 28px;
    animation: testimonial-marquee 24s linear infinite;
    animation-delay: 0s;
    will-change: transform;
}
.page-home .testimonial-card {
    width: 320px;
    min-width: 320px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid var(--lt-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(32,66,86,.07);
    transition: transform .38s cubic-bezier(.2, .8, .2, 1.25), border-color .3s ease, box-shadow .3s ease;
}
html[dir="rtl"] .page-home .testimonials-container {
    margin-right: calc(50% - 50vw);
    margin-left: 0;
}
html[dir="rtl"] .page-home .testimonial-card {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .page-home .testimonials-grid {
    animation-name: testimonial-marquee;
    animation-direction: normal;
    animation-play-state: running;
}
.page-home .testimonial-card.review-medium {
    width: 420px;
    min-width: 420px;
}
.page-home .testimonial-card.review-long {
    width: 560px;
    min-width: 560px;
}
.page-home .testimonial-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: #bcd2dc;
    box-shadow: 0 20px 42px rgba(32,66,86,.14);
}
.page-home .testimonial-card:hover .testimonial-author {
    animation: testimonial-detail-bounce .55s both;
}
.page-home .testimonial-content p {
    font-family: "Roboto", sans-serif;
    color: #34434d;
    font-size: .9rem;
    line-height: 1.5;
}
.page-home .testimonial-author { margin-top: 16px; }
.page-home .author-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.page-home .author-info h4 {
    order: 2;
    margin-top: 6px;
    color: var(--lt-muted);
    font-size: .68rem;
    font-weight: 500;
}
.page-home .testimonial-company {
    order: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.page-home .testimonial-company img {
    width: 40px;
    height: 40px;
    padding: 4px;
    border: 1px solid var(--lt-line);
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
}
.page-home .testimonial-company span {
    color: var(--lt-ink);
    font-size: .9rem;
    font-weight: 700;
}
.page-home .testimonial-nav-btn { display: none; }

@keyframes testimonial-marquee {
    to { transform: translateX(calc(-50% - 9px)); }
}

@keyframes testimonial-detail-bounce {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(-5px); }
    70% { transform: translateY(2px); }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .testimonial-card { transition: none; }
    .page-home .testimonial-card:hover .testimonial-author { animation: none; }
}

@media (max-width: 640px) {
    .page-home .testimonial-card,
    .page-home .testimonial-card.review-medium,
    .page-home .testimonial-card.review-long {
        width: calc(100vw - 44px);
        min-width: calc(100vw - 44px);
        height: 350px;
    }

    .page-home .testimonial-content p {
        font-size: .84rem;
        line-height: 1.48;
    }
}

.page-home .customers { background: #f7fafb; }
.page-home .customer-logo { border: 1px solid var(--lt-line); border-radius: 14px; background: #fff; }
.page-home .customers-grid > .customer-logo[aria-hidden="true"] { display: none; }
.page-home .hardware-customers .customers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page-home .industry-section { overflow: hidden; }
.page-home .industry-section .desktop-customer-marquee-track {
    direction: ltr;
    width: max-content;
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    padding: 4px 0 14px;
    animation: hardware-customer-scroll 34s linear infinite;
    will-change: transform;
}
.page-home .industry-section .desktop-customer-marquee-track .customer-logo {
    width: 170px;
    min-width: 170px;
}
.page-home .industry-section .desktop-customer-marquee-track > .customer-logo[aria-hidden="true"] { display: flex; }
html[dir="rtl"] .page-home .industry-section .desktop-customer-marquee-track {
    animation-name: rtl-customer-scroll;
    animation-direction: normal;
}
html[dir="rtl"] .page-home .industry-section .desktop-customer-marquee-track .customer-logo {
    direction: rtl;
}
@keyframes hardware-customer-scroll {
    to { transform: translateX(calc(-50% - 6px)); }
}
@keyframes rtl-customer-scroll {
    from { transform: translateX(calc(50% + 6px)); }
    to { transform: translateX(0); }
}
.page-home .industry-title { color: var(--lt-blue-dark); }

@media (max-width: 760px) {
    .page-home .hardware-customers .customers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-home .industry-section { overflow: hidden; }
    .page-home .industry-section .mobile-customer-marquee-track,
    .page-home .industry-section .desktop-customer-marquee-track {
        direction: ltr;
        width: max-content;
        display: flex;
        grid-template-columns: none;
        gap: 12px;
        padding: 4px 0 14px;
        animation: hardware-customer-scroll 30s linear infinite;
        will-change: transform;
    }
    .page-home .industry-section .mobile-customer-marquee-track > .customer-logo[aria-hidden="true"] { display: flex; }
    .page-home .industry-section .mobile-customer-marquee-track .customer-logo,
    .page-home .industry-section .desktop-customer-marquee-track .customer-logo {
        width: 145px;
        min-width: 145px;
    }
    html[dir="rtl"] .page-home .industry-section .mobile-customer-marquee-track .customer-logo { direction: rtl; }
    html[dir="rtl"] .page-home .industry-section .mobile-customer-marquee-track,
    html[dir="rtl"] .page-home .industry-section .desktop-customer-marquee-track {
        animation-name: rtl-customer-scroll;
    }
}

.page-home .about { background: #fff; }
.page-home .about-stat h3 { font-family: "Roboto", sans-serif; color: var(--lt-blue-dark); }
.page-home .map-placeholder { background: #edf6f8; }
.page-home .global-presence-visual {
    overflow: hidden;
    padding: 0;
    border-radius: 24px;
    background: #fff;
}
.page-home .global-presence-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.page-home .contact { background: linear-gradient(135deg, #eaf4f8, #edf8f5); }
.page-home .contact-form { border: 1px solid #d2e0e5; border-radius: 22px; background: rgba(255,255,255,.86); box-shadow: var(--lt-shadow); }
.page-home .form-group input,
.page-home .form-group select,
.page-home .form-group textarea { border-color: var(--lt-line); border-radius: 10px; background: #fff; color: var(--lt-ink); }

.page-home .contact-cta {
    position: relative;
    overflow: hidden;
    padding: 92px 0 110px;
    background:
        radial-gradient(circle at 50% 90%, rgba(74,164,151,.22), transparent 36%),
        radial-gradient(circle at 50% 45%, rgba(77,131,173,.11), transparent 34%),
        #f8fbfc;
}

.page-home .contact-cta-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.page-home .contact-cta h2 {
    font-size: clamp(2.35rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.page-home .contact-cta-content > p {
    margin-top: 18px;
    color: var(--lt-muted);
    font-size: .95rem;
}

.contact-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.contact-cta-card {
    min-height: 98px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--lt-line);
    border-radius: 22px;
    background: rgba(255,255,255,.88);
    color: var(--lt-ink);
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(32,66,86,.08);
    transition: transform .2s ease, border-color .2s ease;
}

.contact-cta-card:hover {
    transform: translateY(-3px);
    border-color: #b5ced9;
}

.contact-cta-card i {
    color: var(--lt-blue);
    font-size: 1rem;
}

.contact-cta-card span {
    font-size: .78rem;
    font-weight: 500;
}

.contact-demo-btn { margin-top: 38px; min-width: 180px; }

.page-home .footer { padding-top: 40px; background: #24333e; }
.page-home .footer-content { gap: 28px; }
.page-home .footer-section p,
.page-home .footer-section a,
.page-home .footer-bottom { color: rgba(255,255,255,.62); }

@media (max-width: 1100px) {
    .page-home .hero-container { grid-template-columns: 1fr; }
    .page-home .hero-panel { max-width: 720px; }
    .laptop-mockup { width: 90%; margin-right: 0; margin-left: auto; }
    .hero-phone-mockup { right: auto; left: -3%; bottom: -8%; width: 22%; }
    .page-home .services-grid { grid-template-columns: repeat(2, 1fr); }
    .page-home .modules-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .page-home .header { top: 0; }
    .page-home .nav-menu { inset: 64px 14px auto; background: rgba(255,255,255,.98); }
    .page-home .hero { padding: 115px 0 66px; }
    .page-home .hero-title { font-size: clamp(2.6rem, 12vw, 4rem); }
    .page-home .services-grid,
    .page-home .modules-grid { grid-template-columns: 1fr; }
    .page-home .features-grid { grid-template-columns: repeat(2, 1fr); }
    .page-home .feature-card:nth-child(3n) { border-right: 1px solid var(--lt-line); }
    .page-home .feature-card:nth-child(2n) { border-right: 0; }
    .page-home .feature-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--lt-line); }
    .page-home .feature-card:nth-last-child(-n+2) { border-bottom: 0; }
    .contact-cta-grid { grid-template-columns: 1fr; max-width: 430px; margin-right: auto; margin-left: auto; }
    .page-home .service-card,
    .page-home .service-card:first-child { min-height: auto; }
}

@media (max-width: 640px) {
    .page-home .container,
    .page-home .hero-container,
    .page-home .nav-container { width: min(100% - 28px, 1160px); }
    .page-home .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .page-home .stat { padding-right: 10px; }
    .page-home .stat:nth-child(2),
    .page-home .stat:last-child { padding-left: 10px; }
    .page-home .stat h3 { font-size: 1.25rem; }
    .page-home .hero-metrics { grid-template-columns: 1fr; }
    .page-home .metric.wide { grid-column: auto; }
    .page-home .features-grid { grid-template-columns: 1fr; border-radius: 18px; }
    .page-home .feature-card,
    .page-home .feature-card:nth-child(2n),
    .page-home .feature-card:nth-child(3n),
    .page-home .feature-card:nth-last-child(-n+2) {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--lt-line);
    }
    .page-home .feature-card:last-child { border-bottom: 0; }
    .page-home .contact-cta { padding: 72px 0 84px; }
    .contact-cta-card span { overflow-wrap: anywhere; }
    .mobile-report-stage { min-height: 530px; }
    .phone-mockup { width: min(280px, 76%); }
    .mobile-report-chip { font-size: .65rem; }
    .laptop-mockup { padding: 4px 4px 0; border-radius: 12px 12px 5px 5px; }
    .laptop-base { width: calc(100% + 30px); margin-left: -15px; height: 11px; }
    .hero-phone-mockup {
        right: auto;
        left: -1%;
        bottom: -12%;
        min-width: 86px;
        width: 23%;
        padding: 2px;
        border-width: 1px;
        border-radius: 20px;
        transform: rotate(-1deg);
    }
    .hero-phone-screen { border-radius: 18px; }
    .hero-phone-speaker { top: 6px; height: 6px; }
    .hero-phone-home { bottom: 5px; height: 2px; }
}

/* Feature marquee below hero */
.page-home .feature-marquee-section {
    overflow: hidden;
    padding: 14px 0 22px;
    background:
        linear-gradient(rgba(113,145,160,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113,145,160,.045) 1px, transparent 1px),
        #f8fbfc;
    background-size: 64px 64px;
}

.page-home .marquee-heading {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 30px;
}

.page-home .marquee-heading .kicker {
    margin: 0;
    padding: 7px 13px;
    border: 1px solid #d1e0e6;
    border-radius: 999px;
    background: rgba(255,255,255,.76);
    white-space: nowrap;
}

.page-home .marquee-heading h2 {
    max-width: 540px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.page-home .marquee-heading > p {
    max-width: 460px;
    justify-self: end;
    color: var(--lt-muted);
    font-size: .9rem;
    line-height: 1.6;
}

.feature-marquee {
    direction: ltr;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.feature-marquee::before,
.feature-marquee::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: max(42px, calc((100vw - 1160px) / 2));
    pointer-events: none;
}

.feature-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #f8fbfc, transparent);
}

.feature-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, #f8fbfc, transparent);
}

.feature-marquee-track {
    direction: ltr;
    display: flex;
    width: max-content;
    animation: feature-scroll 32s linear infinite;
    animation-delay: 0s;
}

.feature-marquee-group {
    direction: ltr;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    padding-right: 10px;
}

.marquee-feature {
    width: 330px;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px 12px 12px;
    border: 1px solid var(--lt-line);
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 5px 16px rgba(32,66,86,.05);
}
html[dir="rtl"] .marquee-feature {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .feature-marquee-track {
    animation-name: feature-scroll;
    animation-direction: normal;
    animation-play-state: running;
}

.marquee-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--lt-soft-mint);
    color: var(--lt-teal);
}

.marquee-feature:nth-child(3n+2) .marquee-icon {
    background: var(--lt-soft-blue);
    color: var(--lt-blue-dark);
}

.marquee-feature h3 {
    margin: 0 0 5px;
    color: var(--lt-ink);
    font-size: .8rem;
    line-height: 1.2;
    white-space: nowrap;
}

.marquee-feature p {
    display: block;
    max-width: 245px;
    color: var(--lt-muted);
    font-size: .68rem;
    line-height: 1.35;
}

/* Flash Electric Enterprise palette */
:root {
    --lt-bg: #fafaf7;
    --lt-surface: #ffffff;
    --lt-ink: #10233e;
    --lt-muted: #647184;
    --lt-line: #e4e8ec;
    --lt-blue: #f47a22;
    --lt-blue-dark: #d85b10;
    --lt-teal: #2e9b78;
    --lt-soft-blue: #fff2e7;
    --lt-soft-mint: #e8f5ef;
    --lt-shadow: 0 14px 40px rgba(16,35,62,.08);
}

body.page-home { background: #fafaf7; }
.page-home .header.scrolled { box-shadow: 0 8px 28px rgba(16,35,62,.06); }
.page-home .btn-primary { box-shadow: 0 8px 18px rgba(244,122,34,.2); }
.page-home .hero {
    background:
        linear-gradient(rgba(120,112,103,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120,112,103,.055) 1px, transparent 1px),
        radial-gradient(circle at 63% 32%, rgba(233,63,79,.12), transparent 33%),
        radial-gradient(circle at 29% 20%, rgba(244,122,34,.16), transparent 31%),
        #fafaf7;
    background-size: 64px 64px, 64px 64px, auto, auto, auto;
}
.page-home .hero-title .highlight {
    color: #f47a22;
    background-color: transparent;
    background-image: linear-gradient(90deg, #f47a22, #e93f4f);
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-home .pulse-bar i { background: linear-gradient(90deg, #f47a22, #e93f4f); }
.page-home .feature-marquee-section,
.page-home .features,
.page-home .customers { background-color: #fafaf7; }
.feature-marquee::before { background: linear-gradient(90deg, #fafaf7, transparent); }
.feature-marquee::after { background: linear-gradient(-90deg, #fafaf7, transparent); }
.page-home .benefits { background: #faf9f6; }
.page-home .contact { background: linear-gradient(135deg, #fff4e9, #fff0ec); }
.page-home .contact-cta {
    background:
        radial-gradient(circle at 50% 90%, rgba(244,122,34,.18), transparent 36%),
        radial-gradient(circle at 50% 45%, rgba(233,63,79,.09), transparent 34%),
        #fafaf7;
}
.page-home .footer { background: #10233e; }

@media (min-width: 861px) {
    .page-home .header,
    .page-home .header.scrolled {
        position: fixed;
        top: 12px;
        right: auto;
        left: 50%;
        width: min(1140px, calc(100% - 48px));
        transform: translateX(-50%);
        border: 1px solid rgba(16,35,62,.12);
        overflow: visible;
        border-radius: 32px;
        background: rgba(255,255,255,.9);
        box-shadow: 0 12px 36px rgba(16,35,62,.1);
        backdrop-filter: blur(18px);
    }

    .page-home .navbar { padding: 7px 0; }
    .page-home .nav-container { width: calc(100% - 20px); }
}

@media (max-width: 640px) {
    .page-home .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .page-home .hero-buttons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 14px 0;
    }
    .hero-customer-count,
    .hero-inline-stat {
        min-width: 0;
        min-height: 54px;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 0 8px;
        border-right: 1px solid var(--lt-line);
        border-left: 0;
        text-align: center;
    }
    .hero-inline-stat:last-of-type { border-right: 0; }
    .hero-customer-count strong,
    .hero-inline-stat strong { font-size: 1.35rem; }
    .hero-customer-count span,
    .hero-inline-stat span {
        max-width: none;
        font-size: .6rem;
        line-height: 1.15;
        text-align: center;
    }
    .page-home .hero-buttons .btn-secondary {
        grid-column: 1 / -1;
        justify-self: center;
        margin-left: 0;
    }
}

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

@media (max-width: 860px) {
    .page-home .marquee-heading {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .page-home .marquee-heading .kicker { width: fit-content; }
    .page-home .marquee-heading > p { justify-self: start; }
    .marquee-feature { width: 300px; }
}

/* Mobile scroll motion: a restrained stretch followed by a soft bounce. */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
    .mobile-scroll-pop {
        opacity: 0;
        transform: translate3d(0, 24px, 0) scale3d(.97, .91, 1);
        transform-origin: 50% 100%;
        transition:
            opacity 420ms ease var(--scroll-pop-delay, 0ms),
            transform 680ms cubic-bezier(.2, 1.35, .35, 1) var(--scroll-pop-delay, 0ms);
        will-change: opacity, transform;
    }

    .mobile-scroll-pop.is-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-scroll-pop {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
