/* ✅ TRUSTEDHOSTING.IN - Managed cPanel VPS Hosting Hero (v17.0)
   • Slightly wider terminal
   • Fixed height viewport
   • Auto scroll inside
   • Fully responsive, crash-proof */

/* SECTION */
.trustedhosting-vps-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 120px 0;
  font-family: 'Inter', sans-serif;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* CONTAINER */
.vps-container {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  padding: 0 40px;
  flex-wrap: nowrap;
}

/* LEFT SIDE */
.vps-left {
  flex: 1;
  color: #0b1b2a;
  min-width: 320px;
}

.vps-badge {
  display: inline-block;
  background: linear-gradient(90deg, #007bff, #0056d2);
  color: #fff;
  padding: 8px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.25);
}

.vps-left h1 {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 10px;
}

.vps-left h1 span { color: #0056d2; }

.vps-left h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 18px;
}

.vps-left p {
  max-width: 620px;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* FEATURES GRID */
.vps-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  column-gap: 55px;
  row-gap: 14px;
  margin-bottom: 25px;
}

.vps-features div {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #0b1b2a;
  font-size: 14px;
  line-height: 1.6;
  transition: all 0.2s ease;
}

.vps-features img {
  width: 15px;
  height: 15px;
  margin-right: 10px;
}

/* PRICING */
.vps-pricing {
  font-size: 20px;
  font-weight: 800;
  margin: 26px 0 8px;
  color: #0b1b2a;
}

.vps-warning {
  color: #b80000;
  font-weight: 800;
  margin-bottom: 30px;
}

/* BUTTONS */
.vps-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* PRIMARY BUTTON (shine) */
.vps-btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #007bff, #0056d2);
  color: #fff;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.25);
  transition: all 0.3s ease;
  z-index: 1;
}

.vps-btn-primary:hover {
  color: #fff;
  background: linear-gradient(90deg, #0066e3, #004bcc);
}

.vps-btn-primary::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);
  animation: shine 5s infinite;
}

@keyframes shine {
  0% { left: -75%; }
  40% { left: 125%; }
  100% { left: 125%; }
}

/* OUTLINE BUTTON */
.vps-btn-outline {
  border: 2px solid rgba(0, 0, 0, 0.08);
  color: #0056d2;
  font-weight: 800;
  padding: 13px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s;
}

.vps-btn-outline:hover { border-color: #0056d2; }

/* SECURITY LINE */
.vps-security {
  margin-top: 18px;
  color: #0a9c29;
  font-weight: 800;
  font-size: 14px;
}

/* ===========================================================
   TERMINAL (Wider + Fixed Viewport)
   =========================================================== */
.vps-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vps-terminal {
  width: 520px; /* Increased from 470px */
  height: 320px;
  background: #0a0f16;
  border-radius: 10px;
  border: 1px solid rgba(0, 123, 255, 0.25);
  box-shadow: 0 0 65px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* HEADER */
.terminal-header {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  background: #151b22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

.terminal-header .red { background: #ff5f56; }
.terminal-header .yellow { background: #ffbd2e; }
.terminal-header .green { background: #27c93f; }

.terminal-header span {
  color: #aaa;
  font-size: 13px;
  margin-left: auto;
  margin-right: auto;
}

/* BODY */
.terminal-body {
  font-family: monospace;
  color: #00ff9d;
  font-size: 14px;
  line-height: 1.6;
  padding: 16px 20px;
  flex: 1;
  overflow-y: auto;
  text-align: left;
  background: #05080c;
  white-space: pre-wrap;
  word-wrap: break-word;
  width: 100%;
  box-sizing: border-box;
}

.terminal-body::-webkit-scrollbar {
  width: 6px;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 157, 0.3);
  border-radius: 3px;
}

/* Cursor */
.cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: #00ff9d;
  animation: blink 1s infinite;
  margin-left: 2px;
  vertical-align: text-bottom;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ===========================================================
   RESPONSIVE FIXES
   =========================================================== */
@media (max-width: 1200px) {
  .vps-terminal { width: 490px; height: 300px; }
}

@media (max-width: 992px) {
  .vps-container { gap: 40px; padding: 0 30px; }
  .vps-left h1 { font-size: 38px; }
  .vps-terminal { width: 450px; height: 290px; }
}

@media (max-width: 768px) {
  .trustedhosting-vps-hero { padding: 90px 0; }
  .vps-container {
    flex-direction: column;
    text-align: center;
    gap: 50px;
    padding: 0 25px;
  }
  .vps-left h1 { font-size: 33px; }
  .vps-left h2 { font-size: 18px; }
  .vps-features {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto 25px;
    text-align: left;
  }
  .vps-terminal {
    width: 100%;
    max-width: 440px;
    height: 280px;
  }
  .terminal-body {
    font-size: 13px;
    padding: 14px 16px;
  }
}

@media (max-width: 400px) {
  .vps-left h1 { font-size: 26px; }
  .vps-terminal { height: 250px; }
  .terminal-body { font-size: 12px; }
}
