/* BrewSeek website styles */

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

:root {
  --brown: #7C4D2A;
  --brown-light: #A0673A;
  --brown-bg: #F5EFE8;
  --text: #1C1C1E;
  --text-secondary: #6C6C70;
  --white: #FFFFFF;
  --radius: 14px;
}

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

/* Nav */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-logo {
  height: 36px;
  width: 36px;
  border-radius: 8px;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--brown);
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  background: var(--brown-bg);
}

.hero-logo {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 8px 32px rgba(124,77,42,0.18);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--brown);
  margin-bottom: 12px;
}

.tagline {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}

.description {
  max-width: 560px;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

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

/* Features */

.features {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 64px 40px;
  max-width: 960px;
  margin: 0 auto;
}

.feature {
  flex: 1 1 220px;
  max-width: 280px;
  background: var(--brown-bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.feature .icon {
  font-size: 36px;
  display: block;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--brown);
}

.feature p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Support page */

.support {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px;
}

.support h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
}

.support > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.support-card {
  background: var(--brown-bg);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin-bottom: 48px;
}

.support-card .icon {
  font-size: 40px;
  display: block;
  margin-bottom: 16px;
}

.support-card h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.support-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.email-link {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  border-bottom: 2px solid var(--brown-light);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.email-link:hover {
  opacity: 0.75;
}

/* FAQ */

.faq h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

details {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

summary {
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: "+";
  font-size: 20px;
  color: var(--brown);
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* Privacy policy page */

.privacy {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px;
}

.privacy h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
}

.privacy .last-updated {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.privacy h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--brown);
  margin-top: 40px;
  margin-bottom: 12px;
}

.privacy p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.privacy ul {
  margin: 0 0 14px 0;
  padding-left: 20px;
}

.privacy ul li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.privacy a {
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid var(--brown-light);
}

.privacy a:hover {
  opacity: 0.75;
}

/* Footer */

footer {
  text-align: center;
  padding: 32px;
  font-size: 14px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(0,0,0,0.08);
}

footer a {
  color: var(--brown);
  text-decoration: none;
}

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

/* Responsive */

@media (max-width: 600px) {
  nav {
    padding: 14px 20px;
  }

  .hero {
    padding: 60px 20px 48px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .features {
    padding: 48px 20px;
  }
}
