html, 
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    background-color: black;
    color: white;
}

img {
    width: 200px;

     -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
    pointer-events: none;

     -webkit-user-drag: none;
      -khtml-user-drag: none;
      -moz-user-drag: none;
      -o-user-drag: none;
      user-drag: none;
}

header {
    width: 100%;
}
header .group {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-apps a {
    display: block;
    position: relative;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    outline: 0;
    width: 100px;
    height: 15px;
    padding: 15px;
    font-size: 14px;
    cursor: pointer;
    opacity: 1;
    color: #eee;
    border: 1px solid red;
    -webkit-border-radius: 3px;
    -moz-border-radius:    3px;
    border-radius:         3px;

    -moz-background-clip:    padding;
    -webkit-background-clip: padding-box;
    background-clip:         padding-box;

    font-weight: bold;
    background: #210000;

    -webkit-transition: all 200ms ease;  
    -moz-transition:    all 200ms ease;
    -ms-transition:     all 200ms ease; 
    -o-transition:      all 200ms ease;  
    transition:         all 200ms ease;
}

header .group a:hover {
    background: red;
    color: white;
}

h1 {
    color: white;
    margin-top: 0;
}

p {
    
}

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

.nav-apps a {
    margin: 0px 5px;
}

.mobileui-apps {
    display: none;
}

.home {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.video-cover{
    position: absolute;
    inset: 0;                   
    width: 100%;
    height: 100%;
    object-fit: cover;           
    object-position: top;     
    pointer-events: none;  
    z-index: 0;       
}

.intro {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 60px 0px;
    background: url('images/intro-crop.webp');
    background-size: cover;
    background-position-y: top;
    background-position-x: center;
    position: relative;
}

.intro h1 {
    font-size: 4em;
    text-shadow: 0px 0px 10px rgba(0,0,0,1);
}

.intro .left {
    display: flex;
    flex-direction: column;
    flex-basis: 50%;
    padding: 0px 40px;
    z-index: 1;
}

.intro p {
    text-shadow: 0px 0px 10px rgba(0,0,0,1);
    font-size: 1.5rem;
}

.about {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 60px 0px;
    background: url('images/bkg.webp');
    background-size: auto;
    background-position-y: bottom;
}

.about .left {
    display: flex;
    flex-direction: column;
    flex-basis: 70%;
    padding: 0px 40px;
}

.about h1 {
}

.features {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 60px 0px;
}

.features .left {
    padding: 0px 40px;
}

footer .wrap {
    padding: 0px 40px;
}

footer a {
    color: #d10000;
}

/* ===== Scrollbar CSS ===== */
body {
  --sb-track-color: #232E33;
  --sb-thumb-color: #ff0000;
  --sb-size: 8px;
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 3px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 3px;
}

@supports not selector(::-webkit-scrollbar) {
  body {
      scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

@media only screen and (max-width: 1000px) {
    img {
        width: 200px;
    }

    header .group {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    header .group .nav-apps {
        display: none;
    }

    .nav-apps {
        margin-top: 10px;
    }

    .mobileui-apps {
        /* display: inline-flex; */
        display: none;
    }

    h1 {
        font-size: 3em !important;
    }

    .left {
        padding: 0 20px !important;
    }

    html {
        overflow-x: hidden;
    }
}

section h2 {
    padding: 2rem;
    font-size: 2.5rem;
}

section {
    text-align: center;
}

#features {
  max-width: 1200px;             
  margin-inline: auto;           
  padding-inline: clamp(16px, 4vw, 32px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 2.5rem;
  justify-items: center;        
}

.feature-item {
  background: #222;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  max-width: 220px;              
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
}

@media (max-width: 1000px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .feature-item { max-width: 90%; }
}

.feature-item i {
    font-size: 3rem;
    color: #ff0000;
    margin-bottom: 1rem;
}

.about-section {
    width: 100%;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 2rem;

    background: url('images/bkg.webp');
    background-size: auto;
    background-position-y: bottom;
}


.stats-section {
    width: 100%;
}
.stats-content {
    background: url('images/tiles.webp');
    background-size: cover;
    background-position-y: center;
}
.stats-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.stats-detail {

}
.stats-item {
    display: flex;
    align-items: center;

    background-color: rgba(0,0,0,0.5);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.stats-who {
    font-size: 0.75em;
    color:  #CD0000;
    font-variant: small-caps;
    text-align: right;
}
.stats-detail .number {
    font-size: 5em;
}
.stats-detail .title {
    font-size: 1.2em;
    text-transform: uppercase;
    color:  #CD0000;

}
.stats-desc {
    font-size:2em;
    margin-left: 30px;
    text-align: left;
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
    }
}

.about-text {
    flex: 1 1 auto;
    padding: 3rem 10rem;
}

.highlighted-text {
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    margin-bottom: 1rem;
    text-align: center;
}

.highlighted-text::before {
    content: open-quote;
    font-size: 4rem;
    position: absolute;
    left: -1.5rem;
    top: -1rem;
    color: rgba(255, 255, 255, 0.1);
}

.highlighted-text::after {
    content: close-quote;
    font-size: 4rem;
    position: absolute;
    right: -1.5rem;
    bottom: -1rem;
    color: rgba(255, 255, 255, 0.1);
}

.about-image {
    justify-content: center;
    align-items: center;
    background-image: url('images/about2.webp');
    background-size: cover;
    background-position: center;
    flex-basis: 33%;
}

.fas {
    display: block;
    text-align: center;
    margin: 0 auto;

    background-size: cover;
    background-position: center;
    width: 4rem;
    height: 4rem;
}

#apps {
    display: flex;
    width: 100%;
    flex-direction: column;
}

#apps h2 {
    margin: 0px;
}

.apps-grid {
    display: flex;
    flex: 1;
    justify-content: space-around;
}

.apps-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    flex: 1;
    background-position: center;
    background-size: cover;
    -webkit-border-radius: 20px;
    -moz-border-radius:    20px;
    border-radius:         20px;

    cursor: pointer;

    background-size: 100%;
    transition: all 0.3s ease-in-out;
}

.apps-item:hover {
    background-size: 110%;
}

.apps-item:first-child {
    margin-left: 40px;
}

.apps-item:last-child {
    margin-right: 40px;
}

.apps-item-content {
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1;
    justify-content: center;
    background-color: rgba(0,0,0,0.75);
    width: 30%;
    min-width: 220px;
    padding: 10px;

     -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
    pointer-events: none;
}

.apps-grid .zen {
    background-image: url('images/zen-cover.webp');
    background-size: cover;
}

.apps-grid .live {
    background-image: url('images/live-cover.webp');
    background-size: cover;
}

.app-title {
    font-weight: bold;
    font-size: 5em;
    text-shadow: 0px 0px 10px rgba(0,0,0,1);
}

.app-desc {
    text-shadow: 0px 0px 10px rgba(0,0,0,1);
    text-transform: uppercase;
}

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

@media only screen and (max-width: 600px) {
    img {
        width: 200px;
    }

    .about-text {
        padding: 1rem 3rem;
    }


    .stats-desc {
        font-size: 1.3em;
    }

    .stats-detail {
        font-size: 0.7em;
    }

    footer {
        align-items: unset;
    }

    footer h1 {
        text-align: center;
    }
}

.fa-edit {
    background-image: url('images/sign.webp');
}

.fa-trophy {
    background-image: url('images/trophy.webp');
}

.fa-users {
    background-image: url('images/group.webp');
}

.fa-clock {
    background-image: url('images/time.webp');
}

.fa-cogs {
    background-image: url('images/manage.webp');
}

.fa-certificate {
    background-image: url('images/automate.webp');
}

.fa-chart-bar {
    background-image: url('images/stats.webp');
}

.fa-camera {
    background-image: url('images/camera.webp');
}

.fa-verify {
    background-image: url('images/verify.webp');
}

.fa-invoice {
    background-image: url('images/invoice.webp');
}

 :root{
    --contact-bg: radial-gradient(1200px 700px at 15% 10%, #0f172a 0%, #0b1220 50%, #0a0f1d 100%);
    --contact-text: #e5e7eb;
    --contact-muted:#9aa3b2;
    --contact-card: rgba(16, 27, 42, .65);
    --contact-card-border: rgba(148,163,184,.15);
    --contact-brand: #f70000;
    --contact-brand-strong:#a94141;
    --contact-ring: 0 0 0 .2rem rgba(96,165,250,.35);
    --contact-shadow: 0 12px 30px rgba(0,0,0,.35), 0 2px 10px rgba(0,0,0,.25);
}

.contact-hero{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 4vw, 4rem);
  margin-top: 50px;
}

/* ==== Card ============================================================ */
.contact-card{
  width: min(680px, 92vw);
  background: var(--contact-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--contact-card-border);
  border-radius: var(--contact-radius);
  box-shadow: var(--contact-shadow);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  animation: contact-floatIn .6s ease-out both;
}
@keyframes contact-floatIn{
  from{ opacity:0; transform: translateY(8px) scale(.99); }
  to  { opacity:1; transform: translateY(0)    scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .contact-card{ animation: none; }
}

/* ==== Header ========================================================== */
.contact-logo{
  margin: 0 0 var(--contact-space-4);
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: .02em;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: .5ch;
  font-weight: 800;
}
.contact-logo-badge{
  display:inline-grid;
  place-items:center;
  font-size: .6em;
  width: 2.1em; height: 2.1em;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--contact-brand), var(--contact-brand-strong));
  color: white;
  font-weight: 900;
  transform: translateY(-.04em);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}
.contact-subtitle{
  margin: 0 0 var(--contact-space-5);
  color: var(--contact-muted);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

/* ==== Contact ========================================================= */
.contact-contact{
  font-style: normal;
  display: grid;
  padding: 20px 0px;
  gap: var(--contact-space-3);
  margin-bottom: var(--contact-space-6);
}
.contact-contact__item{
  display:flex;
  align-items:center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--contact-radius-sm);
  border: 1px solid var(--contact-card-border);
  text-decoration: none;
  color: inherit;
  transition: transform .1s ease, background-color .2s ease, border-color .2s ease;
}
.contact-contact__item:hover{ transform: translateY(-1px); }
.contact-contact__item:active{ transform: translateY(0); }

.contact-contact__icon{
  width: 22px; height: 22px; flex: 0 0 22px;
  display:inline-block;
}
.contact-contact__label{
  color: var(--contact-muted);
}
.contact-contact__value{
  word-break: break-word;
  font-weight: bold;
}

/* ==== CTAs ============================================================ */
.contact-cta{
  display:flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--contact-space-3);
}
.contact-btn{
  --contact-pad-y: .75rem; --contact-pad-x: 1.1rem;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: var(--contact-pad-y) var(--contact-pad-x);
  border-radius: 999px;
  border: 1px solid var(--contact-card-border);
  text-decoration:none;
  font-weight:700;
  letter-spacing:.01em;
  transition: transform .1s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  will-change: transform;
}
.contact-btn:focus-visible, .contact-contact__item:focus-visible{
  outline: none; box-shadow: var(--contact-ring);
}
.contact-btn--primary{
  background: linear-gradient(135deg, var(--contact-brand), var(--contact-brand-strong));
  color: #fff;
  border-color: transparent;
}
.contact-btn--ghost{
  background: transparent;
  color: var(--contact-text);
}
.contact-btn:hover{ transform: translateY(-1px); }
.contact-btn:active{ transform: translateY(0); }

/* ==== Footer ========================================================== */
.contact-footer{
  text-align:center;
  color: var(--contact-muted);
  font-size: .9rem;
  padding: 60px 0px;
}

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

@media only screen and (max-width: 1000px) {
    .apps-grid {
        flex-direction: column;
    }

    .apps-item-content {
        width: unset;
        min-width: 190px;
    }

    .app-title {
        font-size: 3em;
    }

    .apps-item:first-child {
        margin: 10px 20px;
    }

    .apps-item:last-child {
        margin: 10px 20px;
    }

    .contact-hero {
        padding: 0;
    }

    .contact-card {
        padding: 20px 0px;
    }
}