:root {
  --rdm-primary: #051E3C;
  --rdm-primary-2: #082A52;
  --rdm-dark: #061426;
  --rdm-deep: #020817;
  --rdm-light: #F5F8FC;
  --rdm-white: #FFFFFF;
  --rdm-muted: #7B8AA0;
  --rdm-accent: #38BDF8;
  --rdm-accent-2: #2DD4BF;
  --rdm-success: #22C55E;
  --rdm-alert: #F97316;
  --rdm-danger: #EF4444;
  --rdm-radius: 24px;
  --rdm-shadow: 0 24px 70px rgba(5, 30, 60, 0.18);
  --rdm-shadow-soft: 0 18px 45px rgba(5, 30, 60, .12);
}

body.radman-site {
  background: #f5f8fc;
}

body.radman-site,
body.radman-site p,
body.radman-site a,
body.radman-site input,
body.radman-site textarea,
body.radman-site button {
  font-family: Vazirmatn, IRANSansX, IRANSans, Tahoma, Arial, sans-serif;
}

.rdm-container {
  width: min(1220px, calc(100% - 32px));
  margin-inline: auto;
}

.rdm-dark-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.24), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(45, 212, 191, 0.16), transparent 30%),
    linear-gradient(135deg, var(--rdm-primary) 0%, var(--rdm-dark) 55%, var(--rdm-deep) 100%);
  color: #fff;
}

.rdm-glass-box {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: var(--rdm-radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  padding: 28px;
  color: #fff;
}

.rdm-light-box {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(5, 30, 60, 0.08);
  border-radius: var(--rdm-radius);
  box-shadow: var(--rdm-shadow);
  padding: 28px;
  color: var(--rdm-primary);
}

.rdm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: all .25s ease;
  margin: 5px;
  white-space: nowrap;
}

.rdm-btn-primary {
  background: linear-gradient(135deg, var(--rdm-accent), var(--rdm-accent-2));
  color: var(--rdm-primary) !important;
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.28);
}

.rdm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(56, 189, 248, 0.38);
}

.rdm-btn-outline {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.06);
}

.rdm-btn-outline:hover {
  color: #fff !important;
  background: rgba(255,255,255,.14);
}

.rdm-light-box .rdm-btn-outline,
.rdm-product-card .rdm-btn-outline,
.rdm-portfolio-card .rdm-btn-outline {
  color: var(--rdm-primary) !important;
  border-color: rgba(5,30,60,.18);
}

.rdm-floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
  opacity: .7;
}
.rdm-orb-a {
  width: 260px;
  height: 260px;
  left: -90px;
  top: 120px;
  background: rgba(56, 189, 248, .16);
}
.rdm-orb-b {
  width: 190px;
  height: 190px;
  right: 10%;
  bottom: -70px;
  background: rgba(45, 212, 191, .13);
}

/* Hero */
.rdm-hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 110px 0 90px;
}

.rdm-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.rdm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rdm-accent);
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 16px;
}
.rdm-eyebrow:before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--rdm-accent);
}

.rdm-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.6vw, 68px);
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: -1.5px;
  margin: 0 0 20px;
}

.rdm-hero p {
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 2.1;
  max-width: 740px;
  margin: 0 0 26px;
}

.rdm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.rdm-hero-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.rdm-hero-logo {
  width: min(340px, 82%);
  height: auto;
  margin-bottom: 28px;
}

.rdm-hero-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
}

.rdm-display-mockup {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.22);
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 22px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.rdm-display-mockup span {
  position: absolute;
  inset: auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(56,189,248,.18);
  filter: blur(10px);
}
.rdm-display-mockup span:nth-child(1) { right: 35px; top: 35px; }
.rdm-display-mockup span:nth-child(2) { left: 40px; bottom: 30px; background: rgba(45,212,191,.14); }
.rdm-display-mockup span:nth-child(3) { width: 160px; height: 160px; right: 42%; top: 36%; background: rgba(255,255,255,.08); }
.rdm-display-mockup strong {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 900;
  letter-spacing: .4px;
}

/* Section title */
.rdm-section-title {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
  color: var(--rdm-primary);
}
.rdm-section-title.is-light {
  color: #fff;
}
.rdm-section-title span {
  color: var(--rdm-accent);
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}
.rdm-section-title h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 950;
  line-height: 1.35;
  color: inherit;
  margin: 0 0 14px;
}
.rdm-section-title p {
  color: inherit;
  opacity: .76;
  font-size: 16px;
  line-height: 2;
  margin: 0;
}

/* Cards */
.rdm-service-card {
  height: 100%;
  position: relative;
  overflow: hidden;
}
.rdm-service-card h3,
.rdm-process-step h3 {
  color: inherit;
  font-size: 22px;
  font-weight: 950;
  margin: 0 0 12px;
}
.rdm-service-card p,
.rdm-process-step p,
.rdm-client-cta p,
.rdm-cta-box p {
  line-height: 2;
  opacity: .82;
  margin: 0 0 18px;
}
.rdm-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56,189,248,.26), rgba(45,212,191,.18));
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.rdm-light-box .rdm-icon-badge {
  border-color: rgba(5,30,60,.08);
  background: linear-gradient(135deg, rgba(56,189,248,.14), rgba(45,212,191,.10));
}
.rdm-mini-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.rdm-mini-list li {
  position: relative;
  padding-right: 24px;
  margin-bottom: 10px;
  line-height: 1.9;
}
.rdm-mini-list li:before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--rdm-accent);
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 12px;
}
.rdm-mini-list.dark li:before { background: var(--rdm-primary); }
.rdm-card-action { margin-top: 10px; }

/* Product */
.rdm-product-card,
.rdm-portfolio-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--rdm-radius);
  background: #fff;
  box-shadow: var(--rdm-shadow-soft);
  border: 1px solid rgba(5,30,60,.07);
  color: var(--rdm-primary);
}
.rdm-product-card > img,
.rdm-portfolio-card > img,
.rdm-product-placeholder,
.rdm-portfolio-placeholder {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.rdm-product-placeholder,
.rdm-portfolio-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(56,189,248,.24), transparent 30%),
    linear-gradient(135deg, #071b34, #031020);
  color: #fff;
}
.rdm-product-placeholder span {
  font-size: 48px;
  font-weight: 950;
  opacity: .72;
}
.rdm-portfolio-placeholder:before {
  content: "PROJECT";
  font-size: 34px;
  font-weight: 950;
  opacity: .55;
}
.rdm-product-content,
.rdm-portfolio-content {
  padding: 24px;
}
.rdm-product-card h3,
.rdm-portfolio-card h3 {
  color: var(--rdm-primary);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 950;
  margin: 0 0 10px;
}
.rdm-product-card p,
.rdm-portfolio-card p {
  color: #526178;
  line-height: 2;
  margin: 0 0 16px;
}
.rdm-tag {
  display: inline-flex;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(56,189,248,.12);
  color: var(--rdm-primary);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

/* Process */
.rdm-process-step span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--rdm-primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  margin-bottom: 16px;
}

/* CTA */
.rdm-cta-box {
  border-radius: 30px;
  padding: 44px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  box-shadow: var(--rdm-shadow);
}
.rdm-cta-box h2,
.rdm-client-cta h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 950;
  margin: 0 0 12px;
}
.rdm-cta-box p { max-width: 720px; }
.rdm-cta-actions { flex: 0 0 auto; }
.rdm-client-cta {
  text-align: center;
}
.rdm-client-cta .rdm-icon-badge {
  margin-inline: auto;
}

/* Flatsome UX Builder friendly helpers */
.radman-dark-section { color: #fff; }
.radman-glass-box { }
.radman-light-box { }
.radman-section-title { }
.radman-service-card { }

.header-button .button,
.header-button-1 .button,
.nav .button,
.button.primary {
  border-radius: 999px !important;
}

/* CRM plugin compatibility */
.rcc-wrap,
.rcc-client-panel,
.rcc-login-wrap,
.rcc-register-wrap {
  --rcc-primary: var(--rdm-primary);
  --rcc-accent: var(--rdm-accent);
}

@media (max-width: 900px) {
  .rdm-hero {
    min-height: auto;
    padding: 80px 0 64px;
  }
  .rdm-hero-grid {
    grid-template-columns: 1fr;
  }
  .rdm-hero-visual {
    order: -1;
  }
  .rdm-hero-card {
    min-height: 280px;
  }
  .rdm-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .rdm-container {
    width: min(100% - 24px, 1220px);
  }
  .rdm-glass-box,
  .rdm-light-box,
  .rdm-product-content,
  .rdm-portfolio-content {
    padding: 22px;
    border-radius: 20px;
  }
  .rdm-hero h1 {
    font-size: 33px;
    letter-spacing: -1px;
  }
  .rdm-hero p {
    font-size: 15px;
  }
  .rdm-btn {
    width: 100%;
    margin: 4px 0;
  }
}
