/* Indigital Landing Pages – Frontend (v2.0.2)
   Brand vars are injected inline by PHP:
   --brand-orange, --brand-blue, --brand-navy, --brand-deep-blue
*/

:root{
  --lp-navy: var(--brand-navy, #07162a);
  --lp-blue: var(--brand-blue, #0098B8);
  --lp-deep-blue: var(--brand-deep-blue, #0D7294);
  --lp-orange: var(--brand-orange, #ff7a1a);

  --lp-text: #eaf2ff;
  --lp-muted: rgba(234,242,255,.74);
  --lp-card: rgba(255,255,255,.06);
  --lp-border: rgba(0,152,184,.28);
  --lp-shadow: 0 22px 70px rgba(0,0,0,.45);
  --r-16: 16px;
  --r-22: 22px;
}

/* Base */
.indlp-standalone{background:var(--lp-navy); color:var(--lp-text); margin:0; padding:0; direction:rtl;}
.indlp-standalone *{box-sizing:border-box}
.indlp-topbar{height:10px; background:var(--lp-orange);}
.indlp-container{width:min(1120px, calc(100% - 36px)); margin:0 auto;}

/* Progress bar */
.indlp-progress{position:fixed; top:0; left:0; right:0; height:3px; z-index:999999; background:transparent;}
.indlp-progress>span{display:block; height:100%; width:0%; background:var(--lp-blue); opacity:.95;}

/* Hero */
.indlp-hero{position:relative; padding: clamp(26px, 4vw, 56px) 0; overflow:hidden;}
.indlp-hero:before{
  content:"";
  position:absolute; inset:-40%;
  background:
    radial-gradient(circle at 15% 30%, rgba(0,152,184,.18), transparent 45%),
    radial-gradient(circle at 85% 40%, rgba(255,122,26,.10), transparent 46%),
    radial-gradient(circle at 55% 85%, rgba(0,152,184,.10), transparent 46%);
  filter: blur(6px);
  pointer-events:none;
}
.indlp-hero-grid{display:grid; grid-template-columns: 1.12fr .88fr; gap:26px; align-items:center; position:relative; z-index:1;}
@media (max-width: 940px){ .indlp-hero-grid{grid-template-columns:1fr; gap:18px;} }

/* Hero card */
.indlp-hero-card{
  background: var(--lp-card);
  border:1px solid var(--lp-border);
  box-shadow: var(--lp-shadow);
  border-radius: var(--r-22);
  padding: clamp(18px, 3vw, 32px);
  backdrop-filter: blur(10px);
}
.indlp-eyebrow{display:inline-flex; align-items:center; gap:10px; font-weight:900; padding:7px 12px; border-radius:999px; background: rgba(255,122,26,.14); border:1px solid rgba(255,122,26,.35); color: var(--lp-text);}
.indlp-h1{font-size: clamp(34px, 3.7vw, 56px); line-height:1.02; margin:14px 0 12px; letter-spacing:-0.02em;}
.indlp-h1 .line1{color: var(--lp-orange); display:block;}
.indlp-h1 .line2{display:block;}
.indlp-sub{font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; color: var(--lp-muted); margin:0 0 14px;}

/* Bullets */
.indlp-bullets{display:grid; gap:10px; margin: 14px 0 18px;}
.indlp-bullet{display:flex; align-items:flex-start; gap:10px; padding: 10px 12px; border:1px solid rgba(255,255,255,.10); border-radius: 14px; background: rgba(0,0,0,.14);}
.indlp-bullet .tick{width:22px; height:22px; border-radius:8px; display:grid; place-items:center; background: rgba(0,152,184,.18); border:1px solid rgba(0,152,184,.28); margin-top:2px; flex:0 0 auto;}
.indlp-bullet .tick svg{width:14px; height:14px; fill: var(--lp-blue);}

/* CTA */
.indlp-cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top: 10px;}
.indlp-btn{border-radius: 16px; padding: 14px 18px; font-weight: 900; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; user-select:none;}
.indlp-btn-primary{background: var(--lp-orange); color:#101010; box-shadow: 0 14px 34px rgba(255,122,26,.22); border:none; cursor:pointer;}
.indlp-btn-primary:hover{transform: translateY(-1px); box-shadow: 0 18px 45px rgba(255,122,26,.28);}
.indlp-btn-secondary{background: transparent; color: var(--lp-text); border:1px solid rgba(255,255,255,.22);}
.indlp-btn-secondary:hover{transform: translateY(-1px); border-color: rgba(0,152,184,.45);}

.indlp-trustline{margin-top:12px; color: rgba(234,242,255,.62); font-size: 13px;}

/* Visual */
.indlp-hero-visual{border-radius: var(--r-22); border:1px solid rgba(0,152,184,.22); background: rgba(255,255,255,.03); box-shadow: var(--lp-shadow); overflow:hidden; min-height: 220px; display:flex; align-items:center; justify-content:center;}
.indlp-hero-visual img{display:block; width:100%; height:auto;}
.indlp-hero-visual .placeholder{color: rgba(234,242,255,.55); font-weight:800; padding:16px; text-align:center;}

/* Form */
.indlp-formwrap{margin-top: 14px;}
.indlp-form{display:grid; gap:10px; margin-top: 8px;}
.indlp-form .row{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
@media (max-width: 520px){ .indlp-form .row{grid-template-columns:1fr;} }

.indlp-field label{display:block; font-weight:800; font-size:13px; margin: 0 0 6px; color: rgba(234,242,255,.78);}
.indlp-field input[type=text],
.indlp-field input[type=email],
.indlp-field input[type=tel]{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,152,184,.30);
  background: rgba(255,255,255,.92);
  color: #0b1f2b;
  outline:none;
}
.indlp-field input::placeholder{color: rgba(11,31,43,.55);}
.indlp-field input:focus{border-color: rgba(0,152,184,.55); box-shadow: 0 0 0 4px rgba(0,152,184,.18);}

.indlp-consent{display:flex; gap:10px; align-items:flex-start; font-size:13px; color: rgba(234,242,255,.70); line-height:1.45;}
.indlp-consent input{margin-top:3px; width:18px; height:18px; accent-color: var(--lp-blue);}
.indlp-consent a{color: var(--lp-blue); text-decoration:none; font-weight:800;}

.indlp-form-status{display:none; padding:10px 12px; border-radius: 12px; font-weight:800;}
.indlp-form-status.ok{display:block; background: rgba(0,152,184,.14); border:1px solid rgba(0,152,184,.28);}
.indlp-form-status.err{display:block; background: rgba(255,122,26,.14); border:1px solid rgba(255,122,26,.30);}

/* Sections */
.indlp-section{padding: 22px 0;}
.indlp-section-title{font-size: 22px; margin: 0 0 14px; letter-spacing:-.01em;}
.indlp-cards{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
@media (max-width: 940px){ .indlp-cards{grid-template-columns:1fr;} }
.indlp-card{background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); border-radius: var(--r-16); padding: 16px; transition: transform .18s ease, border-color .18s ease;}
.indlp-card:hover{transform: translateY(-2px); border-color: rgba(0,152,184,.25);}

/* FAQ */
.indlp-faq{display:grid; gap:10px;}
.indlp-faq details{background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); border-radius: var(--r-16); padding: 12px 14px;}
.indlp-faq summary{cursor:pointer; font-weight:900;}
.indlp-faq p{color: var(--lp-muted); margin: 10px 0 2px; line-height:1.6;}

/* Footer */
.indlp-footer{padding: 26px 0 84px; text-align:center; color: rgba(234,242,255,.70);}
.indlp-footer a{color: var(--lp-blue); text-decoration:none; font-weight:900;}

/* Reveal */
.indlp-reveal{opacity:0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease;}
.indlp-reveal.is-in{opacity:1; transform:none;}
@media (prefers-reduced-motion: reduce){
  .indlp-reveal{opacity:1; transform:none; transition:none;}
  .indlp-btn{transition:none;}
}

/* Sticky CTA */
.indlp-sticky{position:fixed; left:0; right:0; bottom:0; padding: 10px 12px; background: rgba(7,22,42,.88); backdrop-filter: blur(10px); border-top:1px solid rgba(255,255,255,.10); z-index:999999; display:none;}
.indlp-sticky .inner{width:min(1120px, calc(100% - 12px)); margin:0 auto; display:flex; gap:10px; align-items:center; justify-content:space-between;}
.indlp-sticky small{color: rgba(234,242,255,.65);}
@media (max-width: 940px){
  .indlp-sticky{display:block;}
  .indlp-sticky .indlp-btn{flex:1;}
}

/* Exit popup */
.indlp-exit{position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.55); z-index:999999; padding:18px;}
.indlp-exit.is-open{display:flex;}
.indlp-exit .card{background: rgba(7,22,42,.96); color: var(--lp-text); width:min(720px,96vw); border-radius: var(--r-22); padding:18px; border:1px solid rgba(0,152,184,.22); box-shadow: var(--lp-shadow);}
.indlp-exit .close{float:inline-end; cursor:pointer; font-weight:900; font-size:20px; opacity:.85;}

/* Admin bar spacing */
body.admin-bar .indlp-progress{top:32px}
@media (max-width:782px){ body.admin-bar .indlp-progress{top:46px} }
