.page-header.demo-header{
  position:relative;
  padding:0;
  min-height:600px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.page-header.demo-header::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      to right,
      rgba(2,6,23,0.85) 0%,
      rgba(2,6,23,0.78) 40%,
      rgba(2,6,23,0.68) 70%,
      rgba(2,6,23,0.55) 100%
    ),
    url('/assets/images/propertymanagementsoftware.png') center center / cover no-repeat;
  animation:heroZoom 18s ease-in-out infinite alternate;
  z-index:0;
  transform-origin:center;
}

.page-header.demo-header .container{
  position:relative;
  z-index:1;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

.page-header.demo-header .page-header-card{
  text-align:center;
  color:#ffffff;
  padding:120px 20px;
  max-width:900px;
  margin:0 auto;
}

@keyframes heroZoom{
  0%{ transform:scale(1) translateY(0px); }
  100%{ transform:scale(1.08) translateY(-15px); }
}

@keyframes fadeUp{
  0%{ opacity:0; transform:translateY(30px); }
  100%{ opacity:1; transform:translateY(0); }
}

.page-header.demo-header .page-header-card h1{
  font-size:60px;
  font-weight:900;
  margin:0 0 18px;
  animation:fadeUp 1.2s ease forwards;
  text-shadow:0 10px 30px rgba(0,0,0,0.45);
}

.page-header.demo-header .page-header-card p{
  font-size:20px;
  max-width:720px;
  margin:0 auto;
  color:rgba(255,255,255,0.92);
  animation:fadeUp 1.6s ease forwards;
  text-shadow:0 8px 22px rgba(0,0,0,0.35);
}

.page-header.demo-header .demo-hero-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(47,111,163,0.14);
  border:1px solid rgba(47,111,163,0.30);
  color:#ffffff;
  font-weight:900;
  font-size:13px;
  margin-bottom:14px;
  animation:fadeUp 0.9s ease forwards;
}

.demo-section{
  padding:30px 0 90px;
}

.demo-section .container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

.demo-content{
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:26px;
  align-items:start;
}

.demo-info,
.demo-form-card{
  background:#ffffff;
  border-radius:22px;
  padding:34px;
  border:1px solid rgba(15,23,42,0.08);
  box-shadow:0 20px 60px rgba(0,0,0,0.06);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.demo-info:hover,
.demo-form-card:hover{
  transform:translateY(-4px);
  box-shadow:0 25px 70px rgba(0,0,0,0.10);
  border-color:rgba(47,111,163,0.26);
}

.demo-info h2{
  margin:0 0 8px;
  color:#334155;
  font-size:28px;
  font-weight:900;
  letter-spacing:-0.02em;
}

.demo-sub{
  margin:0 0 18px;
  color:#475569;
  line-height:1.7;
  font-weight:600;
}

.demo-benefits{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.benefit-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,0.08);
  background:rgba(248,250,252,1);
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.benefit-item:hover{
  transform:translateY(-2px);
  border-color:rgba(47,111,163,0.22);
  box-shadow:0 14px 34px rgba(2,6,23,0.08);
}

.benefit-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(47,111,163,0.12);
  border:1px solid rgba(47,111,163,0.22);
  color:#2F6FA3;
  flex:0 0 auto;
  margin-top:2px;
}

.benefit-text strong{
  display:block;
  color:#334155;
  font-weight:900;
  margin-bottom:2px;
}

.benefit-text span{
  display:block;
  color:#475569;
  line-height:1.6;
  font-weight:600;
}

.demo-note{
  margin-top:18px;
  padding:14px 14px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(47,111,163,0.10) 0%, rgba(47,111,163,0.05) 100%);
  border:1px solid rgba(47,111,163,0.18);
  color:#334155;
  font-weight:800;
}

.form-head h2{
  margin:0 0 6px;
  color:#334155;
  font-size:26px;
  font-weight:900;
  letter-spacing:-0.02em;
}

.form-head p{
  margin:0 0 18px;
  color:#64748b;
  font-weight:600;
  line-height:1.65;
}

.alert{
  border-radius:14px;
  padding:14px 16px;
  font-weight:800;
  margin:0 0 16px;
}

.alert-success{
  background:rgba(16,185,129,0.12);
  border:1px solid rgba(16,185,129,0.25);
  color:#065f46;
}

.alert-error{
  background:rgba(239,68,68,0.10);
  border:1px solid rgba(239,68,68,0.22);
  color:#7f1d1d;
}

.demo-form .form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.form-group{
  margin-top:12px;
}

.form-group label{
  display:block;
  font-size:14px;
  font-weight:900;
  color:#334155;
  margin:0 0 8px;
}

.required{
  color:#ef4444;
  font-weight:900;
}

.demo-form input[type="text"],
.demo-form input[type="email"],
.demo-form input[type="tel"],
.demo-form select,
.demo-form textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(15,23,42,0.12);
  padding:12px 14px;
  font-size:15px;
  color:#0f172a;
  outline:none;
  background:#ffffff;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.demo-form textarea{
  min-height:110px;
  resize:vertical;
  line-height:1.6;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus{
  border-color:rgba(47,111,163,0.55);
  box-shadow:0 0 0 4px rgba(47,111,163,0.14);
}

.checkbox-group{
  margin-top:14px;
}

.checkbox-group label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#475569;
  font-weight:700;
  line-height:1.55;
  cursor:pointer;
}

.checkbox-group input[type="checkbox"]{
  margin-top:4px;
  accent-color:#2F6FA3;
}

.checkbox-group a{
  color:#2F6FA3;
  text-decoration:none;
  font-weight:900;
}

.checkbox-group a:hover{
  color:#0F2A44;
}

.btn-block{
  width:100%;
  margin-top:14px;
}

button:disabled{
  opacity:0.6;
  cursor:not-allowed;
  transform:none;
  filter:none;
  box-shadow:none;
}

.is-invalid{
  border-color:rgba(239,68,68,0.55) !important;
  box-shadow:0 0 0 4px rgba(239,68,68,0.10) !important;
}

.is-valid{
  border-color:rgba(16,185,129,0.45) !important;
  box-shadow:0 0 0 4px rgba(16,185,129,0.10) !important;
}

@media (max-width:992px){
  .page-header.demo-header{ min-height:520px; }
  .page-header.demo-header .page-header-card{ padding:90px 20px; }
  .demo-content{ grid-template-columns:1fr; }
  .demo-form .form-row{ grid-template-columns:1fr; }
}

@media (max-width:576px){
  .page-header.demo-header{ min-height:460px; }
  .page-header.demo-header .page-header-card{ padding:70px 18px; }
  .page-header.demo-header .page-header-card h1{ font-size:36px; }
  .page-header.demo-header .page-header-card p{ font-size:16px; }
  .demo-info,
  .demo-form-card{
    padding:22px 18px;
    border-radius:18px;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-header.demo-header::before{ animation:none !important; }
  .page-header.demo-header .page-header-card h1,
  .page-header.demo-header .page-header-card p,
  .page-header.demo-header .demo-hero-badge{ animation:none !important; }
}

.page-header.demo-header.page-header--compact{
  min-height: 220px;
  padding: 18px 0;
}

.page-header.demo-header.page-header--compact .page-header-card{
  padding: 28px 18px;
}

.page-header.demo-header.page-header--compact .page-header-card h1{
  font-size: 34px;
  margin-bottom: 10px;
}

.page-header.demo-header.page-header--compact .page-header-card p{
  font-size: 16px;
}

.page-header.demo-header.page-header--compact::before{
  animation: none !important;
  transform: none !important;
}/* Tooltip wrapper */
.submit-wrapper{
  position:relative;
}

/* Tooltip box */
.submit-tooltip{
  position:absolute;
  bottom:120%;
  left:50%;
  transform:translateX(-50%);
  background:#0f172a;
  color:#ffffff;
  padding:8px 12px;
  font-size:13px;
  border-radius:8px;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
  z-index:10;
}

/* Small arrow */
.submit-tooltip::after{
  content:"";
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  border-width:6px;
  border-style:solid;
  border-color:#0f172a transparent transparent transparent;
}