.hero { padding: clamp(32px, 6vw, 96px) 0; }
.hero__grid { display: grid; align-items: center; gap: 24px; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } }
.hero__title { font-weight: 800; letter-spacing: -0.02em; }
.hero__subtitle { font-size: 18px; color: var(--text-2); margin: 10px 0 16px; }
.hero__actions { display: flex; gap: 12px; margin-top: 10px; }
.hero__bullets { display: grid; gap: 6px; margin-top: 16px; color: var(--text-3); list-style: "✓ "; padding-left: 20px; }
.hero__media img { border-radius: 16px; border: 1px solid #1d2440; box-shadow: var(--shadow-2); }
.eyebrow { color: #b5baf8; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.hero__title .break{
    display: block;
    margin-top: clamp(8px, 1.2vw, 18px); /* chỉnh tăng/giảm tùy ý */
  }
  
*{box-sizing:border-box}
html,body{height:100%}
  .container{width:min(1120px,92%);margin-inline:auto;text-align:center;}
  .hero{position:relative;padding: clamp(96px, 16vh, 140px) 0 140px;}
  .hero__title{font-weight:800;line-height:1.05;letter-spacing:-0.02em;font-size: clamp(28px, 5vw, 56px);margin:0 0 20px;}
  .hero__title .brand{background: linear-gradient(90deg,#fff 0%,#dcdcff 50%,#ffffff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;}
  .hero__title .break{display:block;}
  .hero__subtitle{margin:0 auto 36px;color:var(--muted);max-width:920px;font-size: clamp(15px, 1.9vw, 18px);line-height:1.7;}
  .btn{display:inline-flex;align-items:center;gap:.6rem;padding:14px 22px;border-radius:999px;font-weight:700;text-decoration:none;white-space:nowrap;transition:transform .15s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease;will-change:transform;border:2px solid transparent;outline:none;cursor:pointer;position:relative;overflow:hidden;}
  .btn .ico{width:20px;height:20px}
  .btn--primary{background:linear-gradient(90deg,var(--grad-start),var(--grad-end));color:#fff;box-shadow:0 10px 30px rgba(76,101,254,.35);border:2px solid rgba(255,255,255,.1);text-shadow:0 1px 2px rgba(0,0,0,.3);}
  .btn--primary:hover{transform:translateY(-2px);box-shadow:0 15px 35px rgba(76,101,254,.45);border-color:rgba(255,255,255,.2);}
  .btn--ghost{color:#e6e6ff;border:2px solid rgba(255,255,255,.25);background:rgba(255,255,255,.04);backdrop-filter:blur(6px);text-shadow:0 1px 2px rgba(0,0,0,.2);}
  .btn--ghost:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.08);box-shadow:0 8px 25px rgba(0,0,0,.2);}
  .hero__actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;}
  .hero__decor{position:absolute;right:-60px;bottom:-10px;width:min(40vw,420px);height:auto;pointer-events:none;opacity:.9;}
  @media(max-width:520px){.btn{width:100%;justify-content:center}.hero{padding-bottom:110px}}

/* ===== MACBOOK MOCKUP FOR HERO ===== */
.macbook-mockup-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  perspective: 1000px;
  padding: 0 20px;
}

.macbook-mockup {
  position: relative;
  width: 100%;
  height: auto;
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.macbook-mockup:hover {
  transform: rotateX(10deg) rotateY(-2deg);
}

/* MacBook Screen */
.macbook-screen {
  width: 100%;
  height: 600px;
  background: #000;
  border-radius: 20px 20px 0 0;
  border: 3px solid #1a1a1a;
  border-bottom: none;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

/* Screen Bezel */
.screen-bezel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 20px;
}

/* Screen Content */
.screen-content {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

/* MacBook Base */
.macbook-base {
  width: 100%;
  height: 20px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 0 0 20px 20px;
  border: 3px solid #1a1a1a;
  border-top: none;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* MacBook Hinge */
.macbook-hinge {
  width: 100%;
  height: 8px;
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
  border-radius: 0 0 8px 8px;
  position: relative;
}

.macbook-hinge::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #4a4a4a, #3a3a3a, #4a4a4a);
  border-radius: 2px;
}

/* Dashboard Content Inside MacBook */
.dashboard-container {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f1320 0%, #1a1f2e 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  position: relative;
}

/* Responsive MacBook */
@media (max-width: 768px) {
  .macbook-mockup {
    transform: none;
  }
  
  .macbook-screen {
    height: 500px;
  }
  
  .macbook-mockup-container {
    padding: 0 10px;
  }
}

/* ===== DASHBOARD COMPONENTS INSIDE MACBOOK ===== */
/* Sidebar */
.sidebar {
  width: 200px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  position: absolute;
  height: 100%;
  overflow-y: auto;
  z-index: 1000;
}

.sidebar-header {
  padding: 0 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.nav-list {
  list-style: none;
  padding: 20px 0;
}

.nav-item {
  margin-bottom: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 10px;
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Main Content */
.main-content {
  margin-left: 200px;
  padding: 20px;
  height: 100%;
  overflow-y: auto;
}

.dashboard-header {
  margin-bottom: 30px;
}

.dashboard-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.dashboard-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* KPI Section */
.kpi-section {
  margin-bottom: 30px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.kpi-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
}

.kpi-icon svg {
  width: 24px;
  height: 24px;
}

.kpi-content {
  flex: 1;
}

.kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.kpi-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-bottom: 8px;
}

.kpi-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}

.kpi-trend.positive {
  color: #10b981;
}

.kpi-trend svg {
  width: 12px;
  height: 12px;
}

/* Charts Section */
.charts-section {
  margin-bottom: 30px;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.chart-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
}

.chart-header {
  margin-bottom: 20px;
}

.chart-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

/* Pie Chart */
.pie-chart {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.pie-segment {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: rotate(var(--rotation));
  transition: all 0.3s ease;
}

.pie-segment.facebook {
  --color: #3b82f6;
  --rotation: 0deg;
  background: conic-gradient(from 0deg, #3b82f6 0deg, #3b82f6 162deg, transparent 162deg);
}

.pie-segment.zalo {
  --color: #10b981;
  --rotation: 162deg;
  background: conic-gradient(from 162deg, #10b981 0deg, #10b981 126deg, transparent 126deg);
}

.pie-segment.website {
  --color: #f59e0b;
  --rotation: 288deg;
  background: conic-gradient(from 288deg, #f59e0b 0deg, #f59e0b 72deg, transparent 72deg);
}

.pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.pie-total {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.pie-label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* Bar Chart */
.bar-chart {
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 120px;
  padding: 20px 0;
  position: relative;
}

.bar-chart::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255, 255, 255, 0.05) 19px, rgba(255, 255, 255, 0.05) 20px);
  pointer-events: none;
}

.bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
}

.bar {
  width: 100%;
  max-width: 30px;
  height: calc(var(--height) * 1.2px);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.9) 0%, rgba(168, 85, 247, 0.7) 100%);
  border-radius: 6px 6px 0 0;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  border-radius: 6px 6px 0 0;
}

.bar:hover {
  background: linear-gradient(180deg, rgba(139, 92, 246, 1) 0%, rgba(168, 85, 247, 0.9) 100%);
  transform: scaleY(1.1) translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.bar-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}