/* TapShop Static CSS - Matching Original Design */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

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

:root {
  --bg-cream: #f6f0e8;
  --text-dark: #1a1a1a;
  --text-muted: #7a6f63;
  --text-light: rgba(166, 154, 140, 0.8);
  --green: #22c55e;
  --green-dark: #166534;
  --yellow-bg: #fef3c7;
  --yellow-text: #92400e;
  --red-bg: #fef2f2;
  --red-text: #991b1b;
  --blue-bg: #eff6ff;
  --blue-text: #1e40af;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Landing Page Styles */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Decorative Bubbles */
.bubble {
  position: fixed;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.bubble-1 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}
.bubble-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}
.bubble-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

.bubble-yellow {
  position: fixed;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.5) 0%,
    rgba(251, 191, 36, 0.2) 100%
  );
  border: 1px solid rgba(251, 191, 36, 0.3);
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 1;
  animation: float 10s ease-in-out infinite;
}

.bubble-yellow-1 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 5%;
}

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

/* Hero Section */
.hero {
  text-align: center;
  z-index: 10;
  max-width: 600px;
}

.hero-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--text-dark);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.4)
  );
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--text-muted);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Legal Pages (Terms & Privacy) */
.legal-page {
  min-height: 100vh;
  padding: 2rem 0;
}

.back-link {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2rem;
  transition: color 0.2s;
}

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

/* Card */
.card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-title {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.card-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
}

.card-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Sections */
.section {
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.section-text + .section-text {
  margin-top: 0.75rem;
}

/* Alert Boxes */
.alert {
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.alert-green {
  background: #f0fdf4;
  border: 2px solid rgba(34, 197, 94, 0.3);
}

.alert-green .alert-title {
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.alert-green .alert-text,
.alert-green li {
  color: var(--green-dark);
  font-size: 0.875rem;
}

.alert-yellow {
  background: var(--yellow-bg);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.alert-yellow .alert-title,
.alert-yellow .alert-text {
  color: var(--yellow-text);
}

.alert-red {
  background: var(--red-bg);
  border: 2px solid rgba(239, 68, 68, 0.3);
}

.alert-red .alert-title,
.alert-red .alert-text {
  color: var(--red-text);
}

.alert-blue {
  background: var(--blue-bg);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.alert-blue .alert-title,
.alert-blue .alert-text,
.alert-blue li {
  color: var(--blue-text);
}

.alert-title {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.alert-text {
  font-size: 0.875rem;
}

/* Lists */
ul.check-list {
  list-style: none;
  padding: 0;
}

ul.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

ul.disc-list {
  padding-left: 1.5rem;
}

ul.disc-list li {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Info Box */
.info-box {
  background: var(--gray-50);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.info-box-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.info-box-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Sample Messages */
.sample-message {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
}

.sample-message-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.sample-message-text {
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--text-dark);
}

/* Contact Box */
.contact-box {
  background: var(--gray-50);
  border-radius: 0.75rem;
  padding: 1rem;
}

.contact-box-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* Third Party List */
.third-party-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.third-party-badge {
  background: var(--gray-100);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: monospace;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

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