/* Global reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #334155;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= HEADER & NAV ================= */

.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

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

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Dropdown */

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-weight: 500;
}

.dropdown-toggle i.fa-chevron-down {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown.open .dropdown-toggle i.fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  min-width: 250px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  padding: 8px 0;
  margin: 8px 0 0 0;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 0;
  background: transparent;
  transform: none;
}

.dropdown-menu a:hover {
  background: #f7fafc;
  color: #667eea;
}

.dropdown-menu a i {
  width: 16px;
  text-align: center;
  font-size: 0.9rem;
}

.dropdown-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 8px 16px;
}

/* Mobile hamburger */

.mobile-menu-btn {
  display: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 16px;
  background: #16a34a;
  color: #ffffff;
}

/* Mobile slide-down menu */

.mobile-menu {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ecfdf3;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 360px;
}

.mobile-menu-inner {
  padding: 10px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-inner a {
  color: #ecfdf3;
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
}

.mobile-menu-inner a:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ================= HERO ================= */

.hero {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="world" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23world)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  font-weight: 400;
}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  font-size: 4rem;
}

.hero-icon {
  animation: float 3s ease-in-out infinite;
}

.hero-icon:nth-child(2) {
  animation-delay: -1s;
}

.hero-icon:nth-child(3) {
  animation-delay: -2s;
}

.globe-animation {
  display: inline-block;
  animation: rotate 10s linear infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ================= MAIN CONTENT ================= */

.main-content {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  min-height: calc(100vh - 160px);
}

.section {
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1e40af;
}

.section-intro {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #475569;
}

.section-intro a {
  color: #2563eb;
  text-decoration: underline;
}

.section-intro a:hover {
  color: #1d4ed8;
}

/* Country selector */

.country-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.country-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 3px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #3b82f6;
}

.country-card.active {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: #ffffff;
  border-color: #1e40af;
}

.country-flag {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%,
  100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

.country-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.country-subtitle {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* UAE options */

.uae-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.uae-option {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid #bae6fd;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.uae-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.uae-option.active {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: #ffffff;
  border-color: #1e40af;
}

.uae-option-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.uae-option-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.uae-option-description {
  font-size: 1rem;
  opacity: 0.9;
}

/* Business type */

.business-type-selector {
  background: #f0f9ff;
  border: 2px solid #bae6fd;
  border-radius: 15px;
  padding: 2rem;
  margin-top: 3rem;
}

.business-type-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 1.5rem;
  text-align: center;
}

.business-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.business-type {
  background: #ffffff;
  border: 2px solid #e0f2fe;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.business-type:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.business-type.active {
  background: #3b82f6;
  color: #ffffff;
  border-color: #1e40af;
}

.business-type-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.business-type-name {
  font-weight: 600;
  font-size: 1rem;
}

/* Comparison table */

.comparison-section {
  margin-top: 3rem;
}

.comparison-table {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #e2e8f0;
}

.table-header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #ffffff;
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

.table-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.table-cell {
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.table-cell:last-child {
  border-right: none;
}

.table-cell-header {
  background: #f8fafc;
  font-weight: 600;
  color: #1e40af;
}

.table-cell-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: #059669;
}

.table-cell-cost {
  font-size: 1.1rem;
  font-weight: 600;
  color: #dc2626;
}

/* Info cards */

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid #e2e8f0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-card-icon {
  font-size: 2rem;
  color: #3b82f6;
}

.info-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e40af;
}

.info-list {
  list-style: none;
}

.info-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 500;
  color: #475569;
}

.info-value {
  font-weight: 600;
  color: #059669;
}

.info-cost {
  color: #dc2626;
}

/* Charts */

.charts-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.chart-container {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chart-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 1rem;
  text-align: center;
}

.chart-canvas {
  max-height: 300px;
}

/* Timeline */

.timeline-section {
  margin-top: 2rem;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #3b82f6, #06b6d4);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #e2e8f0;
  width: 45%;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 10%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 10%;
}

.timeline-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.timeline-step {
  font-size: 0.9rem;
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 0.8rem;
}

.timeline-description {
  color: #64748b;
  line-height: 1.6;
}

.timeline-description a {
  color: #2563eb;
  text-decoration: underline;
}

/* Benefits */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #3b82f6;
}

.benefit-icon {
  font-size: 3rem;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 1rem;
}

.benefit-description {
  color: #64748b;
}

/* FAQ */

.faq-section {
  margin-top: 2rem;
}

.faq-item + .faq-item {
  margin-top: 1rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.3rem;
}

.faq-item p {
  font-size: 0.95rem;
  color: #4b5563;
}

.faq-item a {
  color: #2563eb;
  text-decoration: underline;
}

/* CTA */

.cta-section {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  margin-top: 3rem;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button.primary {
  background: #ffffff;
  color: #1e40af;
  border-color: #ffffff;
}

.cta-button.primary:hover {
  background: #f8fafc;
}

/* Footer */

.footer {
  background: #1e293b;
  color: #ffffff;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6;
}

.footer-copyright {
  padding-top: 2rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .section {
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .section h2 {
    font-size: 1.9rem;
  }

  .charts-section {
    grid-template-columns: 1fr;
  }

  .uae-options {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 80px;
  }

  .timeline-content {
    width: 100% !important;
    margin: 0 !important;
  }

  .timeline-icon {
    left: 30px !important;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-icons {
    font-size: 3rem;
    gap: 1rem;
  }

  .country-selector {
    grid-template-columns: 1fr;
  }

  .business-types {
    grid-template-columns: repeat(2, 1fr);
  }

  .table-content {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-icons {
    flex-direction: column;
    align-items: center;
  }

  .business-types {
    grid-template-columns: 1fr;
  }

  .table-content {
    grid-template-columns: 1fr;
  }

  .table-cell {
    border-right: none;
  }

  .cta-section {
    padding: 2.2rem 1.6rem;
  }
}
