/* ============================================
   HosterHouse - Custom UI Enhancements
   Modern, clean, and professional design
   ============================================ */

:root {
  --hh-primary: #6C63FF;
  --hh-primary-dark: #5A52D5;
  --hh-primary-light: #8B85FF;
  --hh-secondary: #FF6B6B;
  --hh-accent: #00D2FF;
  --hh-dark: #1E1E2E;
  --hh-dark-2: #2D2D44;
  --hh-gray-100: #F8F9FE;
  --hh-gray-200: #E8EAF6;
  --hh-gray-300: #C5C7D6;
  --hh-gray-400: #9A9CAF;
  --hh-gradient: linear-gradient(135deg, #6C63FF 0%, #00D2FF 100%);
  --hh-gradient-secondary: linear-gradient(135deg, #FF6B6B 0%, #FFB84D 100%);
  --hh-gradient-card: linear-gradient(145deg, #FFFFFF, #F0F2FF);
  --hh-shadow-sm: 0 2px 8px rgba(108, 99, 255, 0.08);
  --hh-shadow: 0 8px 30px rgba(108, 99, 255, 0.12);
  --hh-shadow-lg: 0 20px 60px rgba(108, 99, 255, 0.15);
  --hh-glass: rgba(255, 255, 255, 0.7);
  --hh-radius: 16px;
  --hh-radius-sm: 10px;
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: var(--hh-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--hh-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.section-header h2 span {
  background: var(--hh-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  color: var(--hh-gray-400);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Modern Cards ---- */
.modern-card {
  background: var(--hh-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(108, 99, 255, 0.1);
  border-radius: var(--hh-radius);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--hh-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hh-shadow-lg);
  border-color: rgba(108, 99, 255, 0.2);
}
.modern-card:hover::before {
  opacity: 1;
}

/* ---- Pricing Cards ---- */
.pricing-card {
  background: #fff;
  border-radius: var(--hh-radius);
  border: 1px solid rgba(108, 99, 255, 0.08) !important;
  box-shadow: var(--hh-shadow-sm) !important;
  padding: 2rem 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--hh-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hh-shadow-lg) !important;
  border-color: rgba(108, 99, 255, 0.2) !important;
}
.pricing-card:hover::before {
  opacity: 1;
}
.pricing-card .package__name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--hh-dark);
  margin-bottom: 0.5rem;
}
.pricing-card .card-plan__desc {
  color: var(--hh-gray-400);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  min-height: 2.5rem;
}
.pricing-card .past-price {
  font-size: 0.9rem;
  color: #dc3545 !important;
  text-decoration: line-through;
}
.pricing-card .offer-given {
  display: inline-block;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 8px;
}
.pricing-card .card-plan__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hh-primary) !important;
  margin: 1rem 0;
}
.pricing-card .card-plan__price sub {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--hh-gray-400);
}
.pricing-card .btn__two {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 24px;
  border-radius: 50px !important;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: var(--hh-gradient) !important;
  color: #fff !important;
  border: none !important;
}
.pricing-card .btn__two:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.35);
}
.pricing-card .card-plan__feature--list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.pricing-card .card-plan__feature--list-item {
  padding: 8px 0;
  border-bottom: 1px solid rgba(108, 99, 255, 0.05);
  font-size: 0.9rem;
  color: #555;
}
.pricing-card .card-plan__feature--list-item:last-child {
  border-bottom: none;
}
.pricing-card .card-plan__feature--list-item i {
  color: var(--hh-primary) !important;
  margin-right: 10px;
  font-size: 0.8rem;
}

/* Popular / Featured Plan */
.pricing-card.featured {
  border-color: var(--hh-primary) !important;
  transform: scale(1.03);
  box-shadow: var(--hh-shadow) !important;
}
.pricing-card.featured::after {
  content: 'POPULAR';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--hh-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 40px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

/* ---- Service Cards ---- */
.service-card {
  background: #fff;
  border-radius: var(--hh-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(108, 99, 255, 0.06);
  box-shadow: var(--hh-shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--hh-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hh-shadow);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card .icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: var(--hh-gray-100);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}
.service-card:hover .icon-wrap {
  background: var(--hh-gradient);
  border-radius: 16px;
}
.service-card:hover .icon-wrap img {
  filter: brightness(10);
}
.service-card .icon-wrap img {
  transition: all 0.4s ease;
}
.service-card .service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hh-dark);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}
.service-card .service-title:hover {
  color: var(--hh-primary);
}
.service-card .description {
  font-size: 0.88rem;
  color: var(--hh-gray-400);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.service-card .service-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hh-gray-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hh-primary);
  text-decoration: none;
  transition: all 0.4s ease;
}
.service-card:hover .service-btn {
  background: var(--hh-gradient);
  color: #fff;
  transform: rotate(-45deg);
}

/* ---- Domain Finder ---- */
.domain-finder-modern {
  background: linear-gradient(135deg, #1E1E2E 0%, #2D2D44 50%, #1E1E2E 100%);
  border-radius: 24px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}
.domain-finder-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.15), transparent 70%);
  border-radius: 50%;
}
.domain-finder-modern::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.1), transparent 70%);
  border-radius: 50%;
}
.domain-finder-modern h3 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.domain-finder-modern .domain-checker {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.domain-finder-modern .domain-checker input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px 0 0 50px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}
.domain-finder-modern .domain-checker input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.domain-finder-modern .domain-checker input:focus {
  border-color: var(--hh-primary);
}
.domain-finder-modern .domain-checker button {
  padding: 16px 32px;
  border: none;
  border-radius: 0 50px 50px 0;
  background: var(--hh-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.domain-finder-modern .domain-checker button:hover {
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.4);
}
.domain-finder-modern .compare {
  text-align: center;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}
.domain-finder-modern .compare ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.domain-finder-modern .compare ul li {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.domain-finder-modern .compare ul li .ext {
  color: var(--hh-accent);
  font-weight: 700;
}

/* ---- Buttons ---- */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--hh-gradient);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(108, 99, 255, 0.35);
  color: #fff;
}
.btn-gradient i {
  transition: transform 0.3s ease;
}
.btn-gradient:hover i {
  transform: translateX(4px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid rgba(108, 99, 255, 0.2);
  color: var(--hh-primary) !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}
.btn-outline:hover {
  background: var(--hh-gradient);
  border-color: transparent;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.25);
}

/* ---- Flash Sale / CTA ---- */
.cta-modern {
  background: linear-gradient(135deg, #1E1E2E 0%, #2D2D44 100%);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.cta-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(108, 99, 255, 0.15), transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(0, 210, 255, 0.1), transparent 50%);
}
.cta-modern .content {
  position: relative;
  z-index: 1;
}
.cta-modern .content .title {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.cta-modern .content .desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 500px;
  line-height: 1.7;
}
.cta-modern .discount-badge {
  background: var(--hh-gradient);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}
.cta-modern .discount-badge .tag {
  font-size: 0.8rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.cta-modern .discount-badge .title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0.25rem 0;
}
.cta-modern .discount-badge .desc {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ---- Support Section ---- */
.support-modern {
  background: linear-gradient(135deg, #F8F9FE 0%, #E8EAF6 100%);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.support-modern h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--hh-dark);
  margin-bottom: 0.75rem;
}
.support-modern p {
  color: var(--hh-gray-400);
  font-size: 1rem;
  line-height: 1.7;
}
.support-modern .feature__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.support-modern .feature__list li {
  padding: 6px 0;
  color: #555;
  font-size: 0.95rem;
}
.support-modern .feature__list li::before {
  content: '✓';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--hh-gradient);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 0.75rem;
  margin-right: 10px;
}

/* ---- Feature Grid ---- */
.feature-grid .feature-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--hh-radius);
  transition: all 0.3s ease;
}
.feature-grid .feature-item:hover {
  background: rgba(108, 99, 255, 0.03);
}
.feature-grid .feature-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}
.feature-grid .feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hh-dark);
  margin-bottom: 0.5rem;
}
.feature-grid .feature-item p {
  font-size: 0.85rem;
  color: var(--hh-gray-400);
  line-height: 1.6;
}

/* ---- Feature Icons (hostfoot) ---- */
.feature-icon-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .feature-icon-group {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
  .feature-icon-group {
    grid-template-columns: repeat(4, 1fr);
  }
}
.feature-icon-item {
  text-align: center;
  padding: 1.5rem 1rem;
  transition: all 0.3s ease;
  border-radius: var(--hh-radius-sm);
  cursor: default;
}
.feature-icon-item:hover {
  background: rgba(108, 99, 255, 0.04);
  transform: translateY(-4px);
}
.feature-icon-item .icon-box {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
}
.feature-icon-item:hover .icon-box {
  border-radius: 12px;
  transform: scale(1.1);
}
.feature-icon-item .icon-box i {
  font-size: 1.3rem !important;
  color: #fff !important;
}
.feature-icon-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hh-dark);
  margin: 0;
}

/* ---- Footer Tweaks ---- */
.rts-footer .widget-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hh-dark);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.rts-footer .widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--hh-gradient);
  border-radius: 2px;
}

/* ---- Animations ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(108, 99, 255, 0); }
}
.float-anim {
  animation: float 3s ease-in-out infinite;
}
.pulse-glow {
  animation: pulse-glow 2s infinite;
}

/* ---- Section Backgrounds ---- */
.section-gradient {
  background: linear-gradient(180deg, #F8F9FE 0%, #FFFFFF 100%);
}
.section-dark {
  background: var(--hh-dark);
  color: #fff;
}

/* ---- Hero Improvements ---- */
.rts-hero-two .title {
  font-size: 2.8rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
.rts-hero-two .title span {
  background: var(--hh-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Cloud Feature Cards ---- */
.cloud-feature {
  background: #fff;
  border-radius: var(--hh-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(108, 99, 255, 0.06);
  box-shadow: var(--hh-shadow-sm);
  transition: all 0.4s ease;
}
.cloud-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--hh-shadow);
  border-color: rgba(108, 99, 255, 0.15);
}
.cloud-feature .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--hh-gray-100);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}
.cloud-feature:hover .icon {
  background: var(--hh-gradient);
  border-radius: 14px;
}
.cloud-feature .icon img {
  transition: all 0.4s ease;
}
.cloud-feature:hover .icon img {
  filter: brightness(10);
}
.cloud-feature .title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hh-dark);
  margin-bottom: 0.5rem;
}
.cloud-feature .description {
  font-size: 0.88rem;
  color: var(--hh-gray-400);
  line-height: 1.6;
}

/* ---- Hosting Feature (page content) ---- */
.hosting-feature-modern ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.hosting-feature-modern ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(108, 99, 255, 0.04);
  border-radius: 10px;
  font-size: 0.9rem;
  color: #555;
  transition: all 0.3s ease;
}
.hosting-feature-modern ul li:hover {
  background: rgba(108, 99, 255, 0.08);
  transform: translateX(4px);
}
.hosting-feature-modern ul li i {
  color: var(--hh-primary);
}

/* ---- Tab Improvements ---- */
.tab-gradient .tab__button {
  display: flex;
  gap: 8px;
  background: var(--hh-gray-100);
  padding: 4px;
  border-radius: 50px;
}
.tab-gradient .tab__button button {
  padding: 10px 28px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: var(--hh-gray-400);
}
.tab-gradient .tab__button button.active {
  background: var(--hh-gradient) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .section-header h2 {
    font-size: 1.8rem;
  }
  .pricing-card.featured {
    transform: none;
  }
  .cta-modern {
    padding: 2rem 1.5rem;
  }
  .cta-modern .content .title {
    font-size: 1.5rem;
  }
  .domain-finder-modern {
    padding: 2rem 1.5rem;
  }
  .domain-finder-modern h3 {
    font-size: 1.4rem;
  }
  .support-modern {
    padding: 2rem 1.5rem;
  }
}
@media (max-width: 575px) {
  .domain-finder-modern .domain-checker {
    flex-direction: column;
    gap: 10px;
  }
  .domain-finder-modern .domain-checker input {
    border-radius: 50px;
  }
  .domain-finder-modern .domain-checker button {
    border-radius: 50px;
  }
  .hosting-feature-modern ul {
    grid-template-columns: 1fr;
  }
}

/* ---- Misc Helper Classes ---- */
.text-gradient {
  background: var(--hh-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-gradient-custom {
  background: var(--hh-gradient);
}
.rounded-custom {
  border-radius: var(--hh-radius);
}
.shadow-custom {
  box-shadow: var(--hh-shadow);
}
