/*--------------------------------------------------------------
# Coming Soon Pages (Apps & Tools) - Baheri Digitech
--------------------------------------------------------------*/

body.apps-page,
body.tools-page {
  background-color: #f7fcff;
  color: #555b77;
  font-family: var(--default-font, "Roboto", sans-serif);
  overflow-x: hidden;
}

.apps-page .mobile-nav-toggle,
.tools-page .mobile-nav-toggle {
  color: #0c114a !important;
}

.apps-page .header .header-container,
.tools-page .header .header-container {
  box-shadow: 0px 4px 20px rgba(82, 77, 211, 0.08);
}

/* Ensure content visibility safety fallback */
.apps-page [data-aos],
.tools-page [data-aos] {
  opacity: 1;
}

/* Hero & General Coming Soon Styles */
.cs-hero {
  position: relative;
  padding: 80px 0 100px;
  background: radial-gradient(120% 80% at 50% -10%, rgba(82, 77, 211, 0.12) 0%, rgba(85, 3, 163, 0.04) 50%, rgba(247, 252, 255, 0) 100%), #f7fcff;
  overflow: hidden;
}

/* Background Ambient Orbs */
.cs-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.cs-bg-orb-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(82, 77, 211, 0.28) 0%, rgba(85, 3, 163, 0.05) 70%, transparent 100%);
  animation: csFloatOrb 12s ease-in-out infinite alternate;
}

.cs-bg-orb-2 {
  width: 400px;
  height: 400px;
  bottom: 20px;
  left: -80px;
  background: radial-gradient(circle, rgba(50, 140, 193, 0.22) 0%, rgba(82, 77, 211, 0.05) 70%, transparent 100%);
  animation: csFloatOrb 15s ease-in-out infinite alternate-reverse;
}

.cs-bg-grid {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(82, 77, 211, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(82, 77, 211, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

@keyframes csFloatOrb {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.08) translateX(20px); }
  100% { transform: translateY(15px) scale(0.95) translateX(-20px); }
}

/* Badge Pill */
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(82, 77, 211, 0.08);
  border: 1px solid rgba(82, 77, 211, 0.25);
  color: var(--accent-color, #524dd3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(82, 77, 211, 0.08);
  backdrop-filter: blur(6px);
}

.cs-pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.cs-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.4);
  animation: csPulseRing 1.8s infinite;
}

@keyframes csPulseRing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Coming Soon Title */
.cs-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: #0c114a;
  margin-bottom: 20px;
}

.cs-gradient-text {
  background: linear-gradient(135deg, #5503a3 0%, #524dd3 50%, #328cc1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.cs-gradient-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, rgba(85, 3, 163, 0.2), rgba(82, 77, 211, 0.2));
  border-radius: 4px;
  z-index: -1;
}

.cs-subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: #555b77;
  max-width: 580px;
  margin-bottom: 30px;
}

/* Progress Container */
.cs-progress-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(82, 77, 211, 0.08);
  border: 1px solid rgba(82, 77, 211, 0.12);
  margin-bottom: 30px;
  max-width: 520px;
}

.cs-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a1e42;
  margin-bottom: 10px;
}

.cs-progress-bar-wrap {
  height: 10px;
  background: #e9ecf8;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.cs-progress-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #5503a3, #524dd3, #328cc1);
  position: relative;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: csGlowBar 2.5s infinite linear;
}

@keyframes csGlowBar {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
  100% { filter: brightness(1); }
}

/* Countdown Timer */
.cs-countdown {
  display: flex;
  gap: 14px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.cs-time-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 80px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(82, 77, 211, 0.08);
  border: 1px solid rgba(82, 77, 211, 0.12);
  transition: transform 0.3s ease;
}

.cs-time-box:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 77, 211, 0.35);
}

.cs-time-number {
  font-size: 28px;
  font-weight: 800;
  color: #524dd3;
  line-height: 1;
  font-family: var(--heading-font, 'Quicksand', sans-serif);
}

.cs-time-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #7b819f;
  margin-top: 5px;
  letter-spacing: 0.5px;
}

/* Notify Form */
.cs-notify-form-wrap {
  max-width: 520px;
  margin-bottom: 25px;
}

.cs-notify-form {
  display: flex;
  background: #ffffff;
  padding: 6px;
  border-radius: 50px;
  box-shadow: 0 12px 35px rgba(82, 77, 211, 0.12);
  border: 1.5px solid rgba(82, 77, 211, 0.2);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.cs-notify-form:focus-within {
  border-color: #524dd3;
  box-shadow: 0 15px 40px rgba(82, 77, 211, 0.2);
}

.cs-notify-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 22px;
  font-size: 15px;
  color: #1a1e42;
  outline: none;
}

.cs-notify-input::placeholder {
  color: #9da3be;
}

.cs-notify-btn {
  background: linear-gradient(135deg, #524dd3 0%, #5503a3 100%);
  color: #ffffff;
  border: none;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(82, 77, 211, 0.3);
  white-space: nowrap;
}

.cs-notify-btn:hover {
  background: linear-gradient(135deg, #4240bc 0%, #460287 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(82, 77, 211, 0.4);
}

.cs-notify-hint {
  font-size: 12px;
  color: #7b819f;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Visual Stage / Interactive Animation Area */
.cs-visual-stage {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-anim-canvas {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 480px;
}

/* Main Center Hub Card */
.cs-hub-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(82, 77, 211, 0.2);
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(82, 77, 211, 0.25);
  z-index: 5;
  animation: csHubFloat 6s ease-in-out infinite alternate;
}

@keyframes csHubFloat {
  0% { transform: translate(-50%, -50%) translateY(0); }
  100% { transform: translate(-50%, -50%) translateY(-15px); }
}

.cs-hub-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #524dd3, #5503a3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 34px;
  box-shadow: 0 10px 25px rgba(82, 77, 211, 0.35);
  position: relative;
}

.cs-hub-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 2px dashed rgba(82, 77, 211, 0.4);
  animation: csSpin 20s linear infinite;
}

@keyframes csSpin {
  100% { transform: rotate(360deg); }
}

.cs-hub-title {
  font-size: 20px;
  font-weight: 700;
  color: #0c114a;
  margin-bottom: 6px;
}

.cs-hub-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(82, 77, 211, 0.1);
  color: #524dd3;
  margin-bottom: 12px;
}

.cs-hub-sparkle-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  color: #fbbf24;
  font-size: 14px;
}

/* Orbiting / Floating Badges */
.cs-float-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(82, 77, 211, 0.14);
  border: 1px solid rgba(82, 77, 211, 0.15);
  z-index: 6;
  transition: transform 0.3s;
}

.cs-float-pill:hover {
  transform: scale(1.05);
}

.cs-pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
}

.cs-pill-1 {
  top: 35px;
  left: 10px;
  animation: csFloatA 5s ease-in-out infinite alternate;
}

.cs-pill-2 {
  top: 40px;
  right: 15px;
  animation: csFloatB 6s ease-in-out infinite alternate;
}

.cs-pill-3 {
  bottom: 50px;
  left: 20px;
  animation: csFloatB 5.5s ease-in-out infinite alternate;
}

.cs-pill-4 {
  bottom: 45px;
  right: 25px;
  animation: csFloatA 6.5s ease-in-out infinite alternate;
}

@keyframes csFloatA {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(2deg); }
}

@keyframes csFloatB {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(18px) rotate(-2deg); }
}

.cs-pill-title {
  font-size: 13px;
  font-weight: 700;
  color: #0c114a;
  line-height: 1.2;
}

.cs-pill-subtitle {
  font-size: 11px;
  color: #7b819f;
  margin-top: 2px;
}

/* Pulsing Radar Rings Behind Hub */
.cs-radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(82, 77, 211, 0.15);
  pointer-events: none;
  z-index: 1;
}

.cs-radar-1 { width: 320px; height: 320px; }
.cs-radar-2 { width: 440px; height: 440px; border-style: dashed; }
.cs-radar-3 { width: 560px; height: 560px; border-color: rgba(82, 77, 211, 0.08); }

/* Upcoming Teaser Section */
.cs-teaser-section {
  padding: 90px 0;
  background: #ffffff;
  position: relative;
}

.cs-section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.cs-section-subtitle {
  color: #524dd3;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.cs-section-title {
  font-size: 36px;
  font-weight: 800;
  color: #0c114a;
  margin-bottom: 15px;
}

.cs-section-desc {
  color: #555b77;
  font-size: 16px;
  line-height: 1.6;
}

/* Teaser Grid Cards */
.cs-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(82, 77, 211, 0.12);
  box-shadow: 0 10px 30px rgba(82, 77, 211, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.cs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5503a3, #524dd3, #328cc1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cs-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(82, 77, 211, 0.14);
  border-color: rgba(82, 77, 211, 0.3);
}

.cs-card:hover::before {
  opacity: 1;
}

.cs-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.cs-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #ffffff;
}

.cs-status-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cs-tag-coming {
  background: rgba(82, 77, 211, 0.1);
  color: #524dd3;
  border: 1px solid rgba(82, 77, 211, 0.2);
}

.cs-tag-beta {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.cs-tag-popular {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.cs-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0c114a;
  margin-bottom: 10px;
}

.cs-card-desc {
  color: #555b77;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cs-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.cs-card-features li {
  font-size: 13px;
  color: #4b5272;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-card-features li i {
  color: #10b981;
  font-size: 14px;
}

.cs-card-footer {
  border-top: 1px solid #f0f2fb;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cs-card-badge-tag {
  font-size: 12px;
  font-weight: 600;
  color: #7b819f;
}

.cs-card-btn-action {
  font-size: 13px;
  font-weight: 600;
  color: #524dd3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: gap 0.2s;
}

.cs-card-btn-action:hover {
  gap: 8px;
  color: #5503a3;
}

/* Feature Pillars Section */
.cs-pillars-section {
  padding: 90px 0;
  background: #f7fcff;
  border-top: 1px solid #eaf0f8;
}

.cs-pillar-item {
  text-align: center;
  padding: 25px 20px;
}

.cs-pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(82, 77, 211, 0.1);
  color: #524dd3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.3s ease;
}

.cs-pillar-item:hover .cs-pillar-icon {
  background: linear-gradient(135deg, #524dd3, #5503a3);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

.cs-pillar-title {
  font-size: 18px;
  font-weight: 700;
  color: #0c114a;
  margin-bottom: 8px;
}

.cs-pillar-desc {
  font-size: 14px;
  color: #555b77;
  line-height: 1.55;
}

/* CTA Custom Development Banner */
.cs-cta-banner {
  margin: 60px 0 0;
  background: linear-gradient(135deg, #0c114a 0%, #171c66 50%, #5503a3 100%);
  border-radius: 28px;
  padding: 60px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(12, 17, 74, 0.25);
}

.cs-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 77, 211, 0.4), transparent 70%);
  pointer-events: none;
}

.cs-cta-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.cs-cta-desc {
  font-size: 16px;
  color: #c8cbe6;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 0;
}

.cs-cta-btn {
  background: #ffffff;
  color: #0c114a;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cs-cta-btn:hover {
  background: #f0f4fd;
  color: #524dd3;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Toast Notification for Form */
.cs-toast {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0c114a;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  border: 1px solid rgba(82, 77, 211, 0.4);
  align-items: center;
  gap: 12px;
  animation: csToastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes csToastIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Suggestion and Feedback Form */
.cs-suggest-card {
  border: 2px dashed rgba(82, 77, 211, 0.3);
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(82, 77, 211, 0.06);
}

.cs-form-label {
  font-size: 13px;
  font-weight: 700;
  color: #0c114a;
  margin-bottom: 6px;
  display: block;
}

.cs-form-control {
  width: 100%;
  background: #f7fcff;
  border: 1.5px solid rgba(82, 77, 211, 0.18);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: #0c114a;
  transition: all 0.3s ease;
  outline: none;
}

.cs-form-control:focus {
  background: #ffffff;
  border-color: #524dd3;
  box-shadow: 0 0 0 4px rgba(82, 77, 211, 0.12);
  color: #0c114a;
}

.cs-form-control::placeholder {
  color: #9da3be;
}

.cs-form-btn-submit {
  border-radius: 50px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #524dd3 0%, #5503a3 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(82, 77, 211, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cs-form-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(82, 77, 211, 0.35);
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .cs-hero {
    padding: 60px 0 80px;
  }
  .cs-title {
    font-size: 38px;
  }
  .cs-visual-stage {
    margin-top: 40px;
    min-height: 420px;
  }
  .cs-anim-canvas {
    height: 420px;
  }
  .cs-cta-banner {
    padding: 40px 25px;
    text-align: center;
  }
  .cs-cta-desc {
    margin: 0 auto 25px;
  }
}

@media (max-width: 767px) {
  .cs-hero {
    padding: 40px 0 60px;
  }
  .cs-title {
    font-size: 28px;
    line-height: 1.25;
  }
  .cs-subtitle {
    font-size: 15px;
  }
  .cs-progress-container {
    padding: 16px 18px;
  }
  .cs-countdown {
    gap: 8px;
  }
  .cs-time-box {
    min-width: 65px;
    padding: 10px 12px;
  }
  .cs-time-number {
    font-size: 22px;
  }
  .cs-notify-form {
    flex-direction: column;
    border-radius: 20px;
    padding: 10px;
  }
  .cs-notify-btn {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    padding: 12px 18px;
  }
  .cs-section-title {
    font-size: 28px;
  }
  .cs-cta-title {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  .cs-visual-stage {
    min-height: auto;
    padding: 20px 0 10px;
  }
  .cs-anim-canvas {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
  }
  .cs-radar-ring {
    display: none;
  }
  .cs-hub-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    animation: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 10px;
  }
  .cs-float-pill {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    animation: none !important;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    justify-content: flex-start;
  }
}
