/* ✅ TRUSTEDHOSTING.IN - Lifetime Reseller Hosting (v34.2 - Button Visibility Fix + Perfect Center Alignment) */

.trustedhosting-lifetime-reseller-hosting {
  font-family: 'Inter', sans-serif;
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.trustedhosting-lifetime-reseller-hosting-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: 0;
}

.trustedhosting-lifetime-reseller-hosting-sweep {
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: sweepmove 6s infinite ease-in-out;
  z-index: 1;
}

@keyframes sweepmove {
  0% { left: -70% }
  50% { left: 120% }
  100% { left: 120% }
}

.trustedhosting-lifetime-reseller-hosting-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  align-items: center;
  padding: 0 40px;
}

.trustedhosting-lifetime-reseller-hosting-badge {
  display: inline-block;
  background: linear-gradient(90deg, #007bff, #0056d2);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 22px;
}

.trustedhosting-lifetime-reseller-hosting-title {
  font-size: 36px;
  font-weight: 800;
  color: #000;
  margin-bottom: 12px;
}
.trustedhosting-lifetime-reseller-hosting-title span { color: #007bff }
.trustedhosting-lifetime-reseller-hosting-subtitle { font-size: 15px; color: #555; max-width: 550px; margin-bottom: 20px; }
.trustedhosting-lifetime-reseller-hosting-highlights { color: #444; font-size: 13px; font-weight: 500; margin-bottom: 25px; }

.trustedhosting-lifetime-reseller-hosting-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  column-gap: 40px;
  row-gap: 14px;
  margin-bottom: 35px;
  max-width: 600px;
}
.trustedhosting-lifetime-reseller-hosting-feature-grid div { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #111; }
.trustedhosting-lifetime-reseller-hosting-feature-grid img { width: 18px; height: 18px; }

.trustedhosting-lifetime-reseller-hosting-price { font-size: 28px; font-weight: 800; color: #000; margin-bottom: 20px; }

/* ✅ Fixed Get Started Button (always visible text) */
.trustedhosting-lifetime-reseller-hosting-btn-primary {
  background: linear-gradient(90deg, #007bff, #0056d2);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  padding: 12px 30px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 123, 255, .15);
  display: inline-block;
}

.trustedhosting-lifetime-reseller-hosting-btn-primary:hover,
.trustedhosting-lifetime-reseller-hosting-btn-primary:focus,
.trustedhosting-lifetime-reseller-hosting-btn-primary:active {
  color: #fff !important;
  background: linear-gradient(90deg, #0066ff, #0044cc);
  box-shadow: 0 0 20px rgba(0, 123, 255, .35);
  transform: translateY(-2px);
  text-shadow: 0 0 4px rgba(255, 255, 255, .4);
}

.trustedhosting-lifetime-reseller-hosting-btn-primary:focus {
  outline: none;
  border: none;
}

/* Shine Effect */
.trustedhosting-lifetime-reseller-hosting-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: all .5s ease;
}
.trustedhosting-lifetime-reseller-hosting-btn-primary:hover::before {
  left: 120%;
}

.trustedhosting-lifetime-reseller-hosting-trust {
  font-size: 12.5px;
  color: #008f39;
  font-weight: 600;
  margin-top: 18px;
}

.trustedhosting-lifetime-reseller-hosting-deal-box {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  border-radius: 18px;
  padding: 45px 35px;
  max-width: 380px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

.deal-active {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 11px;
  background: #00b86b;
  color: #fff;
  padding: 4px 9px;
  border-radius: 5px;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  animation: blink 2s infinite;
  z-index: 3;
}

@keyframes blink {
  0%, 100% { opacity: 1 }
  50% { opacity: .5 }
}

/* ✅ Perfectly Centered Deal Header */
.deal-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  color: #0056d2;
  font-size: 15px;
  margin: 14px auto 18px auto;
  text-align: center;
  white-space: nowrap;
}
.deal-header i {
  display: inline-block;
  transform: translateY(1px);
  line-height: 1;
}

.deal-timer {
  font-weight: 800;
  font-size: 36px;
  letter-spacing: 2px;
  color: #007bff;
  border: 2px solid rgba(0, 123, 255, .2);
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(0, 123, 255, .15);
}

.deal-save {
  font-size: 20px;
  font-weight: 700;
  color: #0a9c29;
  margin-bottom: 16px;
}
.deal-save span { color: #007bff; }

.deal-benefits {
  display: grid;
  gap: 8px;
  margin-bottom: 25px;
  text-align: left;
}
.deal-benefits div {
  font-size: 13px;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.deal-benefits i { color: #007bff; }

/* Since 2021 Badge Bar */
.deal-basebar {
  background: linear-gradient(90deg, #007bff, #00bfff, #007bff);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 123, 255, .2);
  padding: 12px 10px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}
.deal-basebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 100%);
  animation: shinebar 5s infinite linear;
}
@keyframes shinebar {
  0% { left: -80% }
  50% { left: 130% }
  100% { left: 130% }
}
.deal-basebar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-shadow: 0 0 4px rgba(0, 0, 0, .3);
}

.deal-ribbon {
  position: absolute;
  top: 55px;
  right: -52px;
  background: linear-gradient(90deg, #007bff, #0056d2);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 70px;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
  letter-spacing: .5px;
  z-index: 3;
}

@media (max-width: 992px) {
  .trustedhosting-lifetime-reseller-hosting-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }
  .trustedhosting-lifetime-reseller-hosting-left { text-align: center; }
  .trustedhosting-lifetime-reseller-hosting-feature-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .deal-header {
    font-size: 14px;
    gap: 6px;
    margin: 12px auto 14px auto;
  }
  .deal-header i { transform: translateY(0.5px); }
}


/* ===================================================
   TRUSTEDHOSTING CALLBACK SECTION
   Fully Independent – No Hero Interference
   Responsive, Scoped, Production Safe
=================================================== */

/* ---------- SECTION RESET & ISOLATION ---------- */
.th-callback-section {
    background: #f8fbff;
    margin: 0 !important;
    padding: 32px 16px 48px !important;
    border-top: 1px solid #e6eefc;
    position: relative;
    clear: both;
}

/* Ensure clean separation when placed after hero */
.trustedhosting_master_reseller_type1 + .th-callback-section {
    margin-top: 0 !important;
}

/* Prevent margin collapse from children */
.th-callback-section::before {
    content: "";
    display: table;
}

/* ---------- CONTAINER ---------- */
.th-callback-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

/* ---------- TEXT ---------- */
.th-callback-text h3 {
    margin: 0 0 6px 0 !important;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    color: #0b1c3f;
}

.th-callback-text p {
    margin: 0 !important;
    font-size: 14px;
    color: #5f6b85;
    min-height: 20px;
}

/* Typing cursor */
.th-callback-typing::after {
    content: "|";
    margin-left: 4px;
    animation: th-callback-blink 1s infinite;
}

@keyframes th-callback-blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

/* ---------- FORM ---------- */
.th-callback-form {
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
    align-items: center;
}

.th-callback-form input {
    height: 44px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid #d6e2ff;
    font-size: 14px;
    width: clamp(160px, 18vw, 220px);
}

.th-callback-form input:focus {
    border-color: #0d6efd;
    outline: none;
}

/* ---------- BUTTON ---------- */
.th-callback-btn {
    position: relative;
    height: 44px;
    padding: 0 clamp(18px, 3vw, 26px);
    border-radius: 6px;
    border: none;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}

/* Shine effect */
.th-callback-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
}

.th-callback-btn:hover::before {
    animation: th-callback-shine 0.9s ease-in-out;
}

@keyframes th-callback-shine {
    from { left: -75%; }
    to   { left: 125%; }
}

/* ---------- SUCCESS MESSAGE ---------- */
.th-callback-success {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    background: #e6f4ea;
    color: #146c43;
    border: 1px solid #b7e1c3;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* ---------- ERROR MESSAGE ---------- */
.th-callback-error {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    background: #fdecea;
    color: #842029;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    font-size: 14px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .th-callback-container {
        grid-template-columns: 1fr;
    }

    .th-callback-form {
        grid-auto-flow: row;
        width: 100%;
    }

    .th-callback-form input,
    .th-callback-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .th-callback-section {
        padding: 28px 14px 40px !important;
    }

    .th-callback-form input,
    .th-callback-btn {
        height: 42px;
    }
}
