/* ═══════════════════════════════════════════
   AZY Life France — home.css
   Hero + home page sections
   ═══════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 68px;
  background: var(--bg);
}

/* Soft green dot pattern background */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--green-100) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  pointer-events: none;
}

/* Large green glow top-right */
.hero::after {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92,181,103,.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 860px; margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  animation: heroIn .8s var(--ease) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-xlight); border: 1px solid rgba(92,181,103,.3);
  color: var(--green-dark); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .95rem; border-radius: 50px; margin-bottom: 2rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Logo in hero - ratio 2319×1055 → max 320×145px */
.hero-logo {
  width: clamp(200px, 35vw, 320px);
  height: auto; margin: 0 auto 2rem;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo img {
  width: 100%; height: auto;
  object-fit: contain;
  /* shadow for dark logos on white bg */
  filter: drop-shadow(0 4px 20px rgba(92,181,103,.2));
}
/* Fallback SVG logo */
.hero-logo-svg { width: 100%; height: auto; }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700; letter-spacing: -.03em;
  margin-bottom: 1.25rem; line-height: 1.08;
}
.hero h1 em { font-style: normal; color: var(--green); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-2); max-width: 520px; margin: 0 auto 2.5rem;
  line-height: 1.75; font-weight: 400;
}

.hero-btns {
  display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: heroIn .8s .2s var(--ease) both;
}

/* Server status bar */
.server-bar {
  display: inline-flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: center;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: .9rem 1.75rem;
  box-shadow: var(--shadow); animation: heroIn .8s .35s var(--ease) both;
}
.server-bar-item {
  display: flex; align-items: center; gap: .55rem;
  font-size: .82rem;
}
.server-bar-item + .server-bar-item::before {
  content: ''; display: block;
  width: 1px; height: 18px; background: var(--border);
  margin-right: .95rem;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: blink 2s infinite; flex-shrink: 0;
}
.status-dot.offline { background: var(--red); box-shadow: 0 0 8px var(--red); }
.server-bar-label { color: var(--text-3); font-weight: 500; font-size: .78rem; }
.server-bar-value { color: var(--text); font-weight: 700; font-family: var(--font-display); }
.ip-copy-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 6px; padding: .25rem .65rem;
  font-size: .74rem; font-weight: 600; color: var(--text-2);
  cursor: pointer; transition: var(--trans);
}
.ip-copy-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-xlight); }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: var(--text-3); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.scroll-arrow {
  width: 20px; height: 20px; border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3); transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
  border-radius: 2px;
}
@keyframes scrollBounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(5px)} }

/* ── STATS BAND ── */
.stats-band {
  background: var(--bg-2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; text-align: center;
}
.stat-num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--green); line-height: 1; margin-bottom: .25rem;
}
.stat-lbl { font-size: .82rem; font-weight: 500; color: var(--text-3); }
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

/* ── ABOUT ── */
.about { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center;
}
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.about-feat {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1.1rem; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); transition: var(--trans);
}
.about-feat:hover { border-color: rgba(92,181,103,.35); background: var(--green-xlight); transform: translateY(-2px); }
.about-feat-icon {
  width: 36px; height: 36px; border-radius: 8px; background: var(--green-xlight);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
  border: 1px solid rgba(92,181,103,.2);
}
.about-feat-title { font-weight: 700; font-size: .88rem; margin-bottom: .15rem; color: var(--text); }
.about-feat-text { font-size: .78rem; color: var(--text-3); line-height: 1.5; }

/* Visual card */
.about-visual-wrap { position: relative; }
.about-main-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem; position: relative; overflow: hidden;
}
.about-main-card::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92,181,103,.15), transparent 70%);
}
.about-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.about-tag {
  display: inline-block; background: var(--green-xlight); color: var(--green-dark);
  font-size: .72rem; font-weight: 700; padding: .3rem .7rem;
  border-radius: 50px; margin-top: 1.25rem; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid rgba(92,181,103,.3);
}
.about-float {
  position: absolute; bottom: -1rem; right: -1rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.float-pill {
  display: flex; align-items: center; gap: .5rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 50px; padding: .5rem 1rem; font-size: .8rem; font-weight: 600;
  box-shadow: var(--shadow); white-space: nowrap;
  animation: floatPill 4s ease-in-out infinite;
}
.float-pill:nth-child(2) { animation-delay: -2s; }
@keyframes floatPill { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.float-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual-wrap { display: none; }
  .about-feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .about-feats { grid-template-columns: 1fr; }
}

/* ── FEATURES ── */
.features { background: var(--bg-2); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.feature-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: var(--trans); position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--grad); transform: scaleX(0);
  transition: transform var(--trans); transform-origin: left;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--border-dark); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  color: var(--green-xlight); line-height: 1; margin-bottom: .25rem;
  /* outlined text effect */
  -webkit-text-stroke: 1.5px var(--green-100);
  color: transparent;
}
.feature-icon {
  font-size: 1.6rem; margin-bottom: .75rem;
}
.feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.feature-text { font-size: .84rem; color: var(--text-2); line-height: 1.65; }
.feature-tag {
  display: inline-block; margin-top: 1.1rem; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-dark); background: var(--green-xlight);
  padding: .25rem .65rem; border-radius: 50px; border: 1px solid rgba(92,181,103,.2);
}

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

/* ── TEAM ── */
.team { background: var(--bg); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.team-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center;
  transition: var(--trans); position: relative; overflow: hidden;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(92,181,103,.3); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff;
  border: 3px solid var(--bg); box-shadow: 0 0 0 1.5px rgba(92,181,103,.3);
}
.team-name { font-weight: 700; font-size: .98rem; margin-bottom: .25rem; }
.team-role { font-size: .72rem; font-weight: 700; color: var(--green-dark); letter-spacing: .08em; text-transform: uppercase; }
.team-desc { margin-top: .65rem; font-size: .8rem; color: var(--text-3); line-height: 1.55; }

@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* ── PARTNERS ── */
.partners { background: var(--bg-2); }
.partners-row {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem;
}
.partner-card {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem 2.25rem;
  min-width: 160px; transition: var(--trans); font-size: .92rem; font-weight: 600; color: var(--text-2);
}
.partner-card:hover { border-color: rgba(92,181,103,.4); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }

/* ── JOIN CTA ── */
.join-cta {
  background: linear-gradient(135deg, var(--green-xlight) 0%, rgba(41,167,70,.06) 100%);
  border-top: 1px solid rgba(92,181,103,.15);
  border-bottom: 1px solid rgba(92,181,103,.15);
  text-align: center; padding: 5rem 0;
}
.join-cta h2 { margin-bottom: .75rem; }
.join-cta p { max-width: 480px; margin: 0 auto 2.25rem; }
.join-btns { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }
