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

:root {
  --green: #1a7a3c;
  --green-dark: #115528;
  --green-light: #e8f5ee;
  --gold: #f0c040;
  --text: #1a1a1a;
  --muted: #555;
  --border: #d4e8dc;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

/* HEADER */
header {
  background: var(--green-dark);
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

nav {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.nav-logo {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo span {
  color: #ffffff;
  font-weight: 400;
}

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

.nav-links a {
  color: #b8d8c4;
  text-decoration: none;
  font-size: 0.88rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: var(--green-dark) !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 7px 14px !important;
  border-radius: 8px !important;
  text-decoration: none;
  transition: opacity 0.2s, background 0.2s !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #f5d060 !important;
  color: var(--green-dark) !important;
  opacity: 1 !important;
}

.nav-cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #2d9e55 100%);
  color: white;
  text-align: center;
  padding: 80px 24px 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto 32px;
}

.store-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: white;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}

.store-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}

.store-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-btn-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.store-btn small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

/* FEATURES */
.features {
  background: var(--green-light);
  padding: 64px 24px;
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.features-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(26, 122, 60, 0.12);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ABOUT */
.about {
  padding: 64px 24px;
}

.about-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-inner p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* TEAM */
.team {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0f4d24 0%, var(--green-dark) 55%, #0a3a1b 100%);
  padding: 84px 24px 90px;
}

.team::before {
  content: '';
  position: absolute;
  top: -260px;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(240,192,64,0.16), transparent 68%);
  pointer-events: none;
}

.team .section-title,
.team .section-sub {
  position: relative;
}

.team .section-title {
  color: #fff;
}

.team .section-sub {
  color: rgba(255,255,255,0.6);
}

.team-grid {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 232px;
  max-width: 264px;
  background: #fff;
  border-radius: 20px;
  padding: 36px 26px 28px;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease,
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
}

.team-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.team-card.in-view:hover {
  transform: translateY(-12px);
  box-shadow: 0 26px 52px rgba(0,0,0,0.42);
}

.team-card:hover::before {
  transform: scaleX(1);
}

/* avatar with animated gradient ring */
.team-avatar {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 18px;
  transition: transform 0.3s ease;
}

.team-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), var(--green), #2ea35a, var(--gold), var(--green), var(--gold));
  animation: ring-spin 7s linear infinite;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.team-card:hover .team-avatar {
  transform: scale(1.07);
}

.team-initials,
.team-avatar img {
  position: absolute;
  inset: 5px;
  z-index: 1;
  border-radius: 50%;
  border: 3px solid #fff;
}

.team-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.team-avatar img {
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: cover;
  object-position: center top;
  background: var(--green);
}

.team-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.team-role {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: 11px;
  margin-bottom: 18px;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0a66c2;
  background: rgba(10,102,194,0.09);
  padding: 8px 18px;
  border-radius: 22px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.team-linkedin svg {
  width: 16px;
  height: 16px;
}

.team-card:hover .team-linkedin {
  background: #0a66c2;
  color: #fff;
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .team-avatar::before { animation: none; }
  .team-card {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.3s ease;
  }
}

/* CONTACT */
.contact {
  padding: 64px 24px;
  text-align: center;
}

.contact a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: var(--green-dark);
  color: #a8cfb8;
  text-align: center;
  padding: 28px 24px;
  font-size: 0.85rem;
}

footer a {
  color: var(--gold);
  text-decoration: none;
  margin: 0 10px;
}

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

.footer-links {
  margin-bottom: 10px;
}

/* LEGAL PAGES */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.legal .last-updated {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 32px 0 10px;
}

.legal p, .legal li {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 10px;
}

.legal ul, .legal ol {
  padding-left: 20px;
  margin-bottom: 10px;
}

.legal a {
  color: var(--green);
  font-weight: 600;
}

.highlight-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.highlight-box p {
  margin: 0;
  color: var(--green-dark);
  font-weight: 500;
}

@media (max-width: 700px) {
  header {
    padding: 0 16px;
  }
  nav {
    gap: 12px;
  }
  .nav-links {
    display: none;
  }
  .nav-logo {
    font-size: 0.95rem;
  }
  .nav-cta {
    font-size: 0.78rem !important;
    padding: 6px 10px !important;
  }
  .hero {
    padding: 56px 20px 64px;
  }
  .team-grid {
    flex-direction: column;
    align-items: center;
  }
  .team-card {
    flex: 1 1 auto;
    width: 100%;
    max-width: 340px;
  }
}
