/* Reset and Base Styles */
:root {
  --primary-color: #00b893;
  --secondary-color: #5d5d5f;
  --background-color: #f2f2f2;
  --background-alt-color: #d3f8e3;
  --accent-color: #084f56;
  --spacing-unit: 1rem;
}

/* 
#D8F0F0
#D3F8E3
#98D9C6
#00B893
#90B494
#2FE081
#5d5d5f
#718F94
#9DB7C4
#2F91E0
#084F56
#DBCFB0
#131A40
#03A678
#ADD9C9
#2FC9E0
#7AD3E0
#2F59E0
#F25555 
*/

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  line-height: 1.5;
  color: var(--primary-color);
  background: linear-gradient(
    145deg,
    var(--background-color) 20%,
    var(--background-alt-color) 100%
  );
  min-height: 100vh;
}

/* Main Content Styling */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: calc(var(--spacing-unit) * 3);
}

.logo {
  width: 100px;
  height: auto;
  display: block;
  margin-right: calc(var(--spacing-unit) * 1.5);
}

.logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

/* Typography */
h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-align: center;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  margin: calc(var(--spacing-unit) * 3) 0 var(--spacing-unit);
}

p {
  font-size: 17px;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-unit);
  max-width: 800px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* List Styling */
ul {
  list-style: none;
  margin: calc(var(--spacing-unit) * 2) 0;
  li {
    font-size: 17px;
    color: var(--secondary-color);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    padding-left: calc(var(--spacing-unit) * 1.5);
    position: relative;
  }

  li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
  }
}

.reference {
  color: var(--accent-color);
  font-weight: 500;
  padding: 0 2px;
}

.faq-reference {
  margin-top: calc(var(--spacing-unit) * 1.5);
  padding-top: calc(var(--spacing-unit) * 1.5);
  font-style: italic;
}

ol {
  list-style: decimal;
  margin: calc(var(--spacing-unit) * 2) 0;
}

ol li {
  font-size: 17px;
  color: var(--secondary-color);
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  padding-left: calc(var(--spacing-unit) * 0.5);
}

ol li::marker {
  color: var(--accent-color);
}

/* Button Styling */
button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 980px;
  padding: 12px 24px;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: calc(var(--spacing-unit) * 2) var(--spacing-unit);
}

button:hover {
  background-color: #0077ed;
  transform: scale(1.02);
}

.abn-footer {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  color: #666;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  main {
    padding: calc(var(--spacing-unit) * 2);
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 24px;
  }

  p,
  li {
    font-size: 16px;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0.01;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main > * {
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0.01;
}

main > *:nth-child(1) {
  animation-delay: 0.1s;
}
main > *:nth-child(2) {
  animation-delay: 0.2s;
}
main > *:nth-child(3) {
  animation-delay: 0.3s;
}
main > *:nth-child(4) {
  animation-delay: 0.4s;
}
main > *:nth-child(5) {
  animation-delay: 0.5s;
}
main > *:nth-child(6) {
  animation-delay: 0.6s;
}
main > *:nth-child(7) {
  animation-delay: 0.7s;
}
main > *:nth-child(8) {
  animation-delay: 0.8s;
}
main > *:nth-child(9) {
  animation-delay: 0.9s;
}
main > *:nth-child(10) {
  animation-delay: 1s;
}

/* App Download Section */
.app-download-section {
  text-align: center;
  margin: calc(var(--spacing-unit) * 3) 0;
  padding: calc(var(--spacing-unit) * 2);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 16px;
  color: white;
}

.app-download-section h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: calc(var(--spacing-unit) * 0.5);
  color: white;
}

.app-download-section p {
  font-size: 16px;
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  color: rgba(255, 255, 255, 0.9);
  max-width: none;
}

.download-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.download-card {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
  min-width: fit-content;
}

.download-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.download-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  line-height: 1;
}

.store-name {
  font-size: 16px;
  color: white;
  font-weight: 600;
  line-height: 1.2;
}

.store-icon {
  height: 32px;
  width: auto;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .app-download-section {
    margin: calc(var(--spacing-unit) * 2) 0;
    padding: calc(var(--spacing-unit) * 1.5);
  }

  .download-cards {
    gap: 16px;
  }

  .download-card {
    padding: 14px 16px;
  }

  .store-icon {
    height: 28px;
  }
}
