/* ✅ TRUSTEDHOSTING.IN - Alpha Reseller Hosting CSS - FULLY RESPONSIVE */
:root {
  --blue1: #007bff;
  --blue2: #005ce6;
  --text: #0a1633;
}

#alpha-reseller-hero {
  position: relative;
  padding: 130px 0 120px;
  background: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-family: 'Inter', sans-serif;
}

/* Background animation grid + glows */
.alpha-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(90deg, rgba(0, 92, 230, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 92, 230, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
  z-index: 0;
}

@keyframes gridMove {
  from { background-position: 0 0, 0 0; }
  to { background-position: 80px 80px, 80px 80px; }
}

.alpha-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(0, 123, 255, 0.14), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

/* Layout */
.alpha-wrap {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(15px, 4vw, 30px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(30px, 6vw, 80px);
  flex-wrap: wrap;
}

/* Left Column */
.alpha-left {
  flex: 1 1 min(560px, 100%);
  animation: fadeInLeft 1.2s ease both;
}

.alpha-kicker {
  display: inline-block;
  background: linear-gradient(90deg, var(--blue2), var(--blue1));
  color: #fff;
  font-size: clamp(11px, 2vw, 13px);
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: clamp(6px, 1vw, 8px) clamp(10px, 2vw, 14px);
  border-radius: 10px;
  text-transform: uppercase;
}

.alpha-title {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin: clamp(15px, 2vw, 22px) 0 10px;
}

.alpha-offer {
  background: linear-gradient(90deg, #0066ff, #0047cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s ease-in-out infinite;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.5px;
  display: inline-block;
  margin-top: 5px;
}

@keyframes pulse {
  0% { 
    opacity: 1;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
  }
  50% { 
    opacity: 1;
    text-shadow: 0 0 25px rgba(0, 102, 255, 0.6);
  }
  100% { 
    opacity: 1;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
  }
}

.alpha-desc {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7;
  color: #333;
  margin-bottom: clamp(25px, 3vw, 35px);
  max-width: 95%;
}

/* Feature list */
.alpha-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(12px, 2vw, 16px) clamp(30px, 4vw, 60px);
  margin-bottom: clamp(30px, 3vw, 45px);
}

.alpha-features div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
  font-size: clamp(14px, 1.5vw, 15px);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 1s ease forwards;
}

.alpha-features div:nth-child(1) { animation-delay: .2s; }
.alpha-features div:nth-child(2) { animation-delay: .35s; }
.alpha-features div:nth-child(3) { animation-delay: .5s; }
.alpha-features div:nth-child(4) { animation-delay: .65s; }

.alpha-features img {
  width: clamp(16px, 2vw, 18px);
  height: clamp(16px, 2vw, 18px);
  filter: brightness(0) saturate(100%) invert(34%) sepia(100%) saturate(5121%) hue-rotate(204deg) brightness(96%) contrast(98%);
  flex-shrink: 0;
}

/* CTA - UPDATED WITH SHINY BUTTON EFFECT */
.alpha-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
}

.alpha-btn {
  background: linear-gradient(90deg, var(--blue1), var(--blue2));
  color: #ffffff !important; /* Pure white text */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); /* Subtle text shadow for better readability */
  padding: clamp(11px, 2vw, 13px) clamp(28px, 4vw, 38px);
  border-radius: 12px;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 15px);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 102, 255, 0.25);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-align: center;
  border: none;
  outline: none;
  cursor: pointer;
  
  /* Shine effect overlay */
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent
    );
    transition: left 0.7s ease;
    z-index: 1;
  }
  
  /* Inner gradient for depth */
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.05) 51%,
      rgba(0, 0, 0, 0) 100%
    );
    border-radius: 12px;
    z-index: 0;
  }
  
  /* Text wrapper to ensure it stays above effects */
  span {
    position: relative;
    z-index: 2;
    display: block;
    color: #ffffff !important;
  }
}

.alpha-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 102, 255, 0.35);
  
  /* Activate shine effect on hover */
  &::before {
    left: 100%;
  }
}

.alpha-btn:active {
  transform: translateY(0px);
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.25);
}

/* Timer styles */
.alpha-timer-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(8px, 1.5vw, 12px);
}

.trusted-timer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(8px, 1.5vw, 10px) clamp(14px, 2.5vw, 18px);
  border: 2px solid #0a5cff;
  border-radius: 12px;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 2vw, 16px);
  color: #0a5cff;
  letter-spacing: 1px;
  min-width: clamp(140px, 20vw, 160px);
}

.trusted-timer-pill span {
  min-width: 22px;
  text-align: center;
}

.timer-sep {
  color: #0a5cff;
  font-weight: 700;
}

.alpha-timer-label {
  font-size: clamp(13px, 1.5vw, 14px);
  font-weight: 600;
  color: #0a1633;
  margin-right: clamp(5px, 1vw, 10px);
}

/* Right section with image */
.alpha-right {
  flex: 1 1 min(520px, 100%);
  position: relative;
  animation: fadeInRight 1.2s ease both;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alpha-panel-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  display: block;
}

/* Animations */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .alpha-wrap {
    gap: clamp(40px, 5vw, 60px);
  }
  
  .alpha-title {
    font-size: clamp(36px, 4vw, 42px);
  }
  
  .alpha-offer {
    font-size: clamp(24px, 2.5vw, 28px);
  }
}

@media (max-width: 992px) {
  #alpha-reseller-hero {
    padding: clamp(80px, 10vw, 100px) 0 clamp(60px, 8vw, 80px);
  }
  
  .alpha-wrap {
    flex-direction: column;
    gap: clamp(40px, 6vw, 50px);
  }
  
  .alpha-left, .alpha-right {
    flex-basis: 100%;
    width: 100%;
  }
  
  .alpha-title {
    font-size: clamp(34px, 5vw, 38px);
  }
  
  .alpha-desc {
    max-width: 100%;
  }
  
  .alpha-panel-image {
    max-width: 90%;
    margin: 0 auto;
  }
  
  .alpha-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #alpha-reseller-hero {
    padding: clamp(70px, 8vw, 85px) 0 clamp(50px, 6vw, 65px);
  }
  
  .alpha-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .alpha-cta {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  .alpha-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .alpha-timer-container {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .alpha-glow {
    width: clamp(400px, 80vw, 600px);
    height: clamp(400px, 80vw, 600px);
  }
}

@media (max-width: 576px) {
  .alpha-title {
    font-size: clamp(28px, 6vw, 32px);
  }
  
  .alpha-offer {
    font-size: clamp(20px, 4vw, 24px);
  }
  
  .alpha-desc {
    font-size: 15px;
  }
  
  .trusted-timer-pill {
    min-width: 140px;
    font-size: 14px;
  }
  
  .alpha-bg {
    background-size: 30px 30px;
  }
  
  @keyframes gridMove {
    from { background-position: 0 0, 0 0; }
    to { background-position: 60px 60px, 60px 60px; }
  }
  
  /* Adjust button shine for mobile */
  .alpha-btn::before {
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
  }
}

@media (max-width: 480px) {
  #alpha-reseller-hero {
    padding: 60px 0 50px;
  }
  
  .alpha-wrap {
    padding: 0 15px;
  }
  
  .alpha-title {
    font-size: 26px;
  }
  
  .alpha-offer {
    font-size: 18px;
  }
  
  .alpha-features div {
    font-size: 14px;
  }
  
  .alpha-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .trusted-timer-pill {
    padding: 8px 14px;
    min-width: 130px;
    font-size: 13px;
  }
  
  .alpha-glow {
    width: 300px;
    height: 300px;
    filter: blur(40px);
  }
}

@media (max-width: 360px) {
  .alpha-title {
    font-size: 24px;
  }
  
  .alpha-offer {
    font-size: 16px;
  }
  
  .trusted-timer-pill {
    min-width: 120px;
    font-size: 12px;
  }
  
  .alpha-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* Orientation-specific adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  #alpha-reseller-hero {
    padding: 80px 0 60px;
  }
  
  .alpha-wrap {
    flex-direction: row;
    gap: 40px;
  }
  
  .alpha-left, .alpha-right {
    flex-basis: calc(50% - 20px);
  }
  
  .alpha-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* High-density screens */
@media (min-resolution: 192dpi) {
  .alpha-bg {
    background-size: 30px 30px;
  }
  
  @keyframes gridMove {
    from { background-position: 0 0, 0 0; }
    to { background-position: 60px 60px, 60px 60px; }
  }
}

/* Print styles */
@media print {
  #alpha-reseller-hero {
    padding: 50px 0;
  }
  
  .alpha-bg, .alpha-glow {
    display: none;
  }
  
  .alpha-btn {
    box-shadow: none;
    border: 1px solid var(--blue1);
    color: #000000 !important;
  }
  
  /* Disable shine effect for printing */
  .alpha-btn::before,
  .alpha-btn::after {
    display: none;
  }
}

/* ===================================================
   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;
    }
}
