/* === WeStyle AI — Styles === */
:root {
  --bg: #0e0e12;
  --surface: #1a1a24;
  --card: #22222e;
  --border: #2e2e3e;
  --fg: #f0eef5;
  --muted: #9b97a8;
  --accent: #e8573a;
  --accent-hover: #ff6f52;
  --radius: 12px;
  --max-w: 1080px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(14,14,18,.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.logo { font-size: 1.4rem; font-weight: 700; color: var(--fg); text-decoration: none; }
.logo-accent { color: var(--accent); }
.nav-links { list-style: none; display: flex; gap: 28px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: .95rem;
  transition: color .2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--fg);
  transition: transform .3s, opacity .3s;
}

/* --- Hero --- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 80px; text-align: center;
}
.hero-inner { max-width: 700px; }
.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800;
  letter-spacing: -2px; line-height: 1.1; margin-bottom: 16px;
}
.accent { color: var(--accent); }
.hero-slogan {
  font-size: clamp(1.1rem, 3vw, 1.5rem); color: var(--muted);
  margin-bottom: 20px; font-weight: 500;
}
.hero-desc {
  font-size: 1rem; color: var(--muted); max-width: 560px; margin: 0 auto 36px;
}

/* --- Button --- */
.btn {
  display: inline-block; padding: 14px 36px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: background .25s, transform .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* --- Features --- */
.features { padding: 80px 24px; }
.features-inner { max-width: var(--max-w); margin: 0 auto; }
.section-title {
  text-align: center; font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 48px; font-weight: 700;
}
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  opacity: 0; transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease, border-color .3s;
}
.card.visible { opacity: 1; transform: translateY(0); }
.card:hover { border-color: var(--accent); }
.card-icon { font-size: 2.4rem; margin-bottom: 16px; }
.card-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.card-body { color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* --- CTA --- */
.cta {
  padding: 100px 24px; text-align: center;
  background: var(--surface);
}
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta-title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 16px; font-weight: 700; }
.cta-desc { color: var(--muted); margin-bottom: 32px; }

/* --- Footer --- */
.footer {
  text-align: center; padding: 28px 24px;
  color: var(--muted); font-size: .85rem;
  border-top: 1px solid var(--border);
}

/* --- Mobile --- */
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .nav-links { width: 100%; padding-top: 12px; }
}
