/* Offswitch Web - Styles */
:root {
  --primary: #E53935;
  --primary-dark: #B71C1C;
  --primary-light: #FF6659;
  --background: #0a0a0a;
  --background-light: #1a1a1a;
  --surface: #242424;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #8a8a8a;
  --border: #333333;
  --border-radius: 12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
}

/* Header */
.header {
  text-align: center;
  padding: 48px 24px;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  margin-bottom: 24px;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(229, 57, 53, 0.4));
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 35px rgba(229, 57, 53, 0.6));
  }
}

.header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tagline {
  font-size: 18px;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--border-radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(229, 57, 53, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-light);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--background-light);
}

/* Store Buttons */
.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-top: 48px;
}

.store-btn {
  width: 100%;
  max-width: 280px;
}

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

/* Navigation */
.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
}

.nav a:hover {
  color: var(--text-primary);
}

/* Legal Pages */
.legal-content {
  background-color: var(--surface);
  border-radius: var(--border-radius);
  padding: 32px;
  margin-top: 24px;
}

.legal-content h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.legal-content .last-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--primary-light);
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-content ul {
  color: var(--text-secondary);
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--primary);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--text-primary);
}

/* Footer */
.footer {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--surface);
  color: var(--text-secondary);
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--text-primary);
  transform: scale(1.1);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

/* Responsive */
@media (min-width: 600px) {
  .store-buttons {
    flex-direction: row;
    justify-content: center;
  }
}
