header {
  overflow: hidden;
  position: relative;
  padding: 100px 0 0;
  background-color: #fff;
}

/* sub-title, title, para */
header .sub-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--lightBlue);
  font-family: var(--secondary-font);
}
header .title {
  margin-bottom: 30px;
  color: var(--darkBlue);
  font-size: clamp(2.01rem,calc(.5rem + 2.9004vw),2.7rem);
}
header .para {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 45px;
  color: var(--lightBlue);
}
@media only screen and (max-width: 1199.98px) {
  header .sub-title {
    font-size: 16px;
  }
  header .para {
    font-size: 14px;
  }
}
@media only screen and (max-width: 991.98px) {
  header .sub-title {
    font-size: 18px;
  }
  header .title {
    font-size: clamp(2.01rem,calc(.5rem + 4.9004vw),3.247rem);
  }
  header .para {
    font-size: 16px;
  }
}
@media only screen and (max-width: 767.98px) {
  header {
    padding: 60px 0;
  }
  header .para {
    font-size: 14px;
  }
}

/* users */
header .users {
  overflow: hidden;
  padding: 8px 12px;
  position: relative;
  border-radius: 50px;
  border: 1px solid var(--border);
  background-color: rgba(255,255,255,0.1);
}
header .users::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  z-index: 1;
  position: absolute;
  background-image: conic-gradient( rgba(253, 0, 76, 0.1), rgba(254, 144, 0, 0.1), rgba(255, 240, 32, 0.1), rgba(62, 223, 75, 0.1), rgba(51, 99, 255, 0.1), rgba(177, 2, 183, 0.1), rgba(253, 0, 76, 0.1));
}
header .users .user {
  width: 40px;
  height: 40px;
  position: relative;
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 2;
}
header .users .user:not(:first-child) {
  margin-left: -10px;
}

/* count, text */
header .box .count {
  font-size: 18px;
  font-weight: bold;
  color: var(--darkBlue);
}
header .box .text {
  font-size: 14px;
  font-weight: 500;
  color: var(--lightBlue);
}
@media only screen and (max-width: 1199.98px) {
  header .users {
    padding: 4px 6px;
  }
  header .users .user {
    width: 36px;
    height: 36px;
  }
  header .box .count {
    font-size: 16px;
  }
}

/* center-box */
header .center-box {
  position: relative;
  background-color: #B0E8DF;
  height: 100%;
  border-radius: 28px;
  z-index: 2;
  padding: 40px 30px;
  height: 100%;
}
header .center-box img {
  width: 70%;
}

/* features */
header .features::-webkit-scrollbar {
  width: 0;
}
header .features li {
  font-size: 16px;
  font-weight: 500;
  color: var(--darkBlue);
}
header .features li:not(:last-child) {
  margin-bottom: 30px;
}
/* ----------------------------------- */

/* :: SECTION-II :: */
.se-ii .plan-card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: -4px 4px 0 var(--primary-shadow);
  transition: all .15s cubic-bezier(0.215, 0.610, 0.355, 1);
  height: 100%;
  position: relative;
}

/* VPS-style horizontal cards for dedicated servers */
.se-ii .row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.se-ii .row .col-xl-3,
.se-ii .row .col-md-6 {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.vps-plan-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
}

.discount-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    z-index: 10;
    transform: rotate(15deg);
}

.vps-plan-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.plan-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plan-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
}

.plan-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

/* Estilos para las banderas horizontales */
.server-location-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 0;
}

.location-flag {
    width: 32px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
}

.location-flag:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 1;
    border-color: #3b82f6;
}

.location-flag.selected {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
    opacity: 1;
    transform: scale(1.05);
}

.plan-badges {
    display: flex;
    gap: 8px;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: #3b82f6;
    color: white;
}

.badge-ssd {
    background: #10b981;
    color: white;
}

.plan-specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spec-row {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
    flex: 1;
}

.spec-value {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.spec-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.plan-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    min-width: 200px;
    padding-left: 24px;
    border-left: 1px solid #e5e7eb;
}

.best-price-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 8px;
    white-space: nowrap;
}

.price-display {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
}

.currency {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-right: 2px;
}

.amount {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.period {
    font-size: 14px;
    color: #6b7280;
    margin-left: 4px;
}

.buy-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.buy-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.buy-btn:active {
    transform: translateY(0);
}

/* Loading state */
.updating-prices {
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .vps-plan-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .plan-title-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .plan-title {
        text-align: center;
    }
    
    .server-location-flags {
        gap: 6px;
        padding: 6px 0;
        justify-content: center;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    
    .location-flag {
        width: 28px;
        height: 21px;
    }
    
    .plan-pricing {
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding-left: 0;
        padding-top: 20px;
        align-items: center;
        min-width: auto;
        width: 100%;
    }
    
    .spec-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .spec-item {
        min-width: 100px;
    }
    
    .plan-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .plan-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .vps-plan-card {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .server-location-flags {
        gap: 4px;
    }
    
    .location-flag {
        width: 24px;
        height: 18px;
    }
    
    .spec-row {
        gap: 12px;
    }
    
    .spec-item {
        min-width: 80px;
    }
    
    .spec-value {
        font-size: 14px;
    }
    
    .spec-label {
        font-size: 11px;
    }
    
    .amount {
        font-size: 28px;
    }
}

/* Animation for loading */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vps-plan-card {
    animation: fadeIn 0.3s ease-out;
}

.se-ii .plan-card {
    position: relative;
}

/* card-details */
.se-ii .plan-card .card-details {
  padding: 30px 30px 0;
  width: 100%;
  margin-bottom: 10px;
}

/* card-title - sub-title */
.se-ii .plan-card .card-title {
  font-size: 18px;
}
.se-ii .plan-card .sub-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--lightBlue);
  margin-bottom: 10px;
}

/* locations */
.se-ii .plan-card .locations {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.se-ii .plan-card .locations img {
  position: relative;
  width: 32px;
  border: 4px solid #fff;
  border-radius: 50%;
  transition: all .2s cubic-bezier(.77,0,.175,1);
}
.se-ii .plan-card .locations img:not(:first-of-type) {
  margin-left: -10px;
}
[dir="rtl"] .se-ii .plan-card .locations img:not(:first-of-type) {
  margin-left: 0;
  margin-right: -10px;
}

/* price */
.se-ii .plan-card .price {
  font-size: 30px;
  font-weight: bold;
  font-family: var(--primary-font);
  color: var(--darkBlue);
  line-height: 1.2;
}
.se-ii .plan-card .price sup {
  font-size: 16px;
  font-weight: 500;
  margin-right: 3px;
}
.se-ii .plan-card .price-comment {
  font-size: 12px;
  font-weight: 500;
  color: var(--darkGray);
  line-height: 1.2;
}

/* card-features */
.se-ii .plan-card .card-features {
  padding: 30px;
}

/* item */
.se-ii .plan-card .card-features .item {
  position: relative;
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 500;
}
.se-ii .plan-card .card-features .item:not(:last-child) {
  margin-bottom: 10px;
}
.se-ii .plan-card .card-features .item::before {
  position: relative;
  content: '';
  top: -1px;
  width: 24px;
  min-width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: url('../../images/icons/check.png') center no-repeat;
  background-size: 14px;
}
.se-ii .plan-card .card-features .text {

}

/* se-footer */
.se-ii .se-footer .line {
  margin: 6px 12px;
}
.se-ii .se-footer .line .icon {
  min-width: 16px;
  width: 16px;
}
.se-ii .se-footer .line .text {
  font-size: 14px;
  font-weight: 500;
  color: var(--darkBlue);
}
/* ----------------------------------- */