/* IVSoftwares Ultra UI (safe overrides) */
:root{
  --iv-bg: #f6f8ff;
  --iv-surface: #ffffff;
  --iv-text: #111827;
  --iv-muted: #6b7280;
  --iv-border: rgba(17,24,39,.08);
  --iv-shadow: 0 18px 45px rgba(17,24,39,.12);
  --iv-shadow-sm: 0 10px 24px rgba(17,24,39,.10);
  --iv-radius: 18px;
  --iv-primary: #4f46e5;
  --iv-primary2:#06b6d4;
}

html, body{ height:100%; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  background: radial-gradient(1200px 600px at 15% 0%, rgba(79,70,229,.12), transparent 60%),
              radial-gradient(900px 500px at 85% 10%, rgba(6,182,212,.10), transparent 55%),
              var(--iv-bg) !important;
  color: var(--iv-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ text-decoration: none; }
.container{ max-width: 1180px; }

/* Header: glass + sticky */
.header-6{
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(246,248,255,.65);
  border-bottom: 1px solid rgba(17,24,39,.06);
}
.header-6 .navbar{
  padding: 14px 0;
}
.header-6 .navbar-brand img{
  height: 44px;
  width: auto;
}
.header-6 .navbar-nav .nav-item a{
  font-weight: 600;
  color: rgba(17,24,39,.80) !important;
  padding: 10px 14px !important;
  border-radius: 999px;
}
.header-6 .navbar-nav .nav-item a:hover,
.header-6 .navbar-nav .nav-item a.active{
  background: rgba(79,70,229,.10);
  color: rgba(17,24,39,.95) !important;
}

/* Hero: richer, premium */
.hero-section-wrapper-5{ overflow: hidden; }
.hero-style-5{
  position: relative;
  /* tighter top spacing (less gap under navbar) */
  padding: 78px 0 30px !important;
  background-image: none !important;
}
.hero-style-5:before{
  content:"";
  position:absolute; inset:-1px;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(79,70,229,.22), transparent 60%),
    radial-gradient(900px 520px at 90% 15%, rgba(6,182,212,.18), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.15));
  pointer-events:none;
}
.hero-style-5:after{
  content:"";
  position:absolute; left:0; right:0; bottom:-1px; height:120px;
  background: linear-gradient(180deg, rgba(246,248,255,0), rgba(246,248,255,1));
  pointer-events:none;
}
.hero-style-5 .container{ position: relative; z-index: 2; }

.hero-content-wrapper h2{
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.07 !important;
  font-size: clamp(30px, 3.2vw, 48px) !important;
}
.hero-content-wrapper p{
  color: var(--iv-muted) !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
  max-width: 540px;
}

.iv-badges{
  display:flex; flex-wrap: wrap;
  gap: 10px; margin: 18px 0 24px;
}
.iv-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(59,130,246,.16), rgba(168,85,247,.12));
  border: 1px solid rgba(59,130,246,.18);
  box-shadow: 0 12px 30px rgba(17,24,39,.08);
  color: rgba(17,24,39,.88);
  font-weight: 700;
  font-size: 13px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.iv-badge i{ color: rgba(37,99,235,.92); }
.iv-badge:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(17,24,39,.12);
  background: linear-gradient(135deg, rgba(59,130,246,.22), rgba(168,85,247,.18));
}
.iv-badge i{ color: var(--iv-primary); }

.hero-image img{
  filter: drop-shadow(0 30px 60px rgba(17,24,39,.20));
  transform: translateY(10px);
}

/* Buttons */
.button, .submit-btn, .btn, .theme-btn, .button-lg{
  border-radius: 999px !important;
}
.button.button-lg{
  padding: 13px 18px !important;
  font-weight: 700 !important;
  box-shadow: 0 16px 35px rgba(79,70,229,.25);
  border: 1px solid rgba(79,70,229,.18);
  background: linear-gradient(90deg, var(--iv-primary), var(--iv-primary2)) !important;
}
.button.button-lg:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(79,70,229,.28);
}
.iv-btn-secondary{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 700;
  color: rgba(17,24,39,.9);
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 14px 35px rgba(17,24,39,.08);
  margin-left: 10px;
}
.iv-btn-secondary:hover{ transform: translateY(-2px); }

/* Section titles */
.section-title h3, .section-title h2{
  font-weight: 800 !important;
  letter-spacing: -0.015em;
}
.section-title p{ color: var(--iv-muted) !important; }

/* Feature cards */
.feature-style-5 .single-feature{
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(17,24,39,.07) !important;
  border-radius: var(--iv-radius) !important;
  box-shadow: var(--iv-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-style-5 .single-feature:hover{
  transform: translateY(-6px);
  box-shadow: var(--iv-shadow);
}
.feature-style-5 .single-feature .icon{
  width: 54px !important; height: 54px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(79,70,229,.14), rgba(6,182,212,.12)) !important;
  border: 1px solid rgba(79,70,229,.15);
}
.feature-style-5 .single-feature h5{ font-weight: 800 !important; }

/* Pricing */
.pricing-section .single-pricing,
#pricing .single-pricing{
  background: rgba(255,255,255,.82) !important;
  border: 1px solid rgba(17,24,39,.07) !important;
  border-radius: calc(var(--iv-radius) + 6px) !important;
  box-shadow: var(--iv-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
#pricing .single-pricing:hover{
  transform: translateY(-8px);
  box-shadow: var(--iv-shadow);
}

/* FAQ */
#faq-wrapper .faq-item,
.faq-wrapper .faq-item{
  background: rgba(255,255,255,.80) !important;
  border: 1px solid rgba(17,24,39,.07) !important;
  border-radius: var(--iv-radius) !important;
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
}
#faq-wrapper .faq-item .faq-btn{
  font-weight: 800;
}

/* Request demo form */
.demo-form-card{
  background: rgba(255,255,255,.85) !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  border-radius: calc(var(--iv-radius) + 8px) !important;
  box-shadow: var(--iv-shadow) !important;
}
.demo-form-card input, .demo-form-card select{
  border-radius: 14px !important;
  border: 1px solid rgba(17,24,39,.10) !important;
  background: rgba(255,255,255,.90) !important;
}
.demo-form-card input:focus, .demo-form-card select:focus{
  outline: none;
  border-color: rgba(79,70,229,.40) !important;
  box-shadow: 0 0 0 4px rgba(79,70,229,.12) !important;
}

/* Floating actions removed (user requested) */

/* Small screens */
@media (max-width: 991px){
  .hero-style-5{ padding: 70px 0 20px !important; }
  .iv-btn-secondary{ margin-left: 0; margin-top: 10px; }
  .iv-badges{ margin-top: 14px; }
}


/* Demo top hero */
.iv-cta-row{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.iv-btn-call{
  display:inline-flex; align-items:center; gap:10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: var(--iv-shadow-sm);
  color: var(--iv-text);
  font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease;
}
.iv-btn-call:hover{ transform: translateY(-2px); box-shadow: var(--iv-shadow); }

.demo-top-hero{ padding: 34px 0 10px; }
.demo-top-copy{ padding: 10px 0; }
.iv-pill{
  display:inline-flex; gap:10px; align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79,70,229,.10);
  border: 1px solid rgba(79,70,229,.18);
  color: #3730a3;
  font-weight: 600;
  margin-bottom: 14px;
}
.demo-top-copy h1{ font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; margin: 0 0 10px; }
.demo-top-copy p{ color: var(--iv-muted); margin: 0 0 18px; font-size: 16px; }
.demo-top-actions{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-bottom: 14px; }
.iv-btn-whatsapp{
  display:inline-flex; align-items:center; gap:10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.22);
  color: #166534;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease;
}
.iv-btn-whatsapp:hover{ transform: translateY(-2px); box-shadow: var(--iv-shadow-sm); }

.demo-top-points{ list-style:none; padding:0; margin: 12px 0 0; display:grid; gap:8px; }
.demo-top-points li{ display:flex; gap:10px; align-items:flex-start; color: var(--iv-text); opacity:.9; }
.demo-top-points i{ margin-top: 2px; }

.demo-top-visual{ display:flex; justify-content:center; align-items:center; padding: 10px 0 0; }
.blink-demo{ width: min(360px, 90%);
  
}
.demo-hero-img{ width: min(420px, 95%); filter: drop-shadow(0 18px 30px rgba(17,24,39,.18)); transform-origin:center; }

@keyframes ivBlink {
  0%, 100% { opacity: 1; transform: translateY(0) scale(1); }
  50% { opacity: .55; transform: translateY(-6px) scale(1.03); }
}
.blink-demo{ animation: ivBlink 1.15s ease-in-out infinite; }

@media (max-width: 991px){
  .demo-top-hero{ padding-top: 18px; }
  .demo-top-visual{ margin-top: 14px; }
}


/* Sticky Request Demo badge (Home page) */
.floating-demo-badge{
  position: fixed;
  right: 18px;
  top: 145px; /* moved up into the open gap area */
  bottom: auto;
  z-index: 10000;
  width: 230px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 30px rgba(17,24,39,.22));
  animation: iv-pulse 1.15s infinite;
}
@media (max-width: 991px){
  .floating-demo-badge{
    top: auto;
    bottom: 180px;
    width: 210px;
    right: 14px;
  }
}
.floating-demo-badge img{
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.70);
}
.floating-demo-badge:hover{ transform: translateY(-2px) scale(1.02); }
@keyframes iv-pulse{
  0%{ transform: translateY(0) scale(1); opacity: 1; }
  50%{ transform: translateY(-2px) scale(1.03); opacity: .95; }
  100%{ transform: translateY(0) scale(1); opacity: 1; }
}

/* Mobile: smaller + higher so it doesn't cover buttons */
@media (max-width: 576px){
  .floating-demo-badge{
    width: 150px;
    bottom: 185px;
    right: 12px;
  }
}


/* RequestDemo top header strip (same feel as Home header area) */
.demo-page-topbar{
  padding: 34px 0 22px;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(99,102,241,.22), rgba(255,255,255,0) 60%),
              radial-gradient(1200px 600px at 90% 10%, rgba(14,165,233,.18), rgba(255,255,255,0) 55%);
  border-bottom: 1px solid rgba(148,163,184,.35);
}
.demo-topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.demo-topbar-inner h1{
  margin:0;
  font-size:34px;
  line-height:1.1;
  letter-spacing:-.02em;
}
.demo-topbar-inner p{
  margin:8px 0 0;
  color:#475569;
}
.demo-topbar-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
@media (max-width: 768px){
  .demo-topbar-inner{flex-direction:column; align-items:flex-start;}
  .demo-topbar-actions{justify-content:flex-start;}
  .demo-topbar-inner h1{font-size:30px;}
}

/* ====== V7 fixes: RequestDemo top spacing + logo glow ====== */
.header-6{
  border-bottom: none !important;
  box-shadow: 0 1px 0 rgba(148,163,184,.22);
}

/* RequestDemo topbar: reduce height + remove extra line */
.demo-page-topbar{
  padding: 18px 0 10px !important;
  border-bottom: none !important;
}

/* Remove any glow/background behind logo */
.header-6 .navbar-brand,
.header-6 .navbar-brand a{
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}
.header-6 .navbar-brand img{
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}
