/* Service Card Floating Widget */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700;900&display=swap');

/* Section Wrapper */
.scf-razor-section {
  position: relative;
  background: #000;
  height: 500vh;
  min-height: 500vh;
}

.scf-razor-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(200,169,104,0.02) 100px, rgba(200,169,104,0.02) 101px);
  pointer-events: none;
}

/* Sticky Stage */
.scf-razor-stage {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

/* Card Container */
.scf-razor-card {
  position: absolute;
  width: 550px;
  max-width: 92%;
  transform: translate(120%, 0) rotate(15deg) scale(0.7);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  filter: blur(20px);
}

.scf-razor-card.scf-slash-in {
  transform: translate(0, 0) rotate(0deg) scale(1);
  opacity: 1;
  filter: blur(0);
}

.scf-razor-card.scf-slash-out {
  transform: translate(-120%, 0) rotate(-15deg) scale(0.7);
  opacity: 0;
  filter: blur(20px);
}

/* Slash Lines */
.scf-slash-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, #C8A968, transparent);
  transform: translateX(-100%) rotate(-25deg);
  box-shadow: 0 0 20px #C8A968;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
  z-index: 10;
}

.scf-slash-1 {
  top: 20%;
  width: 150%;
  left: -25%;
  transition-delay: 0s;
}

.scf-slash-2 {
  top: 50%;
  width: 150%;
  left: -25%;
  transition-delay: 0.1s;
}

.scf-slash-3 {
  top: 80%;
  width: 150%;
  left: -25%;
  transition-delay: 0.2s;
}

.scf-razor-card.scf-slash-in .scf-slash-line {
  transform: translateX(100%) rotate(-25deg);
}

/* Card Content */
.scf-card-content {
  background: #fff;
  padding: 50px 45px;
  text-align: left;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  overflow: hidden;
}

/* Icon */
.scf-card-icon {
  width: 50px;
  height: auto;
  margin-bottom: 30px;
}

.scf-card-icon svg,
.scf-card-icon i {
  width: 100%;
  height: auto;
  display: block;
}

/* Title */
.scf-card-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 15px;
  letter-spacing: 0;
  color: #000;
  text-transform: uppercase;
  line-height: 1;
}

/* Description */
.scf-card-content p {
  font-size: 16px;
  color: #888;
  margin: 0 0 40px;
  line-height: 1.6;
  letter-spacing: 0;
}

/* Price */
.scf-card-content .scf-price {
  font-family: 'Oswald', sans-serif;
  font-size: 120px;
  font-weight: 700;
  background: linear-gradient(135deg, #D4AF37 0%, #C8A968 50%, #B89858 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 35px;
  letter-spacing: -6px;
  display: block;
  line-height: 0.9;
}

/* CTA Button - Chrome Metal Effect */
.scf-service-metal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(143, 145, 151, 1);
  padding: 18px 50px;
  border-radius: 4px;
  text-decoration: none;
  background: linear-gradient(105deg, 
    rgba(57,56,56,1) 4%, 
    rgba(254,227,216,1) 8%, 
    rgba(239,240,243,1) 10%, 
    rgba(255,255,229,1) 13%, 
    rgba(254,192,171,1) 17%, 
    rgba(86,87,89,1) 23%, 
    rgba(86,87,89,1) 35%, 
    rgba(194,169,138,1) 39%, 
    rgba(184,184,184,1) 43%, 
    rgba(184,184,184,1) 53%, 
    rgba(229,255,254,1) 58%, 
    rgba(239,240,243,1) 60%, 
    rgba(255,247,234,1) 67%, 
    rgba(249,232,225,1) 69%, 
    rgba(180,178,181,1) 75%, 
    rgba(208,216,248,1) 78%, 
    rgba(89,81,87,1) 82%, 
    rgba(89,81,87,1) 87%, 
    rgba(203,207,219,1) 89%, 
    rgba(89,81,87,1) 92%, 
    rgba(57,56,56,1) 96%
  );
  text-shadow: 0 1px rgba(255, 255, 255, .9), 0 -1px rgba(30, 30, 30, 1);
  transition: all 350ms ease;
  border-top: 1px solid rgba(238, 238, 220, 0.9);
  border-right: 1px solid rgba(40, 40, 40, 0.8);
  border-bottom: 1px solid rgba(40, 40, 40, 0.9);
  border-left: 1px solid rgba(91, 107, 128, 0.7);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  position: relative;
  cursor: pointer;
  background-size: 200% 100%;
  background-repeat: repeat-x;
  background-position: 100% 100%;
}

.scf-service-metal-btn:hover {
  background-position: 0% 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.scf-service-metal-btn:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: linear-gradient(to bottom, #f0f0f0 0%, #d0d0d0 100%);
  border-radius: 4px;
  z-index: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 -1px 0 rgba(255,255,255,0.3);
}

.scf-service-metal-btn span {
  position: relative;
  z-index: 2;
  display: block;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(97, 99, 106, 1);
}

.scf-service-metal-btn.active {
  background-size: 200% 100%;
}

/* Card Number Watermark */
.scf-card-content .scf-num {
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-family: 'Oswald', sans-serif;
  font-size: 280px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200,169,104,0.06);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -15px;
  z-index: 0;
}

/* Z-index layers */
.scf-card-icon,
.scf-card-content h3,
.scf-card-content p,
.scf-card-content .scf-price,
.scf-service-metal-btn {
  position: relative;
  z-index: 1;
}

/* Editor Preview Controls */
.scf-editor-preview-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 20px;
  align-items: center;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  padding: 15px 30px;
  border-radius: 50px;
  border: 1px solid #C8A968;
}

.scf-editor-preview-controls button {
  background: #C8A968;
  color: #000;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scf-editor-preview-controls button:hover {
  background: #D4AF37;
  transform: scale(1.1);
}

.scf-card-indicator {
  font-family: 'Oswald', sans-serif;
  color: #C8A968;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  min-width: 60px;
  text-align: center;
}

body.elementor-editor-active .scf-editor-preview-controls {
  display: flex;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .scf-card-content {
    padding: 40px 30px;
  }
  .scf-card-content h3 {
    font-size: 32px;
  }
  .scf-card-content .scf-price {
    font-size: 80px;
  }
  .scf-card-content .scf-num {
    font-size: 180px;
    right: -5px;
    bottom: -10px;
  }
  .scf-service-metal-btn {
    padding: 15px 40px;
    font-size: 13px;
  }
}