/* ====================================================================
   ORKENAI INTERACTIVE COST & PROJECT ESTIMATOR
   Brand Colors: #081a4e (Navy), #0331a7 (Electric Blue), #c5f82a (Acid Lime)
   ==================================================================== */

:root {
  --calc-navy: #081a4e;
  --calc-blue: #0331a7;
  --calc-blue-light: #2563eb;
  --calc-acid: #c5f82a;
  --calc-green: #39b54a;
  --calc-dark: #050f2e;
  --calc-surface: #ffffff;
  --calc-surface-glass: rgba(255, 255, 255, 0.85);
  --calc-border: rgba(8, 26, 78, 0.12);
  --calc-radius: 20px;
}

/* --------------------------------------------------------------------
   1. INLINE CALCULATOR SECTION (#calculator / inside #pricing)
   -------------------------------------------------------------------- */
.orken-calculator-section {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 55px auto 40px;
  padding: 0 20px;
  font-family: var(--font-sans, 'Inter', -apple-system, sans-serif);
  color: var(--calc-navy);
  box-sizing: border-box;
}

.orken-calc-container {
  background: linear-gradient(135deg, #07153f 0%, #081a4e 55%, #051032 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 60px -15px rgba(8, 26, 78, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 44px 40px 48px;
  position: relative;
  overflow: hidden;
}

.orken-calc-container::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(197, 248, 42, 0.12) 0%, rgba(3, 49, 167, 0.08) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.orken-calc-container::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(3, 49, 167, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.orken-calc-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
}

.orken-calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 16px;
  background: rgba(197, 248, 42, 0.14);
  border: 1px solid rgba(197, 248, 42, 0.4);
  color: var(--calc-acid);
  border-radius: 9999px;
  margin-bottom: 14px;
}

.orken-calc-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: #ffffff;
}

.orken-calc-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--calc-acid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.orken-calc-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #9db2dc;
  margin: 0;
}

/* Two-column layout */
.orken-calc-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  position: relative;
  z-index: 2;
  align-items: start;
}

@media (max-width: 1024px) {
  .orken-calc-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Steps & Groups */
.orken-calc-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.orken-calc-group {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s;
}

.orken-calc-group:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.orken-calc-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.orken-calc-group-title h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.orken-calc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--calc-blue);
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.orken-calc-group-hint {
  font-size: 12px;
  color: #8da4cf;
}

/* Options Grid */
.orken-calc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.orken-calc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 680px) {
  .orken-calc-grid-2,
  .orken-calc-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Option Cards (Radio-like) */
.orken-calc-opt {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  user-select: none;
}

.orken-calc-opt:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 248, 42, 0.4);
  transform: translateY(-2px);
}

.orken-calc-opt.selected {
  background: rgba(3, 49, 167, 0.35);
  border-color: var(--calc-acid);
  box-shadow: 0 0 20px rgba(197, 248, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.orken-calc-opt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.orken-calc-opt-icon {
  font-size: 20px;
}

.orken-calc-opt-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: transparent;
  transition: all 0.2s;
}

.orken-calc-opt.selected .orken-calc-opt-check {
  background: var(--calc-acid);
  border-color: var(--calc-acid);
  color: var(--calc-navy);
}

.orken-calc-opt-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.orken-calc-opt-desc {
  font-size: 11.5px;
  color: #9cb1dc;
  line-height: 1.4;
  margin: 0;
}

.orken-calc-opt-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--calc-acid);
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.orken-calc-opt-days {
  font-size: 10.5px;
  color: #8da4cf;
  font-weight: 500;
}

/* Checkbox Style Options */
.orken-calc-addon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 13px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
  user-select: none;
}

.orken-calc-addon:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.orken-calc-addon.selected {
  background: rgba(3, 49, 167, 0.3);
  border-color: var(--calc-acid);
}

.orken-calc-addon-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.orken-calc-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  font-weight: 900;
  flex-shrink: 0;
  transition: all 0.2s;
}

.orken-calc-addon.selected .orken-calc-checkbox {
  background: var(--calc-acid);
  border-color: var(--calc-acid);
  color: var(--calc-navy);
}

.orken-calc-addon-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.orken-calc-addon-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--calc-acid);
  white-space: nowrap;
}

/* --------------------------------------------------------------------
   2. LIVE STICKY SUMMARY CARD
   -------------------------------------------------------------------- */
.orken-calc-summary-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 26px;
  color: var(--calc-navy);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 100px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.orken-calc-summary-header {
  border-bottom: 1px solid rgba(8, 26, 78, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.orken-calc-summary-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  margin-bottom: 4px;
}

.orken-calc-price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.orken-calc-price-val {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 800;
  color: var(--calc-blue);
  line-height: 1;
  letter-spacing: -0.03em;
}

.orken-calc-period-val {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.orken-calc-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
}

.orken-calc-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
}

.orken-calc-discount-badge {
  color: #15803d;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Selected list items in summary */
.orken-calc-selected-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.orken-calc-tag-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  line-height: 1.35;
}

.orken-calc-tag-name {
  color: #334155;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.orken-calc-tag-val {
  color: var(--calc-blue);
  font-weight: 700;
}

/* CTA Buttons */
.orken-calc-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.orken-calc-btn-whatsapp {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: #25d366;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.orken-calc-btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.orken-calc-phone-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.orken-calc-phone-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.orken-calc-phone-input:focus {
  border-color: var(--calc-blue);
}

.orken-calc-btn-submit {
  width: 100%;
  padding: 14px 20px;
  background: var(--calc-navy);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.orken-calc-btn-submit:hover {
  background: var(--calc-blue);
}

.orken-calc-trust-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  color: #64748b;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------
   3. FLOATING ACTION PILL (BOTTOM-RIGHT SHORTCUT, ABOVE WHATSAPP)
   -------------------------------------------------------------------- */
.orken-calc-sticky-pill {
  position: fixed;
  bottom: 86px;
  right: 24px;
  left: auto;
  z-index: 997;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  animation: orken-pill-bounce 3s infinite ease-in-out;
}

@keyframes orken-pill-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.orken-calc-sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--calc-navy);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 9999px;
  border: 1px solid rgba(197, 248, 42, 0.4);
  box-shadow: 0 14px 32px rgba(8, 26, 78, 0.4), 0 0 15px rgba(197, 248, 42, 0.2);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.orken-calc-sticky-btn:hover {
  background: var(--calc-blue);
  border-color: var(--calc-acid);
  transform: scale(1.04);
  box-shadow: 0 18px 40px rgba(3, 49, 167, 0.5), 0 0 25px rgba(197, 248, 42, 0.4);
}

.orken-calc-sticky-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--calc-acid);
  color: var(--calc-navy);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 768px) {
  .orken-calc-container {
    padding: 30px 20px 36px;
    border-radius: 20px;
  }
  .orken-calc-sticky-pill {
    bottom: 78px;
    right: 16px;
    left: auto;
  }
  .orken-calc-sticky-btn {
    padding: 9px 15px;
    font-size: 12px;
    gap: 8px;
  }
  .orken-calc-sticky-icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
}

