/* ═══════════════════════════════════════════
   BELLURE DEMO — Portfolio Landing (Premium)
   ═══════════════════════════════════════════ */
:root {
  --warm: #B8956A;
  --warm-light: #D4B48C;
  --charcoal: #1A1816;
  --dark: #2C2420;
  --text: #6B645E;
  --text-2: #9A938D;
  --bg: #FAFAF8;
  --card: #fff;
  --border: rgba(0,0,0,0.05);
  --serif: 'Fraunces', serif;
  --sans: 'Outfit', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 20px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
  background: rgba(250,250,248,0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
}
.nav__cta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--warm);
  border: 1px solid var(--warm);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.nav__cta:hover { background: var(--warm); color: #fff; }

/* ─── Hero ─── */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,149,106,0.06) 0%, transparent 60%);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  position: relative;
}
.hero h1 em { font-style: italic; color: var(--warm); }
.hero > .hero__content > p {
  font-size: clamp(0.88rem, 2.2vw, 1rem);
  color: var(--text-2);
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero__count {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
}
.hero__num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--warm);
  line-height: 1;
}
.hero__label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(var(--warm), transparent);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.2; }
}

/* ─── Demos ─── */
.demos {
  padding: 0 clamp(1rem, 4vw, 3rem) 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Featured card */
.demo--featured { margin-bottom: 2rem; }
.demo--featured .demo__link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--charcoal);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.demo--featured:hover .demo__link {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}
.demo--featured .demo__visual {
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 2rem;
  background: #111;
}
.demo--featured .demo__info {
  padding: 3rem 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.demo--featured h2 {
  font-family: var(--serif); font-size: 2rem; font-weight: 400;
  color: #fff; margin-bottom: 0.75rem;
}
.demo--featured p { color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.8; margin-bottom: 1.25rem; }
.demo--featured .demo__arrow { color: var(--warm-light); }
.demo--featured .demo__tag { border-color: rgba(200,168,142,0.3); color: var(--warm-light); }

/* Grid */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Regular demo card */
.demo-grid .demo__link {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  height: 100%;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.demo-grid .demo:hover .demo__link {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border-color: rgba(184,149,106,0.3);
}

.demo-grid .demo__visual {
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem 2rem 1.5rem;
}
.demo-grid .demo__info { padding: 0 1.75rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.demo-grid h3 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 500;
  color: var(--charcoal); margin-bottom: 0.4rem;
}
.demo-grid p { font-size: 0.8rem; color: var(--text-2); line-height: 1.7; flex: 1; margin-bottom: 0.75rem; }

/* Phone mockup */
.demo__phone {
  width: 160px;
  background: #000;
  border-radius: 24px;
  padding: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15), inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.6s var(--ease);
}
.demo:hover .demo__phone { transform: translateY(-6px) scale(1.02); }
.demo--featured .demo__phone { width: 200px; }
.demo__phone-notch {
  width: 60px; height: 6px; margin: 4px auto 6px;
  background: #1A1A1A; border-radius: 10px;
}
.demo__phone-screen {
  border-radius: 16px;
  aspect-ratio: 9/16;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.demo__gradient {
  position: absolute; inset: 0;
}
.demo__text-preview {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.25rem;
  text-align: center;
}
.demo__fake-logo {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.demo__fake-sub {
  font-size: 0.45rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Tags */
.demo__tags { display: flex; gap: 0.4rem; margin-bottom: 0.6rem; }
.demo__tag {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--tag, var(--border));
  border-radius: 100px;
  color: var(--tag, var(--text-2));
}

/* Arrow */
.demo__arrow {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--warm);
  transition: letter-spacing 0.3s var(--ease);
}
.demo:hover .demo__arrow { letter-spacing: 0.04em; }

/* ─── CTA ─── */
.cta {
  padding: 3rem clamp(1rem, 4vw, 3rem) 5rem;
  max-width: 1100px; margin: 0 auto;
}
.cta__inner {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 2rem;
  background: var(--charcoal);
  border-radius: var(--r);
}
.cta__tag {
  display: inline-block;
  font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--warm); margin-bottom: 1.25rem;
}
.cta h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400; color: #fff; line-height: 1.25; margin-bottom: 1rem;
}
.cta h2 em { font-style: italic; color: var(--warm-light); }
.cta p { color: rgba(255,255,255,0.4); margin-bottom: 2rem; font-size: 0.88rem; }
.btn {
  display: inline-flex; align-items: center;
  font-family: var(--sans); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.03em; background: var(--warm); color: #fff;
  padding: 0.85rem 2.25rem; border-radius: 100px;
  transition: all 0.4s var(--ease);
}
.btn:hover { background: var(--warm-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,149,106,0.3); }

/* ─── Footer ─── */
.footer {
  padding: 2rem clamp(1.25rem, 5vw, 3rem);
  border-top: 1px solid var(--border);
}
.footer__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer__logo { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--charcoal); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { font-size: 0.7rem; color: var(--text-2); transition: color 0.3s; }
.footer__links a:hover { color: var(--warm); }
.footer__copy { font-size: 0.6rem; color: var(--text-2); }
@media (max-width: 600px) { .footer__inner { flex-direction: column; text-align: center; } }

/* ─── Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal--v { opacity: 1; transform: none; }
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-card--v { opacity: 1; transform: none; }

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .hero { min-height: 70vh; padding-top: 6rem; }

  .demo--featured .demo__link { grid-template-columns: 1fr; }
  .demo--featured .demo__visual { padding: 0; min-height: 200px; }
  .demo--featured .demo__info { padding: 1.5rem 1.5rem 2rem; }
  .demo--featured h2 { font-size: 1.5rem; }

  .demo-grid { grid-template-columns: 1fr; }
  .demo-grid .demo__visual { padding: 0; min-height: 160px; }
  .demo-grid .demo__info { padding: 1.25rem 1.5rem 1.5rem; }

  /* Hide phone, show gradient card instead */
  .demo__phone { display: none; }
  .demo__visual {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .demo__visual::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: var(--r) var(--r) 0 0;
    background: inherit;
  }
  .demo__mobile-preview {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    align-items: center; gap: 0.35rem;
  }
  .demo__mobile-preview .demo__fake-logo { font-size: 1.2rem; }
  .demo__mobile-preview .demo__fake-sub { font-size: 0.55rem; }
  .demo--featured .demo__mobile-preview .demo__fake-logo { font-size: 1.6rem; }
}
@media (min-width: 769px) {
  .demo__mobile-preview { display: none; }
}
