﻿/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a2438;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Sora', 'Inter', sans-serif;
  line-height: 1.2;
  font-weight: 700;
  color: #0d1b2a;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.06rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8492a6; }

p { color: #3d4f6b; }

/* ===== UTILITIES ===== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff5733;
  margin-bottom: 16px;
}

.btn-primary {
  display: inline-block;
  background: #ff5733;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #ff5733;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
  background: #e04a28;
  border-color: #e04a28;
}

.btn-secondary {
    display: inline-block;
    background: #eff6ff;
    color: #022f5f;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #e1f0ff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background: #0d1b2a;
  color: #ffffff;
}

.btn-outline-white {
    display: inline-block;
    background: #f2f9ff;
    color: #2f83ab;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgb(93 171 195 / 50%);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

    .btn-outline-white:hover {
        background: rgba(255,255,255,0.1);
        border-color: #2f83ab;
    }

/* ===== NAV ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #f4f9ff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
font-family: 'Sora', sans-serif;
font-size: 1.7rem;
font-weight: 800;
color: #127cbb;
letter-spacing: -0.02em;
}

.nav-logo span {
  color: #ff5733;
}

.nav-links {
    display: flex;
    gap: 2vw;
}

.nav-links a {
    color: rgb(35 100 147);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: rgb(35 100 147);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta a {
  color: rgba(255,255,255);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-cta .btn-primary {
    padding: 9px 1vw;
    font-size: 0.875rem;
}

/* ===== HERO ===== */
.hero {
    background: #e6f2ff;
    padding: 40px 0 0;
    overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.hero-content {
  padding-bottom: 40px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(255 255 255);
    color: #ff6949;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #ff5733;
  border-radius: 50%;
  display: inline-block;
}

.hero h1 {
    color: #212775;
    margin-bottom: 10px;
}
.hero h1 em {
    font-style: normal;
    color: #20a580;
    font-weight: 700;
}
.hero-sub {
    color: rgb(0 49 122);
    font-size: 1.05rem;
    margin-top: 20px;
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badge {
    background: rgb(241 249 255);
    border-radius: 5px;
    padding: 10px 16px;
    text-align: center;
}

.hero-badge-value {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #ff5733;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-badge-label {
    font-size: 0.72rem;
    color: rgb(26 54 189 / 77%);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.hero-image-wrap {
    position: relative;
    align-self: center;
}

.hero-image-wrap img {
    width: 100%;
    object-fit: cover;
    display: block;
    border: 10px solid #c0d1e9;
    border-radius: 26px 0 0 26px;
    clip-path: inset(0 2px 0 0);
    overflow: clip;
    border-right: 0;
}

.hero-dojo-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: #ffffff;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0d1b2a;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-dojo-badge span {
  color: #ff5733;
  font-weight: 800;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: #f5f7fa;
  padding: 20px 0;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #3d4f6b;
}

.trust-icon {
    width: 32px;
    height: 32px;
    background: #ffe8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-shrink: 0;
}

.trust-icon svg {
  width: 16px;
  height: 16px;
  fill: #ff5733;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 5vh 0;
}

.features-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: max(40px, 3vw);
    align-items: center;
    margin-bottom: 5vh;
}

.features-left h2 {
  margin-bottom: 0;
}

.features-right p {
  font-size: 1.05rem;
  line-height: 1.75;
}
/*.features-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e8ecf2;
    border: 1px solid #edf2f9;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 5vh;
    box-shadow: 0px 1px 19px 0px #1135ff14;
}*/
.features-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 5vh;
    box-shadow: 0px 1px 19px 0px #1135ff14;
}
.highlight-card:nth-child(3n) {
    border-right: none;
}

.highlight-card:nth-last-child(-n+3) {
    border-bottom: none;
}
.highlight-card {
    background: #ffffff;
    padding: 32px 28px;
    border-right: 1px solid #e8ecf2;
    border-bottom: 1px solid #e8ecf2;
}

.highlight-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,87,51,0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.highlight-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #ff5733;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.highlight-card h4 {
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Core highlights list */
.core-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 30px;
    background: #15395f;
    border-radius: 16px;
    padding: 4vh 48px;
    margin-bottom: 42px;
}

.core-highlights-head {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.core-highlights-head h3 {
  color: #ffffff;
  font-size: 1.4rem;
}

.core-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.core-item-dot {
  width: 8px;
  height: 8px;
  background: #ff5733;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.core-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.features-cta-row {
  text-align: center;
}

/* ===== FEATURE CARDS GRID ===== */
.feature-cards {
  padding: 0 0 1vh;
}

.feature-cards-grid {
    overflow: hidden;
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e8ecf2;
    border: 1px solid #edf2f9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 1px 19px 0px #1135ff14;
}

.feature-card {
  background: #ffffff;
  padding: 32px 24px;
}

.feature-card-num {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #f0f2f5;
  line-height: 1;
  margin-bottom: 16px;
}

.feature-card h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #5a6f8a;
}

/* ===== APP SUITE ===== */
.app-suite {
    background: #f5f7fa;
    padding: 6vh 0 2vh 0;
    /*border-bottom: 1px solid #e8ecf2;*/
}

.app-suite-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.app-suite-text h2 {
  margin-bottom: 20px;
}

.app-suite-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.app-suite-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.pill {
    background: #00438b;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 3px;
}

.app-suite-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.benefit-item {
  border-left: 3px solid #ff5733;
  padding-left: 18px;
}

.benefit-item h4 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.benefit-item p {
  font-size: 0.875rem;
  color: #5a6f8a;
}

.app-suite-phone {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-top: 16px;
}

.app-suite-phone span {
  color: #ff5733;
}

.app-suite-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.app-suite-images img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
    padding: 0 0 5px 5px;
}

/* ===== YEARS BADGE ===== */
.years-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #ff5733;
  color: #ffffff;
  padding: 18px 28px;
  border-radius: 6px;
  margin-bottom: 36px;
}

.years-badge-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.years-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.9;
}

/* ===== PRICING ===== */
.pricing-section {
  padding: 5vh 0;
}

.pricing-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4vh;
}

.pricing-intro p {
  font-size: 1.05rem;
  margin-top: 16px;
}

.pricing-hardware {
    background: #f0faff;
    border-radius: 8px;
    padding: 20px 28px;
    text-align: center;
    margin-bottom: 4vh;
    font-size: 0.95rem;
    color: #0a3374;
}

.pricing-hardware strong {
  color: #ff5733;
}
.price-contact {
    display: block;
    width: 160px;
    line-height: 20px;
    margin-bottom: 10px;
    border: 1px solid #ddeeff;
    text-align: center;
}
.pricing-grid {
    overflow: hidden;
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid #edf2f9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 1px 16px 0px #1135ff12;
}

.pricing-card {
  padding: 40px 32px;
  position: relative;
}

    .pricing-card.featured {
        background: #15395f;
    }

.pricing-tag {
  position: absolute;
  top: -1px;
  right: 28px;
  background: #ff5733;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 0 0 4px 4px;
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.pricing-card.featured h3 {
  color: #ffffff;
}

.pricing-card-desc {
  font-size: 0.875rem;
  color: #5a6f8a;
  margin-bottom: 28px;
  line-height: 1.5;
}

.pricing-card.featured .pricing-card-desc {
  color: rgba(255,255,255,0.55);
}

.pricing-price {
  margin-bottom: 28px;
}

.pricing-old {
  font-size: 1.1rem;
  color: #8492a6;
  text-decoration: line-through;
  font-weight: 600;
}

.pricing-card.featured .pricing-old {
  color: rgba(255,255,255,0.35);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 4px;
}

.pricing-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d1b2a;
}

.pricing-card.featured .pricing-currency {
  color: #ffffff;
}

.pricing-num {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #0d1b2a;
  line-height: 1;
}

.pricing-card.featured .pricing-num {
  color: #ff5733;
}

.pricing-per {
  font-size: 0.85rem;
  color: #8492a6;
  font-weight: 500;
}

.pricing-card.featured .pricing-per {
  color: rgba(255,255,255,0.45);
}

.pricing-discount {
  display: inline-block;
  background: rgba(255,87,51,0.1);
  color: #ff5733;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  margin-top: 8px;
}

.pricing-card.featured .pricing-discount {
  background: rgba(255,87,51,0.2);
}

.pricing-divider {
  height: 1px;
  background: #e8ecf2;
  margin: 24px 0;
}

.pricing-card.featured .pricing-divider {
  background: rgba(255,255,255,0.1);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.pricing-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #3d4f6b;
}

.pricing-card.featured .pricing-feat-item {
  color: rgba(255,255,255,0.7);
}

.pricing-feat-check {
  width: 16px;
  height: 16px;
  background: #ff5733;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-feat-check svg {
  width: 9px;
  height: 9px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-feat-item strong {
  font-weight: 700;
}

/* ===== CONTACT ===== */
.contact-section {
    background: #f5f7fa;
    padding: 6vh 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-detail-item h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8492a6;
  margin-bottom: 8px;
}

.contact-detail-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1a2438;
  font-weight: 500;
}

.contact-detail-item a {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ff5733;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-radius: 8px;
  padding: 40px;
}

.contact-form-card h3 {
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a6f8a;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e8ecf2;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #0d1b2a;
  background: #f5f7fa;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff5733;
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

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

/* ===== FOOTER ===== */
.footer {
    background: #15395f;
    padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-brand .nav-logo {
  font-size: 1.3rem;
}

.footer-dojo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.footer-dojo strong {
  color: #ffffff;
}

.footer-col h5 {
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: #ffffff;
}

.footer-col address {
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer-col address a {
  color: #ff8c73;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .app-suite-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .app-suite-images {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

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

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

  .hero-image-wrap {
    display: none;
  }

  .hero-content {
    padding-bottom: 60px;
  }

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

  .core-highlights {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .feature-cards-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .trust-bar-inner {
    gap: 20px;
    justify-content: flex-start;
  }
    .features-highlights {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        border-right: none; /* no columns to divide */
    }

    .highlight-card:nth-last-child(-n+3) {
        border-bottom: 1px solid #e8ecf2; /* undo desktop rule */
    }

    .highlight-card:last-child {
        border-bottom: none; /* only the very last card has no divider */
    }
    #hamburgerBtn.hamburger {
        display:flex;
    }
    div.nav-inner .logo-link {
        display: none;
    }
    div#demoblock.modal {
        padding: 30px 18px 4vh;
    }
    div.demopopup.overlay {
        padding: 24px 12px;
    }
}
@media (min-width:769px) {
    #hamburgerBtn.hamburger {
        display:none;
    }
    div.nav-inner .logo-link {
        display:block;
    }
    nav#menuPanel.menu-panel.open {
        display: none;
    }
}
@media (max-width: 600px) {
    h1 {
        font-size: 30px;
    }

    .faq-card {
        padding: 26px 20px 24px;
    }

    .faq-answer p {
        padding-left: 0;
        margin-top: 4px;
    }

    .notch.top-left, .notch.bottom-left {
        left: 18px;
    }

    .notch.top-right, .notch.bottom-right {
        right: 18px;
    }
}
@media (max-width: 480px) {
  .hero-badges {
    flex-direction: column;
  }
    .pricing-card {
      padding: 32px 24px;
    }
    #home .container {
        padding: 0 15px;
    }
    .hero-inner .hero-eyebrow {
        font-size: 0.6rem;
        padding: 6px 7px;
    }
    .nav-cta .btn-primary {
        padding: 9px 7px;
    }
    #hero .nav-logo {
        font-size: 1.6rem;
    }
    .hero .hero-content h1 {
        font-size: 2.4em !important;
    }
    #demoblock .modal {
        padding: 28px 22px 26px;
    }

    #demoblock .form-row {
        flex-direction: column;
        gap: 18px;
    }
    #demoblock .chip-group .chip {
        width: 100%;
        margin-bottom: 4px;
    }
}
@media (max-width: 440px) {
    .hero-actions .btn-outline-white {
        text-align: center;
    }
    .hero .hero-actions {
        text-align: center;
        flex-wrap: nowrap;
        margin-bottom: 30px;
    }
    .hero-actions .btn-primary, .hero-actions .btn-outline-white {
        padding: 14px 15px;
    }
    div.hero-content {
        padding-bottom: 40px;
    }
    div.app-suite-text p {
        margin-bottom: 0;
    }
    div.contact-form-card {
        padding: 30px 20px;
    }
    #contact .form-group label {
        font-size: 12px;
    }
    #faq li.faq-card {
        padding: 18px 6px 8px;
    }
    div#demoblock.modal input {
        padding: 10px 14px;
    }
    div.jqibox div.jqi {
        min-width: 320px!important;
    }
}
@media (max-width: 340px) {
    #contact .contact-form-card {
        padding: 30px 20px;
    }
    div.container {
        padding: 0px 15px;
    }
    #home .nav-cta .btn-primary {
        padding: 5px 6px;
        font-size: 12px;
    }
    #home div.nav-logo {
        font-size: 1.5rem;
    }
}
@media (prefers-reduced-motion: reduce) {
* {
    transition: none !important;
    animation: none !important;
  }
}

.nav-links .nav-dropdown {
    position: relative;
}
.nav-links .nav-dropdown > a::after {
    content: ' ˅';
    font-size: 0.9rem;
    opacity: 0.6;
}
.nav-dropdown-menu {
    display: none;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 252px;
    padding: 1px 0;
    z-index: 200;
    position: absolute;
    top: 100%;
    left: -40px;
    margin-top: 0;
    box-shadow: 0px 6px 20px #042c7817;
}
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}
.nav-dropdown-menu a {
    display: block;
    padding: 12px 18px;
    margin: 3px 5px;
    font-size: 0.875rem;
    color: rgb(1 38 120 / 75%);
    transition: background 0.15s, color 0.15s;
    background-color: #f5f8ff;
}

    .nav-dropdown-menu a:hover {
        background: #ecf2ff;
    }

.nav-inner .logo-link {
    display: block;
    height: 59px;
    background: url(../Images/Cubepos-only_logo.png) left center no-repeat;
    background-size: 35px 59%;
    width: 42px;
    border: none;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1px;
}

.hero-content h1 {
    font-size: 2.8em !important;
}
 /*----- FAQ ------*/

#faq .faq-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#faq .faq-card {
    position: relative;
    background-color: #FFFFFF;
    padding: 25px 20px 15px;
}
.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
#faq h2 {
    margin-bottom: 16px;
}
#faq .qnum {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background-color: #46ad93;
    color: #FFFFFF;
    font-family: 'Sora', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
#faq .faq-question h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: #16413A;
    line-height: 1.4;
    padding-top: 5px;
}
#faq .perforation {
    height: 1px;
    margin: 10px 0 10px;
    background-image: repeating-linear-gradient(to right, #CFE3DC 0, #CFE3DC 7px, transparent 7px, transparent 15px);
}

#faq .faq-answer p {
    font-size: 15px;
    line-height: 1.75;
    color: #455A53;
}
#faq .faq-answer p strong {
    color: #16413A;
    font-weight: 600;
}
/** Mobile Menu ***/
.hamburger {
    display: none;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    margin-right: 10px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #445f83;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
/* ---------- Menu panel ---------- */

#menuPanel.menu-panel {
    display:none;
    max-height: 0;
    overflow: hidden;
    background-color: #FFFFFF;
    transition: max-height 0.3s ease;
}

#menuPanel.menu-panel.open {
    display: block;
    max-height: 600px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

#menuPanel .menu-list {
    list-style: none;
}

#menuPanel .menu-list > li {
    border-bottom: 1px solid #ECEFF5;
}
#menuPanel .menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #1E3A5F;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}
#menuPanel .menu-link:active {
    background-color: #F3F7FD;
}

#menuPanel .chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid #6B85AC;
    border-bottom: 2px solid #6B85AC;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

#menuPanel .has-submenu.open > .menu-link .chevron {
    transform: rotate(-135deg);
}

/* ---------- Submenu (Products) ---------- */

#menuPanel .submenu {
    max-height: 0;
    overflow: hidden;
    background-color: #F6F9FE;
    transition: max-height 0.25s ease;
}
#menuPanel .has-submenu.open .submenu {
    max-height: 300px;
}

#menuPanel .submenu li {
    border-top: 1px solid #ECEFF5;
}

#menuPanel .submenu li:first-child {
    border-top: none;
}

#menuPanel .submenu a {
    display: block;
    padding: 14px 20px 14px 34px;
    color: #3C5A85;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

#menuPanel .submenu a:active {
    background-color: #ECF2FC;
}
.footer .posts h2 {
    font-size: 16px;
    color: #a1abcf;
    margin: 12px 2px;
}
.divinline {
    display: inline-block;
    margin-right: 20px;
    font-size: 14px;
}
.footer .divinline a {
    color: #99c5db;
}
#contactform input::placeholder, #contactform textarea::placeholder {
    color: #a3b1c1;
}
.nav-links a:hover {
    color: rgb(3 65 110)
}

/******     Demo request popup     *****/
/* ---------- Overlay ---------- */
.demopopup.overlay {
    display: none;
    position: relative;
    width: 100%;
    min-height: 100vh;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    background: rgb(17 26 36 / 23%);
    position: fixed;
    inset: 0;
    padding: 24px;
    z-index: 100;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* ---------- Modal ---------- */
#demoblock.modal {
    background: #FFFFFF;
    width: 100%;
    max-width: 550px;
    border-radius: 8px;
    padding: 30px 2vw 4vh;
    position: relative;
    box-shadow: 0px 8px 20px rgb(15 28 42 / 25%);
}

#demoblock .close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #F1F3F8;
    color: #5B6B85;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

#demoblock .close-btn:hover {
    background: #E8EBF2;
    color: #1B2733;
}
#demoblock .modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}
#demoblock .icon-badge {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    background: #EAF7F1;
    display: flex;
    align-items: center;
    justify-content: center;
}
#demoblock .icon-badge svg {
    width: 24px;
    height: 24px;
}
#demoblock .eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1F6F66;
    margin-bottom: 2px;
}
#demoblock .modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #16212E;
}

#demoblock .modal-sub {
    margin-top: 16px;
    margin-bottom: 26px;
    font-size: 14px;
    line-height: 1.6;
    color: #6B7892;
}
#demoblock .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}
#demoblock .form-group {
    flex: 1;
    margin-bottom: 18px;
}

#demoblock .form-row .form-group {
    margin-bottom: 0;
}
#demoblock .form-group.full {
    width: 100%;
}
#demoblock label.field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4A5A78;
    margin-bottom: 8px;
}
#demoblock .optional {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #9AA7BD;
}

#demoblock input[type="text"],
#demoblock input[type="email"],
#demoblock input[type="tel"] {
    width: 100%;
    background: #f1f6ff;
    border: 1px solid #e4ecff;
    border-radius: 5px;
    padding: 13px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1B2733;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}
#demoblock input::placeholder {
    color: #9AA7BD;
}

input:focus {
    background: #FFFFFF;
    border-color: #1F6F66;
}
#demoblock .chip-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
#demoblock .chip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid #E7EAF0;
    border-radius: 6px;
    background: #FAFBFD;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: #4A5A78;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
#demoblock .chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
#demoblock .chip-box {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 6px;
    border: 1.5px solid #C7CEDC;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}
#demoblock .chip-box::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
}
#demoblock .chip input:checked ~ .chip-box {
    background: #1F6F66;
    border-color: #1F6F66;
}
#demoblock .chip input:checked ~ .chip-box::after {
    transform: rotate(45deg) scale(1);
}
#demoblock .chip:has(input:checked) {
    border-color: #4eb19278;
    background: #EAF7F1;
    color: #1F6F66;
}
#demoblock .modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}
#demoblock .btn-cancel, #demoblock .btn-send {
    flex: 1;
    border: none;
    border-radius: 5px;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
#demoblock .btn-cancel {
    background: transparent;
    color: #4A5A78;
    border: 1.5px solid #E7EAF0;
}
#demoblock .btn-cancel:hover {
    background: #F4F6FA;
    border-color: #C7CEDC;
}
#demoblock .btn-send {
    background: #FF7A45;
    color: #FFFFFF;
}
#demoblock .btn-send:hover {
    background: #F2611E;
}
#demoblock input:focus {
    background-color: #fff;
}
#demoblock .btn-send:disabled {
    background: #ffc8b2;
}
div.jqi div.jqititle {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}
.jqibox div.jqi {
    min-width: 420px;
    font-family: Helvetica, Arial, sans-serif, "Helvetica Neue";
    position: absolute;
    background-color: #ffffff;
    font-size: 11px;
    text-align: left;
    padding: 13px;
    border-radius: 10px;
    width: 26vw;
    left: 51vw !important;
}
.jqibox div.jqi .jqimessage {
    padding: 10px;
    line-height: 20px;
    color: #43557e;
    margin-bottom: 10px;
    font-size: 15px;
}
div.jqi div.jqibuttons {
    text-align: right;
    margin: 0 0px 0px 0px;
    border: 0;
    background-color: #ffffff;
}
div.jqi div.jqibuttons button {
    margin: 0;
    padding: 13px 23px;
    background-color: transparent;
    font-weight: normal;
    color: #777;
    font-weight: bold;
    font-size: 14px;
    width: 100px !important;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}