/* Sylmoria Landing Page Styles */

:root {
  --primary: #4A8B70;
  --primary-dark: #3D7A61;
  --primary-light: #5A9B80;
  --background: #F5F8F7;
  --text-primary: #1A2F26;
  --text-secondary: #6B8778;
  --text-muted: #8AA699;
  --card-bg: #FFFFFF;
  --border: #D4E0DA;
  --shadow: rgba(26, 47, 38, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 0 24px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 20px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

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

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

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--card-bg) 0%, var(--background) 100%);
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-highlight {
  color: var(--primary);
}

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text-primary);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
}

.store-button svg {
  width: 24px;
  height: 24px;
}

.store-button span {
  text-align: left;
  line-height: 1.2;
}

.store-button .small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}

.store-button .big {
  font-size: 16px;
}

.hero-image {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 24px 48px var(--shadow);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

/* Features Section */
.features {
  padding: 80px 24px;
  background: var(--card-bg);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--background);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

/* CTA Section */
.cta {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--background) 0%, var(--card-bg) 100%);
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 48px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand span {
  font-weight: 600;
  font-size: 18px;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-copyright {
  width: 100%;
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Legal Pages */
.legal-page {
  padding: 120px 24px 80px;
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 48px;
  border: 1px solid var(--border);
}

.legal-container h1 {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.legal-container .last-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-container h2 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-container p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.legal-container ul {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.legal-container li {
  margin-bottom: 8px;
}

.legal-container a {
  color: var(--primary);
  text-decoration: none;
}

.legal-container a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

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

  .hero p {
    font-size: 18px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }

  .legal-container {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
