:root{
  --primary:#0A5AA3;
  --accent:#FF6B00;
  --bg:#F5F7FA;
  --text:#0f172a;
  --muted:#475569;
  --card:#ffffff;
  --border:rgba(15, 23, 42, .12);
  --shadow:0 10px 30px rgba(2, 6, 23, .08);
  --radius:14px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html{ height:100%; }
.section[id],
.card[id]{
  scroll-margin-top: 88px;
}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.45;
}

img{ max-width:100%; height:auto; display:block; }

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
}

.container{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 18px;
}

.topbar{
  background:var(--primary);
  color:#fff;
  font-size:14px;
}
.topbar .inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
}
.topbar a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition:opacity 0.2s ease;
}
.topbar a:hover{
  opacity:0.8;
}

.header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(245, 247, 250, .92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
}
.header .inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
  text-decoration:none;
  color:inherit;
  transition:opacity 0.2s ease;
}
.brand:hover{
  opacity:0.8;
}
.brand .name{
  font-weight:900;
  letter-spacing:.2px;
}
.brand .tag{
  color:var(--muted);
  font-size:13px;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav a{
  text-decoration:none;
  color:var(--text);
  font-weight:600;
  font-size:16px;
  transition:color 0.2s ease;
}
.nav a:hover{
  color:var(--primary);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid transparent;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  cursor:pointer;
  min-height:44px;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover{
  transform:translateY(-2px);
}
.btn-primary{
  background:var(--accent);
  color:#fff;
  border-color:rgba(255,107,0,.35);
  box-shadow:0 8px 18px rgba(255,107,0,.22);
}
.btn-ghost{
  background:#fff;
  border-color:var(--border);
  color:var(--primary);
}
.btn-primary:focus,.btn-ghost:focus,.nav a:focus{
  outline:3px solid rgba(255,107,0,.35);
  outline-offset:2px;
}

.btn-primary:focus-visible,.btn-ghost:focus-visible,.nav a:focus-visible,.nav-toggle-label:focus-visible{
  outline:3px solid rgba(255,107,0,.35);
  outline-offset:2px;
}

input:focus, textarea:focus, select:focus{
  outline:3px solid rgba(255,107,0,.35);
  outline-offset:2px;
}

.grid{
  display:grid;
  gap:16px;
}

.hero{
  padding:26px 0 6px;
}
.hero-card{
  background:linear-gradient(135deg, rgba(10,90,163,.10), rgba(255,107,0,.08));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  padding:22px;
  align-items:center;
}
.hero h1{
  margin:0;
  font-size:40px;
  line-height:1.1;
  letter-spacing:-.6px;
}
.hero p{
  margin:12px 0 18px;
  color:var(--muted);
  font-weight:600;
}
.hero-ctas{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.hero-visual{
  border-radius:12px;
  background:transparent;
  border:none;
  padding:10px;
  overflow:hidden;
}
.hero-visual .hero-image{
  width:100%;
  height:230px;
  display:block;
  border-radius:10px;
  border:none;
  box-shadow:none;
  object-fit:cover;
}
.hero-visual .placeholder{
  height:230px;
  border-radius:10px;
  background:linear-gradient(180deg, rgba(10,90,163,.18), rgba(245,247,250,1));
  border:1px dashed rgba(10,90,163,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(10,90,163,.9);
  font-weight:900;
}

.section{
  padding:18px 0;
}
.section h2{
  margin:0 0 12px;
  font-size:22px;
  letter-spacing:-.2px;
}

.cards-3{
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.cards-2{
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
}
.card h3{
  margin:10px 0 8px;
  font-size:16px;
}
.card p{
  margin:0 0 14px;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}
.card a{
  transition:transform 0.2s ease;
}
.card a:hover{
  transform:translateY(-2px);
}
.card .mini{
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}
.icon{
  width:42px;
  height:42px;
  border-radius:12px;
  background:rgba(10,90,163,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

.list-bullets{
  padding:0;
  margin:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.list-bullets li{
  background:rgba(255,107,0,.06);
  border:1px solid rgba(255,107,0,.20);
  border-radius:12px;
  padding:12px;
  font-weight:800;
}

.reviews{
  display:grid;
  gap:16px;
}
.review{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
}
.stars{
  letter-spacing:2px;
  color:var(--accent);
  font-weight:900;
}
.review blockquote{
  margin:10px 0 8px;
  color:var(--muted);
  font-weight:700;
}
.review .byline{
  color:var(--text);
  font-weight:900;
  font-size:14px;
}

.cta-block{
  background:var(--primary);
  color:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.22);
}
.cta-block .inner{
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.cta-block h2{
  margin:0;
  color:#fff;
  font-size:20px;
}
.cta-block .muted{
  color:rgba(255,255,255,.85);
  font-weight:700;
}
.footer{
  min-height:160px;
  padding:40px 0 72px;
}

.form-success{
  background:rgba(22, 163, 74, .12);
  border:1px solid rgba(22, 163, 74, .35);
  color:#166534;
  border-radius:12px;
  padding:12px 14px;
  font-weight:800;
  margin-bottom:12px;
}

/* Mobile nav (no JS) */
.nav-toggle{
  display:none;
}

.mobile-nav{
  display:none;
  position:relative;
}

.nav-mobile{
  display:none;
}

.nav-toggle-label{
  display:none;
  min-height:48px;
  min-width:48px;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  color:var(--text);
  font-size:24px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  user-select:none;
}

.sticky-cta{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:30;
  background:rgba(10,90,163,.98);
  color:#fff;
  border-top:1px solid rgba(255,255,255,.18);
  padding:10px 12px;
  display:none;
}

.sticky-cta .inner{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}

.sticky-cta .call,
.sticky-cta .quote{
  flex:1;
}

.sticky-cta .btn{
  width:100%;
}

/* Make room for sticky bar */
.page{
  padding-bottom:100px;
}

@media (max-width: 768px){

  .topbar{
    display:none;
  }

  .topbar .inner{
    justify-content:flex-start;
    flex-direction:column;
    align-items:flex-start;
  }

  /* MOBILE HEADER */
  .header .inner{
    padding:10px 18px;
    gap:12px;
  }

  /* Brand stays on the left */
  .brand{
    min-width:0;
    flex:1;
  }

  .brand .name{
    font-size:16px;
    line-height:1.2;
  }

  .brand .tag{
    font-size:12px;
    line-height:1.2;
  }

  /* Hide desktop navigation */
  .nav{
    display:none;
  }

  /* Hide desktop CALL NOW button */
  .header .btn-primary{
    display:none;
  }

  /* Hamburger container */
  .mobile-nav{
    display:block;
    position:relative;
    flex:0 0 auto;
    order:2;
  }

  /* Hamburger button */
  .nav-toggle-label{
    display:flex;
  }

  /* Dropdown */
  .nav-toggle:checked ~ .nav-mobile{
    display:flex;
    flex-direction:column;
  }

  .nav-mobile{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    left:auto;

    width:min(280px, calc(100vw - 36px));

    padding:12px;
    gap:8px;

    background:#fff;
    border:1px solid var(--border);
    border-radius:14px;
    box-shadow:var(--shadow);

    z-index:50;
  }

  /* Mobile menu buttons */
  .nav-mobile a{
    display:flex;
    align-items:center;

    width:100%;
    min-width:0;

    padding:12px;

    border:1px solid var(--border);
    border-radius:12px;

    background:var(--bg);
    color:var(--text);

    text-decoration:none;
    font-size:15px;
    font-weight:700;
    line-height:1.3;

    /* Prevent text from escaping */
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:break-word;

    transition:
      background 0.2s ease,
      color 0.2s ease;
  }

  .nav-mobile a:hover{
    background:var(--primary);
    color:#fff;
  }

  /* HERO */
  .hero-inner{
    grid-template-columns:1fr;
    padding:16px;
  }

  .hero h1{
    font-size:30px;
  }

  .hero-ctas{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-ctas .btn{
    width:100%;
  }

  /* CARDS */
  .cards-3{
    grid-template-columns:1fr;
  }

  .cards-2{
    grid-template-columns:1fr;
  }

  .card .btn{
    width:100%;
    justify-content:center;
  }

  /* MOBILE STICKY CTA */
  .sticky-cta{
    display:block;
  }

  .page{
    padding-bottom:120px;
  }

  .cta-block .inner{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* Demo Return Banner */
#demo-return-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #1a1a1a;
  color: #ffffff;
  border-top: 4px solid #FF6B00;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}

.demo-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px;
  max-width: 1120px;
  margin: 0 auto;
}

.demo-banner-text {
  color: #ffffff;
  font-weight: 700;
  flex: 1;
  font-size: 18px;
}

.demo-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #FF6B00;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.demo-banner-button:hover {
  background: #e55f00;
  transform: translateY(-2px);
}

.demo-banner-button:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  #demo-return-banner {
    font-size: 14px;
    border-top-width: 2px;
  }

  .demo-banner-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 8px;
    padding: 12px 18px;
  }

  .demo-banner-text {
    font-size: 13px;
    font-weight: 500;
  }

  .demo-banner-button {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
  }
}
