* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #002559;
  --secondary-color: #4a90e2;
  --accent-color: #00a693;
  --light-blue: #e8f4f8;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #ffffff;
  --border-color: #e5e5e5;
  --shadow: 0 4px 15px rgba(0, 37, 89, 0.1);
  --gradient: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

body {
  font-family: "Vazirmatn", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header .info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header .menu-items {
  display: flex;
  align-items: center;
  margin-right: 50px;
  padding: 0;
}

.header .menu-items .menu-item {
  border-bottom: none !important;
  padding: 0.5rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  /* background: var(--gradient); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 24px;
  margin-left: 36px;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-left: 15px;
  width: 48px;
  height: 48px;
  display: none;
}

.menu-toggle:hover {
  background: var(--light-blue);
}

/* Side Menu */
.side-menu {
  position: fixed;
  right: -350px;
  top: 0;
  width: 320px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.side-menu.open {
  right: 0;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-header {
  padding: 2rem 1.5rem;
  /* background: var(--gradient); */
  color: #ffffff;
  text-align: center;
  background-image: url("./images/flag.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.menu-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3); /* لایه تیره نیمه‌شفاف */
  backdrop-filter: blur(4px); /* افکت بلر */
  z-index: 1;
}

.menu-header > * {
  position: relative;
  z-index: 2; /* متن بالای لایه قرار بگیره */
}

.menu-logo {
  width: 120px;
  height: 60px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.menu-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.menu-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.menu-items {
  padding: 1rem 0;
}

.menu-item {
  display: flex;
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  gap: 0.8rem;
}

.menu-item:hover {
  background: var(--light-blue);
  color: var(--primary-color);
  padding-right: 2rem;
}

.menu-item-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-menu {
  padding: 1.5rem;
  text-align: center;
  border-top: 2px solid var(--border-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Main Content */
.main {
  margin-top: 80px;
}

/* Mobile Tab Navigation */
.mobile-tabs {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border-color);
  z-index: 999;
}

.tab-nav {
  display: flex;
  height: 70px;
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-family: "Vazirmatn", sans-serif;
}

.tab-btn.active {
  color: var(--primary-color);
  background: var(--light-blue);
}

.tab-icon {
  width: 18px;
  height: 18px;
}

/* Sections */
.section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.8rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  /* background: var(--gradient); */
  color: white;
  text-align: center;
  padding: 4rem 2rem 2rem;
  background-image: url("./images/mdp-cover.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3); /* لایه تیره نیمه‌شفاف */
  backdrop-filter: blur(4px); /* افکت بلر */
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2; /* متن بالای لایه قرار بگیره */
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-icon {
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 240px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon img {
  width: 200px;
  height: 60px;
}

/* Lab Cards */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.lab-card {
  background: white;
  border-radius: 12px;
  padding: 0.1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid var(--primary-color);
  position: relative;
  text-align: center;
}

.lab-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 8px 30px rgba(0, 37, 89, 0.15);
}

.lab-card.active {
  border-color: var(--accent-color);
  background: var(--light-blue);
}

.lab-card.active::after {
  content: "▼";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.lab-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.lab-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.lab-desc {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Mobile Lab Dropdown */
.lab-dropdown {
  display: none;
  position: relative;
}

.custom-select {
  position: relative;
  width: 100%;
}

.select-button {
  width: 100%;
  padding: 1.2rem;
  border: 3px solid var(--primary-color);
  border-radius: 12px;
  background: white;
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  font-family: "Vazirmatn", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.select-button:hover {
  box-shadow: 0 8px 25px rgba(0, 37, 89, 0.2);
  transform: translateY(-2px);
}

.select-button.active {
  border-color: var(--accent-color);
  background: var(--light-blue);
}

.select-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.select-icon {
  width: 24px;
  height: 24px;
}

.select-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.select-arrow.rotated {
  transform: rotate(180deg);
}

.select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 3px solid var(--primary-color);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 25px rgba(0, 37, 89, 0.2);
  z-index: 100;
  max-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  transition: max-height 0.3s ease;
}

.select-options.show {
  max-height: 300px;
}

.select-option {
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--border-color);
  font-family: "Vazirmatn", sans-serif;
  color: var(--text-dark);
}

.select-option:last-child {
  border-bottom: none;
}

.select-option:hover {
  background: var(--light-blue);
  color: var(--primary-color);
  transform: translateX(-5px);
}

.option-icon {
  width: 20px;
  height: 20px;
}

.lab-details {
  margin-top: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: inset 0 2px 8px rgba(0, 37, 89, 0.05);
  display: none;
  border: 3px solid var(--primary-color);
}

.lab-details.active {
  display: block;
  animation: slideDown 0.4s ease;
}

.lab-details h3 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.lab-details p {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.lab-services {
  list-style: none;
  margin-top: 0.8rem;
}

.lab-services li {
  padding: 0.3rem 0;
  padding-right: 1.2rem;
  position: relative;
  font-size: 0.85rem;
  color: var(--text-light);
}

.lab-services li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 0.9rem;
}

/* Download Section */
.download-grid {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: wrap;
}

.download-btn-large {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 1.5rem;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: right;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  font-family: "Vazirmatn", sans-serif;
  flex: 1 1 calc(50% - 0.5rem);
}

.download-btn-large::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: right 0.6s;
}

.download-btn-large:hover::before {
  right: 100%;
}

.download-btn-large:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 37, 89, 0.3);
}

.download-btn-large:active {
  transform: translateY(-1px) scale(0.98);
}

.download-icon-large {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.download-content {
  text-align: right;
  flex: 1;
}

.download-title-large {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.download-desc-large {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Video Section */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 3px solid var(--primary-color);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 37, 89, 0.15);
  border-color: var(--accent-color);
}

.video-thumbnail {
  width: 100%;
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  position: relative;
}

.video-thumbnail div {
  width: 100%;
  height: 100%;
}

.video-content {
  padding: 1.5rem;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.video-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 3px solid var(--primary-color);
}

.contact-card:hover {
  border-color: var(--accent-color);
}

.contact-type {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-item {
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: var(--light-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-icon {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.contact-text {
  color: var(--text-dark);
  font-weight: 500;
}

/* Address Section */
.address-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: var(--light-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 2rem;
  grid-row: 1/-1;
}

.address-info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.address-details {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 3px solid var(--primary-color);
}

.address-details:hover {
  border-color: var(--accent-color);
}

.address-item {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.address-icon {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

#tour {
  background-image: url("./images/virtual-tour.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

#tour h5 {
  font-size: 2rem;
}
#tour p {
  font-size: 1rem;
}
#tour a {
  margin-top: 25px;
  background-color: var(--primary-color);
  color: #00ffba;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 40px;
  font-weight: bold;
  border: 3px solid #00ffba;
  font-size: 1.3rem;
  transition: all ease-in 0.1s;
}

#tour a:hover {
  transform: scale(1.1);
}

footer {
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 12px;
  text-align: center;
  padding: 15px;
}
footer a {
  color: #ffffff;
  text-decoration: none;
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 0.8rem 1rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .hero {
    padding: 2rem 1rem 1rem;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-icon {
    width: 120px;
    height: 60px;
  }

  .hero-icon img {
    width: 100px;
    height: 30px;
  }

  .section {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .mobile-tabs {
    display: block;
  }

  footer {
    margin-bottom: 70px;
  }

  .lab-grid {
    display: none;
  }

  .lab-dropdown {
    display: block;
    margin-bottom: 1.5rem;
  }

  .download-btn-large {
    padding: 1.2rem;
    font-size: 1rem;
  }

  .download-icon-large {
    width: 40px;
    height: 40px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .address-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .address-details {
    padding: 1.5rem;
  }

  .side-menu {
    width: 280px;
    right: -280px;
  }

  .menu-toggle {
    display: block;
  }

  .header .menu-items {
    display: none;
  }

  .download-btn-large {
    flex: 1 1 calc(100% - 0.5rem);
  }

  #tour {
    height: 300px;
  }

  #tour h5 {
    font-size: 1.5rem;
  }
  #tour p {
    font-size: 0.75rem;
  }
  #tour a {
    padding: 10px 20px;
    font-size: 0.75rem;
  }
}

.lab-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  z-index: -1;
  overflow: hidden;
}

.lab-particle {
  position: absolute;
  opacity: 0.12;
  transition: opacity 0.3s ease;
}

.lab-particle:hover {
  opacity: 0.25;
}

.lab-particle svg {
  width: 100%;
  height: 100%;
  fill: #002559;
}

.install-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.install-popup.show {
  opacity: 1;
  visibility: visible;
}

.install-popup-content {
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 24px;
  text-align: center;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.install-popup.show .install-popup-content {
  transform: translateY(0);
}

.install-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f3f4f6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
}

.install-popup-close:hover {
  background: #e5e7eb;
  transform: rotate(90deg);
}

.install-popup-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: bounce 1s ease infinite;
  display: inline-block;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.install-popup-title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
}

.install-popup-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.install-popup-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.install-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.install-popup-btn:active {
  transform: translateY(0);
}

.install-popup-btn svg {
  animation: download 1.5s ease infinite;
}

@keyframes download {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

@media (max-width: 768px) {
  .install-popup-content {
    padding: 20px 16px;
  }

  .install-popup-title {
    font-size: 20px;
  }

  .install-popup-text {
    font-size: 13px;
  }
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  animation: fadeIn 0.3s;
}

.overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dialog {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 450px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 20px;
  color: #666;
}

.close-btn:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.dialog-header {
  text-align: center;
  margin-bottom: 28px;
}

.dialog-title {
  font-size: 24px;
  color: #002559;
  font-weight: 600;
  margin-bottom: 8px;
}

.dialog-subtitle {
  font-size: 14px;
  color: #666;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-btn {
  border: none;
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.bazaar-btn {
  background: url('./images/badge-new.png') center/contain no-repeat;
  background-size: 100% 100%;
  color: white;
  padding: 0;
  height: 70px;
  position: relative;
  overflow: hidden;
}

.bazaar-btn:hover {
  transform: scale(1.1);
}

.direct-btn {
  background: #002559;
  color: white;
}

.direct-btn:hover {
  background: #003a7a;
}

.pwa-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.pwa-btn:hover {
  background: linear-gradient(135deg, #7c8ef6 0%, #8c5db8 100%);
}

.btn-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 480px) {
  .dialog {
    padding: 24px;
  }

  .dialog-title {
    font-size: 20px;
  }

  .download-btn {
    font-size: 14px;
  }
}
