:root {
  --primary: #0071e3;
  --text: #1d1d1f;
  --bg: #f9f9f9;
  --max-width: 900px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

header {
  height: 56px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header h1 {
  font-size: 1.3rem;
  font-weight: 600;
}

nav a {
  text-decoration: none;
  color: var(--text);
  margin-left: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

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

main {
  padding: 100px 2rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.logo {
  height: 7rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 100%;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
}

p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.support-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
}

.support-card {
  background: white;
  padding: 1.6rem;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.support-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--primary);
}

.support-card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.support-card a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: #888;
  background: #fff;
  border-top: 1px solid #eaeaea;
}

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

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

/* Modal styles */
.modal-overlay {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100%;
  height: 60%;
  background: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  transition: bottom 0.4s ease-in-out;
  padding: 2rem;
  z-index: 9999;
  max-height: 80%;
  overflow-y: auto;
}

.modal-overlay.active {
  bottom: 0;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
  font-weight: bold;
}

.modal-title {
  font-size: 1.5rem;
  margin-top: 0;
  color: var(--primary);
}

@media (max-width: 600px) {
  .modal-overlay {
    height: 80%;
  }

  h2 {
    font-size: 1.8rem;
  }
  p {
    font-size: 1rem;
  }
}
