/* Base layout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #0f172a;
  background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #020617 100%);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(135deg, #020617 0%, #020617 40%, #0b1120 100%);
  color: #e5e7eb;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.25rem;
  gap: 1.5rem;
}

.site-title {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
}

.site-tagline {
  margin: 0.4rem 0 0;
  color: #9ca3af;
  font-size: 0.95rem;
}

.simple-nav a {
  font-size: 0.95rem;
  color: #cbd5f5;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.simple-nav a:hover {
  border-color: rgba(148, 163, 184, 0.5);
  text-decoration: none;
}

/* Main content */
.main-content {
  flex: 1;
  padding: 2.5rem 1.25rem 2rem;
  color: #e5e7eb;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero-text h2 {
  margin: 0 0 0.75rem;
  font-size: 1.8rem;
}

.hero-text p {
  margin: 0;
  max-width: 640px;
  color: #cbd5f5;
  line-height: 1.6;
}

.apps-section {
  background: radial-gradient(circle at top left, #0f172a, #020617 55%);
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.75rem 1.5rem 1.75rem;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.7);
}

.apps-section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.app-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75));
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.5rem 1.4rem 1.4rem;
}

.app-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.app-title {
  margin: 0;
  font-size: 1.45rem;
}

.app-tag {
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #e0f2fe;
  background: rgba(8, 47, 73, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.app-summary {
  margin: 0 0 1rem;
  color: #d1d5db;
  line-height: 1.6;
}

.app-features h4 {
  margin: 0 0 0.5rem;
}

.app-features ul {
  padding-left: 1.2rem;
  margin: 0;
  color: #d1d5db;
}

.app-features li + li {
  margin-top: 0.3rem;
}

.app-cta {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.app-cta-note {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.08s ease,
    box-shadow 0.08s ease, border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  box-shadow: 0 12px 25px rgba(56, 189, 248, 0.35);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  transform: translateY(-0.5px);
  box-shadow: 0 18px 35px rgba(56, 189, 248, 0.45);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.7);
}

/* Policy & form pages */
.policy-content,
.form-page {
  flex: 1;
  padding: 2.25rem 1.25rem 2rem;
  color: #e5e7eb;
}

.policy-content section + section {
  margin-top: 1.5rem;
}

.policy-content h2 {
  margin-top: 0;
}

.policy-content ul {
  padding-left: 1.2rem;
}

.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: radial-gradient(circle at top left, #0f172a, #020617 60%);
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.form-card h2 {
  margin-top: 0;
}

.support-form {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support-form label {
  font-size: 0.9rem;
  color: #cbd5f5;
}

.support-form input,
.support-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font: inherit;
  resize: vertical;
}

.support-form input:focus,
.support-form textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.55);
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: #020617;
  color: #9ca3af;
  padding: 0.9rem 0 1.1rem;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-meta {
  text-align: center;
}

.footer-meta small {
  display: block;
}

/* Responsive */
@media (max-width: 640px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .apps-section {
    padding: 1.4rem 1.2rem 1.4rem;
  }

  .form-card {
    padding: 1.4rem 1.2rem 1.3rem;
  }
}


