/* ==========================================================================
   WEBSOL DIGITAL SOLUTIONS - WEBSITE COST CALCULATOR & HERO SECTION
   Inspired by RankyTools Modern Centered & Animated Visual Aesthetic
   Ultra-Modern, Responsive, Interactive Real-Time Pricing Engine
   ========================================================================== */

/* --- Hero & Calculator Combined Master Section --- */
.hero-calc-section {
  position: relative;
  padding: 85px 0 95px 0;
  background: linear-gradient(180deg, #F5F3FF 0%, #F8FAFC 45%, #FFFFFF 100%);
  overflow: hidden;
  min-height: 100vh;
}

/* --- Ambient Canvas & Animated Background Aura --- */
.hero-ambient-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Floating Radiant Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.65;
  pointer-events: none;
}

.orb-purple {
  width: 550px;
  height: 550px;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(147, 51, 234, 0.22) 0%, rgba(124, 58, 237, 0.08) 50%, transparent 75%);
  animation: floatOrbPurple 14s ease-in-out infinite alternate;
}

.orb-blue {
  width: 450px;
  height: 450px;
  top: 100px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.18) 0%, rgba(59, 130, 246, 0.05) 60%, transparent 80%);
  animation: floatOrbBlue 12s ease-in-out infinite alternate;
}

.orb-cyan {
  width: 480px;
  height: 480px;
  top: 450px;
  left: -120px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(0, 210, 255, 0.04) 60%, transparent 80%);
  animation: floatOrbCyan 16s ease-in-out infinite alternate;
}

/* Vertical Stripes & Grid Mesh Overlay (RankyTools Inspired) */
.hero-vertical-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(124, 58, 237, 0.02) 0px,
    rgba(124, 58, 237, 0.02) 1px,
    transparent 1px,
    transparent 60px
  );
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 102, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 102, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 95%);
}

/* --- Hero Center Container --- */
.hero-center-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* --- Floating Pill Badge (RankyTools Aesthetic with Pulse) --- */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(139, 92, 246, 0.24);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px -4px rgba(124, 58, 237, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
  margin-bottom: 24px;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: badgeFloating 4s ease-in-out infinite alternate;
}

.hero-pill-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 12px 30px -4px rgba(124, 58, 237, 0.2), 0 4px 10px rgba(15, 23, 42, 0.06);
}

.pill-glow-pulse {
  position: relative;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-dot-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7C3AED;
  box-shadow: 0 0 10px #7C3AED;
}

.pill-dot-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.4);
  animation: pulseWave 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pill-brand-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
}

.pill-highlight-brand {
  font-weight: 800;
  background: linear-gradient(135deg, #7C3AED 0%, #0066FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pill-separator {
  color: var(--slate-300);
  font-size: 0.75rem;
}

.pill-badge-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: #6D28D9;
  letter-spacing: -0.01em;
}

/* --- Hero Center Heading --- */
.hero-center-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.8vw, 3.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0F172A;
  max-width: 960px;
  margin: 0 auto 20px auto;
  text-wrap: balance;
}

/* RankyTools Styled Italic Emphasis */
.hero-title-italic {
  font-family: 'Playfair Display', 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, #6D28D9 0%, #2563EB 50%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0 4px;
  position: relative;
  filter: drop-shadow(0 2px 14px rgba(109, 40, 217, 0.22));
}

/* --- Centered Description --- */
.hero-center-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.68;
  color: #475569;
  max-width: 780px;
  margin: 0 auto 32px auto;
  font-weight: 400;
}

/* --- Value Badges / Feature Chips --- */
.hero-chips-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.hero-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.hero-feature-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 8px 20px -4px rgba(124, 58, 237, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
  color: #0F172A;
}

.chip-emoji {
  font-size: 1rem;
}

.chip-text {
  font-size: 0.875rem;
}

/* ==========================================================================
   INTERACTIVE CALCULATOR MASTER CONTAINER & CONTROLS
   ========================================================================== */
.calculator-wrapper {
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  border: 2px solid rgba(124, 58, 237, 0.16);
  box-shadow: 0 25px 70px -12px rgba(124, 58, 237, 0.12), 
              0 12px 30px -6px rgba(0, 102, 255, 0.07),
              0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  padding: 44px 44px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.calculator-wrapper:hover {
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 30px 80px -10px rgba(124, 58, 237, 0.16), 
              0 16px 36px -4px rgba(0, 102, 255, 0.1);
}

/* Calculator Top Header Toolbar */
.calc-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1.5px solid rgba(226, 232, 240, 0.85);
}

.calc-app-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #059669;
}

.status-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: blinkStatus 1.6s ease-in-out infinite alternate;
}

.calc-app-title {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin: 0;
}

.calc-app-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.calc-tax-pill {
  padding: 6px 14px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-600);
}

.calc-instant-pill {
  padding: 6px 14px;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   INTERACTIVE STEP-BY-STEP CONFIGURATION MODULES
   ========================================================================== */

/* Step Container Card */
.calc-step-container {
  background: rgba(248, 250, 252, 0.75);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 26px 26px;
  margin-bottom: 26px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.calc-step-container:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 12px 30px -10px rgba(124, 58, 237, 0.08);
}

/* Step Header */
.calc-step-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.calc-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.28);
}

.calc-step-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.calc-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
}

.calc-step-subtitle {
  font-size: 0.86rem;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.4;
}

/* Cards Grid */
.calc-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Individual Module Card */
.calc-module-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-module-card:hover {
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow: 0 8px 24px -4px rgba(0, 102, 255, 0.1);
  transform: translateY(-2px);
}

.calc-module-card-full {
  width: 100%;
}

/* Module Card Header */
.module-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.08);
}

.module-text-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-grow: 1;
}

.module-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1E293B;
  letter-spacing: -0.01em;
  margin: 0;
  cursor: pointer;
}

.module-subtitle {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin: 0;
}

.module-live-badge {
  padding: 4px 12px;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

/* Custom Select Dropdowns */
.calc-select-wrapper {
  position: relative;
  width: 100%;
}

.calc-select {
  width: 100%;
  height: 50px;
  padding: 0 42px 0 16px;
  background-color: var(--slate-50);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-800);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: all var(--transition-fast);
}

.calc-select:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

.calc-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--slate-500);
  font-size: 0.82rem;
}

/* Range Slider & Preset Chips */
.calc-slider-box {
  display: flex;
  align-items: center;
  background: var(--slate-50);
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  box-sizing: border-box;
  transition: border-color 0.2s, background-color 0.2s;
}

.calc-slider-box:focus-within {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

.calc-range-wrapper {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.calc-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background 0.2s;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066FF, #0052D4);
  border: 3px solid var(--white);
  box-shadow: 0 2px 10px rgba(0, 102, 255, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.6);
}

.calc-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0066FF;
  border: 3px solid var(--white);
  box-shadow: 0 2px 10px rgba(0, 102, 255, 0.45);
  cursor: pointer;
}

/* Preset Chips Row */
.calc-preset-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: -2px;
}

.calc-preset-chip {
  padding: 5px 12px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.calc-preset-chip:hover {
  background: var(--slate-200);
  color: #0F172A;
  border-color: var(--slate-300);
}

.calc-preset-chip.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

/* SEO Visual Feature Highlights */
.calc-seo-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--slate-200);
}

.seo-highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--slate-600);
}

.seo-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green { background-color: #10B981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }
.dot-blue { background-color: #3B82F6; box-shadow: 0 0 6px rgba(59, 130, 246, 0.6); }
.dot-purple { background-color: #8B5CF6; box-shadow: 0 0 6px rgba(139, 92, 246, 0.6); }
.dot-cyan { background-color: #06B6D4; box-shadow: 0 0 6px rgba(6, 182, 212, 0.6); }

/* Addons Section & Grouping */
.calc-addons-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.addons-group-label {
  margin-bottom: 10px;
}

.group-badge-free {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #059669;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
}

.group-badge-premium {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #4F46E5;
  padding: 4px 12px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: var(--radius-full);
}

.calc-addons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.addon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-normal);
  border: 1.5px solid var(--border-color);
  background: var(--white);
  color: var(--slate-700);
}

.addon-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.12);
}

.addon-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
}

.addon-pill.is-free {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.06);
  color: #065F46;
}

.addon-pill.is-free:hover {
  border-color: var(--success);
  color: #047857;
  transform: translateY(-2px);
}

.addon-pill.is-free.active {
  background: #059669;
  border-color: #059669;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.addon-pill .addon-check-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.addon-price-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary);
  margin-left: 4px;
}

.addon-pill.active .addon-price-badge {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.addon-pill.is-free .addon-price-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.addon-pill.is-free.active .addon-price-badge {
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

/* Approximate Cost Display Card */
.calc-price-card {
  background: linear-gradient(135deg, #0B132B 0%, #1C2541 100%);
  border-radius: 20px;
  padding: 28px 32px;
  color: var(--white);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 14px 40px rgba(11, 19, 43, 0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-price-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: radial-gradient(circle at 100% 50%, rgba(0, 210, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.price-card-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 4px;
}

.price-card-amount-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-card-wallet-icon {
  font-size: 2.2rem;
  color: var(--secondary);
}

.price-card-currency {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.price-card-total {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  transition: all 0.3s ease;
}

.price-card-tax-note {
  font-size: 0.8rem;
  color: var(--slate-400);
}

.price-actions-group {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.currency-select {
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.currency-select:hover {
  background: rgba(255, 255, 255, 0.18);
}

.currency-select option {
  background: var(--navy-900);
  color: var(--white);
}

.btn-breakdown {
  padding: 9px 18px;
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--secondary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-breakdown:hover {
  background: var(--secondary);
  color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(0, 210, 255, 0.3);
}

/* Itemized Breakdown Drawer */
.calc-breakdown-drawer {
  display: none;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  margin-top: -24px;
  margin-bottom: 36px;
  animation: fadeIn 0.3s ease;
}

.calc-breakdown-drawer.open {
  display: block;
}

.breakdown-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--slate-900);
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.925rem;
  color: var(--slate-700);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--slate-200);
}

.breakdown-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 2px solid var(--slate-300);
}

/* Contact Details Form Section (Inside Calculator) */
.calc-contact-section {
  border-top: 1.5px solid var(--slate-200);
  padding-top: 36px;
}

.calc-contact-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate-800);
  margin-bottom: 22px;
}

.calc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.calc-contact-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-input {
  width: 100%;
  padding: 13px 18px;
  background: var(--slate-50);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--slate-900);
  transition: all var(--transition-fast);
}

.calc-input:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

.calc-textarea {
  width: 100%;
  height: 100%;
  min-height: 145px;
  padding: 14px 18px;
  background: var(--slate-50);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--slate-900);
  resize: vertical;
  transition: all var(--transition-fast);
}

.calc-textarea:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

.calc-submit-area {
  text-align: center;
  margin-top: 20px;
}

.calc-footer-msg {
  text-align: center;
  max-width: 820px;
  margin: 36px auto 0 auto;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.6;
}

/* Modal Popup Confirmation */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-content-card {
  background: var(--white);
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.92);
  transition: transform var(--transition-slow);
  position: relative;
}

.modal-backdrop.open .modal-content-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--slate-400);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--slate-900);
}

.modal-success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px auto;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes floatOrbPurple {
  0% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-45%, 40px) scale(1.08); }
  100% { transform: translate(-55%, -30px) scale(0.95); }
}

@keyframes floatOrbBlue {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -40px) scale(1.1); }
  100% { transform: translate(20px, 30px) scale(0.92); }
}

@keyframes floatOrbCyan {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.05); }
  100% { transform: translate(-20px, -40px) scale(0.96); }
}

@keyframes badgeFloating {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

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

@keyframes blinkStatus {
  0% { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.1); }
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 840px) {
  .hero-calc-section {
    padding: 60px 0 70px 0;
  }

  .hero-center-heading {
    font-size: clamp(2rem, 6vw, 2.75rem);
  }

  .hero-center-desc {
    font-size: 1rem;
    padding: 0 10px;
  }

  .calculator-wrapper {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .calc-step-container {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .calc-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calc-seo-highlights {
    grid-template-columns: 1fr;
  }

  .calc-contact-grid {
    grid-template-columns: 1fr;
  }

  .calc-price-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }

  .price-actions-group {
    width: 100%;
    justify-content: space-between;
  }
}