@import url("styles.css");

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-display);
  color: var(--text-primary);
  background: var(--gray-50);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

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

.page {
  max-width: 680px;
  margin: 64px auto;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-strong);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.back-link:hover {
  color: var(--brand);
  transform: translateX(-3px);
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header .app-icon {
  border-radius: 22%;
  box-shadow: var(--shadow-lifted);
  margin-bottom: 16px;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
  margin: 0 0 4px;
}

.page-header h2 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0;
}

.page-header .updated {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 8px;
}

/* Forms */
.form-section {
  margin-top: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input[type="text"],
.form-group textarea {
  font-family: var(--font-display);
  font-size: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: var(--gray-50);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--focus-ring);
  background: var(--white);
}

.submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--brand);
  color: var(--text-on-brand);
  cursor: pointer;
  box-shadow: var(--shadow-fab);
  transition: filter 0.18s ease, transform 0.18s ease;
}

.submit-btn:hover {
  filter: brightness(1.06);
}

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

/* Privacy highlight */
.highlight {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  padding: 24px;
  border-radius: var(--radius-lg);
  color: var(--brand-strong);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(32, 178, 76, 0.06);
}

/* Sections for Privacy Policy */
section {
  margin-bottom: 36px;
}

section h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 16px;
  letter-spacing: var(--ls-tight);
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 8px;
}

section h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 20px 0 8px;
}

section p {
  font-size: 16px;
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin: 0 0 12px;
}

section ul {
  list-style-type: none;
  padding-left: 0;
  margin: 16px 0;
}

section li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
}

section li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--brand);
  font-weight: bold;
}

section a {
  color: var(--text-link);
  text-decoration: none;
  font-weight: 500;
}

section a:hover {
  text-decoration: underline;
}

.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }

/* Support Page Hero layout */
.hero {
  max-width: 540px;
  margin: 80px auto;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
  text-align: center;
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero .app-icon {
  border-radius: 22%;
  box-shadow: var(--shadow-lifted);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
  margin: 0 0 8px;
}

.hero h2 {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0 0 32px;
}

.hero .appstore {
  margin-bottom: 40px;
  transition: transform 0.18s ease;
}

.hero .appstore:hover {
  transform: scale(1.02);
}

.hero .footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-hairline);
  padding-top: 24px;
}

.hero .footer a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.18s ease;
}

.hero .footer a:hover {
  color: var(--brand);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    background: var(--white);
  }
  .page, .hero {
    border: none;
    box-shadow: none;
    margin: 24px auto;
    padding: 24px 16px;
  }
}
