/* eSIM Travel — MVNO Travel Companion App Styles */

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #7dd3fc;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  --bg-dark: #0F172A;
  --bg-card: #1E293B;
  --bg-light: #334155;
  --bg-input: #1a2332;
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --border: #334155;

  --shadow: rgba(0, 0, 0, 0.3);
  --glow: rgba(14, 165, 233, 0.4);

  --gradient-bg: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  --gradient-btn: linear-gradient(90deg, #0ea5e9, #06b6d4);
}

[data-theme="light"] {
  --bg-dark: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-light: #E2E8F0;
  --bg-input: #f1f5f9;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;

  --shadow: rgba(0, 0, 0, 0.1);
  --glow: rgba(14, 165, 233, 0.2);

  --gradient-bg: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

.icon {
  width: 24px;
  height: 24px;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

.icon-lg {
  width: 64px;
  height: 64px;
}

.icon-nav {
  width: 24px;
  height: 24px;
}

.page {
  min-height: 100vh;
  transition: opacity 0.3s ease;
}

.hidden {
  display: none !important;
}

/* Theme toggle */
.theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  color: var(--text);
  transition: background 0.2s, transform 0.2s;
}

.theme-toggle:hover {
  background: var(--bg-light);
  transform: scale(1.1);
}

.theme-toggle-small {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
}

/* Landing Page */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  text-align: center;
  background: var(--gradient-bg);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: var(--bg-card);
  border-radius: 24px;
  margin-bottom: 16px;
  color: var(--primary);
}

.logo .icon-lg {
  width: 56px;
  height: 56px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--primary), #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.feature {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 140px;
  color: var(--text);
  transition: background 0.2s;
}

.feature:hover {
  background: var(--bg-light);
}

.feature .icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.feature span:last-child {
  font-size: 14px;
  font-weight: 500;
}

.btn-primary {
  background: var(--gradient-btn);
  color: white;
  border: none;
  padding: 18px 48px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px var(--glow);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 32px var(--glow);
}

.note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 24px;
}

/* Mobile App Frame */
#app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: var(--bg-dark);
}

.phone-frame {
  width: 100%;
  max-width: 380px;
  height: 100vh;
  max-height: 800px;
  background: var(--bg-dark);
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  border: 4px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: background 0.3s, border-color 0.3s;
}

[data-theme="light"] .phone-frame {
  border-color: #cbd5e1;
}

.phone-header {
  background: var(--bg-dark);
  padding: 12px 20px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.status-bar {
  font-size: 14px;
  color: var(--text-muted);
}

.app-header {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
  background: var(--bg-dark);
}

.back-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

.back-btn:hover {
  opacity: 0.7;
}

.app-header h2 {
  font-size: 20px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
}

.icon-btn:hover {
  background: var(--bg-card);
  color: var(--primary);
}

.icon-btn .icon {
  width: 22px;
  height: 22px;
  display: block;
}

.profile-icon {
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.profile-icon:hover {
  color: var(--primary);
}

.profile-icon .icon {
  width: 24px;
  height: 24px;
}

.app-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  transition: background 0.3s;
}

.app-content::-webkit-scrollbar {
  width: 4px;
}

.app-content::-webkit-scrollbar-track {
  background: transparent;
}

.app-content::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

/* Bottom Navigation */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
  transition: background 0.3s, border-color 0.3s;
}

.nav-item {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s;
  position: relative;
}

.nav-item svg {
  width: 24px;
  height: 24px;
}

.nav-item.active {
  color: var(--primary);
  background: rgba(14, 165, 233, 0.1);
}

.nav-item:hover {
  background: var(--bg-card);
}

/* Exit Button */
.btn-exit {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-muted);
  padding: 12px 32px;
  border-radius: 50px;
  margin-top: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-exit:hover {
  border-color: var(--text);
  color: var(--text);
}

/* Badge */
.badge-count {
  position: absolute;
  top: 2px;
  right: 6px;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Section titles */
.page-content h3 {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dashboard-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  background: var(--bg-light);
}

.dashboard-card .icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin-bottom: 8px;
}

.dashboard-card h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.dashboard-card p {
  font-size: 12px;
  color: var(--text-muted);
}

.dashboard-card.wide {
  grid-column: span 2;
}

.dashboard-card.accent {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(6, 182, 212, 0.3));
}

/* Stats box */
.stat-box {
  background: var(--bg-card);
  padding: 16px 12px;
  border-radius: 12px;
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.stat-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

/* Quick actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.quick-action {
  background: var(--bg-card);
  border: none;
  color: var(--text);
  padding: 16px 8px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
}

.quick-action:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.quick-action .icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

/* Active eSIM card */
.active-esim {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.active-esim::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.active-esim .esim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.active-esim .esim-header h3 {
  color: white;
  font-size: 18px;
  margin: 0;
}

.data-usage-bar {
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.data-usage-fill {
  height: 100%;
  background: white;
  border-radius: 4px;
  transition: width 0.5s;
}

.data-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.9;
}

/* Location/Weather */
.location-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.location-card .icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.location-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.location-info p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Country grid */
.country-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.country-card:hover {
  background: var(--bg-light);
}

.country-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.country-flag {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--bg-light);
}

.country-name {
  flex: 1;
}

.country-name h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.country-name small {
  font-size: 12px;
  color: var(--text-muted);
}

.country-plans {
  display: none;
  padding: 0 16px 16px;
}

.country-plans.open {
  display: block;
}

.plan-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-input);
  border-radius: 12px;
  margin-bottom: 8px;
}

.plan-info h5 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.plan-info small {
  font-size: 11px;
  color: var(--text-muted);
}

.plan-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.btn-buy {
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.btn-buy:hover {
  background: var(--primary-dark);
}

.btn-small {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-small.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Tour cards */
.tour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tour-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}

.tour-card:hover {
  transform: translateY(-2px);
  background: var(--bg-light);
}

.tour-image {
  height: 120px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
}

.tour-body {
  padding: 12px;
}

.tour-body h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.tour-body .tour-location {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.tour-body .tour-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

/* Hotel cards */
.hotel-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.hotel-card:hover {
  transform: translateY(-2px);
  background: var(--bg-light);
}

.hotel-image {
  height: 140px;
  background: linear-gradient(135deg, var(--bg-light), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--primary);
}

.hotel-body {
  padding: 16px;
}

.hotel-body h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hotel-body .hotel-location {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hotel-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hotel-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--warning);
}

.hotel-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.hotel-price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.btn-book {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.btn-book:hover {
  background: var(--primary-dark);
}

/* Profile */
.profile-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.profile-card h3 {
  margin: 0 0 4px;
  font-size: 20px;
  color: var(--text);
}

.profile-group {
  color: var(--primary);
  font-weight: 600;
  margin: 0;
  font-size: 14px;
}

.profile-info {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

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

.info-label {
  color: var(--text-muted);
  font-size: 14px;
}

.info-value {
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.filter-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.filter-tab:hover {
  background: var(--bg-light);
}

/* Search input */
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-input);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 16px;
}

.search-box .icon {
  color: var(--text-muted);
  width: 20px;
  height: 20px;
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

/* My eSIMs section */
.my-esims {
  margin-bottom: 20px;
}

.my-esim-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 8px;
}

.my-esim-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14,165,233,0.3), rgba(6,182,212,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.my-esim-info {
  flex: 1;
}

.my-esim-info h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.my-esim-info small {
  font-size: 11px;
  color: var(--text-muted);
}

.my-esim-status {
  font-size: 11px;
  color: var(--success);
  font-weight: 600;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px var(--shadow);
  animation: toastIn 0.3s ease;
  pointer-events: all;
  min-width: 280px;
  max-width: 360px;
}

.toast .icon {
  color: var(--primary);
  flex-shrink: 0;
}

.toast-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

.toast-text strong {
  display: block;
  margin-bottom: 2px;
}

.toast-text small {
  color: var(--text-muted);
  font-size: 12px;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Detail view */
.detail-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: linear-gradient(135deg, var(--bg-light), var(--bg-card));
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 64px;
  color: var(--primary);
}

.detail-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.detail-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.detail-price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.detail-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-full {
  width: 100%;
  background: var(--gradient-btn);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-full:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px var(--glow);
}

/* Booking history */
.booking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 8px;
}

.booking-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.booking-info {
  flex: 1;
}

.booking-info h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.booking-info small {
  font-size: 11px;
  color: var(--text-muted);
}

.booking-status {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.booking-status.confirmed {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.booking-status.pending {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
}

.booking-status.active {
  background: rgba(14, 165, 233, 0.2);
  color: #0ea5e9;
}

/* Flight cards */
.flight-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.flight-route {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.flight-city {
  font-size: 16px;
  font-weight: 700;
  min-width: 60px;
}

.flight-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  position: relative;
}

.flight-line .icon {
  position: absolute;
  top: -11px;
  left: 50%;
  margin-left: -12px;
  color: var(--primary);
}

.flight-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.flight-price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.flight-airline {
  font-size: 12px;
  color: var(--text-muted);
}

/* Toggle switch */
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--border);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-knob {
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.3s;
}

.toggle-switch.active .toggle-knob {
  left: 24px;
}

/* Scrollable horizontal cards */
.scroll-cards {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 0 -20px;
  padding: 0 20px 8px;
  scroll-snap-type: x mandatory;
}

.scroll-cards > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* No eSIM placeholder */
.no-esim {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.no-esim .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.no-esim p {
  font-size: 14px;
}

/* Responsive */
@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .feature {
    width: auto;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .phone-frame {
    border-radius: 0;
    border: none;
  }
  
  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tour-grid {
    grid-template-columns: 1fr;
  }
}
