/* ===== DAIFU PAGE STYLES ===== */

/* === BANNER (deep blue tech gradient + dot matrix) === */
.df-banner {
  padding: 40px 0 36px;
  text-align: center;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(10, 181, 228, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(245, 166, 35, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(10, 181, 228, 0.03) 0%, transparent 60%), #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.df-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.df-banner h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  position: relative;
}
.df-banner-accent {
  background: linear-gradient(135deg, #0ab5e4, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.df-banner-sub {
  font-size: 14px;
  color: var(--text-secondary);
  position: relative;
}
.df-banner-stats {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 22px auto 18px;
}
.df-banner-stats div {
  display: grid;
  gap: 3px;
  min-width: 112px;
}
.df-banner-stats strong {
  color: #0a6bce;
  font-size: 15px;
  font-weight: 800;
}
.df-banner-stats span {
  color: var(--text-light);
  font-size: 12px;
}
.df-banner-stats i {
  width: 1px;
  height: 28px;
  background: linear-gradient(transparent, rgba(10, 181, 228, 0.28), transparent);
}
.df-banner-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1px solid rgba(10, 181, 228, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #0a6bce;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(10, 181, 228, 0.08);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.df-banner-cta:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 10px 24px rgba(10, 181, 228, 0.16);
}

/* === VENDOR MARQUEE === */
.df-vendors {
  background: radial-gradient(ellipse at 50% 50%, rgba(10, 181, 228, 0.03) 0%, transparent 60%), #fff;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--border);
}
.df-vendor-track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.df-vendor-track {
  display: flex;
  gap: 32px;
  align-items: center;
  animation: vendorScroll 60s linear infinite;
  width: max-content;
}
@keyframes vendorScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.df-vendor-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  background: var(--bg-gray);
}
.df-vendor-item:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}
.df-vendor-item .df-v-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.df-vendor-item .df-v-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.df-vendor-item .df-v-rate {
  font-size: 11px;
  color: var(--text-light);
}

/* === SECTION TITLES === */
.df-section-title {
  text-align: center;
  margin-bottom: 40px;
}
.df-section-title h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #1e90ff, #4facfe, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.df-section-title p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* === CALCULATOR === */
.df-calc-section {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(10, 181, 228, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(245, 166, 35, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(10, 181, 228, 0.03) 0%, transparent 60%), #fff;
  padding: 36px 0 48px;
}
.df-calc-card {
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
/* Inner max-width for full-width card */
.df-calc-layout {
  display: flex;
  min-height: 500px;
}
/* Decorative background numbers */
.df-calc-card::before {
  content: '¥';
  position: absolute;
  top: -40px;
  right: 500px;
  font-size: 200px;
  font-weight: 900;
  color: rgba(10, 181, 228, 0.04);
  font-family: var(--font-en);
  pointer-events: none;
}
.df-calc-card::after {
  content: 'OFF';
  position: absolute;
  bottom: -20px;
  right: 520px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(10, 181, 228, 0.03);
  font-family: var(--font-en);
  pointer-events: none;
}

/* Calculator top header bar - reference page style */
.df-calc-header {
  background: linear-gradient(135deg, #1e90ff 0%, #0ab5e4 50%, #0a6bce 100%);
  padding: 28px 36px;
  position: relative;
  overflow: hidden;
}
.df-calc-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.df-calc-header::after {
  content: '';
  position: absolute;
  bottom: -60%;
  right: 15%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.df-calc-header-title {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.df-calc-header-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

/* Two-column layout */
.df-calc-layout {
  display: flex;
  min-height: 500px;
}
.df-calc-left {
  flex: 0 0 60%;
  padding: 36px 40px;
  border-right: 1px solid var(--border);
}
.df-calc-right {
  flex: 0 0 40%;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 40%, #bae6fd 100%);
  color: var(--text);
  position: relative;
}
.df-calc-right::before {
  content: '%';
  position: absolute;
  top: 80px;
  right: 20px;
  font-size: 140px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-en);
  pointer-events: none;
}
.df-calc-right-header {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(10, 181, 228, 0.15);
  position: relative;
  z-index: 1;
}

.df-step {
  margin-bottom: 24px;
}
.df-step:last-of-type {
  margin-bottom: 0;
}
.df-step-label {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.df-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  background: #1e90ff;
  color: #fff;
  font-family: var(--font-en);
}

/* Vendor current selection text */
.df-vendor-current {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 10px;
}

/* vendor selection grid */
.df-vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}
.df-vendor-opt {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid var(--border);
  background: #fff;
  transition: all 0.25s;
}
.df-vendor-opt:hover {
  border-color: rgba(10, 181, 228, 0.3);
  background: var(--blue-light);
}
.df-vendor-opt.selected {
  border-color: var(--blue);
  background: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(10, 181, 228, 0.1);
}
.df-vendor-opt .df-vo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.df-vendor-opt .df-vo-text {
  min-width: 0;
}
.df-vendor-opt .df-vo-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.df-vendor-opt .df-vo-rate {
  font-size: 12px;
  color: var(--text-light);
}

/* price input */
.df-input-row {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s;
}
.df-input-row:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10, 181, 228, 0.08);
}
.df-input-prefix {
  padding: 0 4px 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
  font-family: var(--font-en);
}
.df-price-input {
  flex: 1;
  height: 54px;
  padding: 0 14px 0 4px;
  font-size: 20px;
  font-weight: 600;
  font-family: var(--font-en);
  color: var(--text);
  background: transparent;
}
.df-price-input::placeholder {
  color: #ccc;
  font-weight: 400;
  font-size: 15px;
}

/* order input */
.df-order-input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--font-cn);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s;
}
.df-order-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10, 181, 228, 0.08);
}
.df-order-input::placeholder {
  color: #ccc;
}

/* cloud account input */
.df-cloud-input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--font-cn);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s;
}
.df-cloud-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10, 181, 228, 0.08);
}
.df-cloud-input::placeholder {
  color: #ccc;
}

/* coupon grid - manual claim (reference page style) */
.df-coupon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.df-coupon-card {
  padding: 12px 10px 10px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #f4cf83;
  background: linear-gradient(135deg, #fffdf7, #fff4d7);
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.df-coupon-card::before,
.df-coupon-card::after {
  content: '';
  position: absolute;
  top: 54%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #f4cf83;
  transform: translateY(-50%);
  transition: border-color 0.25s;
}
.df-coupon-card::before {
  left: -7px;
}
.df-coupon-card::after {
  right: -7px;
}
.df-coupon-card:hover {
  border-color: #f5a623;
  background: linear-gradient(135deg, #fffaf0, #ffedbd);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.2), 0 0 0 3px rgba(245, 166, 35, 0.06);
}
.df-coupon-card:hover::before,
.df-coupon-card:hover::after {
  border-color: #f5a623;
}
.df-coupon-card.claimed {
  border-color: #f5a623;
  background: linear-gradient(135deg, #fff6da, #ffe7a6);
  cursor: default;
}
.df-coupon-card.claimed .df-coupon-btn {
  background: transparent;
  border-top-color: rgba(146, 64, 14, 0.45);
  color: #92400e;
}
.df-coupon-amount {
  font-size: 20px;
  font-weight: 900;
  color: #f59e0b;
  font-family: var(--font-en);
  margin-bottom: 2px;
}
.df-coupon-condition {
  font-size: 12px;
  color: #92400e;
  margin-bottom: 6px;
  font-weight: 500;
}
.df-coupon-btn {
  display: block;
  margin: 8px -2px 0;
  padding: 7px 14px 1px;
  border-top: 1px dashed rgba(180, 113, 8, 0.32);
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
}
.df-coupon-hint {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 10px;
  text-align: center;
  line-height: 1.7;
}
.df-coupon-hint strong {
  color: #f59e0b;
  font-weight: 600;
}

/* coupon row - auto display (legacy) */
.df-coupon-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.df-coupon-selected {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--bg-gray);
  font-size: 14px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.df-coupon-selected.has-coupon {
  color: #f39c12;
  font-weight: 600;
  background: #fffbf2;
  border-color: #fde68a;
}

/* === CALCULATOR NOTES (warning + disclaimer) === */
.df-calc-notes {
  background:
    radial-gradient(ellipse at 50% 0%, #f0f9ff 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, #fff8f0 0%, transparent 50%), #fff;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.df-notes-inner {
  max-width: 850px;
  margin: 0 auto;
}
.df-notes-ticker {
  height: 40px;
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.df-notes-ticker-inner {
  padding: 10px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  animation: noteTickerScroll 20s linear infinite;
}
.df-notes-ticker-inner span {
  display: block;
  padding: 4px 0;
  white-space: nowrap;
}
.df-notes-ticker-inner span b {
  color: var(--blue);
  font-weight: 600;
}
@keyframes noteTickerScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}
.df-notes-warnings {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.df-warning {
  margin-top: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 13px;
  color: #9a3412;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.df-warning svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.df-calc-disclaimer {
  margin-top: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  font-size: 12px;
  color: #0369a1;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.df-calc-disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #0a6bce;
}

/* result area - light theme with bg number */
.df-result {
  flex: 1;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(10, 181, 228, 0.12);
  min-height: 80px;
  position: relative;
  overflow: hidden;
}
.df-result::before {
  content: '¥';
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(10, 181, 228, 0.06);
  font-family: var(--font-en);
  pointer-events: none;
}
.df-result-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 0;
  color: rgba(10, 181, 228, 0.4);
  font-size: 20px;
  position: relative;
  z-index: 1;
}
.df-result-placeholder svg {
  stroke: rgba(10, 181, 228, 0.3);
}
.df-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 20px;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}
.df-result-val {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--text);
  font-size: 20px;
}
.df-result-original .df-result-val {
  color: var(--text-light);
  text-decoration: line-through;
  font-size: 24px;
}
.df-result-discount .df-result-val {
  color: #0a6bce;
  font-size: 24px;
}
.df-result-coupon .df-result-val {
  color: #f59e0b;
  font-size: 20px;
}
.df-result-save .df-result-val {
  font-size: 22px;
}
.df-save-amount {
  color: #d97706;
  font-weight: 900;
  font-size: 34px;
  transform-origin: center right;
}
.df-save-amount.is-pulsing {
  animation: savePulse 220ms ease-out;
}
@keyframes savePulse {
  0% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
.df-result-divider {
  height: 1px;
  background: rgba(10, 181, 228, 0.12);
  margin: 8px 0;
  position: relative;
  z-index: 1;
}
.df-result-final {
  text-align: center;
  padding: 14px 0 4px;
  position: relative;
  z-index: 1;
}
.df-result-final-arrow {
  font-size: 24px;
  color: #0a6bce;
  margin-bottom: 2px;
  animation: arrowBounce 1.5s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}
.df-result-final-label {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.df-result-final-price {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 900;
  color: #f59e0b;
  letter-spacing: -1px;
}
.df-price-drop-hint {
  text-align: center;
  font-size: 13px;
  color: #0a6bce;
  margin-top: 6px;
  display: none;
}
.df-price-drop-hint span {
  font-weight: 600;
}

/* Save banner - info card style, not button */
.df-save-banner {
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.08);
  border-left: 4px solid #f5a623;
  display: none;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.df-save-banner.show {
  display: flex;
}
.df-save-banner svg {
  flex-shrink: 0;
  color: #f5a623;
}
.df-save-banner-text {
  font-size: 16px;
  font-weight: 700;
  color: #d97706;
  font-family: var(--font-en);
}

/* submit button - blue */
.df-submit-btn {
  width: 100%;
  height: 56px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #1e90ff, #0ab5e4);
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.35);
  transition: all 0.3s;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}
.df-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(30, 144, 255, 0.45);
}
.df-submit-btn:active {
  transform: translateY(0);
}

/* === PROCESS MODULE === */
.df-process-section {
  background:
    radial-gradient(ellipse at 30% 0%, #f0faff 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, #fff8f0 0%, transparent 50%), #fff;
  padding: 64px 0;
}
.df-process-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}
.df-process-tab {
  padding: 12px 34px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  transition: all 0.25s;
}
.df-process-tab:hover {
  border-color: rgba(10, 181, 228, 0.3);
}
.df-process-tab.active {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 181, 228, 0.08);
}
.df-process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.df-process-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.df-process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  position: relative;
  z-index: 2;
}
.df-process-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.df-process-step-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}
/* Arrow connector between steps */
.df-process-arrow {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 14px;
  color: var(--text-light);
  font-size: 24px;
}
.df-process-prerequisite {
  margin-top: 40px;
  padding: 24px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid rgba(10, 181, 228, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0;
}
.df-prereq-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ab5e4, #1e90ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.df-prereq-text {
  text-align: center;
}
.df-prereq-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.df-prereq-text span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.df-prereq-btn {
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, #0ab5e4, #1e90ff);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(10, 181, 228, 0.25);
  transition: all 0.3s;
}
.df-prereq-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 181, 228, 0.35);
}
/* === SERVICES === */
.df-services {
  background:
    radial-gradient(ellipse at 30% 25%, rgba(245, 166, 35, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 75%, rgba(10, 181, 228, 0.06) 0%, transparent 50%), #fff;
  padding: 64px 0;
}
.df-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.df-service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  transition: all 0.3s;
  cursor: default;
}
.df-service-item:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(10, 181, 228, 0.1);
  transform: translateY(-2px);
}
.df-service-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(10, 181, 228, 0.13), rgba(245, 166, 35, 0.12));
  color: #0a6bce;
  box-shadow: inset 0 0 0 1px rgba(10, 181, 228, 0.08);
  transition: transform 0.3s, background 0.3s, color 0.3s, box-shadow 0.3s;
}
.df-service-item:hover .df-service-icon {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #0ab5e4, #0a6bce 60%, #f5a623);
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 107, 206, 0.2);
}
.df-service-icon svg {
  width: 22px;
  height: 22px;
}
.df-service-text {
  min-width: 0;
}
.df-service-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.df-service-text span {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* === DEAL NOTES (独立框架，颜色与计算器一致) === */
.df-deal-notes-section {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(10, 181, 228, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(245, 166, 35, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(10, 181, 228, 0.03) 0%, transparent 60%), #fff;
  padding: 24px 0 36px;
}
.df-deal-card {
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 0;
  border: 1px solid var(--border);
  overflow: hidden;
}
.df-deal-layout {
  display: flex;
  gap: 0;
}
.df-deal-left {
  flex: 0 0 60%;
  padding: 24px 40px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--border);
}
.df-deal-right {
  flex: 0 0 40%;
  padding: 24px 32px 28px 28px;
  display: flex;
  align-items: center;
}
.df-warning {
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 13px;
  color: #9a3412;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.df-warning svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.df-calc-disclaimer {
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  font-size: 12px;
  color: #0369a1;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.df-calc-disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #0a6bce;
}
/* Deal ticker - show 3 items */
.df-deal-ticker {
  height: 120px;
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.df-deal-ticker-track {
  padding: 10px 24px;
  transition: transform 0.6s ease-in-out;
}
.df-deal-ticker-item {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  white-space: nowrap;
  padding: 2px 0;
}
.df-deal-ticker-item .tk-area {
  color: var(--blue);
  font-weight: 600;
}
.df-deal-ticker-item .tk-save {
  color: #ff6600;
  font-weight: 700;
}

/* === MODALS === */
.df-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
}
.df-modal-overlay.active {
  display: flex;
}
.df-modal {
  background: #fff;
  border-radius: 20px;
  width: 460px;
  max-width: 92vw;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: modalIn 0.35s ease;
}
.df-modal-header {
  background: linear-gradient(90deg, #1e90ff, #4facfe, #f5a623);
  padding: 20px 24px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.df-modal-header h3 {
  font-size: 17px;
  font-weight: 700;
}
.df-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  border: none;
  transition: all 0.2s;
}
.df-modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
}
.df-modal-body {
  padding: 20px 24px;
}

/* pay modal */
.df-pay-modal-header {
  background: linear-gradient(135deg, #e74c3c, #c0392b, #e67e22);
}
.df-pay-amount-box {
  text-align: center;
  padding: 24px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fef9ee, #fff5f5);
  border-radius: 14px;
  border: 1px solid #fde68a;
}
.df-pay-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.df-pay-price {
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 900;
  color: #e74c3c;
}

/* Account confirmation notice */
.df-pay-confirm-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 12px;
  color: #1e40af;
  line-height: 1.6;
  margin-bottom: 16px;
}
.df-pay-confirm-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.df-pay-qr-grid {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.df-pay-qr {
  flex: 1;
  text-align: center;
}
.df-pay-qr-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.df-pay-qr-alipay {
  background: linear-gradient(135deg, #e8f4fd, #dbeafe);
  border: 1px solid #bae6fd;
}
.df-pay-qr-wechat {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
}
.df-pay-qr span {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}
.df-pay-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fffbf2;
  border: 1px solid #fde68a;
  font-size: 12px;
  color: #92400e;
  line-height: 1.6;
  margin-bottom: 16px;
}
.df-pay-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.df-pay-contact-btn {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #03b3ff, #72d7ff 55%, #f5a623);
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.2);
}
.df-pay-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7, 193, 96, 0.3);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .df-calc-layout {
    flex-direction: column;
  }
  .df-calc-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 28px 24px;
    flex: none;
  }
  .df-calc-right {
    width: 100%;
    padding: 24px;
    flex: none;
  }
  .df-calc-header {
    padding: 28px 24px;
  }
  .df-process-steps {
    flex-wrap: wrap;
    gap: 16px;
  }
  .df-process-arrow {
    display: none;
  }
  .df-process-step {
    flex: 0 0 calc(50% - 8px);
  }
  /* Deal notes: stack vertically */
  .df-deal-layout {
    flex-direction: column;
  }
  .df-deal-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }
  .df-deal-right {
    padding: 20px;
  }
}
@media (max-width: 768px) {
  .df-banner h1 {
    font-size: 24px;
  }
  .df-banner {
    padding: 30px 0 26px;
  }
  .df-banner-stats {
    gap: 12px;
    margin: 18px auto 16px;
  }
  .df-banner-stats div {
    min-width: 88px;
  }
  .df-banner-stats strong {
    font-size: 13px;
  }
  .df-banner-stats i {
    height: 24px;
  }
  .df-calc-section {
    padding: 24px 0 36px;
  }
  .df-calc-header {
    padding: 18px 20px;
  }
  .df-calc-header-title {
    font-size: 18px;
  }
  .df-calc-left {
    padding: 24px 20px;
  }
  .df-calc-right {
    padding: 20px;
  }
  .df-vendor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .df-price-input {
    height: 54px;
    font-size: 20px;
  }
  .df-order-input {
    height: 52px;
    font-size: 16px;
  }
  .df-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .df-service-item {
    padding: 16px 14px;
    gap: 10px;
  }
  .df-result-final-price {
    font-size: 32px;
  }
  .df-pay-qr-grid {
    flex-direction: column;
  }
  .df-process-step {
    flex: 0 0 100%;
  }
  /* Mobile: hide cloud account, warning, disclaimer */
  .df-step:nth-child(3),
  .df-warning,
  .df-calc-disclaimer {
    display: none !important;
  }
  /* Mobile: hide deal notes left panel (备注说明) */
  .df-deal-left {
    display: none !important;
  }
  .df-deal-right {
    padding: 16px;
  }
}
@media (max-width: 480px) {
  .df-banner-stats {
    gap: 7px;
  }
  .df-banner-stats div {
    min-width: 0;
    flex: 1;
  }
  .df-banner-stats strong {
    font-size: 12px;
  }
  .df-banner-stats span {
    font-size: 10px;
  }
  .df-vendor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .df-vendor-opt {
    padding: 10px 8px;
  }
  .df-coupon-row {
    flex-direction: column;
    align-items: stretch;
  }
  .df-services-grid {
    grid-template-columns: 1fr;
  }
  .df-service-item {
    padding: 16px;
  }
  .df-process-tabs {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .df-vendor-track,
  .df-notes-ticker-inner,
  .df-result-final-arrow,
  .df-save-amount.is-pulsing {
    animation: none;
  }
  .df-banner-cta,
  .df-coupon-card,
  .df-service-item,
  .df-service-icon {
    transition: none;
  }
}
