html,body{height:100%;overflow:hidden}body{display:flex;justify-content:center;align-items:center;height:100vh;padding:0;margin:0;background-color:#f5f5f3;position:relative}body::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-image:url("../../images/backgrounds/forest_ghibli.webp");background-size:cover;background-position:center;opacity:0.25;z-index:-1;transition:background-image 0.5s ease}body.real-mode::before{background-image:url("../../images/trees-ghibli.svg")}.theme-toggle{position:fixed;top:20px;right:20px;z-index:100;background-color:rgb(0 0 0 / 70%);border-radius:40px;padding:5px;border:2px solid rgb(255 255 255 / 30%);box-shadow:0 0 15px rgb(0 0 0 / 30%),0 0 5px rgb(255 255 255 / 10%);transition:all 0.3s ease;transform:translateZ(0)}.theme-toggle:hover{border-color:rgb(255 255 255 / 50%);box-shadow:0 0 20px rgb(0 0 0 / 40%),0 0 10px rgb(255 255 255 / 20%)}.theme-toggle button{background-color:rgb(0 0 0 / 80%);border:1px solid rgb(255 255 255 / 30%);border-radius:30px;padding:8px;cursor:pointer;display:flex;align-items:center;width:80px;height:36px;position:relative;transition:all 0.3s ease;overflow:hidden}.theme-toggle button:hover{background-color:rgb(0 0 0 / 70%);transform:translateY(-2px);box-shadow:0 5px 15px rgb(0 0 0 / 30%)}.theme-toggle button:active{transform:translateY(0)}.theme-toggle button .toggle-icon{font-size:20px;position:absolute;transition:all 0.3s ease;z-index:2}.theme-toggle button .ghibli-icon{left:10px;opacity:1;transform:scale(1.2);text-shadow:0 0 10px rgb(255 255 255 / 50%)}.theme-toggle button .real-icon{right:10px;opacity:0.5}.theme-toggle button .toggle-slider{width:28px;height:28px;background-color:#fff;border-radius:50%;position:absolute;left:4px;box-shadow:0 2px 5px rgb(0 0 0 / 20%);transition:transform 0.5s cubic-bezier(0.68,-0.55,0.27,1.55);z-index:1}body.real-mode .theme-toggle button .toggle-slider{transform:translateX(44px)}body.real-mode .theme-toggle button .ghibli-icon{opacity:0.5;transform:scale(1);text-shadow:none}body.real-mode .theme-toggle button .real-icon{opacity:1;transform:scale(1.2);text-shadow:0 0 10px rgb(255 255 255 / 50%)}.theme-toggle .toggle-label{position:absolute;top:42px;left:50%;transform:translateX(-50%);background-color:rgb(0 0 0 / 60%);color:white;padding:4px 8px;border-radius:4px;font-size:12px;opacity:0;transition:opacity 0.3s ease;pointer-events:none;white-space:nowrap}.theme-toggle:hover .toggle-label{opacity:1}.card{width:100%;max-width:500px;max-height:95vh;background-color:#111;border-radius:16px;overflow:hidden;box-shadow:0 10px 30px rgb(0 0 0 / 20%);position:relative;display:flex;flex-direction:column;backface-visibility:hidden;transform:translateZ(0)}.card:hover{transform:translateZ(0);box-shadow:0 10px 30px rgb(0 0 0 / 20%)}.card-image{width:100%;height:280px;position:relative;overflow:hidden;flex-shrink:0}.card-image img{width:100%;height:100%;object-fit:cover;transition:all 0.5s ease}.card-content{padding:15px;color:white;flex-grow:1;display:flex;flex-direction:column}.card-title{font-size:32px;font-weight:600;margin-bottom:12px;line-height:1.2;color:#fff;text-shadow:0 2px 4px rgb(0 0 0 / 30%)}.card-description{font-size:16px;color:#ccc;margin-bottom:20px;font-weight:400}.profile-section{display:flex;align-items:center;margin-bottom:20px}.profile-image{width:50px;height:50px;border-radius:50%;overflow:hidden;margin-right:15px}.profile-image img{width:100%;height:100%;object-fit:cover}.profile-info{display:flex;flex-direction:column}.profile-tagline{font-size:13px;color:#999;font-weight:400}.card-footer{display:flex;justify-content:space-between;padding:12px 15px;border-top:1px solid rgb(255 255 255 / 10%);color:#aaa;font-size:13px;flex-shrink:0}.brand{font-weight:400}.services{display:flex;gap:10px}.services span{position:relative}.services span:not(:last-child)::after{content:"+";position:absolute;right:-8px;color:#555}.nav-buttons .btn{flex:1;text-align:center;padding:12px 16px;font-size:15px}@media (height <= 600px){.card-image{height:150px}.card-content{padding:12px}.card-title{font-size:20px;margin-bottom:8px}.card-description{margin-bottom:10px}.card-footer{padding:10px 12px}}@media (width <= 420px){.card-content>div:last-child{gap:3px}}@media (width <= 480px){body{padding:10px}.card{max-height:calc(100vh - 20px);margin:0 auto;width:calc(100% - 20px)}.card-image{height:200px}.card-content{padding:20px}.card-title{font-size:32px;margin-bottom:10px}.card-description{font-size:15px;margin-bottom:16px}.nav-buttons{display:flex !important;gap:8px !important}.cta-button,.btn{width:100%;white-space:nowrap;padding:12px 8px;font-size:14px}.profile-section{margin-bottom:16px}.profile-image{width:45px;height:45px;margin-right:12px}.profile-info p{font-size:15px}.profile-tagline{font-size:13px}.card-footer{padding:10px 20px;font-size:12px}.services{gap:8px}.services span:not(:last-child)::after{right:-6px}.theme-toggle{top:10px;right:10px}.theme-toggle button{width:70px;height:44px}.theme-toggle button .toggle-slider{width:36px;height:36px}body.real-mode .theme-toggle button .toggle-slider{transform:translateX(30px)}}

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

/* Data Management Section */
.data-management-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.delete-data-btn {
  background: rgb(244 67 54 / 10%);
  border: 2px solid rgb(244 67 54 / 30%);
  color: #ff6b6b;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.delete-data-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgb(244 67 54 / 20%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

/* Only apply hover effects on devices that support hover */
@media (hover: hover) {
  .delete-data-btn:hover::before {
    width: 300px;
    height: 300px;
  }

  .delete-data-btn:not(.success):hover {
    background: rgb(244 67 54 / 15%);
    border-color: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgb(244 67 54 / 30%);
  }
}

.delete-data-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgb(244 67 54 / 30%);
}

/* Remove active state effects when success */
.delete-data-btn.success:active {
  transform: none;
  box-shadow: none;
}

.delete-icon {
  font-size: 18px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.delete-text {
  position: relative;
  z-index: 1;
}

@media (hover: hover) {
  .delete-data-btn:not(.success):hover .delete-icon {
    transform: rotate(-10deg) scale(1.1);
  }
}

.delete-data-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

@media (hover: hover) {
  .delete-data-btn:disabled:hover {
    background: rgb(244 67 54 / 10%);
    border-color: rgb(244 67 54 / 30%);
    transform: none;
    box-shadow: none;
  }
}

/* Success state */
.delete-data-btn.success {
  background: rgb(76 175 80 / 10%);
  border-color: rgb(76 175 80 / 30%);
  color: #4caf50;
  overflow: visible;
}

/* Ensure spans in success state are flex-compatible */
.delete-data-btn.success .delete-icon,
.delete-data-btn.success .delete-text {
  display: inline-block;
  flex-shrink: 0;
}

/* Dots animation for success state */
.dots-container {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  visibility: visible !important;
  opacity: 1 !important;
  min-width: 26px; /* Ensure minimum width for 3 dots */
}

.dot {
  width: 6px !important;
  height: 6px !important;
  background: #4caf50 !important;
  border-radius: 50%;
  display: block !important;
  opacity: 1;
  transition: opacity 0.5s ease;
  flex-shrink: 0;
  visibility: visible !important;
  position: relative;
  z-index: 10;
}

.dot.fade {
  opacity: 0;
}

@media (hover: hover) {
  .delete-data-btn.success:hover {
    background: rgb(76 175 80 / 15%);
    border-color: #4caf50;
    box-shadow: 0 5px 20px rgb(76 175 80 / 30%);
  }
}

/* Dev Preview Button */
.dev-preview-btn {
  background: rgb(156 39 176 / 10%);
  border: 2px solid rgb(156 39 176 / 30%);
  color: #ba68c8;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-decoration: none;
}

.dev-preview-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgb(156 39 176 / 20%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.dev-preview-icon {
  font-size: 18px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.dev-preview-text {
  position: relative;
  z-index: 1;
}

/* Data Center Button */
.data-center-btn {
  background: rgb(33 150 243 / 10%);
  border: 2px solid rgb(33 150 243 / 30%);
  color: #42a5f5;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-decoration: none;
}

.data-center-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgb(33 150 243 / 20%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

/* Only apply hover effects on devices that support hover */
@media (hover: hover) {
  .dev-preview-btn:hover::before {
    width: 300px;
    height: 300px;
  }

  .dev-preview-btn:hover {
    background: rgb(156 39 176 / 15%);
    border-color: #ba68c8;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgb(156 39 176 / 30%);
  }

  .dev-preview-btn:hover .dev-preview-icon {
    transform: scale(1.1);
  }

  .data-center-btn:hover::before {
    width: 300px;
    height: 300px;
  }

  .data-center-btn:hover {
    background: rgb(33 150 243 / 15%);
    border-color: #42a5f5;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgb(33 150 243 / 30%);
  }

  .data-center-btn:hover .data-center-icon {
    transform: scale(1.1);
  }
}

.dev-preview-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgb(156 39 176 / 30%);
}

.data-center-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgb(33 150 243 / 30%);
}

.data-center-icon {
  font-size: 18px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.data-center-text {
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .dev-preview-btn,
  .data-center-btn,
  .delete-data-btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

  .data-management-section {
    gap: 8px;
  }

  /* Ensure success state displays properly on mobile */
  .delete-data-btn.success {
    padding: 12px 16px;
    font-size: 13px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .delete-data-btn.success .delete-icon,
  .delete-data-btn.success .delete-text,
  .delete-data-btn.success .dots-container {
    display: inline-flex !important;
    flex-shrink: 0;
  }

  .dots-container {
    margin-left: 6px;
  }
}

/* Header title styles (replacing inline) */
.header-title {
  font-size: 18px;
  font-weight: 500;
}

/* Mobile viewport centering fix (replacing inline style tag) */
@media (max-width: 480px) {

  /* Fix mobile viewport centering */
  body {
    height: 100vh !important;
    height: 100dvh !important; /* Dynamic viewport height */
    padding-top: 80px !important;
    padding-bottom: 20px !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
  }

  .card {
    margin-top: 20px !important;
  }
}