* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #111;
  background: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn-primary {
  background: #00B98E;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-secondary {
  border: 1px solid #ccc;
  padding: 12px 22px;
  border-radius: 8px;
}


/* MODAL BASE */
.demo-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.demo-modal.active {
  display: block;
}

.demo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

/* BOX */
.demo-box {
  position: relative;
  max-width: 900px;
  width: 92%;
  margin: 6vh auto;
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
}

/* HEADER */
.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.demo-header h3 {
  font-size: 22px;
  font-weight: 600;
}

.demo-close {
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* TABS */
.demo-tabs {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #eef2f7;
}

.demo-tab {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
  color: #64748b;
}

.demo-tab.active {
  background: #ffffff;
  color: #0f172a;
}

/* CONTENT */
.demo-content {
  padding: 16px;
}

.demo-video {
  display: none;
}

.demo-video.active {
  display: block;
}

.demo-video iframe {
  width: 100%;
  height: 460px;
  border-radius: 12px;
}

/* MOBILE */
@media (max-width: 768px) {
  .demo-video iframe {
    height: 240px;
  }

  .demo-box {
    margin: 8vh auto;
  }
}