/* ==========================================
   VẺ ĐẸP ĐÍCH THỰC — MAIN STYLESHEET
   Giữ nguyên 100% từ HTML preview
   ========================================== */

/* Design Tokens */
:root {
  --bg: #fffafd;
  --pink: #ff4fa3;
  --hot: #ff2f86;
  --coral: #ff7a6b;
  --peach: #ffe6d8;
  --mint: #7cf3d0;
  --cyan: #5edcff;
  --purple: #8c6cff;
  --ink: #16141f;
  --text: #514b5f;
  --soft: #f5f0ff;
  --white: #ffffff;
  --line: rgba(22, 20, 31, .09);
  --shadow: 0 24px 70px rgba(255, 47, 134, .16);
  --radius: 28px;
  --max: 1240px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}

/* Announcement Bar */
.announcement {
  background: linear-gradient(90deg, var(--hot), var(--purple), var(--cyan));
  color: white;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 0;
  text-align: center;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 250, 253, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 270px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  color: #181421;
  text-decoration: none;
  white-space: nowrap;
}

.logo-mark {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .9) 0 9px, transparent 10px),
    linear-gradient(135deg, var(--hot), var(--purple) 58%, #63c8ff);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px rgba(255, 47, 134, .3);
  flex-shrink: 0;
  overflow: hidden;
}

.logo-mark::before,
.logo-mark::after,
.logo-mark span {
  content: "";
  position: absolute;
  background: #fff;
}

.logo-mark::before {
  width: 18px;
  height: 28px;
  left: 16px;
  top: 13px;
  border-radius: 18px 18px 4px 18px;
  transform: rotate(-24deg);
}

.logo-mark::after {
  width: 15px;
  height: 24px;
  right: 14px;
  bottom: 12px;
  border-radius: 16px 16px 16px 4px;
  opacity: .86;
  transform: rotate(32deg);
}

.logo-mark span {
  width: 8px;
  height: 8px;
  right: 13px;
  top: 12px;
  border-radius: 50%;
  opacity: .92;
}

.logo-text {
  display: block;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #4d465c;
}

.menu a {
  border-radius: 999px;
  padding: 9px 11px;
  transition: background .2s ease, color .2s ease;
}

.menu a:hover {
  background: rgba(255, 47, 134, .07);
  color: var(--hot);
}

.menu a.is-current,
.menu .current-menu-item > a,
.menu .current_page_item > a {
  background: rgba(255, 47, 134, .1);
  color: var(--hot);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: .25s ease;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--hot), var(--purple));
  color: white;
  box-shadow: 0 16px 36px rgba(255, 47, 134, .28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(255, 47, 134, .34);
  color: white;
}

.btn-white {
  background: white;
  color: var(--hot);
  border-color: rgba(255, 47, 134, .16);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 47, 134, .12);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -170px -130px auto auto;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(94, 220, 255, .45), transparent 65%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 79, 163, .24), transparent 68%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--hot);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(22, 20, 31, .07);
}

.spark {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(124, 243, 208, .25);
  flex-shrink: 0;
}

h1, h2, h3 {
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
  letter-spacing: -1px;
}

h1 {
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 900;
  margin: 22px 0 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--hot), var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  max-width: 650px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px 18px;
  min-width: 145px;
  box-shadow: 0 12px 26px rgba(22, 20, 31, .06);
}

.stat strong {
  display: block;
  font-size: 24px;
  color: var(--hot);
}

.stat span {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}

/* Hero Visual */
.visual {
  position: relative;
  min-height: 620px;
}

.blob {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 78%;
  height: 545px;
  border-radius: 42% 58% 47% 53% / 45% 42% 58% 55%;
  background: linear-gradient(135deg, var(--peach), #ffd6ed 46%, #d7f7ff);
  box-shadow: var(--shadow);
}

.main-photo {
  position: absolute;
  right: 70px;
  top: 42px;
  width: 66%;
  height: 500px;
  border-radius: 36px;
  background: url('../images/hero-woman.jpg?v=20260506') center/cover;
  box-shadow: 0 30px 80px rgba(22, 20, 31, .2);
  border: 9px solid white;
  transform: rotate(2deg);
}

.tip-card {
  position: absolute;
  left: 0;
  bottom: 70px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 20px;
  width: 285px;
  box-shadow: var(--shadow);
}

.tip-card b {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.tip-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}

.mini-card {
  position: absolute;
  right: 0;
  bottom: 36px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px 18px;
  box-shadow: 0 18px 46px rgba(22, 20, 31, .13);
  font-weight: 800;
}

.mini-card span {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
  padding: 78px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 900;
  max-width: 760px;
}

.section-head p {
  max-width: 430px;
  color: var(--text);
  line-height: 1.75;
  margin: 0;
  font-weight: 500;
}

/* ==========================================
   CATEGORIES
   ========================================== */
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 34px rgba(22, 20, 31, .06);
  transition: .25s ease;
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.cat::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 79, 163, .14), rgba(140, 108, 255, .14));
}

.cat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffe3f1, #e8e4ff);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.cat h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.cat p {
  color: var(--text);
  line-height: 1.68;
  font-size: 14px;
  margin: 0;
}

/* ==========================================
   FEATURE SECTION
   ========================================== */
.feature {
  background: linear-gradient(135deg, #171321, #31235f 48%, #ff4fa3);
  border-radius: 44px;
  padding: 52px;
  color: white;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.feature h2 {
  color: white;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 900;
  margin-bottom: 18px;
}

.feature p {
  color: #f6eaff;
  line-height: 1.8;
  margin: 0 0 24px;
}

.feature-list {
  display: grid;
  gap: 13px;
}

.feature-item {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 15px 17px;
  border-radius: 20px;
  display: flex;
  gap: 12px;
  line-height: 1.55;
}

.feature-img {
  height: 430px;
  border-radius: 34px;
  background: url('../images/feature-skincare.jpg') center/cover;
  border: 8px solid rgba(255, 255, 255, .18);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
  display: block;
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================
   ARTICLES / CẨM NANG
   ========================================== */
.articles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.article {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(22, 20, 31, .06);
}

.article img {
  width: 100%;
  height: 218px;
  object-fit: cover;
}

.article-body {
  padding: 24px;
}

.tag {
  display: inline-block;
  background: #fff0f7;
  color: var(--hot);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.article h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
}

.article h3 a,
.trend h3 a {
  color: inherit;
  text-decoration: none;
}

.article h3 a:hover,
.trend h3 a:hover {
  color: var(--hot);
}

.article p {
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 14px;
  font-size: 14px;
}

/* ==========================================
   BEAUTY PROFILE / QUIZ
   ========================================== */
.quiz {
  background: white;
  border: 1px solid var(--line);
  border-radius: 44px;
  padding: 44px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.quiz-card {
  border-radius: 32px;
  padding: 30px;
  background: linear-gradient(135deg, #fff0f7, #edfaff);
}

.quiz-card h3 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 13px;
}

.quiz-card p {
  color: var(--text);
  line-height: 1.75;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.checks div {
  display: flex;
  gap: 12px;
  align-items: center;
  background: white;
  padding: 14px 15px;
  border-radius: 17px;
  color: #4d465c;
  font-weight: 700;
}

/* ==========================================
   TRENDS
   ========================================== */
.trend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trend {
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(22, 20, 31, .06);
}

.trend-img {
  height: 245px;
  border-radius: 22px;
  margin-bottom: 18px;
  display: grid;
  place-items: end start;
  padding: 18px;
  color: white;
  font-weight: 900;
  font-size: 22px;
  background-size: cover;
  background-position: center;
}

.trend:nth-child(1) .trend-img {
  background-image: linear-gradient(to top, rgba(0, 0, 0, .52), transparent), url('../images/trend-clean-beauty.jpg');
}

.trend:nth-child(2) .trend-img {
  background-image: linear-gradient(to top, rgba(0, 0, 0, .52), transparent), url('../images/trend-personal-style.jpg');
}

.trend:nth-child(3) .trend-img {
  background-image: linear-gradient(to top, rgba(0, 0, 0, .52), transparent), url('../images/trend-selfcare.jpg');
}

.trend h3 {
  font-size: 23px;
  font-weight: 900;
  margin-bottom: 9px;
}

.trend p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.68;
  margin: 0 0 15px;
}

.more {
  font-weight: 900;
  color: var(--hot);
  display: inline-block;
  transition: .2s ease;
}

.more:hover {
  color: var(--purple);
}

/* ==========================================
   NEWSLETTER
   ========================================== */
.newsletter {
  background: linear-gradient(135deg, var(--hot), var(--purple));
  border-radius: 44px;
  padding: 50px;
  color: white;
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}

.newsletter h2 {
  color: white;
  font-size: 46px;
  font-weight: 900;
  margin-bottom: 14px;
}

.newsletter p {
  color: #fff1fb;
  line-height: 1.75;
}

.form {
  display: flex;
  background: white;
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(22, 20, 31, .14);
}

.form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 18px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  padding: 34px 0 22px;
  background: linear-gradient(180deg, #fffafd 0%, #fff6fb 100%);
  color: #171321;
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -190px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 47, 134, .12), rgba(104, 199, 255, .1) 48%, transparent 70%);
  pointer-events: none;
}

.footer-compact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) .7fr .8fr 1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #171321;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.footer-logo-mark {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .9) 0 8px, transparent 9px),
    linear-gradient(135deg, var(--hot), var(--purple) 58%, #63c8ff);
  box-shadow: 0 16px 34px rgba(255, 47, 134, .2);
  overflow: hidden;
}

.footer-logo-mark::before,
.footer-logo-mark::after,
.footer-logo-mark span {
  content: "";
  position: absolute;
  background: #fff;
}

.footer-logo-mark::before {
  width: 17px;
  height: 26px;
  left: 15px;
  top: 12px;
  border-radius: 18px 18px 4px 18px;
  transform: rotate(-24deg);
}

.footer-logo-mark::after {
  width: 14px;
  height: 22px;
  right: 13px;
  bottom: 11px;
  border-radius: 16px 16px 16px 4px;
  opacity: .86;
  transform: rotate(32deg);
}

.footer-logo-mark span {
  width: 7px;
  height: 7px;
  right: 12px;
  top: 11px;
  border-radius: 50%;
  opacity: .92;
}

.footer-mail {
  display: inline-flex;
  margin-top: 18px;
  color: var(--hot);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.footer-intro p {
  max-width: 420px;
  margin: 18px 0 0;
  color: #554d64;
  font-size: 14px;
  line-height: 1.75;
}

.footer-group h3 {
  margin: 4px 0 14px;
  color: #171321;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-group a {
  display: block;
  margin-bottom: 9px;
  color: #62596c;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}

.footer-group a:hover,
.footer-mail:hover {
  color: var(--hot);
}

.footer-fineprint {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: #8e8498;
  font-size: 13px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 980px) {
  .hero-grid,
  .feature,
  .quiz,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .categories,
  .trend-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu {
    display: none;
  }

  .logo {
    min-width: 0;
  }

  .footer-compact {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .visual {
    min-height: 560px;
  }

  .feature-img {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .announcement {
    font-size: 12px;
    padding: 9px 14px;
  }

  .container {
    width: min(calc(100% - 26px), var(--max));
  }

  .nav {
    height: 70px;
  }

  .logo {
    gap: 10px;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 17px;
  }

  .logo-mark::before {
    left: 14px;
    top: 11px;
    width: 15px;
    height: 23px;
  }

  .logo-mark::after {
    right: 12px;
    bottom: 10px;
    width: 13px;
    height: 20px;
  }

  .logo-mark span {
    right: 11px;
    top: 10px;
  }

  .logo-text {
    font-size: 17px;
    max-width: calc(100vw - 150px);
  }

  .nav .btn {
    display: none;
  }

  h1 {
    font-size: 44px;
  }

  .lead {
    font-size: 16px;
  }

  .hero {
    padding-top: 40px;
  }

  .visual {
    min-height: 500px;
  }

  .blob {
    width: 88%;
    height: 430px;
  }

  .main-photo {
    right: 28px;
    width: 76%;
    height: 410px;
  }

  .tip-card {
    width: 235px;
    bottom: 48px;
  }

  .mini-card {
    display: none;
  }

  .categories,
  .trend-grid {
    grid-template-columns: 1fr;
  }

  .footer-compact {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-fineprint {
    display: grid;
  }

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

  .feature,
  .quiz,
  .newsletter {
    padding: 28px;
    border-radius: 30px;
  }

  .section {
    padding: 54px 0;
  }

  .form {
    display: grid;
    border-radius: 24px;
    gap: 8px;
  }

  .form input {
    height: 48px;
    padding: 0 18px;
    border-radius: 16px;
  }

  .form .btn {
    width: 100%;
    border-radius: 16px;
  }

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

  .newsletter h2 {
    font-size: 32px;
  }
}
