/* ===== پایه ===== */
:root{
  --bg-dark:#1c1410;
  --bg-dark2:#241a15;
  --cream:#faf5ec;
  --cream2:#f2e9da;
  --gold:#c9a24b;
  --gold-light:#e4c579;
  --maroon:#6b1d34;
  --text-dark:#2a1f16;
  --text-light:#f5ede0;
  --text-muted:#8a7a68;
  --border-light:#e4d9c6;
  --radius:16px;
  --shadow-soft:0 10px 30px rgba(42,31,22,.12);
  --shadow-strong:0 20px 50px rgba(42,31,22,.25);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Vazirmatn',Tahoma,sans-serif;
  background:var(--cream);
  color:var(--text-dark);
  line-height:1.9;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
ul{list-style:none}
img,svg{display:block}
.section-inner,.header-inner,.hero-inner,.cta-inner,.footer-grid{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

/* ===== دکمه‌ها ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 30px;
  border-radius:999px;
  font-weight:700;
  font-size:15px;
  transition:.25s ease;
  cursor:pointer;
  border:2px solid transparent;
}
.btn-primary{background:linear-gradient(135deg,var(--gold-light),var(--gold));color:#2a1f16;box-shadow:0 10px 24px rgba(201,162,75,.35)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 16px 30px rgba(201,162,75,.45)}
.btn-outline{border-color:var(--gold);color:var(--gold-light)}
.btn-outline:hover{background:var(--gold);color:#2a1f16}
.btn-ghost{border-color:rgba(255,255,255,.5);color:var(--text-light)}
.btn-ghost:hover{background:rgba(255,255,255,.12)}

/* ===== نوار بالا ===== */
.topbar{
  background:var(--bg-dark);
  color:var(--gold-light);
  text-align:center;
  font-size:13px;
  padding:8px 16px;
  letter-spacing:.2px;
}

/* ===== هدر ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(250,245,236,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border-light);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
  position:relative;
}
.logo{display:flex;align-items:center;gap:10px;font-weight:900;font-size:20px;color:var(--text-dark)}
.logo-icon{width:34px;height:34px;color:var(--maroon)}
.logo-icon svg{width:100%;height:100%}
.logo-text{white-space:nowrap}

.nav-toggle-input{display:none}
.menu-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;z-index:20}
.menu-toggle span{width:26px;height:2.5px;background:var(--text-dark);border-radius:2px;transition:.25s}

.main-nav{display:flex;align-items:center;gap:26px}
.nav-link{font-size:14.5px;font-weight:500;color:var(--text-dark);position:relative;padding:6px 0}
.nav-link:hover{color:var(--maroon)}
.nav-cta{margin-inline-start:6px}

/* ===== هیرو ===== */
.hero{
  background:radial-gradient(circle at 75% 20%,#2c2019,var(--bg-dark) 60%);
  color:var(--text-light);
  padding:90px 0 100px;
  position:relative;
  overflow:hidden;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:56px;
  align-items:center;
}
.eyebrow{
  display:inline-block;
  padding:8px 18px;
  border:1px solid rgba(228,197,121,.4);
  border-radius:999px;
  color:var(--gold-light);
  font-size:13px;
  margin-bottom:22px;
}
.hero-title{font-size:40px;font-weight:900;line-height:1.5;margin-bottom:20px}
.hero-desc{font-size:16px;color:#d8c9b6;max-width:560px;margin-bottom:34px}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:48px}
.hero-stats{display:flex;gap:38px;flex-wrap:wrap}
.stat{display:flex;flex-direction:column;gap:4px}
.stat-num{font-size:24px;font-weight:900;color:var(--gold-light)}
.stat-label{font-size:13px;color:#b7a690}

.hero-visual{position:relative;display:flex;justify-content:center;align-items:center;min-height:380px}
.hero-bottle{width:280px;max-width:100%;filter:drop-shadow(0 20px 40px rgba(0,0,0,.4))}
.hero-sparkle{position:absolute;width:22px;height:22px;animation:twinkle 2.6s ease-in-out infinite}
.sparkle-1{top:14%;left:18%;animation-delay:.2s}
.sparkle-2{top:60%;left:8%;width:16px;height:16px;animation-delay:1s}
.sparkle-3{top:26%;right:10%;width:14px;height:14px;animation-delay:1.6s}
@keyframes twinkle{0%,100%{opacity:.25;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}

/* ===== بخش‌های عمومی ===== */
.section{padding:96px 0}
.section--cream{background:var(--cream)}
.section--dark{background:var(--bg-dark2);color:var(--text-light)}
.section--dark .section-desc{color:#c9baa5}
.section-head{max-width:680px;margin:0 auto 56px;text-align:center}
.section-tag{
  display:inline-block;
  font-size:13px;
  font-weight:700;
  color:var(--maroon);
  background:rgba(107,29,52,.08);
  padding:6px 16px;
  border-radius:999px;
  margin-bottom:16px;
}
.section--dark .section-tag{color:var(--gold-light);background:rgba(228,197,121,.12)}
.section-title{font-size:32px;font-weight:900;margin-bottom:16px;line-height:1.6}
.section-desc{color:var(--text-muted);font-size:15.5px}

/* ===== وایرفریم صفحه محصول ===== */
.product-mock{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:44px;
  background:#fff;
  border-radius:24px;
  padding:36px;
  box-shadow:var(--shadow-soft);
  border:1px solid var(--border-light);
}
.gallery-main{border-radius:18px;overflow:hidden}
.gallery-main svg{width:100%;height:auto}
.gallery-thumbs{display:flex;gap:10px;margin-top:14px}
.thumb{
  flex:1;
  aspect-ratio:1/1;
  border-radius:10px;
  background:linear-gradient(135deg,var(--gold-light),var(--maroon));
  opacity:.55;
  cursor:pointer;
}
.thumb:first-child{opacity:1}

.product-title{font-size:24px;font-weight:800;margin-bottom:8px}
.product-meta{font-size:13px;color:var(--text-muted);margin-bottom:16px}
.price-row{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.price-old{text-decoration:line-through;color:var(--text-muted);font-size:14px}
.price{font-size:22px;font-weight:900;color:var(--maroon)}

.tabs{display:flex;gap:28px;border-bottom:2px solid var(--border-light);margin-bottom:20px}
.tab{padding-bottom:12px;font-size:14.5px;font-weight:600;color:var(--text-muted);cursor:pointer}
.tab-active{color:var(--text-dark);border-bottom:2px solid var(--maroon);margin-bottom:-2px}

.specs-table{width:100%;border-collapse:collapse}
.spec-row{border-bottom:1px solid var(--border-light)}
.spec-row:last-child{border-bottom:none}
.spec-label{
  padding:13px 10px 13px 0;
  color:var(--text-muted);
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
  width:150px;
  vertical-align:top;
}
.spec-value{padding:13px 0;font-size:14.5px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}

.chip{
  display:inline-block;
  padding:5px 14px;
  background:var(--cream2);
  border-radius:999px;
  font-size:13px;
  color:var(--text-dark);
}
.chip-link{transition:.2s}
.chip-link:hover{background:var(--maroon);color:#fff}

.link-term{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:var(--maroon);
  font-weight:700;
  border-bottom:1px solid var(--maroon);
  padding-bottom:1px;
}
.link-term:hover{opacity:.75}
.link-arrow{width:15px;height:15px}

.empty-note{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:24px;
  padding:14px 16px;
  background:var(--cream2);
  border-radius:12px;
  font-size:13px;
  color:var(--text-muted);
}
.empty-note svg{width:18px;height:18px;flex-shrink:0;color:var(--maroon);margin-top:1px}

/* ===== هرم رایحه ===== */
.pyramid{max-width:640px;margin:0 auto;display:flex;flex-direction:column;gap:30px}
.pyramid-row{display:flex;gap:20px;align-items:center}
.pyramid-icon{
  width:52px;height:52px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:rgba(228,197,121,.12);
  border-radius:14px;
  color:var(--gold-light);
}
.pyramid-icon svg{width:26px;height:26px}
.pyramid-body{flex:1}
.pyramid-level{font-size:14px;font-weight:700;color:var(--gold-light);display:block;margin-bottom:8px}
.pyramid-bar{height:10px;border-radius:999px;background:rgba(255,255,255,.08);margin-bottom:8px;overflow:hidden}
.pyramid-bar::before{content:"";display:block;height:100%;border-radius:999px}
.bar-top::before{width:40%;background:linear-gradient(90deg,#e4c579,#f2dfa8)}
.bar-heart::before{width:68%;background:linear-gradient(90deg,#c9a24b,#e4c579)}
.bar-base::before{width:95%;background:linear-gradient(90deg,#6b1d34,#c9a24b)}
.pyramid-names{font-size:14px;color:#c9baa5}

/* ===== شبکه تاکسونومی ===== */
.tax-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.tax-card{
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:18px;
  padding:26px 22px;
  transition:.25s;
}
.tax-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-soft);border-color:transparent}
.tax-icon{
  width:46px;height:46px;
  display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  background:linear-gradient(135deg,var(--maroon),var(--bg-dark));
  color:var(--gold-light);
  margin-bottom:16px;
}
.tax-icon svg{width:22px;height:22px}
.tax-name{font-size:16px;font-weight:800;margin-bottom:8px}
.tax-desc{font-size:13.5px;color:var(--text-muted)}

/* ===== صفحه عطرساز ===== */
.perfumer-page{
  max-width:800px;
  margin:0 auto;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:40px;
}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#b7a690;margin-bottom:28px;flex-wrap:wrap}
.breadcrumb a:hover{color:var(--gold-light)}
.breadcrumb-sep{opacity:.5}

.perfumer-card{display:flex;gap:22px;margin-bottom:24px}
.perfumer-avatar{
  width:84px;height:84px;flex-shrink:0;
  border-radius:50%;
  background:linear-gradient(135deg,var(--gold-light),var(--maroon));
  display:flex;align-items:center;justify-content:center;
  color:#2a1f16;
}
.perfumer-avatar svg{width:38px;height:38px}
.perfumer-name{font-size:22px;font-weight:900;margin-bottom:10px;color:var(--text-light)}
.perfumer-meta{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.meta-item{
  font-size:12.5px;
  background:rgba(228,197,121,.1);
  color:var(--gold-light);
  padding:5px 12px;
  border-radius:999px;
}
.perfumer-bio{font-size:14.5px;color:#c9baa5}

.back-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13.5px;
  color:var(--gold-light);
  margin-bottom:34px;
}
.back-link svg{width:16px;height:16px}
.back-link:hover{opacity:.75}

.related-title{font-size:16px;font-weight:700;margin-bottom:18px;color:var(--text-light)}
.related-products{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.product-tile{
  background:rgba(255,255,255,.05);
  border-radius:14px;
  padding:16px;
  text-align:center;
  transition:.2s;
}
.product-tile:hover{background:rgba(255,255,255,.09)}
.tile-image{
  aspect-ratio:1/1.15;
  border-radius:10px;
  margin-bottom:12px;
}
.tile-image-1{background:linear-gradient(150deg,#6b1d34,#c9a24b)}
.tile-image-2{background:linear-gradient(150deg,#3a2a1a,#e4c579)}
.tile-image-3{background:linear-gradient(150deg,#4a1f2c,#8a5a2b)}
.tile-name{display:block;font-size:13.5px;font-weight:700;color:var(--text-light);margin-bottom:4px}
.tile-price{display:block;font-size:12.5px;color:var(--gold-light)}

/* ===== امکانات فنی ===== */
.features-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.feature-card{
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:16px;
  padding:24px;
}
.feature-icon{
  width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  background:var(--cream2);
  color:var(--maroon);
  margin-bottom:14px;
}
.feature-icon svg{width:21px;height:21px}
.feature-title{font-size:15px;font-weight:800;margin-bottom:8px}
.feature-desc{font-size:13.5px;color:var(--text-muted)}

/* ===== فرآیند کار ===== */
.process-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:0}
.process-step{
  display:flex;
  gap:22px;
  padding:24px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.process-step:last-child{border-bottom:none}
.step-num{
  width:40px;height:40px;flex-shrink:0;
  border-radius:50%;
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  color:#2a1f16;
  display:flex;align-items:center;justify-content:center;
  font-weight:900;
  font-size:15px;
}
.step-title{font-size:16px;font-weight:800;margin-bottom:6px;color:var(--text-light)}
.step-desc{font-size:13.5px;color:#c9baa5}

/* ===== نظرات ===== */
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.review-card{
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:18px;
  padding:28px;
}
.stars{color:var(--gold);letter-spacing:2px;margin-bottom:14px;font-size:15px}
.review-quote{font-size:14.5px;color:var(--text-dark);margin-bottom:22px}
.review-author{display:flex;align-items:center;gap:12px}
.review-avatar{
  width:40px;height:40px;border-radius:50%;
  background:linear-gradient(135deg,var(--maroon),var(--gold-light));
  flex-shrink:0;
}
.review-name{display:block;font-size:13.5px;font-weight:700}
.review-role{display:block;font-size:12px;color:var(--text-muted)}

/* ===== فراخوان پایانی ===== */
.cta-section{
  background:linear-gradient(135deg,var(--maroon),var(--bg-dark));
  color:var(--text-light);
  padding:90px 0;
  text-align:center;
}
.cta-title{font-size:30px;font-weight:900;margin-bottom:16px}
.cta-desc{font-size:15.5px;color:#e6d9c7;max-width:560px;margin:0 auto 34px}
.cta-buttons{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}

/* ===== فوتر ===== */
.site-footer{background:var(--bg-dark);color:#c9baa5;padding:70px 0 0}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:50px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-brand .logo{color:var(--text-light);margin-bottom:14px}
.footer-brand .logo-icon{color:var(--gold-light)}
.footer-desc{font-size:13.5px;line-height:1.9;max-width:280px}
.footer-col{min-width:0}
.footer-title{font-size:14px;font-weight:800;color:var(--text-light);margin-bottom:16px}
.footer-links{display:flex;flex-direction:column;gap:10px;font-size:13.5px}
.footer-links a:hover{color:var(--gold-light)}
.social-row{display:flex;gap:10px;margin-top:16px}
.social-icon{
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:rgba(255,255,255,.06);
  color:var(--gold-light);
}
.social-icon svg{width:17px;height:17px}
.social-icon:hover{background:var(--gold-light);color:#2a1f16}
.footer-bottom{text-align:center;font-size:12.5px;padding:22px 0;color:#8a7a68}

/* ===== ریسپانسیو ===== */
@media(max-width:1024px){
  .hero-inner{grid-template-columns:1fr;text-align:center}
  .hero-desc{margin-inline:auto}
  .hero-cta,.hero-stats{justify-content:center}
  .hero-visual{margin-top:20px}
  .product-mock{grid-template-columns:1fr}
  .tax-grid{grid-template-columns:repeat(2,1fr)}
  .features-grid{grid-template-columns:repeat(2,1fr)}
  .reviews-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:768px){
  .menu-toggle{display:flex}
  .main-nav{
    position:fixed;
    inset:0 0 0 auto;
    width:78%;
    max-width:320px;
    background:var(--cream);
    flex-direction:column;
    align-items:flex-start;
    padding:100px 30px 30px;
    gap:22px;
    transform:translateX(100%);
    transition:.3s ease;
    box-shadow:var(--shadow-strong);
  }
  .nav-toggle-input:checked ~ .main-nav{transform:translateX(0)}
  .nav-cta{margin-top:10px}
  .hero-title{font-size:30px}
  .section{padding:64px 0}
  .section-title{font-size:26px}
  .tax-grid{grid-template-columns:1fr 1fr}
  .features-grid{grid-template-columns:1fr}
  .related-products{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr}
  .perfumer-card{flex-direction:column;text-align:center;align-items:center}
  .perfumer-meta{justify-content:center}
}

@media(max-width:480px){
  .tax-grid{grid-template-columns:1fr}
  .related-products{grid-template-columns:1fr}
  .hero-stats{gap:24px}
  .spec-label{width:120px;font-size:13px}
}
