:root {
  --color-primary: #1B3A5C;
  --color-accent: #2EC4B6;
  --color-accent-hover: #25A89C;
  --color-bg: #FFFFFF;
  --color-bg-subtle: #F5F7FA;
  --color-text: #2D3748;
  --color-text-light: #718096;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  border-bottom: 1px solid #E2E8F0;
  padding: 1rem 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

header nav a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0 3rem;
  animation: fadeIn 0.6s ease-out;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero p {
  color: var(--color-text-light);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.app-store-badge {
  display: inline-block;
  transition: opacity 0.2s;
}

.app-store-badge:hover {
  opacity: 0.8;
}

.app-store-badge img {
  height: 48px;
}

/* Features */
.features {
  background: var(--color-bg-subtle);
  padding: 3.5rem 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.feature h3 {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.feature p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Screenshots */
.screenshots {
  padding: 3.5rem 0;
  text-align: center;
}

.screenshot-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  overflow-x: auto;
  padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.screenshot-row img {
  height: 420px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

/* Support page */
.support-hero {
  text-align: center;
  padding: 4rem 0 2rem;
  animation: fadeIn 0.6s ease-out;
}

.support-hero h1 {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.support-hero p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* Contact section */
.contact {
  text-align: center;
  padding: 2rem 0 3rem;
}

.contact p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s;
}

.btn:hover {
  background: #244a73;
}

.btn-accent {
  background: var(--color-accent);
}

.btn-accent:hover {
  background: var(--color-accent-hover);
}

/* FAQ */
.faq {
  padding: 2rem 0 4rem;
}

.faq h2 {
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-align: center;
}

details {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  padding: 0;
  overflow: hidden;
}

summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--color-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--color-text-light);
  transition: transform 0.2s;
}

details[open] summary::after {
  content: "−";
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 1.25rem 1rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Footer */
footer {
  border-top: 1px solid #E2E8F0;
  padding: 2rem 0;
  text-align: center;
}

footer nav {
  margin-bottom: 0.75rem;
}

footer nav a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0 0.75rem;
  transition: color 0.2s;
}

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

footer .copyright {
  color: var(--color-text-light);
  font-size: 0.8rem;
}

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

/* Mobile */
@media (max-width: 640px) {
  .hero {
    padding: 3rem 0 2rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
  }

  .features {
    padding: 2.5rem 0;
  }

  .screenshot-row {
    justify-content: flex-start;
    padding: 0.5rem 1rem;
  }

  .screenshot-row img {
    height: 340px;
  }

  .support-hero {
    padding: 3rem 0 1.5rem;
  }
}
