
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

footer {
  margin-top: auto;
}
#prefix {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  color: #555;
  font-weight: bold;
  cursor: not-allowed;
}
#countryFlag {
  width: 80px;     /* latime fixa */
  height: auto;    /* inaltime auto */
  border: 1px solid #ccc; /* border fin */
  border-radius: 8px;     /* colturile rotunjite */
  object-fit: cover;      /* ca imaginea sa fie centrata bine */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* optional, un efect soft */
  margin: 1rem auto;
  display: block;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  #countryFlag {
    width: 50px;
  }
}
.pi-symbol {
  font-family: 'Courier New', monospace;
  font-size: 0.95em;
}
/* ====== TopUp Benefits Section ====== */
.topup-benefits {
  background: #dee1fa;
  padding: 1.5rem 0.5rem;
  text-align: center;
}

.section-title {
  font-size: 1.4rem;
  color: #1a237e;
  margin-bottom: 1rem;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.benefit-item {
  background: white;
  padding: 0.8rem 0.6rem;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-2px);
}

.benefit-item i {
  font-size: 1.7rem;
  color: #1a237e;
  margin-bottom: 0.5rem;
}

.benefit-item h3 {
  font-size: 1rem;
  color: #0d1b5c;
  margin-bottom: 0.3rem;
}

.benefit-item p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.3;
}

/* === GLOBAL LAYOUT === */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f0f5;
  color: #333;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

header, footer, .container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

header {
  background-color: #1a237e;
  color: white;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}


.logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-container span {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.logo-container span a {
  color: inherit !important;
  text-decoration: none !important;
}

.logo-container span a:hover,
.logo-container span a:focus,
.logo-container span a:active {
  color: inherit !important;
  text-decoration: none !important;
}

.logo-container div {
  font-size: 1rem;
  font-weight: 400;
  color: #eee;
  margin-top: 0.25rem;
}



nav {
  display: flex;
  gap: 0.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  top: 1.2rem;
  right: 1rem;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  transition: 0.4s;
}

.container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 2rem;
  max-width: 1000px;
  width: 90%;
  margin: 2rem auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

input, select, textarea, button {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

button {
  background-color: #1a237e;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.7rem;
  border-radius: 6px;
  font-weight: 600;
}

button:hover {
  background-color: #0d1b5c;
  color: #ffb300;
  transform: scale(1.03);
}

footer {
  background-color: #1a237e;
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

footer a {
  color: #ccc;
  font-size: 0.8rem;
  margin: 0 0.5rem;
  text-decoration: none;
}

/* === VPS PLANS SECTION === */
.plan-scroll-container {
  overflow-x: auto;

  padding-top: 0.5rem;
  margin-top: 3rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 2.5rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  padding-left: 1rem;
}

.plan-card-wrapper {
  position: relative;
  flex: 0 0 auto;
}

.plan-card {
  border: 2px solid transparent;
  min-height: 380px;
  width: 120px;
  scroll-snap-align: start;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.plan-card:hover {
  background-color: #e7e9fd;
  transform: translateY(-5px);
}


.plan-card h3 {
  font-size: 1.4rem;
  color: #0d1b5c;
  margin-bottom: 0.5rem;
}

.price-tag {
  background-color: #ffb300;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 25px;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.plan-card p {
  font-size: 0.9rem;
  margin: 0.3rem 0;
  color: #555;
  text-align: center;
}

.plan-card a button {
  margin-top: 1.2rem;
  background-color: #1a237e;
  border: none;
  color: white;
  font-weight: 600;
  width: 100%;
  padding: 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.plan-card a button:hover {
  background-color: #0d1b5c;
}

.bestseller {
  z-index: 2;
  pointer-events: none;
  position: absolute;
  top: 8px;
  right: 8px;
  background: #f4a300; /* updated */
  color: white;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


/* SLIDER ARROWS */
.slider-wrapper {
  margin-top: 0;
  margin-top: 0;
  margin-top: 0;
  position: relative;
  margin-top: 0,5rem;
  overflow: hidden;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1a237e;
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  opacity: 0.95;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.left-arrow {
  left: 0.2rem;
}

.right-arrow {
  right: 0.2rem;
}

/* FEATURED PLAN */
.plan-card.featured {
  background-color: #dee1fa;
  border: 2px solid #1a237e;
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
    width: 95%;
  }

  .logo-container span {
    font-size: 1.4rem;
  }

  .logo-container div {
    font-size: 0.85rem;
  }

  nav {
    display: none;
    flex-direction: column;
    background-color: #1a237e;
    position: absolute;
    top: 60px;
    right: 1rem;
    padding: 1rem;
    border-radius: 10px;
    z-index: 100;
  }

  nav.show {
    display: flex !important;
  }

  nav a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .menu-toggle {
    display: flex;
  }

  footer {
    padding: 1rem;
    font-size: 0.85rem;
  }

  .slider-arrow {
    top: auto;
    bottom: -20px;
    display: none;
  }
}
.vps-benefits-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0d1b5c;
  margin-bottom: 1rem;
}

.vps-benefits-list {
  list-style-type: disc;
  padding-left: 2rem;
  max-width: 700px;
  margin: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
}

.vps-benefits-list li {
  margin-bottom: 0.8rem;
  font-weight: 500;
}


.plan-scroll-inner {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.5rem; /* vertical spacing above cards */
}

.vps-features {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #dee1fa; /* albastru pal (deschis) */
  border-radius: 12px;
  text-align: center;
}


.vps-features-title {
  font-size: 1.6rem;
  color: #0d1b5c;
  margin-bottom: 1.5rem;
}

.vps-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.vps-feature-item {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.95rem;
  color: #333;
}

.vps-feature-item i {
  font-size: 1.5rem;
  color: #1a237e;
  margin-bottom: 0.5rem;
}

.vps-benefits-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
  text-align: center;
}

.vps-benefits-list li {
  font-size: 1rem;
  margin: 0.5rem 0;
}

/* === OS Selection Section for Index Page === */
.vps-benefits-title {
  text-align: center;
  font-size: 1.6rem;
  margin-top: 2rem;
}

.vps-features-box {
  background: #f3e8ff;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem auto 1.5rem;
  max-width: 700px;
  text-align: center;
}

.os-choices {
  list-style: none;
  padding: 0;
  margin: 0;
}

.os-choices li {
  margin: 1rem 0;
  font-size: 1.2rem;
}

.os-choices a {
  text-decoration: none;
  color: #0d1b5c;
  font-weight: 600;
}

.os-choices i {
  font-size: 1.4rem;
  margin-right: 0.4rem;
}

.vps-benefits-box {
  text-align: center;
  margin-top: 2rem;
}

.vps-benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.vps-benefits-list li {
  margin: 0.6rem 0;
  font-size: 1.05rem;
  font-weight: 500;

}
.vps-benefits-container {
  max-width: 700px;
  margin: 0 auto;
}


.privacy-link {
  display: inline-block;
  font-size: 0.9rem;
  color: #1a237e;
  text-decoration: none;
}

.os-cards-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.os-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  width: 220px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  color: #1a237e; /* albastru Ã®nchis */
}

.os-card:hover {
  background-color: #ffcc80; /* portocaliu deschis/gÄƒlbui */
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}


.os-card i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #1a237e;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffb300; /* galben-portocaliu din tema Pi */
}
/* Dropdown Products - desktop & mobil */

nav .dropdown {
  position: relative;
  display: inline-block;
}

nav .dropdown > a {
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  background-color: #1a237e;
  color: white !important;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  display: inline-block;
}

nav .dropdown-content {
  display: none;
  position: absolute;
  background-color: #1a237e;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 6px;
  z-index: 999;
  top: 100%;
  left: 0;
}

nav .dropdown-content a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

nav .dropdown-content a:hover {
  background-color: #0d1b5c;
  color: #ffb300;
}

nav .dropdown:hover .dropdown-content {
  display: block;
}

/* Responsivitate mobil */
@media (max-width: 768px) {
  nav .dropdown {
    position: relative;
  }

  nav .dropdown-content {
    display: none;
    position: absolute;
    top: 0%;
    left: -190px; /* Muta mai spre st?nga */
    background-color: #1a237e;
    min-width: 180px;
    z-index: 999;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  nav .dropdown:hover .dropdown-content {
    display: block;
  }

  nav .dropdown-content a {
    color: white;
    padding: 0.7rem 1rem;
    text-decoration: none;
    display: block;
    font-weight: 600;
    background-color: #1a237e;
    border-bottom: 0.5px solid #772c99;
  }

  nav .dropdown-content a:hover {
    background-color: #0d1b5c;
    color: #ffb300;
  }

  .menu-toggle {
    z-index: 1001;
  }
}

.pi-button-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* douÄƒ coloane */
  gap: 10px;
  background-color: #1a237e;
  padding: 15px;
  border-radius: 12px;
  margin-top: 10px;
}

.pi-button-group form {
  margin: 0;
}

.pi-button-group button {
  width: 100%;
  background-color: transparent;
  border: none;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.pi-button-group button i {
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

.pi-button-group button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1a237e;
  color: #fff !important;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn:hover {
  background-color: #0d1b5c;
  color: #ffb300 !important;
}

.btn.small {
  padding: 8px 16px;
  font-size: 0.95rem;
}


