

/* === FIX LOGO SIZE & HEADER PREMIUM ALIGN === */
.vps-logo img {
  height: 52px !important;
  max-height: none !important;
  width: auto;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.vps-logo img:hover {
  transform: scale(1.08);
  opacity: 0.95;
}

/* Centrare perfectă a elementelor verticale */
.vps-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px; /* puțin mai înalt pentru aspect "premium" */
}

/* Meniu echilibrat */
.vps-menu a {
  font-size: 16px;
  font-weight: 500;
}

/* Butoane ajustate vizual */
.btn-login {
  padding: 10px 24px;
  font-size: 15px;
}
.btn-secondary {
  padding: 9px 22px;
  font-size: 15px;
}

/* Icon cart modernizat */
.icon-btn i {
  font-size: 20px;
}
.icon-btn:hover i {
  transform: scale(1.15);
  color: #d6001c;
}

/* === MOBILE IMPROVEMENTS === */
@media (max-width: 768px) {
  .vps-logo img {
    height: 45px !important;
  }
  .btn-login, .btn-secondary {
    font-size: 14px;
    padding: 8px 18px;
  }
}


/* === HERO SECTION === */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  background: radial-gradient(circle at 20% 30%, #0a0a14, #101022, #0a0a0f);
  background-image: url('https://cdn.hetzner.com/assets/Uploads/ex63-stageteaser_big.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-content {
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}
.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}
.hero-content p {
  font-size: 18px;
  margin-bottom: 25px;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.btn-primary {
  background: #d6001c;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 23px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}
.btn-outline:hover, .btn-primary:hover {
  opacity: 0.85;
}

/* === PRODUCTS === */
.products {
  background: #f8f8fa;
  padding: 80px 0;
  text-align: center;
}
.products h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 40px 25px;
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
}
.product-card .icon {
  font-size: 40px;
  color: #d6001c;
  margin-bottom: 20px;
}

/* === PROMO === */
.promo {
  background: linear-gradient(90deg, #d6001c, #9b0015);
  color: #fff;
  padding: 60px 0;
}
.promo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.promo-text h2 {
  font-size: 32px;
  font-weight: 700;
}
.promo-text p {
  margin-bottom: 15px;
}
.btn-white {
  background: #fff;
  color: #d6001c;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.promo-timer {
  font-size: 20px;
  text-align: center;
}

/* === NEWS === */
.news {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}
.news h2 {
  font-size: 30px;
  margin-bottom: 40px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}
.news-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.link-more {
  color: #d6001c;
  font-weight: 600;
  text-decoration: none;
}

/* === AWARDS === */
.awards {
  background: #f8f8fa;
  padding: 80px 0;
  text-align: center;
}
.awards-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}
.awards-grid img {
  height: 60px;
  filter: grayscale(0.2);
  opacity: 0.9;
  transition: all 0.3s ease;
}
.awards-grid img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* === SECTION CLIP EFFECT (Hetzner Style) === */

/* alb peste fundal colorat */
.section-divider-light {
  position: relative;
  overflow: hidden;
}
.section-divider-light::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #f4f4f4;
  clip-path: polygon(0 0, 15px 100%, calc(100% - 15px) 100%, 100% 0);
  z-index: 2;
}

/* roșu peste alb */
.section-divider-red {
  position: relative;
  overflow: hidden;
}
.section-divider-red::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(90deg, #d6001c, #a80017);
  clip-path: polygon(0 0, 15px 100%, calc(100% - 15px) 100%, 100% 0);
  z-index: 2;
}

/* gri închis peste roșu */
.section-divider-dark {
  position: relative;
  overflow: hidden;
}
.section-divider-dark::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #101022;
  clip-path: polygon(0 0, 15px 100%, calc(100% - 15px) 100%, 100% 0);
  z-index: 2;
}

/* === DASHBOARD === */
.dashboard-wrapper {
  max-width: 1300px;
  margin: 40px auto 80px;
  padding: 0 25px;
}

/* HEADER */
.dashboard-header {
  text-align: center;
  margin-bottom: 40px;
}
.dashboard-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1b1b1f;
}
.dashboard-header p {
  color: #555;
  margin-top: 8px;
}

/* CARDURI STATUS */
.status-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.status-card {
  background: #fff;
  text-align: center;
  border-radius: 14px;
  padding: 28px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}
.status-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.status-card i {
  font-size: 28px;
  color: #d6001c;
  margin-bottom: 10px;
}
.status-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 5px 0;
}
.status-card p {
  color: #555;
  font-size: 14px;
}

/* SEARCH BAR */
.kb-search {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  margin: 0 auto 60px;
  position: relative;
}
.kb-search input {
  width: 100%;
  border-radius: 8px;
  padding: 12px 45px 12px 15px;
  border: 1px solid #ccc;
  font-size: 15px;
}
.kb-search button {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  color: #d6001c;
  cursor: pointer;
}

/* PANELURI WHMCS */
.panel-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 25px;
  padding: 20px;
}
.panel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.panel-card-header h3 {
  font-size: 18px;
  color: #1b1b1f;
  display: flex;
  align-items: center;
  gap: 6px;
}
.panel-card-header i {
  color: #d6001c;
}
.btn-small {
  background: #d6001c;
  color: #fff;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
}
.btn-small:hover {
  background: #b40017;
}
.panel-card-body {
  color: #555;
  font-size: 14px;
}
.panel-card-list a, .panel-card-list span {
  display: block;
  padding: 8px 0;
  color: #1b1b1f;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.25s;
}
.panel-card-list a:hover {
  color: #d6001c;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .dashboard-header h1 { font-size: 22px; }
  .status-card h3 { font-size: 22px; }
}

/* === SIDEBAR MODERN === */
.sidebar-modern {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.sidebar-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}
.sidebar-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

/* Header */
.sidebar-box-header {
  background: #f6f6f6;
  padding: 12px 16px;
  font-weight: 600;
  color: #1b1b1f;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #eee;
}
.sidebar-box-header i {
  color: #d6001c;
}

/* Conținut */
.sidebar-box-content {
  padding: 14px 18px;
}
.sidebar-box-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-box-content li {
  margin-bottom: 10px;
}
.sidebar-box-content a {
  color: #1b1b1f;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  padding: 6px 0;
  border-radius: 6px;
  transition: all 0.25s ease;
}
.sidebar-box-content a:hover {
  color: #d6001c;
}
.sidebar-box-content a.active {
  color: #fff;
  background: #d6001c;
  padding: 6px 10px;
}
.sidebar-box-content a.active i {
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .sidebar-modern {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-box {
    flex: 1 1 45%;
  }
}

/* === FOOTER FINAL === */
.site-footer {
  background: #0d0f12;
  color: #ccc;
  font-size: 14px;
  padding-top: 60px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col p {
  color: #bbb;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-col ul li a:hover {
  color: #d6001c;
}

/* Contact + iconițe */
.contact-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #bbb;
}

.contact-info i {
  color: #d6001c;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  color: #ccc;
  font-size: 17px;
  margin-right: 12px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #d6001c;
}

/* Bara inferioară */
.footer-bottom {
  background: #0a0b0d;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0 25px;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-legal p {
  color: #999;
  margin: 0;
  font-size: 13px;
}

.footer-legal img {
  height: 40px;
  margin-left: 10px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.footer-legal img:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    text-align: center;
  }
  .footer-legal {
    flex-direction: column;
    text-align: center;
  }
  .contact-info {
    justify-content: center;
  }
}

/* === PRODUCT DETAILS MODERN === */
.product-details {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}
.product-status {
  background: linear-gradient(135deg, #f7f7f7, #ffffff);
  border-radius: 10px;
  text-align: center;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid #eee;
}
.product-status .fa-stack {
  color: #d6001c;
  margin-bottom: 10px;
}
.product-status-text {
  font-weight: 600;
  color: #333;
  margin-top: 10px;
}
.product-actions-wrapper .btn {
  border-radius: 6px;
  font-weight: 500;
  padding: 10px;
  margin-bottom: 10px;
}
.product-actions-wrapper .btn-success {
  background: #1a8f33;
  border: none;
}
.product-actions-wrapper .btn-primary {
  background: #d6001c;
  border: none;
}
.product-actions-wrapper .btn-danger {
  background: #9b1c1c;
  border: none;
}

/* === INFO COLUMNS === */
.product-details h4 {
  font-size: 14px;
  color: #666;
  margin-bottom: 3px;
  margin-top: 15px;
  text-transform: uppercase;
}
.product-details .col-md-6.text-center {
  border-left: 1px solid #eee;
}
@media(max-width:768px){
  .product-details .col-md-6.text-center {
    border-left: none;
    border-top: 1px solid #eee;
    margin-top: 15px;
    padding-top: 15px;
  }
}

/* === TABS MODERN === */
.nav-tabs-overflow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: none;
  margin-top: 30px;
}
.nav-tabs-overflow li {
  list-style: none;
}
.nav-tabs-overflow a {
  display: block;
  background: #f4f4f4;
  padding: 10px 18px;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}
.nav-tabs-overflow li.active a,
.nav-tabs-overflow a:hover {
  background: #d6001c;
  color: #fff;
}

/* === TAB CONTENT === */
.product-details-tab-container {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;
  margin-top: 15px;
}
.product-details-tab-container strong {
  color: #444;
}
.product-details-tab-container .row {
  margin-bottom: 10px;
}
.module-client-area {
  background: #fafafa;
  border: 1px dashed #ddd;
  border-radius: 10px;
  padding: 25px;
}

/* === DOWNLOADS / ADDONS === */
.panel.panel-default {
  border: none;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.panel-heading {
  background: #f9f9f9;
  padding: 10px 15px;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
}
.panel-footer {
  background: #f9f9f9;
  padding: 10px 15px;
  border-radius: 0 0 10px 10px;
}

/* === PASSWORD CHANGE === */
#tabChangepw .form-group label {
  font-weight: 600;
  color: #444;
}
#tabChangepw .btn-primary {
  background: #d6001c;
  border: none;
  border-radius: 6px;
}
#tabChangepw .btn:hover {
  opacity: 0.9;
}
