:root {
  --primary: #2D5A3D;
  --primary-dark: #1E3D2A;
  --primary-light: #3D7A52;
  --secondary: #D4A853;
  --secondary-light: #E8C97A;
  --accent: #C17B4A;
  --background: #FAFAF8;
  --surface: #FFFFFF;
  --surface-alt: #F5F5F3;
  --text: #1A1A1A;
  --text-secondary: #666666;
  --text-muted: #999999;
  --text-light: #FFFFFF;
  --border: #E5E5E5;
  --border-light: #F0F0F0;
}

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

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(45, 90, 61, 0.95);
  backdrop-filter: blur(10px);
}

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

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

.nav-portal-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-portal-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--secondary-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.download-btn {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, opacity 0.2s;
}

.download-btn:hover {
  transform: scale(1.02);
}

.download-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.download-btn img {
  display: block;
  height: 50px;
  width: auto;
}

.stats-row {
  display: inline-flex;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-light);
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
}

.features {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(45, 90, 61, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

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

.gallery {
  padding: 80px 0;
  background: var(--surface-alt);
}

.gallery .section-title,
.gallery .section-subtitle {
  padding: 0 24px;
}

.gallery-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 24px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  flex-shrink: 0;
  width: 280px;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
}

.cta {
  padding: 40px 24px;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-light);
  margin: 20px 0 12px;
}

.cta-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.cta-btn:hover {
  transform: scale(1.02);
}

.cta-btn:active {
  transform: scale(0.98);
}

.cta-btn-primary {
  background: var(--secondary);
  color: var(--primary-dark);
}

.cta-btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.footer {
  padding: 50px 24px;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-logo span {
  font-weight: 600;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

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

.footer-links span {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 20px 60px;
  }

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

  .stats-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 12px 20px;
  }

  .features {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 26px;
  }

  .gallery {
    padding: 60px 0;
  }

  .gallery-card {
    width: 240px;
    height: 300px;
  }

  .cta-content {
    padding: 40px 24px;
  }

  .cta-content h2 {
    font-size: 26px;
  }
}
