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

:root {
    --primary: #374151;
    --dark: #1f2937;
    --norm: #374151;
    --bg: #f8fafc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    padding-top: 76px;
    background-color: #ffffff;
}

.hiw-page {
    background: var(--bg);
    min-height: 100vh;
    padding: 40px 24px 40px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 20px;
}

.nav-left a,
.nav-left a:hover,
.nav-left a:visited {
    text-decoration: none;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 20px;
}

.nav-logo {
    height: 40px;
    display: block;
}

.nav-title {
    font-size: 1.4rem;
    color: #225be3;
    line-height: 1;
    margin: 0;
}

.nav-signup-button {
    padding: 8px 18px;
    background-color: #225be3;
    color: white;
    border: 1px solid #445bd1;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-signup-button:hover {
    background-color: #1d4fd8;
    box-shadow: 0 2px 8px rgba(34, 91, 227, 0.3);
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 550;
    font-size: 14px;
    padding: 4px 0;
    position: relative;
    transition: color 0.25s ease;
}

.nav-links a.active {
    color: #225be3;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #225be3;
    border-radius: 1px;
}

.nav-links a.inactive {
    color: var(--norm);
}

.nav-links a.inactive:hover {
    color: #225be3;
}

.nav-links a:hover {
    color: #225be3;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 200;
}

.nav-hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        padding: 0 15px;
    }

    .nav-left {
        flex: none;
        flex-shrink: 0;
        padding-left: 0;
    }

    .nav-logo {
        height: 45px;
    }

    .nav-title {
        font-size: 1.1rem;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: none;
        margin-left: 0;
        padding-right: 0;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        transform: none;
        flex-direction: column;
        background-color: #e3f6f5;
        padding: 16px 0;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }
}

/* Homepage video iframe sizing and left offset */
.video-section{ display:flex; flex-direction: column; align-items: center; justify-content: center; gap:12px; transform: translateX(-30px); transition: transform .18s ease; }
.video-section iframe{ width:100%; max-width:960px; height:520px; border-radius:12px; border:0; }
@media (max-width: 980px){
    .video-section{ transform: translateX(-18px); }
    .video-section iframe{ height:420px; max-width:720px; }
}
@media (max-width: 640px){
    .video-section{ transform: none; }
    .video-section iframe{ height:240px; }
}

/* Caption under video */
.video-caption{ margin:0; font-size:1.1rem; font-weight:700; text-align:center; }
.video-caption span{ display:inline-block; }

    .footer{
        background-color: white;
        width: 100%;
        margin-top: 2rem;
        padding: 3rem 4rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
    .footer-heading{
        flex: 0 0 380px;
        max-width: 380px;
    }
    .footer-heading-crop{
        width: 364px;
        max-width: 100%;
        height: 120px;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
        margin-bottom: 12px;
        margin-left: 0;
    }
    .footer-heading-img{
        position: absolute;
        top: -86px;
        left: -62px;
        width: 500px;
        max-width: none;
        height: auto;
    }
    .footer-heading p{
        font-size: 15px;
        color: #6b7280;
        line-height: 1.5;
    }

    .box-container{
        display: flex;
        justify-content: flex-end;
        align-items: stretch;
        gap: 1rem;
    }

    i{
        color: #225be3;
    }

    #arr1{
        font-size: 0.8rem;
    }

     #arr2{
        font-size: 0.8rem;
    }

     #arr3{
        font-size: 0.8rem;
    }

     #arr4{
        font-size: 0.8rem;
    }

     #arr5{
        font-size: 0.8rem;
    }

    .box{
        background-color: white;
        border: 2px solid rgba(128, 128, 128, 0.318);
        border-radius: 10px;
        height: auto;
        width: 12rem;
        padding: 1.5rem;
        box-shadow: 0 8px 20px rgba(16,24,40,0.04);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0.75rem;
        font-size: small;
        text-align: center;
    }

    .box i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .box .message {
        font-size: 0.85rem;
        color: #6b7280;
        line-height: 1.4;
    }

    .box .learn-more {
        color: #225be3;
        cursor: pointer;
    }

    .box .learn-more:hover {
        text-decoration: underline;
    }

    @media (max-width: 900px) {
        .hero-wrapper {
            flex-direction: column;
            padding: 0 20px;
        }
        .hero-right {
            padding-top: 20px;
        }
        .footer {
            padding: 2rem;
            gap: 1.25rem;
        }

        .footer .footer-heading{
            flex: 0 0 100%;
            max-width: 100%;
            margin-bottom: 1rem;
        }

        .box-container{
            justify-content: center;
            gap: 0.75rem;
        }

        .box{
            height: 12rem;
            width: 12rem;
            flex: 0 0 12rem;
        }
    }
    .title
    {
        background-color: rgba(226, 222, 222, 0.449);
        border-radius: 100px;
        font-weight: 600;
        color: #225be3;
        padding: 10px 20px;
        font-size: 20px;
        width: fit-content;
        display: inline-block;
        padding-left: 50px;
        padding-right: 50px;
        margin-top: -30px;
        

    }
    .hero-heading-crop{
        width: 441px;
        max-width: 100%;
        height: 172px;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
        margin-left: 0;
        margin-top: 8px;
    }
    .hero-heading-img{
        position: absolute;
        top: -105px;
        left: -92px;
        width: 660px;
        max-width: none;
        height: auto;
    }
    .text{
        font-size: 18px;
        font-weight: 400px;
        margin-top: -20px;
        margin-left: 60px;
        font-style: bold;
        font-family: 'apple-system', 'BlinkMacSystemFont', 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }
    .a2{
        margin-top: 20px;
        margin-left: 0;
        
    }
    
    .bt{
        display: inline-block;
        width: auto;
        padding: 12px 28px;
        background: linear-gradient(135deg, #225be3, #1a4bc9);
        color: white;
        font-family: sans-serif;
        font-size: 14px;
        font-weight: 600;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        margin-left: 70px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 4px 14px rgba(34, 91, 227, 0.3);
    }
    .bt:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(34, 91, 227, 0.4);
    }
    .all{
        margin-top: 1%;
    }
    .hero-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 40px;
        padding: 0 40px;
    }
    .hero-left {
        flex: 1;
        min-width: 0;
        padding-left: 30px;
    }
    .hero-left .title {
        margin-left: 0;
    }
    .hero-left .text {
        margin-left: 0;
    }
    .hero-left .bt {
        margin-left: 0;
    }
    .hero-left .trust-features {
        margin-left: 0;
    }
    .hero-right {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 40px;
    }
    .video-section {
        width: 100%;
        height: auto;
        max-width: 1500px;
        position: relative;
        padding-bottom: 56.25%;
        height: 580px;
        overflow: hidden;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        background-color: #000;
        
    }
    .video-section iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 16px;
    }
    .see-how-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 24px;
  border: 1.5px solid rgba(34, 91, 227, 0.25);
  border-radius: 10px;
  margin-left: 15px;
  background: rgba(34, 91, 227, 0.04);
  color: #225be3;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.see-how-btn:hover {
  background: rgba(34, 91, 227, 0.08);
  border-color: rgba(34, 91, 227, 0.4);
  transform: translateY(-1px);
}
.trust-features {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 42px;
  margin-left: 50px;
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.trust-icon.green {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.trust-icon.blue {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.trust-icon.dark {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  font-size: 13px;
}

.trust-card h4 {
  margin: 0 0 2px;
  color: #10182d;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

.trust-card p {
  margin: 0;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.4;
}

/* Makes the cards stack neatly on mobile */
@media (max-width: 650px) {
  .trust-features {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }
}

/* Wake-up banner */
.wakeup-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #225BE3, #1A46B8);
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(34, 91, 227, 0.3);
  animation: bannerSlide 0.3s ease;
}
.wakeup-banner__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wakeup-banner__spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.wakeup-banner--hide {
  animation: bannerFade 0.5s ease forwards;
}
@keyframes bannerSlide {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes bannerFade {
  from { opacity: 1; }
  to { opacity: 0; transform: translateY(-100%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}