/**
 * ImpactWorks Elementor Widgets Stylesheet
 * Author: Abir Hossain
 * Version: 1.0.0
 */

/* Import Google Font Figtree if not already present */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800;900&display=swap');

/* Base Reset & Variables for ImpactWorks Widgets */
.iw-widget-wrapper {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #41566F;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.iw-widget-wrapper *,
.iw-widget-wrapper *::before,
.iw-widget-wrapper *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   WIDGET 1: HERO SECTION & STAT BAR
   ========================================================================== */
.iw-hero-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.iw-hero-section {
  position: relative;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 80px 0px 40px;
}

/* Background Soft Glow - Expanded Full Viewport Width */
.iw-hero-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  height: 750px;
  background: radial-gradient(75% 90% at 20% 0%, #DCEAFD 0%, #EFF6FF 45%, rgba(255, 255, 255, 0) 80%);
  pointer-events: none;
  z-index: 0;
}

.iw-hero-content {
  position: relative;
  z-index: 1;
}

/* Top Pill Badge */
.iw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #C9DCF3;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #023E8A;
  box-shadow: 0 2px 10px rgba(2, 62, 138, 0.04);
}

.iw-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #3ECF8E;
  display: inline-block;
  animation: iw-pulse 2s infinite ease-in-out;
}

/* Main Two-Column Grid */
.iw-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  margin-top: 36px;
}

/* Left Column */
.iw-hero-left {
  display: flex;
  flex-direction: column;
}

.iw-hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #0B1D33;
  margin: 0 0 24px;
}

.iw-hero-title-highlight {
  color: #0077B6;
}

.iw-hero-description {
  font-size: 17px;
  line-height: 1.65;
  color: #41566F;
  margin: 0 0 34px;
  max-width: 54ch;
}

.iw-hero-description strong {
  color: #023E8A;
  font-weight: 700;
}

/* Action Buttons */
.iw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.iw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.iw-btn-primary {
  background-color: #0077B6;
  color: #FFFFFF !important;
  border: 1px solid #0077B6;
}

.iw-btn-primary:hover {
  background-color: #023E8A;
  border-color: #023E8A;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.iw-btn-secondary {
  background-color: #FFFFFF;
  color: #023E8A !important;
  border: 1px solid #C9DCF3;
}

.iw-btn-secondary:hover {
  border-color: #0077B6;
  background-color: #F2F7FE;
  color: #0077B6 !important;
  transform: translateY(-1px);
}

/* Right Column - Orbit & Card */
.iw-hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

/* Orbit SVG Background */
.iw-hero-orbit-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 540px;
  height: 540px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.iw-orbit-svg {
  width: 100%;
  height: 100%;
}

.iw-sweep-slow {
  transform-origin: 270px 270px;
  animation: iw-sweep 120s linear infinite;
}

.iw-sweep-fast {
  transform-origin: 270px 270px;
  animation: iw-sweep 26s linear infinite;
}

.iw-sweep-rev {
  transform-origin: 270px 270px;
  animation: iw-sweep 44s linear infinite reverse;
}

/* Feature Checklist Card */
.iw-hero-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #DDE8F7;
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: 0 30px 70px -35px rgba(2, 62, 138, 0.45);
  backdrop-filter: blur(8px);
}

.iw-hero-card-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0077B6;
  margin: 0 0 20px;
}

.iw-hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.iw-hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.48;
  color: #25384F;
}

.iw-check-icon {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #E4F0FB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0077B6;
}

.iw-hero-card-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #E7EFFA;
  font-size: 13.5px;
  line-height: 1.55;
  color: #566C88;
}

/* Bottom Floating Stat Bar */
.iw-hero-stat-bar {
  margin-top: 56px;
  background: #DDE8F7;
  border: 1px solid #DDE8F7;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px -30px rgba(2, 62, 138, 0.35);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.iw-stat-item {
  background: #FFFFFF;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.iw-stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6B7F99;
  margin: 0 0 10px;
}

.iw-stat-value {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #023E8A;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.iw-stat-value.iw-strike {
  color: #7789A0;
  text-decoration: line-through;
}

.iw-stat-sub {
  font-size: 13px;
  color: #5B6E88;
  margin: 8px 0 0;
}


/* ==========================================================================
   WIDGET 2: COMPARISON TABLE
   ========================================================================== */
.iw-table-widget-wrap {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
 
}

.iw-comparison-card {
  background: #FFFFFF;
  border: 1px solid #DDE8F7;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px -40px rgba(2, 62, 138, 0.45);
}

.iw-table-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.25fr;
  width: 100%;
}

.iw-col-header {
  padding: 22px 28px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.iw-col-header-blank {
  background: #F7FAFF;
}

.iw-col-header-direct {
  background: #F7FAFF;
  border-left: 1px solid #EDF3FC;
  color: #566C88;
}

.iw-col-header-vsp {
  background: #023E8A;
  border-left: 1px solid #0B4B9E;
  color: #ABD3FF;
}

/* Row Cells */
.iw-cell {
  padding: 20px 28px;
  border-top: 1px solid #EDF3FC;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 15px;
  line-height: 1.5;
}

.iw-cell-feature {
  color: #0B1D33;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.iw-cell-direct {
  border-left: 1px solid #EDF3FC;
  color: #566C88;
}

.iw-cell-direct.iw-strike-direct {
  color: #566C88;
  font-weight: 700;
  text-decoration: line-through;
}

.iw-cell-vsp {
  background: #023E8A;
  border-left: 1px solid #0B4B9E;
  border-top-color: #0B4B9E;
  color: #DCEAFD;
}

.iw-cell-vsp.iw-highlight-vsp {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.iw-mobile-badge {
  display: none;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}


/* ==========================================================================
   WIDGET 3: RESPONSE DIALS
   ========================================================================== */
.iw-dials-widget-wrap {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0px;
}

.iw-dials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.iw-dial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.iw-dial-meter-box {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto;
}

.iw-dial-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.iw-dial-track {
  fill: none;
  stroke: #E3EDFA;
  stroke-width: 9;
}

.iw-dial-progress {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Sweep Needle Indicator */
.iw-dial-sweep-needle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.iw-dial-needle-bar {
  width: 2px;
  height: 50px;
  margin-bottom: 50px;
  border-radius: 9999px;
  transform-origin: bottom center;
}

/* Center Text */
.iw-dial-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.iw-dial-number {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0B1D33;
  font-variant-numeric: tabular-nums;
}

.iw-dial-unit {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5B6E88;
}

/* Dial Labels and Details */
.iw-dial-meta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.iw-dial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.iw-dial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.iw-dial-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #4B5E78;
  margin: 12px auto 0;
  max-width: 220px;
}

.iw-dial-resolution {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #546984;
  margin: 12px 0 0;
}


/* ==========================================================================
   WIDGET 4: PRICING TIERS
   ========================================================================== */
.iw-tiers-widget-wrap {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
}

.iw-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.iw-tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #DDE8F7;
  border-radius: 20px;
  padding: 36px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.iw-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -25px rgba(2, 62, 138, 0.25);
}

/* Featured Card (Scale / Deep Navy) */
.iw-tier-card.iw-featured {
  background: #023E8A;
  border-color: #023E8A;
  box-shadow: 0 30px 70px -38px rgba(2, 62, 138, 0.75);
}

.iw-tier-card.iw-featured:hover {
  box-shadow: 0 36px 80px -35px rgba(2, 62, 138, 0.85);
}

/* Floating "Most Chosen" Badge */
.iw-tier-floating-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: #0077B6;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.35);
}

.iw-tier-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0077B6;
  margin: 0;
}

.iw-tier-card.iw-featured .iw-tier-name {
  color: #ABD3FF;
}

.iw-tier-price-row {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.iw-tier-price {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #0B1D33;
  font-variant-numeric: tabular-nums;
}

.iw-tier-card.iw-featured .iw-tier-price {
  color: #FFFFFF !important;
}

.iw-tier-period {
  font-size: 12.5px;
  font-weight: 500;
  color: #566C88;
}

.iw-tier-card.iw-featured .iw-tier-period {
  color: #BBD9FA !important;
}

.iw-tier-pitch {
  font-size: 15px;
  line-height: 1.55;
  color: #4B5E78;
  margin: 20px 0 0;
  min-height: 72px;
}

.iw-tier-card.iw-featured .iw-tier-pitch {
  color: #DCEAFD;
}

/* Coverage Specs Table */
.iw-tier-specs {
  margin: 26px 0 0;
  border-top: 1px solid #E2EBF8;
}

.iw-tier-card.iw-featured .iw-tier-specs {
  border-top-color: #0B4B9E;
}

.iw-tier-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #EDF3FC;
}

.iw-tier-card.iw-featured .iw-tier-spec-row {
  border-bottom-color: #0B4B9E;
}

.iw-spec-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #566C88;
}

.iw-tier-card.iw-featured .iw-spec-label {
  color: #BBD9FA;
}

.iw-spec-value {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #0B1D33;
  text-align: right;
}

.iw-tier-card.iw-featured .iw-spec-value {
  color: #FFFFFF;
}

/* Deliverable Bullets */
.iw-tier-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.iw-tier-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #4B5E78;
}

.iw-tier-card.iw-featured .iw-tier-bullet-item {
  color: #DCEAFD;
}

.iw-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 7px;
  background-color: #0077B6;
  flex-shrink: 0;
}

.iw-tier-card.iw-featured .iw-bullet-dot {
  background-color: #ABD3FF;
}

/* Tier CTA Button */
.iw-tier-button-wrap {
  margin-top: 32px;
  display: flex;
}

.iw-btn-tier {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.iw-btn-tier-ghost {
  border: 1px solid #C9DCF3;
  background: #FFFFFF;
  color: #023E8A !important;
}

.iw-btn-tier-ghost:hover {
  border-color: #0077B6;
  background: #F2F7FE;
  color: #0077B6 !important;
}

.iw-btn-tier-featured {
  background: #FFFFFF;
  color: #023E8A !important;
  border: 1px solid #FFFFFF;
}

.iw-btn-tier-featured:hover {
  background: #ABD3FF;
  border-color: #ABD3FF;
  color: #012F6C !important;
}


/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes iw-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes iw-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.25); }
}


/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  .iw-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .iw-hero-right {
    min-height: 480px;
    margin: 20px 0 10px;
  }

  .iw-hero-orbit-wrap {
    display: block !important;
    width: 480px;
    height: 480px;
  }
  
  .iw-hero-stat-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .iw-dials-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }
  
  .iw-tiers-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    gap: 36px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media screen and (max-width: 768px) {
  .iw-hero-section {
    padding: 50px 16px 30px;
  }

  .iw-hero-title {
    font-size: 32px;
  }

  .iw-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .iw-btn {
    width: 100%;
  }

  .iw-hero-right {
    min-height: 440px;
    margin: 24px 0 10px;
  }

  /* Round orbit stays visible on all mobile devices */
  .iw-hero-orbit-wrap {
    display: block !important;
    width: 420px;
    height: 420px;
    opacity: 0.88;
  }

  .iw-hero-card {
    padding: 24px 20px;
  }

  .iw-hero-stat-bar {
    grid-template-columns: 1fr;
  }

  .iw-stat-item {
    padding: 18px 20px;
  }

  /* Responsive Comparison Table: Stacks beautifully on Mobile */
  .iw-table-grid {
    grid-template-columns: 1fr;
  }

  .iw-col-header {
    display: none;
  }

  .iw-cell {
    padding: 14px 18px;
    border-left: none !important;
  }

  .iw-cell-feature {
    background: #F7FAFF;
    border-top: 2px solid #DDE8F7;
    font-size: 15px;
    padding-top: 18px;
  }

  .iw-cell-direct {
    background: #FFFFFF;
    border-top: none;
    padding-bottom: 8px;
  }

  .iw-cell-vsp {
    background: #023E8A;
    border-top: none;
    padding-bottom: 20px;
  }

  .iw-mobile-badge {
    display: block;
  }

  .iw-cell-direct .iw-mobile-badge {
    color: #58697F;
  }

  .iw-cell-vsp .iw-mobile-badge {
    color: #BBD9FA;
  }

  .iw-dials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .iw-tier-card {
    padding: 28px 22px;
  }
}

/* Small Mobile Devices (max-width: 480px) */
@media screen and (max-width: 480px) {
  .iw-hero-orbit-wrap {
    width: 360px !important;
    height: 360px !important;
    opacity: 0.82;
  }
}
