/* Reset and base styles */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f6f8fa;
  color: #222;
}

.ana-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1rem 0;
}

.ana-header-content {
  display: flex;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  gap: 1rem;
  justify-content: space-between;
}

.ana-header-content>.ana-logo {
  flex-shrink: 0;
}

.ana-header-content>div:not(.ana-header-actions) {
  flex: 1 1 auto;
  min-width: 0;
}

.ana-header-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ana-header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.ana-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.ana-header h1 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
  color: black;
}

.ana-header-link {
  display: block;
  font-size: 0.92rem;
  color: #347ab8;
  text-decoration: underline;
  margin-top: 0.15rem;
  margin-left: 2px;
  font-weight: 500;
  width: fit-content;
}

.ana-header-contact-btn {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  font-size: 1rem;
  color: #347ab8;
  background: #fff;
  border: 2px solid #347ab8;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  box-sizing: border-box;
  cursor: pointer;
  text-align: center;
}

.ana-header-contact-btn:hover,
.ana-header-contact-btn:focus {
  background: #f0f7fc;
  color: #265a88;
  border-color: #265a88;
}

.ana-header-member-btn {
  display: inline-block;
  background: #347ab8;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  transition: background 0.15s, box-shadow 0.15s;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(52, 122, 184, 0.08);
  border: none;
  cursor: pointer;
}

.ana-header-member-btn:hover,
.ana-header-member-btn:focus {
  background: #265a88;
  box-shadow: 0 4px 16px rgba(52, 122, 184, 0.16);
}

.ana-tiers-section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.ana-tiers-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
  font-weight: 600;
}

.ana-tiers-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(2 * 360px + 2rem);
  ;
}

.ana-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(52, 122, 184, 0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.2s;
  position: relative;
}

.ana-card:hover {
  box-shadow: 0 4px 24px rgba(52, 122, 184, 0.16);
}

.ana-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #347ab8;
}

.ana-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.ana-price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
}

.ana-price-period {
  font-size: 1rem;
  color: #666;
}

.ana-card-desc {
  margin: 0 0 1rem 0;
  color: #444;
  font-size: 1rem;
}

.ana-card-perks {
  margin: 0 0 1.5rem 0;
  padding-left: 1.2rem;
  color: #347ab8;
  font-size: 0.98rem;
}

.ana-card-perks li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.ana-card-join-btn {
  display: block;
  background: #347ab8;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  margin: 1.25rem auto 1.25rem auto;
  transition: background 0.15s;
  text-align: center;
  width: 70%;
  box-sizing: border-box;
  font-size: 1.07rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(52, 122, 184, 0.08);
}

.ana-card-join-btn:hover,
.ana-card-join-btn:focus {
  background: #265a88;
  box-shadow: 0 4px 16px rgba(52, 122, 184, 0.16);
}

.ana-card-rebill {
  font-size: 0.92rem;
  color: #666;
  margin-bottom: 0.75rem;
  margin-top: -0.5rem;
  font-style: italic;
}

.ana-noscript {
  color: #b00;
  text-align: center;
  margin-top: 2rem;
}

.ana-footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 1rem;
}

/* Responsive styles */
@media (max-width: 900px) {
  .ana-tiers-container {
    gap: 1.25rem;
  }

  .ana-card {
    max-width: 340px;
  }
}

@media (max-width: 600px) {
  .ana-header-content {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
  }

  .ana-header-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .ana-header-main>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .ana-header h1 {
    font-size: 1.3rem;
  }

  .ana-header-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .ana-header-link {
    margin-left: 0;
    text-align: center;
    margin-top: 0.2rem;
  }

  .ana-tiers-title {
    font-size: 1.6rem;
    margin-top: 2rem;
    text-align: center;
  }

  .ana-tiers-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .ana-card {
    max-width: 85vw;
    margin-left: auto;
    margin-right: auto;
  }
}