/* eSIM Finders - Custom Styles */
/* Color Scheme: Modern Tech/Travel Theme (Blue & Teal) */

:root {
  /* Primary - Blue (Trust, Technology) */
  --esim-blue: #0EA5E9;
  --esim-blue-light: #38BDF8;
  --esim-blue-dark: #0284C7;

  /* Secondary - Teal (Fresh, Global) */
  --esim-teal: #14B8A6;
  --esim-teal-light: #2DD4BF;
  --esim-teal-dark: #0D9488;

  /* Accent - Orange (Energy, CTA) */
  --esim-orange: #F97316;
  --esim-orange-light: #FB923C;
  --esim-orange-dark: #EA580C;

  /* Success - Green */
  --esim-green: #22C55E;
  --esim-green-light: #4ADE80;

  /* Warning - Amber */
  --esim-amber: #F59E0B;
  --esim-amber-light: #FBBF24;

  /* Neutrals */
  --esim-white: #FFFFFF;
  --esim-gray-50: #F8FAFC;
  --esim-gray-100: #F1F5F9;
  --esim-gray-200: #E2E8F0;
  --esim-gray-300: #CBD5E1;
  --esim-gray-400: #94A3B8;
  --esim-gray-500: #64748B;
  --esim-gray-600: #475569;
  --esim-gray-700: #334155;
  --esim-gray-800: #1E293B;
  --esim-gray-900: #0F172A;
  --esim-dark: #020617;
}

html {
  margin-left: 0 !important;
}

/* ==================== */
/* Typography           */
/* ==================== */

body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--esim-gray-800);
  background-color: var(--esim-gray-50);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--esim-gray-900);
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.875rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.125rem;
  line-height: 1.4;
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--esim-gray-600);
}

.small, small {
  font-size: 0.9375rem !important;
}

.text-muted {
  color: var(--esim-gray-500) !important;
}

a {
  color: var(--esim-blue);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--esim-blue-dark);
}

/* ==================== */
/* Gradient Utilities   */
/* ==================== */

.gradient-hero {
  background: linear-gradient(135deg, var(--esim-blue) 0%, var(--esim-teal) 100%);
}

.gradient-card {
  background: linear-gradient(135deg, var(--esim-blue-dark) 0%, var(--esim-teal-dark) 100%);
}

.gradient-text {
  background: linear-gradient(90deg, var(--esim-blue), var(--esim-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-cta {
  background: linear-gradient(135deg, var(--esim-orange) 0%, var(--esim-orange-light) 100%);
}

.gradient-border {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, var(--esim-blue), var(--esim-teal)) border-box;
}

/* ==================== */
/* Utility Classes      */
/* ==================== */

.bg-esim-light {
  background-color: var(--esim-gray-50);
}

.bg-esim-white {
  background-color: var(--esim-white);
}

.bg-esim-blue {
  background-color: var(--esim-blue);
}

.bg-esim-dark {
  background-color: var(--esim-dark);
}

.text-esim-blue {
  color: var(--esim-blue);
}

.text-esim-teal {
  color: var(--esim-teal);
}

.text-esim-orange {
  color: var(--esim-orange);
}

.text-esim-green {
  color: var(--esim-green);
}

/* ==================== */
/* Navbar               */
/* ==================== */

.navbar {
  background: var(--esim-white) !important;
  padding: 0.75rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--esim-gray-100);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--esim-gray-900) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand:hover {
  color: var(--esim-blue) !important;
}

.navbar .nav-link {
  color: var(--esim-gray-600) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.navbar .nav-link:hover {
  color: var(--esim-blue) !important;
}

.navbar .nav-link.active {
  color: var(--esim-blue) !important;
  position: relative;
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--esim-blue), var(--esim-teal));
  border-radius: 2px;
}

/* Hamburger Menu */
.navbar-toggler {
  border-color: var(--esim-gray-300);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(14, 165, 233, 0.25);
}

/* ==================== */
/* Hero Section         */
/* ==================== */

.hero-section {
  background: linear-gradient(135deg, var(--esim-blue) 0%, var(--esim-teal) 100%);
  color: var(--esim-white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10%, 10%); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--esim-white) !important;
  position: relative;
  z-index: 1;
}

.hero-title .highlight {
  display: inline-block;
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 0.3em;
  background: rgba(255, 255, 255, 0.3);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ==================== */
/* Buttons              */
/* ==================== */

.btn {
  border-radius: 8px !important;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 0.625rem 1.25rem;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  border-radius: 10px !important;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  border-radius: 6px !important;
  font-size: 0.875rem;
}

/* Primary - Blue */
.btn-esim {
  background: linear-gradient(135deg, var(--esim-blue), var(--esim-blue-dark));
  color: var(--esim-white);
  border: none;
}

.btn-esim:hover {
  background: linear-gradient(135deg, var(--esim-blue-light), var(--esim-blue));
  color: var(--esim-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

/* Gradient Button */
.btn-gradient {
  background: linear-gradient(135deg, var(--esim-blue), var(--esim-teal));
  color: var(--esim-white);
  border: none;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, var(--esim-blue-light), var(--esim-teal-light));
  color: var(--esim-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}

/* CTA Button - Orange */
.btn-cta {
  background: linear-gradient(135deg, var(--esim-orange), var(--esim-orange-dark));
  color: var(--esim-white);
  border: none;
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--esim-orange-light), var(--esim-orange));
  color: var(--esim-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

/* Secondary - Teal */
.btn-teal {
  background: var(--esim-teal);
  color: var(--esim-white);
  border: none;
}

.btn-teal:hover {
  background: var(--esim-teal-light);
  color: var(--esim-white);
}

/* Ghost / Outline */
.btn-outline-esim {
  border: 2px solid var(--esim-blue);
  color: var(--esim-blue);
  background: transparent;
}

.btn-outline-esim:hover {
  background: var(--esim-blue);
  color: var(--esim-white);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--esim-white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--esim-white);
  color: var(--esim-blue);
}

/* Ghost button */
.btn-ghost {
  background: transparent;
  color: var(--esim-gray-600);
  border: none;
}

.btn-ghost:hover {
  background: var(--esim-gray-100);
  color: var(--esim-gray-900);
}

/* ==================== */
/* Cards                */
/* ==================== */

.card {
  border-radius: 16px;
  border: 1px solid var(--esim-gray-200);
  background: var(--esim-white);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Provider Card */
.provider-card {
  border: 1px solid var(--esim-gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  background: var(--esim-white);
  position: relative;
}

.provider-card:hover {
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.12);
  transform: translateY(-4px);
  border-color: var(--esim-blue-light);
}

.provider-card.featured {
  border: 2px solid var(--esim-blue);
}

.provider-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--esim-blue), var(--esim-teal));
}

.provider-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--esim-blue-light), var(--esim-teal-light));
  color: var(--esim-white);
}

.provider-card-body {
  padding: 1.5rem;
}

.provider-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--esim-gray-900);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.provider-card-title a {
  color: var(--esim-gray-900);
  text-decoration: none;
}

.provider-card-title a:hover {
  color: var(--esim-blue);
}

.provider-card-desc {
  color: var(--esim-gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.provider-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--esim-gray-100);
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--esim-white);
  border-radius: 16px;
  border: 1px solid var(--esim-gray-100);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--esim-blue), var(--esim-teal));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--esim-white);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-weight: 700;
  color: var(--esim-gray-900);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

/* Destination Cards */
.destination-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 2px solid var(--esim-gray-200);
  transition: all 0.3s ease;
  background: var(--esim-white);
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.destination-card:hover {
  border-color: var(--esim-blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.1);
}

.destination-flag {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.destination-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--esim-gray-900);
  margin-bottom: 0.5rem;
}

.destination-provider {
  font-size: 0.875rem;
  color: var(--esim-blue);
}

/* Info Cards */
.info-card {
  background: var(--esim-white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--esim-gray-100);
  height: 100%;
}

.info-card h3 {
  color: var(--esim-gray-900);
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--esim-gray-600);
  margin-bottom: 0;
}

/* ==================== */
/* Badges               */
/* ==================== */

.badge-esim {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, var(--esim-blue), var(--esim-teal));
  color: var(--esim-white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge-recommended {
  background: linear-gradient(135deg, var(--esim-green), var(--esim-green-light));
  color: var(--esim-white);
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-best-value {
  background: linear-gradient(135deg, var(--esim-orange), var(--esim-orange-light));
  color: var(--esim-white);
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-region {
  display: inline-block;
  background: var(--esim-gray-100);
  color: var(--esim-gray-700);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.badge-region-asia {
  background: rgba(14, 165, 233, 0.1);
  color: var(--esim-blue);
}

.badge-region-global {
  background: rgba(20, 184, 166, 0.1);
  color: var(--esim-teal);
}

.badge-region-japan {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.badge-region-korea {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.badge-region-thailand {
  background: rgba(234, 179, 8, 0.1);
  color: #CA8A04;
}

/* ==================== */
/* Section Styles       */
/* ==================== */

.section-light {
  background: var(--esim-gray-50);
}

.section-white {
  background: var(--esim-white);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--esim-gray-900);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--esim-gray-500);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--esim-blue) 0%, var(--esim-teal) 100%);
  color: var(--esim-white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-section h2 {
  color: var(--esim-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* Featured Section */
.featured-section {
  background: linear-gradient(135deg, var(--esim-gray-900), var(--esim-dark));
  color: var(--esim-white);
  padding: 4rem 0;
}

.featured-section .section-title {
  color: var(--esim-white);
}

.featured-section .section-subtitle {
  color: var(--esim-gray-400);
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--esim-orange), var(--esim-orange-light));
  color: var(--esim-white);
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ==================== */
/* Filter Pills         */
/* ==================== */

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-pill {
  background: var(--esim-white);
  border: 2px solid var(--esim-gray-200);
  color: var(--esim-gray-600);
  padding: 0.5rem 1.25rem;
  border-radius: 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.filter-pill:hover {
  border-color: var(--esim-blue);
  color: var(--esim-blue);
}

.filter-pill.active {
  background: linear-gradient(135deg, var(--esim-blue), var(--esim-teal));
  border-color: transparent;
  color: var(--esim-white);
}

/* ==================== */
/* Footer               */
/* ==================== */

.site-footer {
  background: var(--esim-gray-900);
  color: var(--esim-white);
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: var(--esim-gray-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--esim-white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--esim-white);
  margin-bottom: 0.5rem;
}

.footer-desc {
  color: var(--esim-gray-400);
  font-size: 0.9375rem;
  max-width: 300px;
}

.footer-title {
  font-weight: 600;
  color: var(--esim-white);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--esim-gray-400);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--esim-blue-light);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--esim-gray-800);
  text-align: center;
  color: var(--esim-gray-500);
  font-size: 0.875rem;
}

/* ==================== */
/* Guide Content        */
/* ==================== */

.guide-content {
  max-width: 800px;
  margin: 0 auto;
}

.guide-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--esim-gray-900);
}

.guide-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--esim-gray-800);
}

.guide-content p {
  margin-bottom: 1.25rem;
}

.guide-content ul, .guide-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.guide-content li {
  margin-bottom: 0.5rem;
  color: var(--esim-gray-600);
}

.guide-content .highlight-box {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
  border-left: 4px solid var(--esim-blue);
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}

.guide-content .highlight-box p {
  margin-bottom: 0;
  color: var(--esim-gray-700);
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--esim-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--esim-gray-100);
}

.comparison-table th {
  background: var(--esim-gray-50);
  font-weight: 600;
  color: var(--esim-gray-900);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .check {
  color: var(--esim-green);
}

.comparison-table .cross {
  color: var(--esim-gray-400);
}

/* ==================== */
/* FAQ Accordion        */
/* ==================== */

.faq-item {
  background: var(--esim-white);
  border: 1px solid var(--esim-gray-200);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--esim-gray-900);
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--esim-gray-50);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--esim-gray-600);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question {
  border-bottom: 1px solid var(--esim-gray-100);
}

/* ==================== */
/* Empty State          */
/* ==================== */

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  background: var(--esim-gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--esim-gray-400);
  font-size: 2rem;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--esim-gray-900);
  margin-bottom: 0.5rem;
}

.empty-state-desc {
  color: var(--esim-gray-500);
}

/* ==================== */
/* Mobile Adjustments   */
/* ==================== */

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .destination-card {
    padding: 1.5rem 1rem;
  }

  .destination-flag {
    font-size: 2.5rem;
  }

  .provider-card-body {
    padding: 1.25rem;
  }

  .filter-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-pill {
    flex-shrink: 0;
  }

  .navbar .nav-link.active::after {
    display: none;
  }

  .guide-content {
    padding: 0 1rem;
  }
}

/* ==================== */
/* Animations           */
/* ==================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.5s ease-out;
}

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

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(14, 165, 233, 0.3); }
  50% { box-shadow: 0 0 40px rgba(14, 165, 233, 0.5); }
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* ==================== */
/* Scrollbar Styling    */
/* ==================== */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--esim-gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--esim-gray-400);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--esim-gray-500);
}

/* ==================== */
/* Link Card Style      */
/* ==================== */

.link-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--esim-blue);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.link-card:hover {
  color: var(--esim-blue-dark);
  gap: 0.75rem;
}

.link-card svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.link-card:hover svg {
  transform: translateX(2px);
}

/* ==================== */
/* Step Cards           */
/* ==================== */

.step-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--esim-white);
  border-radius: 12px;
  border: 1px solid var(--esim-gray-100);
  margin-bottom: 1rem;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--esim-blue), var(--esim-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--esim-white);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 0.5rem;
  color: var(--esim-gray-900);
}

.step-content p {
  margin-bottom: 0;
  color: var(--esim-gray-600);
}

/* ==================== */
/* Destination Page     */
/* ==================== */

/* Large Destination Cards (for destinations page) */
.destination-card-large {
  background: var(--esim-white);
  border: 1px solid var(--esim-gray-200);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.destination-card-large:hover {
  border-color: var(--esim-blue);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}

.destination-flag-large {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--esim-blue), var(--esim-teal));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--esim-white);
  flex-shrink: 0;
}

.destination-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--esim-gray-900);
  margin-bottom: 0.5rem;
}

.destination-card-desc {
  color: var(--esim-gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.destination-card-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.destination-label {
  color: var(--esim-gray-500);
  font-size: 0.875rem;
}

.destination-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--esim-blue);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.destination-link:hover {
  color: var(--esim-blue-dark);
  gap: 0.5rem;
}

.destination-link svg {
  transition: transform 0.2s ease;
}

.destination-link:hover svg {
  transform: translateX(2px);
}

/* Global Coverage Card */
.global-card {
  background: linear-gradient(135deg, var(--esim-gray-900), var(--esim-dark));
  border-radius: 20px;
  padding: 2.5rem;
  color: var(--esim-white);
}

.global-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--esim-teal), var(--esim-teal-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.global-icon svg {
  color: var(--esim-white);
}

.global-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--esim-white);
  margin-bottom: 0.75rem;
}

.global-desc {
  color: var(--esim-gray-400);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.global-card .btn-primary {
  background: linear-gradient(135deg, var(--esim-teal), var(--esim-teal-light));
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.global-card .btn-primary:hover {
  background: linear-gradient(135deg, var(--esim-teal-light), var(--esim-teal));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}

@media (max-width: 768px) {
  .destination-card-large {
    padding: 1.25rem;
  }

  .destination-flag-large {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .destination-card-title {
    font-size: 1.125rem;
  }

  .global-card {
    padding: 1.5rem;
  }

  .global-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .global-icon svg {
    width: 28px;
    height: 28px;
  }

  .global-title {
    font-size: 1.25rem;
  }
}
