/* woocommerce-order-automation.css */
.uw-order-automation {
  --bg: #07111f;
  --bg2: #091827;
  --card: #0d1c2f;
  --card2: #10243b;
  --text: #f7fbff;
  --muted: #9dafc2;
  --primary: #6c63ff;
  --primary2: #8b7cff;
  --cyan: #20d9ff;
  --green: #38e6a5;
  --orange: #ffb454;
  --pink: #ff6b9d;
  --border: rgba(255, 255, 255, .09);
  --shadow: 0 25px 80px rgba(0, 0, 0, .35);
  --radius: 24px;

  position: relative;
  width: 100%;
  overflow-x: hidden;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;

  /* بک‌گراند با ۵ درصد پایانی سفید */
  background:
    radial-gradient(circle at 15% 10%, rgba(108, 99, 255, .18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(32, 217, 255, .12), transparent 27%),
    radial-gradient(circle at 50% 55%, rgba(56, 230, 165, .06), transparent 30%),
    linear-gradient(180deg, #07111f 0%, #081524 15%, #091827 32%, #0b1b2e 52%, #15334b 72%, #b9d3df 88%, #ffffff 95%, #ffffff 100%);
}

.uw-order-automation * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.uw-order-automation a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   CANVAS PARTICLES
========================================================= */
.uw-order-automation #particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  pointer-events: none;
}

.uw-order-automation .background-glow {
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 10%, rgba(108, 99, 255, .18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(32, 217, 255, .12), transparent 27%),
    radial-gradient(circle at 50% 55%, rgba(56, 230, 165, .06), transparent 30%);
}

.uw-order-automation .grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -8;
  opacity: .28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black 0%, black 65%, transparent 96%);
}

/* =========================================================
   CONTAINER
========================================================= */
.uw-order-automation .container {
  width: min(1180px, 92%);
  margin: auto;
}

/* =========================================================
   NAV
========================================================= */
.uw-order-automation .nav {
  padding: 23px 0;
  position: relative;
  z-index: 20;
}
.uw-order-automation .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.uw-order-automation .logo {
  color: #fff;
  text-decoration: none;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1.2px;
}
.uw-order-automation .logo span {
  background: linear-gradient(90deg, var(--primary2), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.uw-order-automation .nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.uw-order-automation .nav-links a {
  color: #a9bacb;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: .25s;
}
.uw-order-automation .nav-links a:hover {
  color: #fff;
}
.uw-order-automation .nav-cta {
  padding: 10px 16px;
  border-radius: 11px;
  background: rgba(108, 99, 255, .1);
  border: 1px solid rgba(108, 99, 255, .3);
  color: #cbc7ff !important;
}

/* =========================================================
   HERO
========================================================= */
.uw-order-automation .hero {
  min-height: 790px;
  display: flex;
  align-items: center;
  padding: 65px 0 115px;
}
.uw-order-automation .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
  width: 100%;
}

/* =========================================================
   BADGE -强制执行
========================================================= */
.uw-order-automation .badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 8px 14px !important;
  border-radius: 100px !important;
  background: rgba(108, 99, 255, .09) !important;
  border: 1px solid rgba(108, 99, 255, .3) !important;
  color: #cbc7ff !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  margin-bottom: 24px !important;
  font-family: Inter, Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.uw-order-automation .badge-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: var(--green) !important;
  box-shadow: 0 0 16px var(--green) !important;
  flex-shrink: 0 !important;
}

/* =========================================================
   HERO CONTENT
========================================================= */
.uw-order-automation h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -4px;
  font-weight: 900;
  margin-bottom: 25px;
  color: #f7fbff;
}
.uw-order-automation .gradient-text {
  background: linear-gradient(100deg, #ffffff 0%, #bbb6ff 32%, #5de8ff 67%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.uw-order-automation .hero-description {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 31px;
}
.uw-order-automation .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.uw-order-automation .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  transition: .3s;
  border: none;
  cursor: pointer;
  font-family: Inter, Arial, sans-serif;
}
.uw-order-automation .btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 15px 45px rgba(108, 99, 255, .3);
}
.uw-order-automation .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 55px rgba(108, 99, 255, .43);
}
.uw-order-automation .btn-secondary {
  color: #fff !important;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
}
.uw-order-automation .btn-secondary:hover {
  background: rgba(255, 255, 255, .08);
}

/* =========================================================
   AUTOMATION VISUAL
========================================================= */
.uw-order-automation .hero-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uw-order-automation .automation-card {
  width: 100%;
  max-width: 510px;
  padding: 29px;
  border-radius: 31px;
  background: linear-gradient(145deg, rgba(18, 41, 67, .96), rgba(7, 20, 34, .97));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .05);
  transform: rotate(-1deg);
}
.uw-order-automation .automation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.uw-order-automation .automation-title {
  font-size: 12px;
  color: #fff;
  font-weight: 800;
}
.uw-order-automation .live {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
}
.uw-order-automation .workflow {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.uw-order-automation .workflow-item {
  display: grid;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .06);
}
.uw-order-automation .workflow-icon {
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(108, 99, 255, .13);
  font-size: 17px;
}
.uw-order-automation .workflow-info strong {
  display: block;
  font-size: 12px;
  color: #f7fbff;
}
.uw-order-automation .workflow-info span {
  display: block;
  color: #72899e;
  font-size: 9px;
}
.uw-order-automation .workflow-status {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
}
.uw-order-automation .workflow-line {
  width: 2px;
  height: 15px;
  margin-left: 20px;
  background: linear-gradient(var(--primary), var(--cyan));
  opacity: .65;
}
.uw-order-automation .automation-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.uw-order-automation .auto-stat {
  padding: 17px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
}
.uw-order-automation .auto-stat small {
  display: block;
  color: #71869a;
  font-size: 9px;
}
.uw-order-automation .auto-stat strong {
  display: block;
  font-size: 21px;
  margin-top: 3px;
  color: #f7fbff;
}
.uw-order-automation .auto-stat:first-child strong { color: var(--cyan); }
.uw-order-automation .auto-stat:last-child strong { color: var(--green); }

.uw-order-automation .float-card {
  position: absolute;
  padding: 14px 17px;
  border-radius: 16px;
  background: rgba(8, 24, 40, .94);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  backdrop-filter: blur(14px);
}
.uw-order-automation .float-one {
  top: 48px;
  left: -25px;
}
.uw-order-automation .float-two {
  bottom: 44px;
  right: -20px;
}
.uw-order-automation .float-card small {
  display: block;
  color: #7890a4;
  font-size: 8px;
}
.uw-order-automation .float-card strong {
  font-size: 17px;
  color: #f7fbff;
}
.uw-order-automation .float-one strong { color: var(--green); }
.uw-order-automation .float-two strong { color: var(--cyan); }

/* =========================================================
   TRUST
========================================================= */
.uw-order-automation .trust {
  padding: 21px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .015);
}
.uw-order-automation .trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  color: #8298ac;
  font-size: 10px;
  font-weight: 900;
}

/* =========================================================
   SECTIONS
========================================================= */
.uw-order-automation section {
  position: relative;
  padding: 110px 0;
}
.uw-order-automation .section-heading {
  max-width: 790px;
  text-align: center;
  margin: 0 auto 60px;
}
.uw-order-automation .eyebrow {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 12px;
}
.uw-order-automation h2 {
  font-size: clamp(34px, 4vw, 53px);
  line-height: 1.08;
  letter-spacing: -2.5px;
  margin-bottom: 18px;
  color: #f7fbff;
}
.uw-order-automation .section-heading p {
  color: var(--muted);
  font-size: 15px;
}

/* =========================================================
   CARDS
========================================================= */
.uw-order-automation .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.uw-order-automation .card {
  padding: 30px;
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(17, 38, 61, .9), rgba(8, 22, 37, .9));
  border: 1px solid var(--border);
  transition: .35s;
}
.uw-order-automation .card:hover {
  transform: translateY(-8px);
  border-color: rgba(108, 99, 255, .35);
  box-shadow: var(--shadow);
}
.uw-order-automation .icon {
  width: 53px;
  height: 53px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  background: rgba(108, 99, 255, .1);
  border: 1px solid rgba(108, 99, 255, .17);
  margin-bottom: 20px;
}
.uw-order-automation .card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: #f7fbff;
}
.uw-order-automation .card p {
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   FLOW
========================================================= */
.uw-order-automation .flow {
  max-width: 1060px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.uw-order-automation .flow-item {
  position: relative;
  text-align: center;
  padding: 28px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--border);
}
.uw-order-automation .flow-number {
  color: var(--primary2);
  font-size: 9px;
  font-weight: 900;
  margin-bottom: 10px;
}
.uw-order-automation .flow-icon {
  font-size: 26px;
  margin-bottom: 10px;
}
.uw-order-automation .flow-item h3 {
  font-size: 13px;
  margin-bottom: 7px;
  color: #f7fbff;
}
.uw-order-automation .flow-item p {
  color: #8196aa;
  font-size: 9px;
}
.uw-order-automation .flow-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 19px;
}

/* =========================================================
   STRATEGIES
========================================================= */
.uw-order-automation .strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.uw-order-automation .strategy {
  padding: 31px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(108, 99, 255, .08), rgba(255, 255, 255, .025));
  border: 1px solid var(--border);
  transition: .3s;
}
.uw-order-automation .strategy:hover {
  transform: translateY(-6px);
  border-color: rgba(32, 217, 255, .25);
}
.uw-order-automation .strategy-icon {
  font-size: 29px;
  margin-bottom: 13px;
}
.uw-order-automation .strategy h3 {
  font-size: 21px;
  margin-bottom: 9px;
  color: #f7fbff;
}
.uw-order-automation .strategy p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}
.uw-order-automation .strategy ul {
  list-style: none;
}
.uw-order-automation .strategy li {
  color: #b9c8d7;
  font-size: 12px;
  margin: 8px 0;
}
.uw-order-automation .strategy li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  margin-right: 8px;
}

/* =========================================================
   DASHBOARD
========================================================= */
.uw-order-automation .dashboard {
  max-width: 1000px;
  margin: auto;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(17, 40, 65, .94), rgba(7, 20, 34, .95));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.uw-order-automation .dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.uw-order-automation .dashboard-top strong {
  font-size: 14px;
  color: #f7fbff;
}
.uw-order-automation .dashboard-top span {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
}
.uw-order-automation .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.uw-order-automation .dashboard-stat {
  padding: 21px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}
.uw-order-automation .dashboard-stat small {
  display: block;
  color: #73899d;
  font-size: 9px;
}
.uw-order-automation .dashboard-stat strong {
  display: block;
  font-size: 24px;
  margin-top: 5px;
  color: #f7fbff;
}
.uw-order-automation .dashboard-stat:nth-child(1) strong { color: var(--primary2); }
.uw-order-automation .dashboard-stat:nth-child(2) strong { color: var(--cyan); }
.uw-order-automation .dashboard-stat:nth-child(3) strong { color: var(--green); }
.uw-order-automation .dashboard-stat:nth-child(4) strong { color: var(--orange); }

/* =========================================================
   PLUGINS BOX
========================================================= */
.uw-order-automation .plugins-section {
  padding-top: 70px;
}
.uw-order-automation .plugins-box {
  position: relative;
  overflow: hidden;
  padding: 55px 45px;
  border-radius: 32px;
  border: 1px solid rgba(108, 99, 255, .28);
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 217, 255, .14), transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(108, 99, 255, .16), transparent 38%),
    linear-gradient(135deg, rgba(17, 38, 64, .96), rgba(7, 20, 34, .96));
}
.uw-order-automation .plugins-box h2 {
  max-width: 760px;
}
.uw-order-automation .plugins-box p {
  max-width: 720px;
  color: #9cafc1;
  font-size: 14px;
  margin-bottom: 25px;
}
.uw-order-automation .trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 100px;
  background: rgba(56, 230, 165, .08);
  border: 1px solid rgba(56, 230, 165, .2);
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 16px;
}

/* =========================================================
   RELATED
========================================================= */
.uw-order-automation .related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.uw-order-automation .related {
  padding: 30px;
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(17, 38, 61, .9), rgba(7, 21, 36, .94));
  border: 1px solid var(--border);
  transition: .3s;
}
.uw-order-automation .related:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 99, 255, .3);
}
.uw-order-automation .related-label {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(108, 99, 255, .1);
  color: #bcb8ff;
  font-size: 8px;
  font-weight: 900;
  margin-bottom: 15px;
}
.uw-order-automation .related h3 {
  font-size: 19px;
  margin-bottom: 9px;
  color: #f7fbff;
}
.uw-order-automation .related p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 17px;
}
.uw-order-automation .related a {
  color: #aaa5ff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
}

/* =========================================================
   SEO CONTENT
========================================================= */
.uw-order-automation .content-box {
  max-width: 850px;
  margin: auto;
  color: #9cafc0;
  font-size: 14px;
}
.uw-order-automation .content-box p {
  margin-bottom: 21px;
}
.uw-order-automation .content-box h3 {
  color: #fff;
  font-size: 25px;
  margin: 36px 0 11px;
}
.uw-order-automation .content-box a {
  color: #aaa5ff;
  font-weight: 800;
}

/* =========================================================
   FAQ
========================================================= */
.uw-order-automation .faq {
  max-width: 850px;
  margin: auto;
}
.uw-order-automation .faq-item {
  border-bottom: 1px solid var(--border);
}
.uw-order-automation .faq-question {
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.uw-order-automation .faq-question span {
  color: var(--primary2);
  font-size: 21px;
}
.uw-order-automation .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: .35s ease;
  color: #91a6b9;
  font-size: 13px;
}
.uw-order-automation .faq-answer p {
  padding-bottom: 20px;
}
.uw-order-automation .faq-item.active .faq-answer {
  max-height: 400px;
}

/* =========================================================
   CTA
========================================================= */
.uw-order-automation .cta {
  padding: 82px 30px;
  text-align: center;
  border-radius: 35px;
  background:
    radial-gradient(circle at 50% 0%, rgba(108, 99, 255, .34), transparent 55%),
    linear-gradient(135deg, #11203c, #091526);
  border: 1px solid rgba(108, 99, 255, .25);
}
.uw-order-automation .cta h2 {
  max-width: 750px;
  margin: 0 auto 16px;
  color: #f7fbff;
}
.uw-order-automation .cta p {
  max-width: 680px;
  margin: 0 auto 29px;
  color: #9aacbe;
}

/* =========================================================
   WHITE FINAL 5% & FOOTER
========================================================= */
.uw-order-automation .final-white-zone {
  height: 5vh;
  min-height: 60px;
  background: #ffffff;
}

.uw-order-automation footer {
  background: #ffffff;
  color: #4a5a6a;
  padding: 48px 0 60px;
  text-align: center;
  font-size: 11px;
  border-top: 1px solid rgba(0, 0, 0, .05);
}
.uw-order-automation footer strong {
  color: #1a2a3a;
}

/* =========================================================
   REVEAL
========================================================= */
.uw-order-automation .reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .75s ease, transform .75s ease;
}
.uw-order-automation .reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 950px) {
  .uw-order-automation .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .uw-order-automation .cards {
    grid-template-columns: 1fr 1fr;
  }
  .uw-order-automation .flow {
    grid-template-columns: repeat(3, 1fr);
  }
  .uw-order-automation .flow-item:nth-child(3)::after { display: none; }
  .uw-order-automation .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .uw-order-automation .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .uw-order-automation .nav-links {
    display: none;
  }
  .uw-order-automation h1 {
    font-size: 45px;
    letter-spacing: -2px;
  }
  .uw-order-automation .hero-description {
    font-size: 15px;
  }
  .uw-order-automation .hero {
    padding-top: 45px;
  }
  .uw-order-automation .float-card {
    display: none;
  }
  .uw-order-automation .cards,
  .uw-order-automation .strategy-grid,
  .uw-order-automation .related-grid {
    grid-template-columns: 1fr;
  }
  .uw-order-automation .flow {
    grid-template-columns: 1fr 1fr;
  }
  .uw-order-automation .flow-item::after {
    display: none !important;
  }
  .uw-order-automation .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .uw-order-automation .plugins-box {
    padding: 38px 25px;
  }
  .uw-order-automation section {
    padding: 80px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uw-order-automation #particles { display: none !important; }
}

h1, h2, h3, h4 {
background: linear-gradient(135deg, #fa3ff7, #903bf6, #2563eb) !important;
    background-clip: border-box;
  background-clip: text !important;
  color: transparent !important;
}

.badge {
  backface-visibility: hidden;
  display: table;
  height: 2.8em;
  pointer-events: none;
  width: auto !important;
  z-index: 20;
}