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

:root {
  --primary: #E94B4B;
  --primary-hover: #DC2626;
  --background: #FDF8F3;
  --card-background: #FFFFFF;
  --text: #2D2D2D;
  --text-secondary: #2D2D2D;
  --text-muted: rgba(45, 45, 45, 0.6);
  --border: #EEEEEE;
  --highlight: #FEF2F2;
  --success: #10B981;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--background);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.container {
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.logo {
  margin-bottom: 32px;
}

.logo-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.card {
  background: var(--card-background);
  border-radius: 24px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card h1 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.store-button:hover {
  transform: translateY(-1px);
}

.store-button:active {
  transform: translateY(0);
}

.store-button.ios {
  background: #000000;
  color: white;
}

.store-button.android {
  background: var(--primary);
  color: white;
}

.store-button.android:hover {
  background: var(--primary-hover);
}

.store-button svg {
  width: 24px;
  height: 24px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0 24px 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.feature-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-text strong {
  color: var(--text);
  font-weight: 600;
}

.footer {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Highlight the relevant platform button */
.store-button.highlight {
  position: relative;
  overflow: visible;
}

.store-button.highlight::before {
  content: 'Rekommenderad';
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Success state for when coming from NFC */
.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--highlight);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid var(--primary);
}

.success-badge svg {
  width: 16px;
  height: 16px;
}
