
/* ENTERPRISE DESIGN V3 DIRECT FIX
   Direct visual fix for live files. No database, API, payment, or AI logic changes.
*/
:root{
  --ed-bg:#06111f;
  --ed-card:#08172b;
  --ed-card2:#11243d;
  --ed-line:rgba(107,211,255,.18);
  --ed-line2:rgba(107,211,255,.30);
  --ed-text:#eef7ff;
  --ed-muted:#b5cce6;
  --ed-cyan:#2cc9ff;
  --ed-purple:#7357ff;
  --ed-green:#3cffb1;
  --ed-gold:#ffe28a;
  --ed-radius:28px;
  --ed-shadow:0 28px 90px rgba(0,0,0,.34);
}
html,body{max-width:100%;overflow-x:hidden}
body{
  background:
    radial-gradient(circle at 10% 0%, rgba(44,201,255,.14), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(115,87,255,.16), transparent 36%),
    linear-gradient(180deg,#06111f 0%,#07192e 48%,#040b16 100%) !important;
  color:var(--ed-text);
}
.topbar{
  box-shadow:0 8px 34px rgba(0,0,0,.22);
}
.btn,.button,a.btn,button,input[type="submit"]{
  border-radius:17px!important;
  font-weight:900!important;
  letter-spacing:.005em;
}
.btn:hover,.button:hover,a.btn:hover,button:hover,input[type="submit"]:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
}
.btn-primary,.btn:not(.secondary):not(.btn-secondary),input[type="submit"],button[type="submit"]{
  background:linear-gradient(135deg,var(--ed-cyan),var(--ed-purple))!important;
  color:#061121!important;
  border:0!important;
  box-shadow:0 18px 42px rgba(44,201,255,.18)!important;
}
.btn.secondary,.btn-secondary{
  background:rgba(255,255,255,.055)!important;
  color:var(--ed-text)!important;
  border:1px solid var(--ed-line)!important;
  box-shadow:none!important;
}
.card,.panel,.feature,.price-card,.pricing-card,.plan-card,.package-card,.dashboard-card,.assistant-card{
  border-radius:var(--ed-radius)!important;
  border:1px solid var(--ed-line)!important;
  background:linear-gradient(145deg,rgba(8,23,43,.94),rgba(18,36,61,.72))!important;
  box-shadow:0 22px 70px rgba(0,0,0,.20)!important;
}
.hero h1,.hero-copy h1,.pricing-title{
  letter-spacing:-.045em!important;
}
.hero h1 strong,.gradient-text,.brand-gradient{
  background:linear-gradient(135deg,#fff 0%,#bfeeff 55%,#6be2ff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Direct homepage premium additions */
.edv3-trust{
  width:min(1120px,88vw);
  margin:28px auto 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.edv3-trust-card{
  min-height:138px;
  padding:20px;
  border-radius:24px;
  background:linear-gradient(145deg,rgba(8,23,43,.85),rgba(18,36,61,.60));
  border:1px solid var(--ed-line);
}
.edv3-trust-card i{
  width:42px;height:42px;border-radius:15px;
  display:grid;place-items:center;
  background:rgba(44,201,255,.12);
  border:1px solid rgba(44,201,255,.22);
  font-style:normal;
  margin-bottom:12px;
}
.edv3-trust-card strong{display:block;font-size:17px;margin-bottom:6px}
.edv3-trust-card span{color:var(--ed-muted);font-size:14px;line-height:1.55}
.edv3-conversion{
  width:min(1120px,88vw);
  margin:30px auto;
  padding:28px;
  border-radius:30px;
  border:1px solid rgba(60,255,177,.20);
  background:linear-gradient(135deg,rgba(60,255,177,.09),rgba(115,87,255,.12));
  display:grid;
  grid-template-columns:1fr auto;
  gap:20px;
  align-items:center;
}
.edv3-conversion h2{margin:0 0 6px;font-size:clamp(24px,3vw,38px)}
.edv3-conversion p{margin:0;color:var(--ed-muted)}
.edv3-conversion a{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 20px;
  border-radius:17px;
  background:linear-gradient(135deg,var(--ed-cyan),var(--ed-purple));
  color:#061121;
  font-weight:950;
  text-decoration:none;
}

/* Pricing direct page */
body.edv3-pricing .hero{
  padding:66px 0 24px!important;
}
body.edv3-pricing .hero h1{
  font-size:clamp(40px,5.7vw,72px)!important;
  max-width:940px!important;
}
body.edv3-pricing .trust{
  max-width:980px!important;
  gap:12px!important;
}
body.edv3-pricing .plans{
  width:min(1180px,94vw)!important;
  gap:22px!important;
  align-items:stretch!important;
}
body.edv3-pricing .plans .card{
  min-height:0!important;
  padding:28px!important;
  overflow:hidden!important;
}
body.edv3-pricing .plans .card.featured{
  border-color:rgba(60,255,177,.45)!important;
  box-shadow:0 30px 90px rgba(44,201,255,.18)!important;
  transform:translateY(-8px);
}
body.edv3-pricing .badge{
  position:static!important;
  display:inline-flex!important;
  transform:none!important;
  margin-bottom:10px!important;
  background:rgba(44,201,255,.12)!important;
  border:1px solid rgba(44,201,255,.22)!important;
  color:#dff7ff!important;
  white-space:nowrap!important;
}
body.edv3-pricing .featured .badge{
  background:linear-gradient(135deg,#ffe28a,#ffbd59)!important;
  color:#061121!important;
  border:0!important;
}
body.edv3-pricing .price{
  font-size:48px!important;
}
.edv3-pricing-banner{
  width:min(1120px,94vw);
  margin:22px auto;
  padding:22px;
  border-radius:26px;
  background:linear-gradient(135deg,rgba(44,201,255,.13),rgba(115,87,255,.18));
  border:1px solid var(--ed-line2);
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
}
.edv3-pricing-banner strong{font-size:22px;display:block;margin-bottom:4px}
.edv3-pricing-banner span{color:var(--ed-muted)}
.edv3-pricing-banner a{
  min-height:48px;padding:13px 18px;border-radius:16px;
  background:linear-gradient(135deg,var(--ed-cyan),var(--ed-purple));
  color:#061121;text-decoration:none;font-weight:950;
}

/* Order direct page */
body.edv3-order .wrap{
  width:min(1120px,94vw)!important;
  max-width:none!important;
  padding:32px 0 90px!important;
}
body.edv3-order .grid{
  gap:24px!important;
  align-items:start!important;
}
body.edv3-order .card{
  padding:28px!important;
  border-radius:30px!important;
}
.edv3-order-steps{
  width:min(1120px,94vw);
  margin:18px auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.edv3-order-step{
  padding:14px;
  border-radius:18px;
  border:1px solid var(--ed-line);
  background:rgba(255,255,255,.045);
  font-weight:900;
  text-align:center;
  color:#dff3ff;
}
body.edv3-order input,body.edv3-order textarea,body.edv3-order select{
  border-radius:15px!important;
  border:1px solid var(--ed-line)!important;
  background:#06111f!important;
  color:var(--ed-text)!important;
}
body.edv3-order .summary-row{
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:12px 0;
}

/* Partner Academy direct */
body.edv3-academy .hero{
  min-height:auto!important;
  padding-bottom:54px!important;
}
body.edv3-academy .section{
  padding-top:44px!important;
  padding-bottom:44px!important;
}
body.edv3-academy .steps{
  gap:16px!important;
}
body.edv3-academy .step{
  min-height:0!important;
}
.edv3-partner-ranks{
  max-width:1180px;
  margin:24px auto;
  padding:0 18px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.edv3-partner-rank{
  padding:20px;
  border-radius:24px;
  border:1px solid var(--ed-line);
  background:linear-gradient(145deg,rgba(8,23,43,.88),rgba(18,36,61,.62));
}
.edv3-partner-rank strong{display:block;font-size:18px;margin-bottom:6px}
.edv3-partner-rank span{color:var(--ed-muted)}
body.edv3-academy .contact-widget-section,
body.edv3-academy .partner-ads-band{
  margin-top:22px!important;
}

/* Enterprise footer direct */
.footer,.edv3-footer{
  width:min(1120px,94vw)!important;
  margin:0 auto!important;
  padding:44px 0!important;
  border-top:1px solid var(--ed-line)!important;
  color:var(--ed-muted)!important;
}
.edv3-footer-grid{
  display:grid;
  grid-template-columns:2fr repeat(3,1fr);
  gap:26px;
  align-items:start;
}
.edv3-footer .brand,.edv3-footer-brand{
  display:flex;align-items:center;gap:12px;margin-bottom:14px;
}
.edv3-footer img{width:52px;height:52px;object-fit:contain}
.edv3-footer h3,.edv3-footer h4{margin:0 0 12px;color:#fff}
.edv3-footer p{max-width:380px;line-height:1.7;margin:0 0 12px}
.edv3-footer a{display:block;color:#9fe4ff!important;text-decoration:none;margin:8px 0!important}
.edv3-footer small{display:block;margin-top:22px;color:#91abc8}

/* Remove ugly duplicated CTA strip from old injected layer if still present */
.ati-sales-strip,.ati-v2-wrap,.ati-v2-hero-upgrade,.ati-v2-trust-grid,.ati-v2-stat-strip,.ati-v2-pricing-note,.ati-v2-partner-preview,.ati-v2-footer-grid{
  display:none!important;
}

/* Mobile */
@media(max-width:1080px){
  .edv3-trust,.edv3-partner-ranks{grid-template-columns:repeat(2,minmax(0,1fr))}
  .edv3-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  body{font-size:14px}
  .edv3-trust,.edv3-partner-ranks,.edv3-footer-grid,.edv3-pricing-banner,.edv3-conversion{
    grid-template-columns:1fr;
  }
  .edv3-order-steps{grid-template-columns:1fr 1fr}
  .edv3-pricing-banner,.edv3-conversion{text-align:left}
  body.edv3-pricing .plans .card.featured{transform:none}
  body.edv3-pricing .plans{grid-template-columns:1fr!important}
  .hero h1{font-size:clamp(36px,10vw,54px)!important}
  .hero-actions,.btns{display:grid!important;grid-template-columns:1fr!important}
  .btn,.hero-actions a,.btns a{width:100%!important}
  .footer,.edv3-footer{width:min(100% - 24px,1120px)!important}
}
